This adds another rake task to help with deploying a new web server. After #158, the rake aws:create_web_asg task will now update the staging.oversight.garden DNS records once the new server is online. This new task, rake aws:promote will perform some sanity checks to make sure the new server's working, then copy the IP address from the staging.oversight.garden records to the oversight.garden records.
So, the new deployment process for the web server is rake aws:create_web_asg, do manual QA by browsing to staging.oversight.garden, rake aws:promote, and delete the old ASG in the console when you're done with it.
This adds another rake task to help with deploying a new web server. After #158, the
rake aws:create_web_asg
task will now update the staging.oversight.garden DNS records once the new server is online. This new task,rake aws:promote
will perform some sanity checks to make sure the new server's working, then copy the IP address from the staging.oversight.garden records to the oversight.garden records.So, the new deployment process for the web server is
rake aws:create_web_asg
, do manual QA by browsing to staging.oversight.garden,rake aws:promote
, and delete the old ASG in the console when you're done with it.