ktgit / lein-elastic-beanstalk

Leiningen plugin for Amazon's Elastic Beanstalk service
9 stars 3 forks source link

Url swapping #4

Open pasviegas opened 10 years ago

pasviegas commented 10 years ago

Hey, I saw your fork, and I am actually using it because I needed the war deployment.

I was wondering is it possible to do url swapping?

thx!

jmglov commented 9 years ago

I assume you're talking about CNAME swapping as described here? http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.CNAMESwap.html

Amazon just released a new rolling version deployment feature, which lets you do a zero-downtime deployment. However, lein-beanstalk currently can't make use of this because it always forces a environment settings update. I'm working on a patch to only update the environment settings if they've actually changed.

Maybe this will solve your problem as well.