NavigationContentFooter
Jump toSuggest an edit

Using the snapshot import/export feature from the Scaleway console

Reviewed on 20 February 2024Published on 27 July 2021

The snapshot transfer feature allows you to export or import Instance snapshots. Snapshots are created using the QCOW2 format and stored in a Scaleway Object Storage Bucket.

A snapshot (a valid QCOW2 image) stored in a Scaleway Object Storage bucket can be imported into any Availability Zone, as long as it is in the same region as the bucket. This allows you to create Instances in other Availability Zones within the same region. For example, you can deploy Instances in fr-par-2 based on the snapshot exported from an Instance in fr-par-1.

More information on the QCOW2 file format, and how to use it can be found in the QEMU documentation.

Before you start

To complete the actions presented below, you must have:

  • A Scaleway account logged into the console
  • Owner status or IAM permissions allowing you to perform actions in the intended Organization
  • A valid API key
  • An Instance using Block Storage volumes
  • An Object Storage bucket

Creating a snapshot from your existing Instance

Note

For the sake of this how-to guide, we assume you have an Instance running in the fr-par-1 Availability Zone, your Object Storage bucket is located in the region fr-par, and you want to create the new Instance in the fr-par-2 Availability Zone.

  1. Go to the Instances section of the Scaleway console and click the Snapshots tab.

  2. Click + Create snapshot. The snapshot creation wizard displays. Enter a name and select the volume to snapshot. Then click Create snapshot. The snapshot is created, and the list of all your snapshots displays.

  3. Click «See more Icon» next to the relevant snapshot, and select Copy to bucket. A pop-up displays. Enter the file name for your exported snapshot copy and select the destination bucket. Then click Copy snapshot to bucket.

Importing the snapshot into the destination AZ

  1. Enter the Object Storage section of the Scaleway console and click on the bucket you have exported the snapshot into. The snapshot copy displays in the list of your objects.
Note

Depending on the size of your snapshot, the export to Object Storage may take some time. It is ready once the status indicator changes to green.

  1. Click «See more Icon» next to the snapshot object, then click Import as snapshot. A pop-up displays. Enter the name of the snapshot, select the destination AZ, and choose the snapshot type.
Important

Make sure that the QCOW / QCOW2 image file you want to import, uses the file extension .qcow or .qcow2 to avoid issues while importing the image.

The type can be either Local SSD or Block SSD. Click Import file as snapshot to import the snapshot into the destination AZ.

Important

Imported snapshots should have a volume size of between one gigabyte and one terabyte.

Creating Instances from the imported snapshot

  1. Go to the Instances section of the Scaleway console and click +Create Instance.

  2. Select the Availability Zone into which you have imported the snapshot and the desired Instance type. Under Choose an image, click My snapshots to select the imported snapshot.

  3. Optionally, add additional volumes, enter a name and optional tags. Once your configuration is complete, click Create Instance to launch the Instance creation process.

You can now connect to your new Instance using SSH. It uses the same software configuration as the source Instance.

See also
How to create an image from a snapshotHow to migrate Instances
Docs APIScaleway consoleDedibox consoleScaleway LearningScaleway.comPricingBlogCarreer
© 2023-2024 – Scaleway