Deployment Strategies Flashcards
In-place
Update your application on existing instances instead of replacing with new instances
Rolling
Gradually roll out updates to your application to some portion of the production fleet
Immutable
Stand up a new infrastructure with the new application version
Blue/Green
Systems use the same backend (parallel environment)/ cloning and swapping parallel environments to reduce downtime
What are the continuous deployment strategies?
In-place
Rolling
Immutable
Blue/Green
deployment configurations
Amazon EC2/On-premises compute platform
Amazon ECS
AWS Lambda
Amazon EC2/On-premises compute platform
deployment configurations:
AllAtOnce
HalfAtATime
OneAtATime
Amazon ECS
deployment configurations:
ECSAllAtOnce
AWS Lambda
deployment configurations:
Canary
Linear
All-at-once
What tools can be used for Blue/Green deployments?
Elastic Load Balancing
Amazon Route 53
Amazon EC2 Auto Scaling
Segmentation
Can assist you with your deployments and lower your risks. By breaking up deployments into small chunks, you minimize the impact of failures to only a small portion of your environment. You can also limit the traffic. Another reason to segment is to potentially catch issues before your users do. You also want to be able to roll back as quickly as possible if necessary.
Segmentation options
Common segment types:
- region
- Availability Zones
- Subzones
- Single hosts (canary)
Create deployment groups per segment using:
- tags
- auto scaling groups