VPS upgrades via UI

Modify various properties of an AWS Lightsail VPS that a CodeSmash app is deployed on via the app UI in CodeSmash, as a one-click action. Modify the following by clicking a single button:

  • VPS type (micro, nano, small, large etc) to change CPU, RAM

  • AWS Region

  • AWS Availability Zone

This could be accomplished by:

Snapshot + Create New Larger Instance (Recommended)

Pros:

  • Easy, reliable

  • Minimal downtime (just for snapshot)

  • No need to manually reconfigure your app

Steps:

Alert the user before they start:

  • Stop the app or pause traffic before taking the snapshot to avoid inconsistent data.

  • For databases (MySQL, PostgreSQL etc.), consider stopping the DB before snapshot or doing a dump-and-restore.

  1. Log in to AWS Lightsail Console.

  2. Go to "Instances" and click your existing instance.

  3. Click the “Snapshots” tab.

  4. Click “Create Snapshot” — wait for it to complete (may take a few minutes).

  5. Once complete, click “Create new instance” from the snapshot.

  6. Choose a larger plan (with more CPU/RAM).

  7. Launch the new instance.

  8. Update DNS / IP settings if needed (the new instance has a different IP unless you're using a static IP).

If CodeSmash added and controlled this feature, then it could track the action and incorporate the new instance into the UI. To the user, it appears like they are able to change their VPS settings. Under the covers, however, a new instance is created.

Please authenticate to join the conversation.

Upvoters
Status

In Review

Board

💡 Feature Request

Date

10 months ago

Author

Gareth Hayter

Subscribe to post

Get notified by email when there are changes.