Custom Configuration for Linux CVM
Last updated: 2020-03-04 17:15:53PDF
This document introduces the custom configuration of a Linux CVM.
Different from quick configuration, custom configuration provides full options, and you can choose the appropriate configuration based on your needs.
- Before starting the custom configuration, you need to complete Step 1 in Getting Started with Linux CVM.
- Go to the Tencent Cloud official website, select Products -> Cloud Compute & Network -> Cloud Virtual Machine, and click Buy Now to enter the CVM purchase page.
- Click Custom Configuration to go to the custom configuration page.
Selecting Region and Model
Select the Postpaid billing method (users who cannot purchase postpaid CVMs need to complete Identity Verification first).
Select a region and an availability zone. When you need more than one CVM, it is recommended that you choose different availability zones to implement disaster recovery.
Select a model and configuration.
Based on different underlying hardware, Tencent Cloud offers two series of instances: Series 1 and Series 2 (also referred to as last-generation instance and current-generation instance). They respectively provide the following instance types:
- Last-generation instance types: Standard S1, High IO I1, and MEM Optimized M1
- Current-generation instance types: Standard S2, High IO I2, MEM Optimized M2, Computing C2, GPU-based GN2, and FPGA-based FX2
It is recommended that you create an instance using a current-generation instance type to achieve optimal performance. For more information, see Instance Types.
Series and models vary with different areas and availability zones.
Click Next Step: Select Image to enter the image selection page.
Selecting an Image
Select an image provider.
Tencent Cloud supports public images, custom images, shared images, and service marketplace images. Select one by referring to Image Types.
We recommend that users who have just started using Tencent Cloud select public images.
Select an operating system.
Tencent Cloud provides various operating systems such as CentOS, CoreOS, Debian, FreeBSD, OpenSUSE, SUSE, and Ubuntu. You need to build a subsequent operating environment on your own.
Select a system version.
Click Next Step: Select Storage and Network to enter the storage and network selection page.
Selecting Storage and Network
Select the type of disk and the size of data disk.
Tencent Cloud provides cloud disk, local disk and SSD cloud disk (The system disk size is optional, which defaults to 50 GB).
- Cloud disk: Deliver high data reliability with the distributed three-copy mechanism.
- SSD cloud disk: Built upon the full NVMe SSD storage media and Tencent Cloud's CBS 3-copy distributed storage technology, an SSD cloud disk provides I/O capabilities featured by low latency, high random IOPS and high throughput, and high-performance storage with 99.9999999% data security. It is applicable to scenarios which require high IO performance.
- Local disk: A storage located on the physical machine where the CVM resides, which allows low latency but may cause single point of failure risk. For the comparison, see Product Category.
Select a network type.
Tencent Cloud provides two network types: basic network and VPC.
- Basic network: Suitable for new users. CVMs of the same user are interconnected via a private network.
- VPC: Suitable for advanced users. Different VPCs are logically isolated from each other.
Public network gateway is an interface between a VPC and a public network, which can forward requests from CVMs without public IP in different subnets of the VPC. For more information, see Public Gateway.
Select public network bandwidth.
Tencent Cloud provides two options: Bill-by-bandwidth or Bill-by-traffic.
- Bill-by-bandwidth: Select a fixed bandwidth. Packet loss occurs if this bandwidth is exceeded. This is suitable for scenarios with minor network fluctuation.
- Bill-by-traffic: The service is charged based on the actual traffic usage. You can set a limit for peak bandwidth to avoid extra fees caused by unplanned traffic. Packet loss occurs when the instantaneous bandwidth exceeds this limit. This is suitable for scenarios with large network fluctuations.
- Select quantity.
Click Next Step: Set Information to enter the information setting page.
Set a CVM name: You can choose Name It after Creation or Name It Now.
Set login information:
- Set a password: Enter a CVM password.
- Associate a key now: Associate an SSH key. If you do not have a key or have an invalid key, click Create Now to create one. For more information, see Creating Key. For more information on the SSK key, see SSH Key.
- A system-generated password is sent to you via internal message.
Select a security group (Make sure that the login port 22 is enabled. For more information, see Security Group).
Click the Enable button to log in to the Console to check your CVM.
After the CVM is created, you will receive an internal message containing the instance name, public IP, private IP, login name, initial login password, and other information. You can use these information to log in to and manage your instance. To ensure the security of your CVM, change your Linux login password as soon as possible.
Click here to complete subsequent configurations, including logging in to the Linux CVM, formatting and partitioning the data disk.