WordPress knowledge sharing

Tencent cloud disk purchase creation attach initialization process

Tencent Cloud Disk It is an independent expandable hard disk and a block storage device with high availability, high reliability, low cost and customization. It is used as ECS space to provide efficient and reliable storage devices for ECS instances. When the capacity of your server's hard disk is not enough, you need to purchase an additional cloud disk in advance to attach it to the server. Weieis blog will explain the process from purchasing cloud disk to creating, attaching and initializing in this article.

1、 Purchase Tencent cloud disk

Click me directly Official website page

1. Zone: The zone is the same as that of the server. There is no difference between the early establishment of the first district and the late establishment of the fifth district.

2. Type of cloud disk service: ordinary cloud disk, high-performance cloud disk, SSD cloud disk. Due to different types, there is a big gap in performance, and there is a natural gap in price.

3. Capacity: Select as required. Compared with servers, cloud disk service is not worth much, so it is important to buy a cloud disk with enough size and enough duration at one time. The bigger the cheaper, the longer the cheaper.

After payment, return to the cloud disk service list page, and see the cloud disk service you just purchased. By default, the unnamed cloud disk service is displayed as pending attachment.

2、 Attach cloud disk

Attaching the cloud disk requires at least one cloud server. If you haven't already, please Click me directly Choose one from the Tencent ECS 30% off purchase page.

Exclusive benefits for new customers of Tencent Cloud

Click me to get it

Click the above link to open the receiving page, and receive the corresponding amount of vouchers according to the price of your cloud products.

After opening the above page, you can see the following voucher amount. You should choose as needed, because this voucher is valid for 15 days from the date of receipt. If you do not use it after receiving it, you will no longer be eligible to receive it after expiration. At the same time, the duration of product purchase should not exceed 12 months, which is only used for newly purchased ECS and MySQL databases.

So you must get it as needed when you get it. Don't get all the vouchers at one time and don't use them. If you need them again after the expiration, you won't get them. Remember!

100 for 200 yuan, 250 for 500 yuan, 500 for 1000 yuan, 1000 for 2000 yuan, 100 for 1000 yuan, 160 for 3000 yuan, 250 for 5000 yuan, and 500 for 10000 yuan.

Selected explosives area
618 Zhongshenghui Click to view the purchase
Selected preferential activities Click to view the purchase
Tencent Cloud Preferential Products Zone Click to view the purchase
Cross border e-commerce store server Lightweight application server
Tencent Cloud Animal Palu Game Server Click to view the purchase
For more Tencent Cloud content, please see Tencent Cloud

2. When initializing the hard disk, there are two systems: Windows system and Linux system.

A. Windows formats, creates file systems, and writes files

Log in to Windows ECS as an administrator.
Select Server Management>>Storage>>Disk Management to enter the disk management interface.
Right click the target empty disk and select Online.
When the disk status changes to uninitialized, it indicates online completion.
If you switch the disk partition type after the disk is put into use, the original data on the disk will be cleared. Therefore, please carefully select the disk partition type when initializing the disk.
Right click the target disk and select New Simple Volume.
Enter the size of the simple volume and click Next.
Select the file system, format the partition, and click Next.

Click Finish
The target disk appears to be formatting, waiting for the initialization operation to complete.
When the volume status is Good, it indicates that the disk was initialized successfully.
After successful initialization, the data disk of the new partition can be seen on the computer interface.

B. Linux format, create file system and write files

Log in to the Linux ECS as root. Use the SSH software to execute the following command to view the name of the disk connected to the instance.
fdisk -l
This article takes/dev/vdb as an example.
Execute the following command to format the disk.
mkfs.ext4 /dev/vdb
Execute the following command to mount the disk to the/data mount point.
mount /dev/vdb /data

The command line here in Linux is obscure, refer to Add a new partition and mount under Linux It can also deepen understanding.

If you are a novice, you can also refer to BT Panel Linux automatic disk mounting tool automatically mounts partitions to the/www directory , this is very suitable for novice users to attach hard disks.

The above is the process of initializing and attaching the newly purchased cloud disk of Tencent Cloud. If you have any questions, you can Click me directly In the official Tencent Cloud document, enter "cloud disk" to view the official help file.

Like( zero )
Article name: Tencent Cloud Disk Purchase, Creation, and Attachment Initialization Process
Article link: https://www.vpsss.net/15012.html
Copyright notice: The resources of this website are only for personal learning and exchange, and are not allowed to be reproduced and used for commercial purposes, otherwise, legal issues will be borne by yourself.
The copyright of the pictures belongs to their respective creators, and the picture watermark is for the purpose of preventing unscrupulous people from stealing the fruits of labor.