Creating a custom image in Public Cloud and launching an instance from it [New]

Creating a custom image in Public Cloud and launching an instance from it [New]

Custom images let you launch Public Cloud instances from your own disk image, for example a disk exported from another platform or a pre-configured server template.

Before you begin

  1. Your image must be in RAW or QCOW2 format.
  2. The image file must be available at a publicly reachable HTTPS URL.
  3. V2 instances don’t get a public IP address automatically. You’ll need to assign one after launching the instance.

Step 1: Create the custom image

  1. Log in to the Customer Portal.
  2. In the menu, go to Public Cloud > Custom Images.
  3. Click Create custom image.
image
  1. Fill in the form:
    1. Project: the project the image belongs to.
    2. Availability Zone: the zone where the image will be available. Choose the zone where you plan to launch instances.
    3. Image URL: the HTTPS URL of your RAW or QCOW2 image file.
    4. Description: a short description of the image.
    5. Image Name: a name that helps you recognize the image.
    6. OS Distribution, OS Version and Admin User: optional, but recommended. They help identify the image and set the right defaults when you launch instances.
    7. Disk Format: select the format of your image file, RAW or QCOW2. This must match the actual file format.
  2. Click Create.
  3. Wait until the image shows as available in the Custom Images list. This can take a while for large images.

Step 2: Launch an instance from the custom image

  1. In Public Cloud V2, go to launch a new instance page, in the same project and availability zone as the image.
image 1
  1. Select your custom image as the image source.
  2. Choose an instance type with a disk at least as large as the image.
  3. Choose your network settings and launch the instance.

Troubleshooting

  1. The image import fails. Check that the URL is publicly reachable over HTTPS, the link hasn’t expired, and the selected disk format matches the file.
  2. You can’t find your image when launching an instance. Make sure you’re launching in the same project and availability zone as the image.
  3. You can’t reach the new instance. Check that a public IP is assigned and that your security settings allow the traffic