Cloud Virtual Machine (CVM) is a scalable cloud computing service. It frees you from estimation of resource usage and upfront investment. You can start CVM instances and deploy applications immediately.
This document describes how to create a Linux CVM instance from scratch in the simplest way. You can purchase and configure your first CVM instance by following the instructions below. For more information about building a Windows CVM instance, see Quickly Configuring Windows CVM Instance. Prerequisite
Configuring a Linux CVM Instance
Note
To ensure successful connection to TDSQL-C for MySQL, the purchased CVM and TDSQL-C for MySQL instances must meet the following requirements:
Both are under the same Tencent Cloud root account.
Both are in the same region.
Both are in the same VPC.
Step 1. Purchase a Linux CVM instance
2. On the purchase page, select the Quick Configuration tab, configure the CVM instance, and click Buy Now.
The configuration is as described below:
|
Region | Select the same region as your TDSQL-C for MySQL cluster. |
Instance | Select the CVM instance specifications as needed. "General (2-core, 4GB)" is selected in this example. |
Operating system | Select the CVM operating system as needed. "CentOS 7.9 64-bit" is selected in this example. |
Public IP | After this option is selected, a public IP will be assigned to your instance. The default public network bandwidth is "1 Mbps", which can be adjusted as needed. |
Login methods | After creating a CVM instance, you can obtain the random password in the Message Center. |
Default configuration | Six default configuration items can be expanded, such as AZ and security group. |
Auto-renewal | After the checkbox is selected, if your account balance is sufficient, the CVM instance will be automatically renewed by month upon expiration. |
Agreements | Read and indicate your consent to the relevant agreements. |
Period | Select the purchase period, which is "1 month" by default. |
Quantity | Select the quantity, which is "1" by default. |
Click Buy now and make the payment to purchase the CVM instance. You can use the CVM instance as a personal virtual machine or as a server for your websites. Then, you can log in to the CVM instance.
Step 2. Log in to the CVM instance
Note
After you purchase a quickly configured CVM instance, the system will automatically generate a login password and send it to your Message Center. This password is the credential for logging in to the CVM instance. You can view the password in the Message Center. 1. Log in to the CVM console and select a region at the top. 2. Find the CVM instance you purchased in the instance list and click Log In in the Operation column on the right.
3. In the Standard Login | Linux Instance window, enter the username (which is root
by default) and password of the CVM instance and click Log In.
4. A page will be displayed after successful login.
Was this page helpful?