Image Import/Export (2024)

You can share custom images across tenancies and regions using image import/export.

Important

To import or export custom images from Object Storage buckets, federated users and users authenticating with instance principals tied to a dynamic group need to create a pre-authenticated request. For more information, see the known issue Invalid bucketName error when importing or exporting a custom image.

Platform images, Marketplace images, and custom images that are created from Marketplace images cannot be exported.

Linux-Based Operating Systems

The following operating systems support image import/export:

  • Oracle Linux 6.x
  • Oracle Linux 7.x
  • Oracle Linux 8.x
  • Oracle Linux 9.x
  • Oracle Linux Cloud Developer 8.x
  • CentOS 7
  • CentOS Stream 8
  • Ubuntu 18.04
  • Ubuntu 20.04
  • Ubuntu 22.04

Windows-Based Operating Systems

The following Windows versions support image import/export:

  • Windows Server 2012 Standard, Datacenter
  • Windows Server 2012 R2 Standard, Datacenter
  • Windows Server 2016 Standard, Datacenter
  • Windows Server 2019 Standard, Datacenter
  • Windows Server 2022 Standard, Datacenter

Important

When exporting Windows-based images, you are responsible for complying with the Microsoft Product Terms and all product use conditions, as well as verifying your compliance with Microsoft.

For information about the licensing requirements for Windows images, see Microsoft Licensing on Oracle Cloud Infrastructure.

Verify Your Windows Operating System

When importing custom Windows images, ensure that the version you select matches the Windows image that you imported. Failure to provide the correct version and SKU information could be a violation of your Microsoft Licensing Agreement.

Windows System Time Issue on Custom Windows Instances

If you change the time zone from the default setting on Windows VM instances, when the instance reboots or syncs with the hardware clock, the system time will revert back to the time for the default time zone. However, the time zone setting will stay set to the new time zone, so the system clock will be incorrect. You can fix this by setting the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation registry key to 1.

Windows platform images already have the RealTimeIsUniversal registry key set by default, but you must set this for any custom Windows images that you import.

To fix this issue for custom Windows images:

  1. Open the Windows Registry Editor and navigate to the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation registry key.
  2. Create a new DWORD key named RealTimeIsUniversal and set the value to 1.
  3. Reboot the instance.
  4. Reset the time and time zone manually.

Bring Your Own Image Scenarios

You can also use image import/export to share custom images from Bring Your Own Image (BYOI) scenarios across tenancies and regions, so you don't need to recreate the image manually in each region. You must go through the steps required to manually create the image in one of the regions, but after this is done, you can export the image, making it available for import in additional tenancies and regions. Export the image in the .oci format, which is a file format that contains a QCOW2 image file and Oracle Cloud Infrastructure-specific metadata.

Best practices for replicating an image across regions

You can replicate an image from one region to another region using the Console or API. At a high level:

  1. Export the image to an Object Storage bucket in the same region as the image.
  2. Copy the image to an Object Storage bucket in the destination region.
  3. Obtain the URL path to the image object.
  4. In the destination region, import the image. Use the URL path as the Object Storage URL.

Best practices for sharing an image across tenancies

You can replicate an image from one tenancy to another tenancy using the Console or API. At a high level:

  1. Export the image to an Object Storage bucket in the same region as the image.
  2. Working with Pre-Authenticated Requests with read-only access for the image in the destination region.

  3. In the destination tenancy, import the image. Use the pre-authenticated request URL as the Object Storage URL.

Object Storage Service URLs

When you import or export custom images using the Console, you might need to specify the Object Storage URL pointing to the location that you want to import the image from or export the image to. Object Storage URLs are structured as follows:

https://<host_name>/n/<namespace_name>/b/<bucket_name>/o/<object_name>

For example:

https://objectstorage.us-phoenix-1.oraclecloud.com/n/MyNamespace/b/MyBucket/o/MyCustomImage.qcow2

Pre-Authenticated Requests

When using import/export across tenancies, you need to use an Object Storage pre-authenticated request. See Working with Pre-Authenticated Requests for steps to create a pre-authenticated request. When you go through these steps, after you click Create Pre-Authenticated Request, the Pre-Authenticated Request Details dialog box opens. You must make a copy of the pre-authenticated request URL displayed here, because this is the only time this URLis displayed. This is the Object Storage URL that you specify for import/export.

Note

Pre-authenticated requests for a bucket

With image export, if you create the pre-authenticated request for a bucket, you need to append the object name to the generated URL. For example:

