Upgrading Askbot on EC2

  1. 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.
  2. Connect an IP address to the new instance

    Connect an IP address to the instance and write down the new IP address.
  3. pull the latest server-config

    do a git pull and get the latest server-config version.
  4. edit the cuisine config.py

    Edit the cuisine config.py PREPROD settings with the new IP address of your test instance
  5. Run fab help

    Running fab help will show what you need to run and in what order.
  6. 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.
  7. Now run on prod

    Once satisfied with the new version.

    run reinstall_askbot on the prod environment
  8. Shutdown test

    Terminate test server
    disassociate the IP address and release it