We're running an Ubuntu 10.10 on EC2 Classic and are migrating to a VPC. My question - is it best to first replicate the existing servers into VPC, then upgrade to Ubuntu 14, or just create the latest version of Ubuntu (or Amazon Linux) in the VPc and copy our apps into it?


The best practice for me is to use userdata, which can replicate each of your instances fast and easy. Also, userdata script give you the option to recycle the instance when something go wrong.

I would not support the idea of upgrade your OS from Ubuntu 10 to 14, this can be far more complex and can have unpredictable effect over your application.

  1. Start new instance with clean Uubuntu Server 14.04.
  2. Install required by your app libs packages etc...
  3. Configure all things, check updated versions for new features.
  4. Test your app. Provide some benchmark.
  5. Document everything.
  6. Start migration.

This is the base road. You can have very complex migration path, like betas, stages, pre-production etc...


| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.