PaaS · Container-compatible

AWS Elastic Beanstalk

Deploy web apps and APIs from code; Beanstalk provisions the instances, load balancer and scaling for you.

When to use it

Choose Elastic Beanstalk to run a web app or API written in Java, .NET, Node.js, Python, PHP, Ruby or Go from source, without designing the load balancer, Auto Scaling group and deployments yourself. It's the closest AWS service to a classic platform-as-a-service, with managed platform updates and blue/green deployments by swapping environment URLs.

When not to use it

Avoid Beanstalk for event-driven code (Lambda), container fleets with many services (ECS or EKS), or workloads that must scale to zero. Teams that already ship container images often find ECS Express Mode a simpler fit.

Trade-offs at a glance

Hosting model PaaS
Container support Container-compatible
Minimum nodes 1 (single-instance environment) or a load-balanced group
State management Stateless
Web hosting Built-in
Autoscaling Built-in (EC2 Auto Scaling group managed by the environment)
Load balancer Integrated (Application, Network or Classic Load Balancer)
Scale limit Limited by the EC2 and Auto Scaling quotas of the account
Multiregion Single Region — one environment per Region behind Route 53
Virtual network integration Supported (environment in your VPC)
Hybrid connectivity Through the VPC (Site-to-Site VPN, Direct Connect)
GPU support Possible with GPU instance types and a custom AMI; the managed platforms don't target GPUs
TLS Supported (certificate on the load balancer)
Architecture styles Web-queue-worker (web and worker environments)
Required skills Web development, application deployment
Operational overhead Low to medium — managed platform updates, but EC2 instances underneath
Best for teams Application developers who want to deploy code, not infrastructure

Frequently asked questions

Is there a charge for Elastic Beanstalk itself?

No. You pay only for the resources it creates, such as EC2 instances, the load balancer, storage and data transfer.

Can Elastic Beanstalk run containers?

Yes. The Docker platform runs a single container or Docker Compose services on the environment's instances. It doesn't orchestrate containers across a cluster; for that use ECS or EKS.

How do zero-downtime deployments work on Elastic Beanstalk?

Use rolling, rolling with additional batch or immutable deployments inside an environment, or run a blue/green deployment by cloning the environment and swapping the environment URLs.

Starting point, not a verdict

This is one candidate from the AWS compute decision wizard. The right choice depends on your full requirements — evaluate scaling, cost, and operational fit before committing.

Run the AWS wizard →