I am using elastic beanstalk to handle my deployments. I read the explanation for these deployment options but it was not quite clear. Could someone explain it in more simpler
I found this post easier to understand than the accepted answer, so here's my take on it.
Ordered by high-to-low risk, and calling the deployed versions v1 to v2:
v1 with v2 at the same time. Failure not handled.v2 is deployed and observed. If successful, all remaining v2 instances are deployed immediately.v1 instances with v2 instances one at a time. Watch for failures.v2 instances. If successful, roll out on v1 instances. When all are v2 instances, scale back to original size.v1 instances. Create same number of v2 instances. Wait for success, then stop v1 instances.v2, and switch over when ready.