Introduction to AWS Elastic Beanstalk
Platform as a service for deploying web applications without managing infrastructure.
- 2 lessons
- Module quiz
Running a web application on EC2 involves more than the application: instances, a load balancer, an Auto Scaling group, health monitoring, logs and a way to deploy new versions. Developers who want to concentrate on their code may prefer a service that manages this infrastructure for them.
AWS Elastic Beanstalk is a platform as a service (PaaS) for web applications. The developer uploads code for a supported platform, such as Java, .NET, Node.js, Python, PHP, Ruby, Go or Docker, and Elastic Beanstalk creates and manages an environment to run it, including the EC2 instances, load balancer, Auto Scaling and monitoring. The underlying resources remain visible and can be configured. Elastic Beanstalk itself is free; the resources it creates are charged.
Where Elastic Beanstalk fits
On the exam, Elastic Beanstalk questions focus on configuring environments and on choosing a deployment policy. Each policy makes a different trade-off between downtime, cost, capacity during the release and speed of rollback, and blue/green releases are performed by swapping the URLs of two environments.
How this module is organised
Configuring Elastic Beanstalk Applications and Environments explains applications, versions and environments, web and worker environments, and configuration files. Choosing an Elastic Beanstalk Deployment Policy compares the deployment policies and explains blue/green deployments with environment swaps.