Skip to content

Compute / Overview

Images

Updated · 3 min read

An image is what an instance boots from. Learn the difference between platform-provided and your own images, and what each image field means.

On this page4 sections

An image is the template an instance boots from: the operating system and whatever else was built into it. You choose one at launch. The launch copies the image onto the new instance’s root disk, and from then on the instance doesn’t depend on the image.

The following table shows where images come from and how they’re used.

FromStepTo
Image familyresolves toPlatform-provided image
VolumesnapshotProtected snapshot
Protected snapshotcreate-imageYour image
Platform-provided imagelaunchInstance
Your imagelaunchInstance

Key concepts

ConceptMeaning
Platform-provided imageAn image the platform publishes, such as a Debian or Ubuntu base image. Any project can launch from one. It lists alongside your own images in list-images.
Your own imageAn image you create from a protected snapshot of one of your volumes. It belongs to the project you create it in. See Create an image.
Image familyA stable name for a line of platform-provided images that resolves to the current one. See Image families.
Default userThe account an instance launched from the image logs in as. Every image has a defaultUser. The platform-provided images use cloud. See Guest environment.

Image fields

Three image fields are typed enums in the API. Each has exactly one value. Handle the value you get, and let a value your client doesn’t recognize surface rather than defaulting it away.

FieldValueMeaning
statusAVAILABLEThe image can be launched from. An image becomes visible only once its contents are in place, and there is no other status. An image that couldn’t be created never appears.
architectureX86_64The CPU architecture the image’s contents are built for. An instance launched from it runs on a machine of that architecture.
platformLINUX_UNIXThe operating-system family. It covers every Linux and UNIX-like distribution.

Platform-provided images also carry family, the family they belong to, and isFamilyCurrent, whether the family currently resolves to that image.

What you can do