Does RESTART remove an application from load-balancer traffic while it restarts?
AWS says RESTART does not run the load-balancer BlockTraffic and AllowTraffic steps, so the host remains registered while the application stops and starts. Configure stop hooks to drain work and size batches for the availability impact.
Answered in
AWS CodeDeploy RESTART Reuses a Revision, but Your Fleet Still Needs a Drain PlanCodeDeploy RESTART reapplies an EC2 or on-prem revision under deployment safeguards. See its agent, lifecycle and traffic-drain requirements.
Read the full analysisOther questions this article answers
More system design & architecture questions
- What does CodeDeploy RESTART actually deploy?
- Does CodeDeploy RESTART work with ECS or Lambda?
- Does Elastic Beanstalk's Active Directory join require a domain password?
- Can an Elastic Beanstalk environment be healthy if the domain join fails?
- Will enabling Active Directory replace running instances?
- What is different about AWS Lambda Web Functions?
- Does Lambda Web Functions automatically cost less than ordinary Lambda?
- What application risks should teams check before migration?
Every answer on Crashtech is written by the editor of the article it comes from — never auto-summarised. Browse all answers or the System Design & Architecture beat.