UPDATE: The New Way to upgrade Amazon Lighsail Instances
When Amazon lightsail launched it wasn’t possible to upgrade via the dashboard, it could only be done via the command line but I’m pleased to announce it’s now possible and it’s super easy.
Step #1 – Always keep your snapshots up to date
Snapshots are a full backup of your instance, just click on your instance, click on the snapshots tab and click ‘create snapshot’.
Step #2 – Upgrade your lightsail instance
Click on the instance you want to upgrade, click on the snapshots tab and click the three orange dots on the snapshot you want to upgrade, like so:
Select ‘Create new instance’ and follow the instructions, this process will allow you to select a different size instance than your original.
Congrats, you’re done!
Original post below, in case you want to use the CLI method:
Do you know how to upgrade amazon lightsail instances?
Amazon lightsail was launched a few days ago to make it easy for anyone to launch a virtual private server. I believe lightsail will have a huge impact on the web hosting industry in general.
I’ve been using EC2 instances for years and will continue to do so because it’s a rock solid platform with virtually unlimited scaling potential and flexibility you can’t get anywhere else.
But I discovered an issue with lightsail that’s really going to annoy a lot of people. The problem is you can’t upgrade Amazon lightsail instances.
Nobody wants to waste money so they’re going to create a $5 lightsail VPS and assume it can be upgraded when they need to, except it can’t.
In EC2 you can easily upgrade, it’s not an issue at all so I can’t understand why this isn’t an option for lightsail users.
Another issue I noticed is when you create a snapshot, if your base storage size is 20GB the snapshot size will be 20GB, why is that? Surely the images are compressed.
If you know how to upgrade amazon lightsail then please let me know.
Leave a comment below if you have any pointers and I’ll update this post if I can figure out how to upgrade lightsail instances.
LATEST UPDATE: Josh has found a way to upgrade lightsail instances.
Here’s the solution submitted by Josh in the comments section, if you get an opportunity to test it please leave a comment below and let me know how you get on:
After digging around I have found that this solution works:
1. Take a snapshot of the instance in the console and note down the snapshot name.
2. Install the AWS CLI if it isn’t already installed and issue the following:
$ aws lightsail get-bundles
This will list all of the instances that are available through Lightsail.
3. I was able to create a new instance from the snapshot created with the following command:
aws lightsail create-instances-from-snapshot --instance-snapshot-name theNameOfTheSnapshotYouWroteDown --bundle-id medium_1_0 --instance-names newInstanceName --availability-zone us-east-1a
4. New instance should be available in your console.