In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
I would like to share with you the method of importing local physical image files into ECS to deploy business scenarios on the cloud. I believe most people don't know much about it, so share this article for your reference. I hope you will learn a lot after reading this article. Let's learn about it.
Import a custom image
Importing local physical image files into ECS is suitable for scenarios where businesses are deployed on the cloud. The imported custom image will appear in your custom image list in the corresponding region. You can use this image to create an ECS instance and replace the system disk.
Description
Importing a custom image is a relatively time-consuming task. The time to complete depends on the size of the image file and the number of concurrency of the current import task. You need to wait patiently.
When you import a custom mirror, the system automatically generates a snapshot, and you can see the snapshot information in the snapshot list. "before the import mirror task is completed, the status of the snapshot is displayed as failed." When the task is complete, the status is automatically updated to be available. The capacity of this snapshot is the size of the imported custom image file, regardless of the system disk size set when the custom image is imported. Snapshot capacity is already charged. For more information, please see Snapshot Commercial FAQ.
prerequisite
Before importing the image, you should have done the following:
See Import Image must read, configure Customized Linux Custom Image and convert Image format for image restrictions and requirements.
Activate OSS service.
(optional) if you are using an AliyunECSImageImportDefaultRole sub-account, you should contact the main account to authorize RAM role policy in advance to obtain permission to operate.
Operation steps
The steps to import a custom image on the Ali Cloud management console are as follows:
Use OSS's third-party tool client, API or OSS SDK to upload custom images. For information on how to upload files greater than 5 GiB, please see OSS breakpoint resume.
Log in to the ECS Management console.
In the left navigation bar, select Snapshot and Mirror > Mirror.
"on the Mirror list page, click Import Mirror."
In the Import Image dialog box, click the confirmation address in step 3 of the prompt.
In the Cloud Resource access Authorization window, check AliyunECSImageImportDefaultRole and AliyunECSExportDefaultRole, and click agree to authorize the ECS service to access your OSS resources.
"on the Mirror list page, click Import Mirror again."
In the Import Image dialog box, complete the following settings:
Region where the image is located: the region where the OSS Bucket where the image file is uploaded is located.
OSS Object address: the Object address of the image file obtained from the OSS console. For more details, see OSS for file access addresses.
Image name: specifies the name to be displayed after the custom image file is imported. The length is 2 − 128characters, starting with uppercase and lowercase letters or Chinese, and can include numbers, periods (.), underscores (_), half-width colons (:), and hyphens (-).
Operating system: select Windows or Linux according to your mirror operation type. If you are importing a custom image of a non-standard platform, you should select Linux.
System disk size: the system disk size ranges from 40 GiB − 500 GiB.
System architecture: 64-bit operating system choose x86, 64, 386, 32-bit operating system.
System platform: the options provided in the drop-down list are determined by the options of the operating system. Select the system platform that is appropriate for your image.
Windows: supports Windows Server 2003, Windows Server 2008, and Windows Server 2012.
Linux: supports CentOS, SUSE, Ubuntu, Debian, FreeBSD, CoreOS, Aliyun, Customized Linux and Others Linux (please submit a ticket to confirm whether it is supported).
If your mirror operating system is customized based on the Linux kernel, please submit a ticket to contact us.
Image format: only RAW,qcow2 and VHD formats are supported. It is recommended to use qcow2 or VHD formats with smaller transmission content.
Image description: enter the image description information to facilitate subsequent management.
Add data disk image: at the same time, import a custom image containing data disk, which supports a data disk capacity range of 5 GiB − 2000 GiB.
After the information is confirmed, click OK to create a task to import a custom image.
(optional) you can view the progress of the import in the list of images in the region you imported. Before the task is completed, you can find the imported custom image through task management and cancel the import task.
You can also import custom images using ECS API ImportImage.
Next step
Create an instance using a custom image
The above is all the contents of the method of importing local physical image files into ECS for deploying business scenarios on the cloud. Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.