Rename an AWS Lightsail instance
AWS Lightsail does not have an option to rename instances. However, you can create a new instance from a snapshot and give it the desired name.
Create a snapshot of the existing instance
- From the Lightsail homepage, click on the name of the instance for which you want to rename.
- Click on the Snapshots tab.
- Create snapshot under the Manual snapshots section.
Create new instance from the new snapshot
- Choose the actions menu icon (⋮) next to the newly created manual snapshot.
- Select Create new instance.
- On the next page, enter the correct name.
Attach existing static IP to the new instance
After verifying the new instance is running as expected, you may now re-attach the existing static IP.
- From the Lightsail homepage, click on the name of the instance that is no longer needed.
- Stop the instance.
- Click on Networking tab.
- Detach the static IP.
- From the Lightsail homepage, select the newly created instance.
- Click on Networking tab.
- Attach the static IP to the new instance.