Closed mpyw closed 7 years ago
Sorry, now I noticed Elastic Beanstalk automatically upload new files onto /var/app/ondeck
and rapidly move that into /var/app/current
. My method is verbose if I don't require 100% availability. It seems to get down only while:
rm -rf /var/app/current
mv /var/app/ondeck /var/app/current
My current method for ELB-based Blue Green deployment on Elastic Beanstalk:
Setup
myapp-env-blue
myapp-env-green
myapp-env-green
Note that ELB of
myapp-env-green
is never used. I only use ELB ofmyapp-env-blue
.Deployment
myapp-env-blue
)myapp-env-green
myapp-env-blue
This method is based on the article: Auto Scaling環境でのBlue-Green Deploymentの切替がAWS ELBでできるようになりました。 | Developers.IO
However, eb_deployer seems to work without cloning environment. Would you describe how it works?