当前位置:网站首页>[technical grass planting] use the shared image function to realize the offline switching from CVM to LH

[technical grass planting] use the shared image function to realize the offline switching from CVM to LH

2022-06-23 23:54:00 Qingyang

Use the shared image function to realize the business CVM To LH Offline switch of

Because of my cvm Developer packages used , The bandwidth and configuration can no longer keep up with my current pace , I bought a high configuration one on the double 11 LH, I saw a new shared image function on the console , Here we will help you test the offline migration effect of the business .

CVM Making mirrors

  1. Log in to the ECS console , Select... In the left navigation bar example .
  2. More on the right , Click create image .
  3. Then wait patiently , See the figure below for those who do not know the location :

Don't read the official website documents directly , Official documents don't tell you where to do it cvm Image of .

The image is shared to a lightweight application server

  1. Log in to the ECS console , Select... In the left navigation bar Mirror image .
  2. stay “ Mirror image ” Top of page , Choose the region , Click the custom image tab .
  3. Select the share to the right of the row where you want to share the image .
  4. In the pop-up “ Sharing the mirror ” Window ,“ Destination ” Choose a lightweight application server . As shown in the figure below :
  1. Click OK to share .

View image sharing status

You can go through the following steps , On the lightweight application server custom image details page , View image information and sharing status .

  1. Log in to the lightweight application server console , Select... In the left navigation bar Mirror image .
  2. stay “ Mirror image ” Select the region at the top of the page , Click the custom image tab .
  3. Click mirror ID Enter the image details page , You can view the image information and its sharing status .

Use shared images

There are two ways to use the shared image after it is completed :

The first method is to enter the lightweight application server purchase page , Select the configuration and create an instance as needed .

among ,“ Mirror image ” The shared image is already selected .

The second is to configure the existing lightweight by resetting the application . among ,“ Mirror image ” The shared image is already selected .

Usage restriction

  • Only image sharing between lightweight application servers and ECS under the same account and region is supported .
  • Currently, the following images are not supported to be shared from the ECs to the lightweight application server :
  • Externally imported ECS custom images .
  • The image shared from the ECs to the lightweight application service server .
  • ECS machine image .
  • The underlying operating system and version do not conform to Support operating system Mirror image .
  • Not installed... Is not supported Cloudinit Mirror image .

Support operating system

When the underlying image conforms to the following operating systems and versions , Support sharing :

  • CentOS 6.8 And above
  • Ubuntu 14.04 And above
  • Debian 8.2 And above
  • Windows Server 2012 And above
  • TencentOS Server 2.4 And above

summary

cvm and lh Through the image , It is very comfortable for developers to share images , Don't worry about it cvm Configuration environment , stay lh It needs to be reconfigured , Let's try it quickly .

Blogger site

The blogger's personal blog address is :https://www.hipyt.cn/

Last

The amway , Tencent cloud limited time and second activities , There's a lot of incentives , The current purchase is to earn ,1 nucleus 2G The lowest configuration 99 Yuan a year .

To keep bloggers interested in writing , Please give more support to those in need . The following connection contains (AFF)

【 Tencent cloud 】 New online lightweight lh, Ultra high specification ,4C8G/8C16G/16C32G Configuration 、 High bandwidth , Cost effective .4-8-10 The three-year configuration is only 768 element . Renewal zone , Minimum light weight 2.8 Fold up , There are more discounts waiting for students to find out by themselves . Details link :

Tencent cloud double 11

原网站

版权声明
本文为[Qingyang]所创,转载请带上原文链接,感谢
https://yzsam.com/2021/11/20211124091310882m.html