AWS Elastic Beanstalk
Managed developer-centric service to deploy applications on EC2, ASG, ELB and RDS.
How it works
AWS Elastic Beanstalk helps deploy and manage application environments on AWS. You provide application code or a container and select an environment configuration; the service provisions the necessary resources, such as EC2 and, when configured, a load balancer and Auto Scaling group. You retain access to the underlying resources. Beanstalk has no additional service fee, but the resources used incur charges.
When to use it
When developers only want to provide code and keep full control of the configuration.
Real-world example
A team uploads a Node.js application to Elastic Beanstalk and chooses a load-balanced environment. Beanstalk deploys it on EC2, configures a load balancer and Auto Scaling group, and reports environment health.
Key facts
- Free; you pay for the underlying resources.
- Application, application version, environment (one version at a time).
- Single Instance mode for dev; HA with load balancer for prod.
Common pitfall
Attaching RDS directly to an environment creates a lifecycle dependency. When the environment is terminated, its deletion policy determines whether the database is retained, deleted, or snapshotted. Check the policy and backups.
Often confused with
CloudFormation, where you define the infrastructure yourself.
References
Prepared by Cloud Quest. Check current behavior and limits in the AWS documentation:
Keywords you will see in SAA-C03 questions
- deploy code
- web server tier
- worker tier
Understand it for real with 3D models and simulated labs
Connect the concept to a working architecture.