What’s the Most Affordable AWS Service for Running a Flask API?

0
14
Asked By CuriousCoder42 On

I'm looking for the cheapest option to host a Flask API on AWS, specifically avoiding AWS Lambda. I've considered EC2 and Elastic Beanstalk, but I'm curious about other options as well. Any recommendations?

4 Answers

Answered By ServerSage01 On

Have you thought about using the cheapest spot instance available? It can definitely save costs compared to other services, although you have to manage the instance yourself.

Answered By TechGuru57 On

A single EC2 instance, something like t4g.micro or t3a.micro, might be a solid choice if you're looking for something basic and cheap. Just make sure your traffic demands are manageable with that setup.

Answered By CloudNinja99 On

If you're avoiding Lambda, you might want to check out AWS Lightsail. It's often a good option for simpler applications without the complexity of Elastic Beanstalk.

Answered By DevOpsDude23 On

If scalability is a concern, ECS with Fargate might be worth considering, especially with spot instances for cost savings. Just be aware it's a bit pricier than standard EC2 if you don't leverage spot pricing effectively.

FlaskFan22 -

I agree, Fargate is a good option but can get expensive if you're not careful with instance selection.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.