I am hosting a Wave in a Box server on Ubuntu EC2 instance. I started with a 32 bit micro one and then gradually upgraded to a small and now to a medium. However, as the number of users and stored data grows - the machine runs out of memory, so I want to upgrade to a large instance. The problem is - it's not possible to do by merely stopping the instance, changing the type and restarting. I guess I would need to create a 64 bit large instance and attach to it the volume from the medium instance. The questions are: 1. Is it possible? If so - can someone please help me to write a EC2 console commands based script to do it? 2. Is there some other, easier way to upgrade 32 bit medium instance to a 64 bit large one? Thanks!
You can't change the instance type of a Spot Instance. If your instance is in an Auto Scaling group, the Amazon EC2 Auto Scaling service marks the stopped instance as unhealthy, and may terminate it and launch a replacement instance.
With Amazon EBS Elastic Volumes, you can increase the volume size, change the volume type, or adjust the performance of your EBS volumes. If your instance supports Elastic Volumes, you can do so without detaching the volume or restarting the instance.
Unfortunately, like other OS's, I don't think there is a way to upgrade
32 bit to 64 bit. You'll almost certainly need to do a reinstall.
This is how I would do it:
snapshot
of the root-device, in-case if it's useful in future.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With