/o/MyCustomImage.qcow2

Exporting an Image

You can use the Console or API to export images, and the exported images are stored in the Oracle Cloud Infrastructure Object Storage service. To perform an image export, you need write access to the Object Storage bucket for the image. For more information, see Overview of Object Storage and Let users write objects to Object Storage buckets.

To export an image using the Console

  1. Open the navigation menu and click Compute. Under Compute, click Custom Images.
  2. Click the custom image that you're interested in.
  3. Click Export.
  4. Specify the Object Storage location to export the image to:

    • Export to an Object Storage bucket: Select a bucket. Then, enter a name for the exported image. Avoid entering confidential information.
    • Export to an Object Storage URL: Enter the Object Storage URL.
  5. In the Image format list, select the format that you want to export the image to. The following formats are available:

    • Oracle Cloud Infrastructure file with a QCOW2 image and OCI metadata (.oci). Use this format to export a custom image that you want to import into other tenancies or regions.
    • QEMU Copy On Write (.qcow2)
    • Virtual Disk Image (.vdi) for Oracle VM VirtualBox
    • Virtual Hard Disk (.vhd) for Hyper-V
    • Virtual Machine Disk (.vmdk)
  6. Click Export image.

After you click Export image, the image state changes to Exporting. Images are a copy of the VM or BM instance boot volume and metadata when the image is created, capturing the current state of the instance. Exporting a custom image copies the data to the Object Storage location that you specified. You can still launch instances while the image is exporting, but you can't delete the image until the export has finished. To track the progress of the operation and troubleshoot errors that occur during instance creation, use the associated work request.

When the export is complete, the image state changes to Available. If the image state changes to Available, but you don't see the exported image in the Object Storage location you specified, the export failed, and you need to go through the steps again to export the image.

Importing an Image

You can use the Console or API to import exported images from Object Storage. To import an image, you need read access to the Object Storage object containing the image. For more information, see Let users download objects from Object Storage buckets.

To import an image using the Console

  1. Open the navigation menu and click Compute. Under Compute, click Custom Images.
  2. Click Import image.
  3. In the Create in compartment list, select the compartment that you want to import the image to.
  4. Enter a Name for the image. Avoid entering confidential information.
  5. Select the Operating system:

    • For Linux images, select Linux.
    • For Windows images, select Windows. Select the Operating system version, and then certify that the selected operating system complies with Microsoft licensing agreements.
  6. Specify the Object Storage location to import the image from:

    • Import from an Object Storage bucket: Select the Bucket that contains the image. In the Object name list, select the image file.
    • Import from an Object Storage URL: Enter the Object Storage URL of the image. When importing across tenancies, you must specify a pre-authenticated request URL.
  7. In the Image type section, select the format of the image. The following formats are available:

    • VMDK: Virtual Machine Disk (.vmdk)
    • QCOW2: QEMU Copy On Write (.qcow2)
    • OCI: Oracle Cloud Infrastructure file with a QCOW2 image and OCI metadata (.oci). Use this format when importing a custom image that was exported from another tenancy or region.
  8. Select the Launch mode:

    • For custom images where the image type is .oci, the launch mode is disabled. Oracle Cloud Infrastructure selects the appropriate launch mode based on the launch mode for the source image.

    • For custom images exported from Oracle Cloud Infrastructure where the image type is QCOW2, select Native mode.

    • To import other custom images, select Paravirtualized mode or Emulated mode. For more information, see Bring Your Own Image.

  9. Show tagging options:If you have permissions to create a resource, then you also have permissions to apply free-form tags to that resource. To apply a defined tag, you must have permissions to use the tag namespace. For more information about tagging, see Resource Tags. If you're not sure whether to apply tags, skip this option or ask an administrator. You can apply tags later.
  10. Click Import image.

After you click Import image, you'll see the imported image in the Custom images list for the compartment, with a state of Importing. To track the progress of the operation and troubleshoot errors that occur during instance creation, use the associated work request.

When the import completes successfully, the state changes to Available. If the state does not change, or no entry appears in the Custom images list, the import failed. If the import failed, ensure you have read access to the Object Storage object, and that the object contains a supported image.

Managing Tags for an Image

Apply tags to your resources to help organize them according to your business needs. Apply tags at the time you create a resource, or update the resource later with the wanted tags. For general information about applying tags, see Resource Tags.

To manage tags for an image

  1. Open the navigation menu and click Compute. Under Compute, click Custom Images.
  2. Click the image that you're interested in.

  3. Click the Tags tab to view or edit the existing tags. Or click More Actions, and then click Add Tags to add new ones.

Using the API

For information about using the API and signing requests, see REST API documentation and Security Credentials. For information about SDKs, see SDKs and the CLI.

Use the following API operations for custom image import/export:

X5 and X7 Compatibility for Image Import/Export

Oracle X5, X6, and X7 servers have different host hardware. As a result, using an X5 or X6 image on an X7 bare metal or virtual machine (VM) instance may not work without additional modifications. Oracle recommends for X7 hosts that you use the platform images for X7. See Image Release Notes for more information about which images support X7. These images have been explicitly created and tested with X7 hardware.

If you attempt to use an existing X5 image on X7 hardware, note the following:

  • No Windows versions are cross-compatible.
  • Oracle Autonomous Linux 7 and Oracle Linux 8 are cross-compatible.
  • Oracle Linux 6, Oracle Linux 7, Oracle Linux 8, Oracle Linux 9, Ubuntu 18.04, Ubuntu 20.04, Ubuntu 22.04, CentOS 7, and CentOS Stream 8 are cross-compatible. You may have to update the kernel, however, to the most recent version to install the latest device drivers. To update the kernel, run one of the following commands from a terminal session:
    • Oracle Linux
      yum update
    • CentOS 7, CentOS Stream 8
      yum update
    • Ubuntu 18.04, Ubuntu 20.04, Ubuntu 22.04
      apt-get updateapt-get dist-upgrade

If you attempt to use an X6 image on non-X6 hardware, then note the following:

  • Oracle Linux 6, all CentOS versions, and all Windows versions are not cross-compatible.
  • Oracle Autonomous Linux 7 and Oracle Linux 8 are cross-compatible.
  • Oracle Linux 7, Ubuntu 22.04, Ubuntu 20.04, and Ubuntu 18.04 are cross-compatible. Use the platform images for X6.

The primary device drivers that are different between X5, X6, and X7 hosts are:

  • Network device drivers
  • NVMe drive device drivers
  • GPU device drivers

Additional updates might be required depending on how you have customized the image.

Image Import/Export (2024)

FAQs

What is the difference between import and export? ›

Import refers to goods that a country buys from another country, whereas exports are goods that a country sells to another.

What is AWS import and export? ›

Import/export refers to the process of transferring large amounts of data in and out of AWS cloud infrastructure. This capability enables businesses to migrate their existing data sets to the cloud or retrieve their data from the cloud for various reasons. In AWS, there are multiple options available for import/export.

What do you mean by export? ›

Exports are goods and services that are produced in one country and sold to buyers in another. Exports, along with imports, make up international trade.

What is virtual machine VM import export? ›

VM Import/Export enables you to easily import virtual machine images from your existing environment to Amazon EC2 instances and export them back to your on-premises environment.

Why is import better than export? ›

While importing products can help businesses reduce costs, exporting products can ensure increasing sales and sales potential in general. Businesses that focus on exporting expand their vision and markets regionally, internationally or even globally.

What is export and import with example? ›

Selling of goods and services from the home country to a foreign country is known as export, while buying of goods and services and bringing them into one's home country is known as import. The import and export of goods can be done either directly or indirectly.

What do we import and export? ›

KEY TAKEAWAYs. Exporting is the sale of products and services in foreign countries that are sourced or made in the home country. Importing refers to buying goods and services from foreign sources and bringing them back into the home country.

Why do we need import and export data? ›

Export import data is a valuable source of market intelligence. Businesses can identify emerging markets, evaluate demand trends, and assess the competitive landscape by analyzing trade patterns. This information allows for more informed decisions on market expansion and product positioning.

What does import mean on Amazon? ›

An import on Amazon is a product that was not made in the USA. An import can be a great deal because the product may be cheaper than products made in the USA. However, there are some risks associated with imports as they may not meet standards set by US safety regulations.

What is exporting an image? ›

The Export Image File command exports a rendered drawing to a variety of file formats, including GIF, JPG, TIF, BMP, WMPhoto, and others. Different portions of the image can be selected for export. The list of image formats is populated depending upon the operating system and installed drivers.

What is meant by import? ›

What Is an Import? An import is a good or service bought in one country that was produced in another. Imports and exports are the components of international trade. If the value of a country's imports exceeds the value of its exports, the country has a negative balance of trade, also known as a trade deficit.

What is an example of export? ›

Some export examples are final goods like cars, cell phones, computers, or clothing. These are goods that are made in one nation from start to finish and the completed product is exported to other countries. Exports do not have to be final or complete goods to qualify as an export.

What is AWS image builder? ›

Image Builder significantly reduces the effort of keeping images up-to-date and secure by providing a simple graphical interface, built-in automation, and AWS-provided security settings. With Image Builder, there are no manual steps for updating an image nor do you have to build your own automation pipeline.

How do I export an image from a virtual machine? ›

To create a virtual machine export:
  1. In Hyper-V Manager, right-click the virtual machine and select Export.
  2. Choose where to store the exported files, and click Export.
Jan 7, 2022

How to import a VM image into VMware? ›

Procedure
  1. In the vSphere Client, navigate to a cluster that you manage with baselines and baseline groups.
  2. On the Updates tab, click Image.
  3. Click the Import Image button. ...
  4. Select a JSON file to import and click Next. ...
  5. (Optional) Customize the imported image by changing any of its elements.
Mar 31, 2020

What is an example of an import? ›

Specific examples of imports are cars, gas and oil, clothing, and computers. Economists and politicians may disagree about the benefits of imports for their nation. Imports may allow businesses to access goods, services, and natural resources from other countries.

What happens to a country if they are importing more than they are exporting? ›

A country has a trade deficit when the value of its imports exceeds the value of its exports. The impacts of trade deficits are frequently over-simplified. Trade deficits can be damaging but they also bring welcome economic benefits.

What is the process of import and export? ›

Typically, the procedure for import and export activities involves: ensuring licensing and compliance before the shipping of goods. arranging for transport and warehousing after the unloading of goods. getting customs clearance and paying taxes before the release of goods.

Top Articles
Ensuring FIPS 140-2 Compliance Inside - Caveat Emptor | PreVeil
Connect through Bluetooth on your Android device
Golden Abyss - Chapter 5 - Lunar_Angel
Cappacuolo Pronunciation
Davita Internet
Arkansas Gazette Sudoku
30% OFF Jellycat Promo Code - September 2024 (*NEW*)
Gameday Red Sox
Pike County Buy Sale And Trade
Roblox Character Added
Erskine Plus Portal
Rls Elizabeth Nj
A Fashion Lover's Guide To Copenhagen
Diablo 3 Metascore
What Time Chase Close Saturday
“In my day, you were butch or you were femme”
Bx11
60 X 60 Christmas Tablecloths
Carson Municipal Code
Craigslist Missoula Atv
Pay Boot Barn Credit Card
Abby's Caribbean Cafe
Craigslist Sparta Nj
Sulfur - Element information, properties and uses
Craigslist Personals Jonesboro
Dulce
Bòlèt Florida Midi 30
Jermiyah Pryear
Netwerk van %naam%, analyse van %nb_relaties% relaties
Garden Grove Classlink
Bfsfcu Truecar
Yayo - RimWorld Wiki
What we lost when Craigslist shut down its personals section
Sony Wf-1000Xm4 Controls
Wells Fargo Bank Florida Locations
Sports Clips Flowood Ms
Matlab Kruskal Wallis
Justin Mckenzie Phillip Bryant
Hair Love Salon Bradley Beach
The Legacy 3: The Tree of Might – Walkthrough
Wildfangs Springfield
Personalised Handmade 50th, 60th, 70th, 80th Birthday Card, Sister, Mum, Friend | eBay
ATM Near Me | Find The Nearest ATM Location | ATM Locator NL
Eastern New Mexico News Obituaries
Culvers Lyons Flavor Of The Day
How to Print Tables in R with Examples Using table()
Powerspec G512
Benjamin Franklin - Printer, Junto, Experiments on Electricity
Spongebob Meme Pic
4015 Ballinger Rd Martinsville In 46151
Lux Nails & Spa
Ravenna Greataxe
Latest Posts
Article information

Author: Tyson Zemlak

Last Updated:

Views: 5889

Rating: 4.2 / 5 (63 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Tyson Zemlak

Birthday: 1992-03-17

Address: Apt. 662 96191 Quigley Dam, Kubview, MA 42013

Phone: +441678032891

Job: Community-Services Orchestrator

Hobby: Coffee roasting, Calligraphy, Metalworking, Fashion, Vehicle restoration, Shopping, Photography

Introduction: My name is Tyson Zemlak, I am a excited, light, sparkling, super, open, fair, magnificent person who loves writing and wants to share my knowledge and understanding with you.