Creating Instances via CVM Purchase Page

Last updated: 2021-12-13 17:07:02


    This document guides you through how to create a Tencent Cloud Virtual Machine (CVM) instance using the custom configuration mode as an example.


    Before creating a CVM instance, you need to complete the following steps:


    1. Log in to Tencent Cloud. Choose Products -> Compute -> Cloud Virtual Machine. Click Get Started to access the CVM purchase page.
      • Custom Configuration: This mode is suitable for specific use cases. It allows users to purchase a CVM instance that meets their specific requirements.
    2. Configure the following information as prompted by the page:
      CategoryRequired/OptionalConfiguration Description
      Billing ModeRequiredPlease select based on your actual needs:
      • Pay as you go: an elastic billing mode for the CVM.
      For more information on billing modes, seeInstance Billing Modes.
      Region/Availability ZoneRequired
      • Region: we recommend you select the region closest to your customers to reduce access latency and increase access speed.
      • Availability zone: please select based on your actual needs.
        If you want to purchase multiple CVMs, we recommend you select different availability zones to implement disaster recovery.
      For more information on regions and availability zones, see Regions and Availability Zones.
      NetworkRequiredA logically isolated network space built in Tencent Cloud. A virtual private cloud (VPC) includes at least one subnet. The system provides a default VPC and subnet for each region.
      If the existing VPC or subnet does not meet your requirements, you can create a VPC or subnet on the VPC console.
      • Resources in the same VPC can be shared within the private network.
      • When purchasing the CVM, ensure that the CVM and the subnet where the CVM is created have the same availability zones.
      InstanceRequiredTencent Cloud provides different instance types based on the underlying hardware. For optimal performance, we recommend you use instance types of the latest generation.
      For more information on instances, see Instance Types.
      ImageRequiredTencent Cloud provides public images, custom images, and shared images. For more information on images, see Overview.
      System DiskRequiredUsed to install the operating system. Its default capacity is 50 GB.
      Available Cloud Block Storage (CBS) types vary with regions. Please select a value as instructed by the page.
      For more information on CBS, see Cloud Disk Types.
      Data DiskOptionalUsed to scale up the storage capacity of the CVM to ensure high efficiency and reliability. CBS data disks are not added by default.
      For more information on Cloud Disk Types, see CBS Types.
      Public Network BandwidthRequiredBy default, a dedicated public IP will be assigned for free.
      Tencent Cloud provides two network billing modes. Configure a value greater than 0 Mbps as needed.
      • Bill-by-bandwidth: select a fixed bandwidth. Packet loss will occur when the bandwidth exceeds this value. This is applicable to scenarios where the network connection fluctuates slightly.
      • Bill-by-traffic: billing is based on traffic that is actually used. You can specify a peak bandwidth to prevent charges incurred by unexpected traffic. Packet loss will occur when the instantaneous bandwidth exceeds this value. This is applicable to scenarios where the network connection fluctuates significantly.
      • Bill by bandwidth package: select this aggregated billing when your public network instances have traffic peaks at different times. This is applicable to large-scale businesses where traffic can be staggered between different instances using the public network.
        BWP is currently in beta. To try it out, please submit a beta application.
      • The assigned free dedicated public IP cannot be unbound from the instance. To unbind this IP address, first convert the public IP to an elastic IP. For more information on elastic IP, see Elastic IP (EIP).
      • A dedicated public IP address cannot be assigned in the following two cases. Please refer to the purchase page for the latest information.
        • The IP resources have been sold out
        • In certain regions
      Public GatewayOptionalApplicable only to Linux images.
      As a network interface between the VPC and the public network, the public gateway can forward requests of CVMs that are within different subnets of the VPC and have no public IP addresses.
      Note: Tencent Cloud discontinued configuring the public gateway on the CVM purchase page after December 6, 2019. To configure the public gateway, see Configuring a Public Gateway.
      QuantityRequiredNumber of CVMs to be purchased.
    3. Click Next: Complete Configuration to access the CVM configuration page.
    4. Configure the following information as prompted by the page:
      CategoryRequired/OptionalConfiguration Description
      ProjectRequiredThe default project is selected. You can select an existing project as needed to manage different CVMs.
      Security GroupRequired
      • If there is no available security group, you can choose New security group.
      • If there are available security groups, you can choose Existing Security Groups.
      For more information on security groups, see Security Group.
      Instance NameOptionalYou can customize the name of the CVM to be created.
      Note: this name is displayed only on the console. It is not the hostname of the CVM.
      Login MethodsRequiredConfigure the method to log in to the CVM as needed.
      • Set Password: customize the password for logging in to the instance.
      • SSH Key Pair (only for Linux instances): associate the instance with an SSH key to ensure secure login to the CVM.
        If no key is available or existing keys are inappropriate, click Create Now to create a key. For more information on SSH keys, see SSH Keys.
      • Random Password: an automatically generated password will be sent through theMessage Center.
      Security ReinforcementOptionalBy default, Anti-DDoS and Cloud Workload Protection are enabled for free to help you build a CVM security system to prevent data leakage.
      Cloud MonitoringOptionalBy default, cloud monitoring is enabled for free. You can install components to obtain CVM monitoring metrics and display them in visual charts. You can also specify custom alarm thresholds. In addition, you can configure three-dimensional CVM data monitoring, intelligent data analysis, real-time fault alarms, and custom data reports to precisely monitor the health conditions of Tencent Cloud services and CVM.
      Advanced SettingsOptionalConfigure additional settings for the instance as needed.
      • Hostname: you can customize the name of the computer in the CVM operating system. After a CVM is created, you can log in to the CVM to view the hostname.
      • Placement Group: you can add an instance to a placement group as needed to improve service availability. For more information, see Placement Group.
      • Tag: you can specify a tag to manage CVM resources by category. For more information, see Managing Instances via Tags.
      • Custom Data: you can configure an instance by specifying custom data, and the configured scripts will run when an instance is launched. If multiple CVMs are purchased together, the custom data will run on all CVMs. The Linux operating system supports the Shell format while the Windows operating system supports the PowerShell format. A maximum of 16 KB raw data is supported. For more information, see Configuring Custom Data (Linux CVM).
        Note: custom data configuration only supports certain common images with the Cloud-init service. For more information, see Cloud-Init & Cloudbase-Init.
    5. Click Next: Confirm Configuration to access the configuration information confirmation page.
    6. Validate the information of the CVM to be purchased and the cost details of each configuration item.
    7. Read and select Agree "Tencent Cloud Service Terms".
    8. Click Enable and complete the payment. Then, you can log in to the CVM console to see your CVM.
      Information such as the instance name, public IP address, private IP address, login username, and initial login password of the CVM will be sent to your account through the Message Center. You can use this information to log in to and manage your instances. To ensure the security of your CVM, please change your CVM login password as soon as possible.