このページは、お客様の言語ではご利用いただけません。Huawei Cloudは、より多くの言語バージョンを追加するために懸命に取り組んでいます。ご協力ありがとうございました。

Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Situation Awareness
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
Software Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
On this page
Help Center/ Image Management Service/ FAQs/ Image Import/ How Do I Import an OVF or OVA File to the Cloud Platform?

How Do I Import an OVF or OVA File to the Cloud Platform?

Updated on 2024-07-17 GMT+08:00

Scenarios

Open Virtualization Appliance (OVA) is a single file archive (with the .ova extension) of all of the files comprising an Open Virtualization Format (OVF) package. OVF is a package of the files required for defining and deploying VMs. An OVF package generally includes .ovf, .mf, and .vmdk files.

  • An .ovf file is an XML descriptor that defines the metadata of a VM, such as the name and hardware requirements, and contains information about other files in the OVF package.
  • An .mf file contains the SHA hash codes of all the files in the package and is used to prevent the image file from being tampered with.
  • A .vmdk file is a virtual disk file that is used to create a disk image. An OVF package may contain multiple .vmdk files.

This section describes how to import OVF and OVA files to the cloud platform.

Procedure

Manually extract VMDK files from an OVF or OVA template and upload them to an OBS bucket. Then, you can select one of them from the bucket when you use an external file to create a system or data disk image.

NOTE:

The following assumes that the OVF or OVA template contains only one VMDK file. If there are multiple VMDK files (for example, there are three VMDK files, one used as a system disk image file and the others as data disk image files), upload them to an OBS bucket and register them as a system disk image and data disk images, respectively.

  • The source VM runs Windows.
    • If you choose to export an OVF template named MyVm and save it to the OvfLib folder in drive C, the following files will be generated in the folder (the VMDK file can be uploaded to the cloud platform):
      ├C
      │  ├OvfLib
      │       ├MyVm
      │          ├MyVm.ovf
      │       ├MyVm.mf
      │       ├MyVm-disk1.vmdk
    • If you choose to export an OVA template and name it MyVm, the C:\MyVm.ova file will be generated. The VMDK file extracted from MyVm.ova can be uploaded to the cloud platform.
      NOTE:

      You can import an image file in VHD, VMDK, QCOW2, RAW, VHDX, QCOW, VDI, QED, ZVHD, or ZVHD2 format to create a private image.

    For details, see Creating a Windows System Disk Image Using an External Image File or Creating a Data Disk Image Using an External Image File.

  • The source VM runs Linux.
    • If you choose to export an OVF template, upload the VMDK file generated in the folder to the cloud platform.
    • If you choose to export an OVA template and name it MyVm, perform the following operations:
      1. Run the following command to check the OVA file:

        file MyVm.ova

        The command output is as follows:

        MyVm.ova: POSIX tar archive (GNU)

        MyVm.ova contains the following two files:

        $tar tf MyVm.ova
        MyVm.ovf
        MyVm.vmdk
      2. Run the following command to decompress MyVm.ova:

        tar xvf MyVm.ova

        The extracted folder contains the following files:

        MyVm.ovf
        MyVm.vmdk

        The .vmdk image file can be uploaded to the cloud platform.

        NOTE:

        You can import an image file in the VHD, VMDK, QCOW2, RAW, VHDX, QCOW, VDI, QED, ZVHD, or ZVHD2 format to create a private image.

    For details, see Creating a Linux System Disk Image Using an External Image File or Creating a Data Disk Image Using an External Image File.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback