Elastic Beanstalk In-Depth
Elastic Beanstalk (EB) - Architecture (18:12)
Elastic Beanstalk (EB): Overview
what is elastic beanstalk (el)?
Elastic Beanstalk is a Platform as a service (PaaS)
-
Developers provides code
-
EB handles the deployment
- capacity provisioning
- load balancing
- automatic scaling to web application health monitoring,
- with ongoing fully managed patch and security updates
- and many other things
- networking (VPC, subnets)
- EC2 instance: EBS, CloudWatch, Security Group
- database
- deployment strategy…
Elastic Beanstalk (EB): Platforms
note
EB provides:
- Managed Platform for many languages:
- Go, Java,
- .NET, .NET Code,
- Node, PHP, Python, Ruby
- Custom Platform via Docker
Elastic Beanstalk (EB): Architecture
how to use eb?
When working with EB, you:
- Create an EB application
- Bundle a deployable code (aka source bundle) as an application version that will be automatically deployed either as
One of two type of Environment tier:
- Web Server environment
- a Worker environment, that can be deployed with a message queue (SQS)
- Manage the environments
- Update new application version, and EB will deploy new versions of environments
Elastic Beanstalk (EB): Blue-Green Deployment
Elastic Beanstalk (EB): Summary
[DEMO] Elastic Beanstalk (EB) - Application & Environment - PART1 (11:50)
[DEMO] Elastic Beanstalk (EB) - Add additional environment and config options - PART2 (10:53)
Elastic Beanstalk (EB) - Deployment Policies (11:40)
EB - Deployment Policies
EB - Deployment Policies: All at once
EB - Deployment Policies: Rolling
EB - Deployment Policies: Rolling with additional batch
EB - Deployment Policies: Immutable
EB - Deployment Policies: Traffic Splitting
EB & Blue-Green Deployment
[DEMO] Elastic Beanstalk (EB) - Deployment (8:30)
Elastic Beanstalk (EB) - Environments and RDS (4:34)
Elastic Beanstalk (EB) - Advanced Customization via .ebextensions (4:52)
elastic beanstalk is based on cloudformation>
Use can provide additional Cfn configuration via the .config
files inside .ebextensions
folder in the source bundle.
These config can:
- modify the EB application environment
- modify the EC2 instances
- deploy custom Cfn resources, make advance modification to Cfn resources
- …