r/cloudcomputing • • May 25 '23

Understanding the Dapr Workflow engine & authoring workflows in code

8 Upvotes

Dapr, the open-source CNCF project that accelerates microservice development, has a new building block API that enables you to author and run resilient and long-running workflows. I’ve written this blog post to explain how the workflow engine works, and to show how to author a workflow as code using C#. Other workflow authoring languages will become available with new Dapr releases this year.

https://www.diagrid.io/blog/authoring-dapr-workflows-in-dotnet


r/cloudcomputing • • Mar 15 '23

[OPINION] Distributed computing needs better networking service priority

8 Upvotes

I've ran into this issue personally across 2 different projects in GCP and AWS: you SSH in (using VSCode, command prompt, etc) and control your allocated virtual machine from there. However, with current big data analytics, it is quite common (at least for a novice like me) to call a program that takes up virtually all of the avaliable CPU cycles, or RAM, or any other resources in the VM. This could be calling a train method via some reinforcement learning packages, or just trying to read in a massive CSV file using Pandas. The result is that you actually get blocked out of ssh, which is quite annoying as you can't interact with the computer anymore to shut down the process which is hanging up your computer. In my opinion, the OS or hardware level needs updating such that the VM supplied by these remote compute resources (AWS, IBM, GCP, etc) need to prioritize the remote connection in kernel space over any user program so that the user doesn't accidentially shut themselves out by running a large load. Do you have any similar experiences? What are your thoughts?


r/cloudcomputing • • Feb 21 '23

Why cloud-based SQL solutions are more expensive than NoSQL?

8 Upvotes

