r/cloudcomputing • • Apr 15 '23

Serverless vs. Servers

When deciding between servless vs. server architecture,what factors do you take into account?

How do you anticipate the demand changes that could affect that design choice?

3 Upvotes

8 comments sorted by

View all comments

Show parent comment

1

u/Tie_C May 03 '24

Would serverless still be more cost effective for very small scale/low traffic services? Admittedly, I haven't looked in detail at a cost breakdown but I feel that for small services it might not make sense to push the management to the cloud provider.

1

u/Adventurer_412 Jul 24 '24

Especially for low-traffic projects, serverless seems to be a good fit. Because of the pay-as-you-go model, you would only pay for the little resources you would use and, as a result, you might end up paying very little. For example, AWS Lambda has a life-long free tier that allows a maximum of 1 million Lambda requests per month and up to 400,000 GB-seconds of compute time. This means that you would likely pay close to $0 to host your API. Other options like Digital Ocean Functions, Vercel or Supabase provide serverless infrastructure with generous free or affordable tiers.