Created With
Upgrading Askbot on EC2
Launch a new (test) instance
Head to the control panel and on your existing askbot instance select "launch more like this".
Follow the prompts to launch a new (empty) instance.
Connect an IP address to the new instance
Connect an IP address to the instance and write down the new IP address.
pull the latest server-config
do a git pull and get the latest server-config version.
edit the cuisine config.py
Edit the cuisine config.py PREPROD settings with the new IP address of your test instance
Run fab help
Running fab help will show what you need to run and in what order.
Don't enable_askbot_backup or enable_askbot_email
These are destructive if run on the preprod version because they send backups to the known sane location.
Now run on prod
Once satisfied with the new version.
run reinstall_askbot on the prod environment
Shutdown test
Terminate test server
disassociate the IP address and release it