Most cloud solutions(AW'S, Google Cloud, Azure, etc) offers free NoSQL resource for trial in a limit.

But none of them offers this for SQL. ;
Also, all of them include 'pay as you go' pricing for NoSql, but their prices start at 15$ per month if you want to use SQL.

Why is that?
Do min SQL instances require much more resources then NoSQL?


r/cloudcomputing • • Feb 15 '23

New to Cloud Presales, Looking for suggestions on sizing

8 Upvotes

New to Cloud Presales, Looking for suggestions

Hello!

I am new to cloud sales, I was a solution architect in R&D dept of a global OEM (HPE, Dell) but now I have moved to a full time pre-sales role where I am teamed up with BDMs and AEs and we are responsible for carring quota for Hybrid Cloud Sales.

I see most of the architects working traditionally where the process includes collecting details like

  1. CPU

  2. Memory

  3. Storage

  4. IOPS

  5. Storage type for calculating De-duplication & compression Ratio

  6. Sometime we use tools like RV (https://www.robware.net/rvtools/) or (https://www.liveoptics.com/)

  7. Growth YoY

  8. Consolidation Ratio (CPU to vCPU)

  9. Bandwidth Requirements

  10. Workload type

  11. Workload usage patterns (for deciding whether it should be moved to public cloud or it's a better fit for private cloud)

  12. End user location (for deciding CDN and PoP)

But I feel this is archaic and misleading, How do you right size the environment and avoid the trap of over provisioning for your customers ?


r/cloudcomputing • • Feb 13 '23

Switching carreer from a business intelligence consultant to cloud computing

8 Upvotes

People of reddit !
I worked as a business analyst for 5 years (with SAP BI suite) and it didn't interest me and got bored of it then I switched to a 1 year (and counting) mission where I worked on cloud integration with SAP suite and i managed to have hands on other automations tasks other than that (API management, Some automation tasks with nodejs/Jenkins/docker.. even though my principal role is data integration with cloud using SAP Integration Suite but i tried different things to find something that is gonna catch my interest).
I ended up really interested in cloud engineering in general and now I m preparing the aws solution architect certification to switch to cloud engineering : (as aws and azure are more mainstream than SAP solutions).I just got the AWS cloud practitionner and my plan is getting the Solution architect & then terraform certification and getting some hands-on on by doing labs or some projects on my own (while i continue to get as close as i can to these roles within my acutal mission) and then start applying to jobs for a cloud engineer role (and then move to cloud architect..).
And i'm wondering whether this plan makes sense, whether it is achievable knowing the background that i'm coming from (most cloud engineers come from either devops or dev or even data engineering backgrounds but my path is kindda unsual) and i'm wondering if any of you had a similar carreer switch experience?
The part maybe that i'm worrying about the most is the attractivity of my profile when i start applying for jobs, i'm kindda of wondering if I'll be able to find a first job (or freelance mission) with just the certification and some handsons that I did on my own to justify my experience with cloud (maybe i can also somehow sell the work that I did within my current mission and the different roles within the SAP ecosystem as cloud-related) but i'm not sure if that will be sufficient to find a first real world experience.. and I don't know what I can do else to succeed that switch and finally have a job that I will actually enjoy.


r/cloudcomputing • • Jan 12 '23

Avoid unexpected charges on your AWS bill by automating cost monitoring and reporting using AWS Lambda and Boto3

8 Upvotes

Are you looking for ways to optimize your AWS costs and get the most value out of your use of the platform? In this article, we'll explore a range of strategies and tools that can help you manage and track your AWS costs effectively.

We'll show you how to use Python's Boto3 library and various AWS services, including Lambda, Amazon Simple Email Service (SES) and Amazon EventBridge to create a custom solution for tracking and reporting your AWS costs. By following the tips and techniques outlined in this article, you can maximize your AWS efficiency and minimize unexpected costs.

https://medium.com/@kvs-vishnu23/avoid-unexpected-charges-on-your-aws-bill-by-automating-cost-monitoring-and-reporting-using-aws-dc4ab112316e


r/cloudcomputing • • Nov 27 '22

Spot instances for web servers

8 Upvotes

I currently have a virtual machine as my web server, listening for requests, running NodeJS.

I'm not sure if I understand spot instances, or any AWS instance types, correctly. Let's say I want a web server running. Of course I would always want it active, 24/7. Does this mean that on-demand instances and spot instances are not meant for my use case? It sounds like those instance types magically ?boot up? when needed. How does it know when it's needed?


r/cloudcomputing • • Nov 16 '22

Public clouds cheat sheet?

8 Upvotes

Hello,

would you know of any comparison/cheat sheet that compares all the main public clouds (AWS, Azure, GPC, IMB, OVH) and lists equivalent services next to each other?

Thanks for reading and have an awesome day!


r/cloudcomputing • • Oct 06 '22

How do you run or deploy your web apps?

8 Upvotes

I am looking for a solution to redeploy the same stack/apps to multiple machines/servers.
I have been using docker for quite some time to deploy lean web apps, my preference is an alpine based image with apache or nginx based on the needs of the web app,
Some of the apps we work on are also a Kubernetes cluster
I have come across ansible or terraform for rolling out the same but that has a good learning curve to achieve prod-level builds
Is there any other good option you might have used worth a mention here?

Edit 1: I wanted to keep the problem statement generic not targeting any specifics.

Use case 1 React/Angular web apps which could run on apache or nginx I consider primary uc for this with small footprint or bundle

Use case 2 common dependencies like node , python, mysql etc

Use case 3 proxy configs , ssl or other common configuration

Use case 4 ftp, ssh or other network configuration needed to support the cron jobs or remote access

Let me know.. there are a ton more generic use cases


r/cloudcomputing • • Aug 27 '22

Cloud Architectural approach for my webapp

8 Upvotes

Hello guys!

I would really appreciate your opinion on what approach you would take for a side project I am working on.

It is going to be a simple webapp with a registration/login for users and a payment gateway where users can buy credits they can later spend in the web.

Now comes the part that is confusing me the most. In my backend, there is going to be some data processing for one of the endpoints which will require some GPU power (otherwhise with CPU the operation would take too long). The thing is that I don't know if any Cloud Provider is offering any kind of product where you only pay whenever you need to use the GPU (and not per hour when its on standby (no traffic for that specific endpoint)).

The idea here would be:

- For the webapp per se -> Ideally I would like it to be serverless and pay on demand.

- For the data processing endpoint -> No GPU usage (no incurring cost) -> My webapp receives a petition to process data in that specific endpoint -> Cloud provider uses GPU to process data (and I pay for the time required for the operation to be processed) -> Back to no GPU usage (back to no incurring cost)

Additionally, my webapp is going to require to store some temporary files during the data processing operation, and a permanent file associated to each user as the result of the data operation.

Let me know your ideas here on which products and from which Cloud provider (if any) would you use! Maybe this is not even possible... but if I really have to pay a GPU per hour even if its on standby.. it's going to be really expensive for me unless I somehow manage to get users using my service.

Thanks!


r/cloudcomputing • • Aug 11 '22

New to cloud - looking for suggestions

8 Upvotes

Hi there, I’m new to the cloud space and working in cost optimization. Any courses or books anyone recommend to immerse yourself in the cloud? I work primarily with AWS.


r/cloudcomputing • • Aug 10 '22

The regulation driving multi-cloud adoption

8 Upvotes

Hey guys! There is a push in Europe towards multi-cloud and we wrote a bit about it at https://docs.multy.dev/blog/cloud-regulation-&-financial-services. What's your view on multi-cloud?


r/cloudcomputing • • Jun 15 '22

Apache CloudStack 4.17.0.0 Released!

8 Upvotes

r/cloudcomputing • • Jun 01 '22

What tool do you use for cloud cost optimisation?

8 Upvotes

r/cloudcomputing • • Apr 02 '22

If you work for a US company doing cloud work, and you move to Europe while you continue working for that US company, is it possible to access all your work from there?

8 Upvotes

Interested to know if anyone's doing that.


r/cloudcomputing • • Feb 19 '22

Is Kubernetes overkill for this?

8 Upvotes

Hi all,

I want to run Bitwarden_rs and was hoping just to use cloud run for it, after many hours of playing around with it I couldn't get it to work. I read somewhere that cloud run doesn't support persistent storage which bitwarden needs.

I tried using the Kubernetes engine and it worked fine. Even though it works it's probably overkill for a basic password manager. I'm also a little worried how the cost between cloud run and kubernetes as kubernetes runs three nodes by default.

Don't get me wrong I really would like to learn GCP, I'm a cloud engineer and it's a learning curve for me, but I need to bear in mind cost and does it do what I need.

I have turned to digital ocean as they have a 1 click system for deploying bitwarden. I also need somewhere to backup my Nas using s3 although this doesn't seem an issue for me with GCP.

sorry for the long post just interest in others thoughts and opinions


r/cloudcomputing • • Feb 05 '22

Limited GPU availability?

8 Upvotes

I'm working on Google Cloud and have repeatedly run into difficulties during the last week trying to run V100s. I get an error:

Operation type [insert] failed with message "The zone 'projects/<XXX>/zones/us-west1-b' does not have enough resources available to fulfill the request. Try a different zone, or try again later."

I've tried dozens of zones and finally was successful in asia-east-1c.

Is the lack of on demand GPUs an industry wide problem or limited to Google? Is there an industry tracking site that monitors resource availability on the different cloud providers?

(I tried to check whether AWS had similar availability problems, but AWS won't let me create GPUs at all as a new account. In response to a request to increase my quota of P class machines (default 0), I was told that I had to gradually increase EC2 usage before they'd give me a non zero quota. And that manual quota increase process is per zone, so it seems impractical to survey worldwide AWS availability.)


r/cloudcomputing • • Feb 04 '22

How can I run an intensive project using cloud computing rather than local hardware?

8 Upvotes

(Project: Using/Training ML to play games, built via IntelliJ)

I'm planning on making a project using IntelliJ. The details arent important, but it will be an AI project that will likely have to run for hours even on a GPU, however, soon I will lose access to my GPU but I will have access to a laptop and an internet connection. I want to be able to train complex ML algs whilst using my Laptop.

Does anyone know what services can allow me to run the intensive ML algorithms on my Laptop using a cloud-based GPU? Something like google collab would work, except for the fact that it's a notebook rather than a typical python editor.


r/cloudcomputing • • Dec 22 '21

Using a cloud VM for personal purposes: thoughts?

8 Upvotes

I am a student and I own a laptop which suffices for almost all of my needs, except that occasionally I need to perform some batch jobs (e.g. video processing). I was wondering if it would be a good idea to outsource such computationally intensive jobs to a cloud VM, and to use it as a kind of second (but much more powerful) PC which I only pay for when I use.

I would appreciate any thoughts, advice and pointers on this!

PS I am comfortable with Linux (I use Arch bdw) and commandline. My data needs are well below 25 GB so hopefully I won't have to pay much monthly to store things on the cloud.


r/cloudcomputing • • Dec 01 '21

Is it possible to have 2 different websites pointed to same application

8 Upvotes

According to this image link: https://imgur.com/a/hOyaZTy

I would like to use 2 (or more) different websites for different customers, however everything else will remain the same.

Think of it like I have a platform which is applicable to different customers, but I don't want to have just 1 website for them to access this platform, instead will have a website name specific to their niche, and the website itself is like a cover.

Like having the exact same chocolate but in 2 different wrappers.

Pretty much the whole application from the back end to front end remains the same, it is just 2 different websites for branding purposes, so the customers feel special.

I understand there are more details like how I am handling the user systems and all, but assume it is all 1 piece together in the back-end

Hopefully I am explaining this correctly...


r/cloudcomputing • • Nov 18 '21

[Help plz] Teaching cloud computing and video games

8 Upvotes

Hello everyone,

Sorry in advance for the long text, I prefer to be explaining properly. Thanks for reading.

I got recruited by a school to teach some Master 2 students and I was told to give a lesson about "cloud computing and video games".

Some infos about myself:

  • that will be my first ever teaching experience

  • I have 35 hours of teaching which I think is way too much... Still have to do it now, too late to back off

  • the students are being taught everything about cloud computing and programming (python, Java, and not sure .. node.js maybe)

  • I am a unity developer, well versed in most topics related to game dev.

  • I currently am a R&D engineer and have experience in cloud development in general, I did notably a custom set of servers (with unity) to handle the production of quantities of heavy 3D renderings servers (schedule+workers) over Google Cloud.

  • I code in C#/Mono and python for those things.

  • I did a bunch of things like Playfab, Steam API implementations that could be considered "cloud for video games"

I am asking for help because... I don't know at all what would be interesting for students... I would like them to leave the lessons with "something".

I wanted that, in between the various lessons, there would be "exercices" that in the end would give them not only notions that would be useful for their professional life as well as being fun.

The school manager told me that they love Minecraft, that they hear a lot about "stadia"and other projects like Shadow, etc.

Anyway, so far, my idea was to try to give them somehow the view of a video game developer company and it could be helpful to have a cloud computing developer work on related topics:

  • how cloud can help a developer in the game's development stages (automation of builds, calculating lights and not blocking someone's computer, services generating worlds like Minecraft or compressing 3d models, etc etc)

  • how users could benefit from it (user data, friend groups, data storage, gigantic multiplayer games like improbable.io, etc)

  • how it could lead to lowering costs (multiplayer servers being spawned/unspawned automatically depending on demand), opening ways to sell more stuff (subscriptions, in game items), mass adoption, etc

-all the while, making them create their own server that would stream Linux hosted games and they would be able to play from their computer/their phone). Though it sounded a bit doable, teaching them a lot about finding ways to deal with professional topics that might encounter.

My question is big, I know, if you have any opinion on what "cloud computing for video games" is, that would be really helpful... If you have an idea how I could structure those lessons also would be so cool... Or what projects/exercices that could do.

In advance, thanks so much, it's been weeks that it just stresses me out so much, I just am 100% stuck.

Best


r/cloudcomputing • • Nov 14 '21

CPU Preference for cloud computing

8 Upvotes

Not sure if anyone knows out of curiosity - what would be the CPU of preference for cloud computing providers?


r/cloudcomputing • • Nov 05 '21

Best Cloud Service for my SME

8 Upvotes

Hi. I am thinking of venturing into a personal business and require a cloud service to maintain a data warehouse. I have considered Redshift, Google BigQuery and Snowflake but am completely illiterate regarding the merits and demerits of each. Can someone please guide me which would be optimal? I will not have a lot of data initially, but would like the option to expand and tailor the service for my growing needs.


r/cloudcomputing • • Oct 26 '21

CMV: AWS is possibly the worst designed software in hisotry

8 Upvotes

The sheer needless complexity of aws always gets on my nerves, but today was the final nail in the coffin. I needed to connect a new IAM profile to an EC2 instance. Sounds routine right? WRONG. After much digging, I found that I had to complete no less than 16 STEPs to finish this super basic task. If steve jobs were alive I'd think he'd quit apple and join aws just to fix this hideous affront to basic usability and inutive interfaces LOL.

Steps posted for reference:

Attach the Systems Manager instance profile to an existing instance (console)

  1. Sign in to the AWS Management Console and open the Amazon EC2 console athttps://console.aws.amazon.com/ec2/.

  2. In the navigation pane, under Instances, choose Instances.

  3. Navigate to and choose your EC2 instance from the list.

  4. In the Actions menu, choose Security, Modify IAM role.

  5. For IAM role, select the instance profile you created using the procedure in Step 4: Create an IAM instance profile for Systems Manager.

  6. Choose Apply.

For more information about attaching IAM roles to instances, choose one of the following, depending on your selected operating system type:

TURNS OUT, BEFORE #5, YOU HAVE TO DO ALL THIS -Task 2: Add permissions to a Systems Manager instance profile (console)

Depending on whether you're creating a new role for your instance profile or adding the necessary permissions to an existing role, use one of the following procedures.

To create an instance profile for Systems Manager managed instances (console)

  1. Open the IAM console at https://console.aws.amazon.com/iam/.

  2. In the navigation pane, choose Roles, and then choose Create role.

  3. Under Select type of trusted entity, choose AWS service.

  4. Immediately under Choose the service that will use this role, choose EC2, and then choose Next: Permissions.
    📷

  5. On the Attach permissions policies page, do the following:

  • Use the Search field to locate the AmazonSSMManagedInstanceCore. Select the box next to its name.
    📷The console retains your selection even if you search for other policies.

  • If you created a custom S3 bucket policy in the previous procedure, Task 1: (Optional) Create a custom policy for S3 bucket access, search for it and select the box next to its name.

  • If you plan to join instances to an Active Directory managed by AWS Directory Service, search for AmazonSSMDirectoryServiceAccess and select the box next to its name.

  • If you plan to use EventBridge or CloudWatch Logs to manage or monitor your instance, search for CloudWatchAgentServerPolicy and select the box next to its name.

  1. Choose Next: Tags.

  2. (Optional) Add one or more tag-key value pairs to organize, track, or control access for this role, and then choose Next: Review.

  3. For Role name, enter a name for your new instance profile, such as SSMInstanceProfile
    or another name that you prefer.
    NoteMake a note of the role name. You will choose this role when you create new instances that you want to manage by using Systems Manager.

  4. (Optional) For Role description, enter a description for this instance profile.

  5. Choose Create role. The system returns you to the Roles page.


r/cloudcomputing • • May 06 '21

Suggestions on what services to choose for migrating to AWS

8 Upvotes

Hi all.

I'm interested to migrate my application to the cloud and specifically to AWS. The thing is that I've never before had an experience with these platforms and how to choose based on your needs.

So here is a brief technical description of my app. It is just a JAVA spring boot API that uses Maria DB and Couchbase for data storage. Some days ago, I was reading the documentation of the Chouchbase their suggestion about an r4.4xlarge instance only for hosting the Couchbase.

So based on my little knowledge of that kind of stuff, I thought to host the rest of the app within an a1.4xlarge general purpose instance.

One more piece of info that could be helpful to decide is probably the traffic of the app. So based on some exaggerated calculations there could reach 4.750.000 requests/month.

Based on all these are the above instances wise choices? How would you approach this migration? Any ideas, tutorials, and tips are very welcomed.