Update Ubuntu 22.0 for Snapshots¶
This guide pertains to the Ubuntu 22.0 shared image available by default when creating a new virtual machine instance (as of the date of this writing).
Follow these instructions to update an Ubuntu 22.0 virtual machine instance so that you can create snapshots in Rumble Cloud.
Before you begin This guide assumes that you've already completed the following tasks:
- Created an SSH key pair
- Created a virtual machine instance
- Used SSH to access the virtual machine
Instructions
-
Type the following command in the SSH connected terminal:
-
The virtual machine will download the latest versions of the operating system and related components. When done updating, type:
-
Type "Y" when asked to continue.
- Type "Enter" when asked about Package configuration.
- From the Rumble Cloud console, go to Compute > Instances and find the virtual machine.
- Select More > Instance Status > Soft Reboot. This safely reboots the machine to make sure the updates are correctly applied.
- Find the virtual machine instance in the instance dashboard.
- Select More > Backup & Snapshots > Create Snapshot.
- Provide a name for the snapshot. You’ll see an error message stating that the operation failed.
- Select "Click to show detail". In the error detail, you’ll see a message that states,
libvert cannot connect to the qemu-guest-agent inside the instance
. The error indicates that the virtual machine is not connecting to software calledqemu-guest-agent.
- Open the Terminal application on your computer.
-
Type the following to connect to the virtual machine, install the software, then get it running.
-
From the Rumble Cloud console, go to Compute > Instances and find the virtual machine.
- Select More > Instance Status > Soft Reboot.
- Allow the system a few seconds to reboot successfully.
You can now create a snapshot of the update virtual machine instance. Select More > Backup & Snapshots > Create Snapshot.