tencent cloud


Creating Instances via CVM Purchase Page

Last updated: 2022-05-18 14:28:48


    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: It is suitable for use in specific scenarios and makes it easier for you to purchase CVM instances for your specific needs.
    1. Configure the following information as prompted by the page:

      CategoryRequired/OptionalConfiguration Description
      Billing MethodRequiredSelect based on actual needs:
      • Pay-As-You-Go: a flexible billing method suitable for scenarios such as e-commerce flash sales where the demand fluctuates sharply and suddenly.
      • Spot Instance: a new instance operation mode suitable for scenarios such as big data computing, online businesses with load balancing, and website services. The general price range is 10%-20% of pay-as-you-go instance.
      For more information on billing methods, please see Billing Method Description.
      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, shared images, and marketplaces. For more information about images, see Image Types.
      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 CBS, see CBS Types.
      Scheduled SnapshotOptionalA scheduled snapshot policy can be set for the system disk or data disk. For more information, see Scheduled Snapshot.
      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
      IPv6 AddressOptionalThe IPv6 address of the activated instance.
      QuantityRequiredNumber of CVMs to be purchased.
      DurationRequiredUsage duration of the CVM instance.
    2. Click Next: Complete Configuration to access the CVM configuration page.

    3. Configure the following information as prompted by the page:

      CategoryRequired/OptionalConfiguration Description
      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.
      ProjectRequiredThe default project is selected. You can select an existing project as needed to manage different CVMs.
      TagOptionalYou can add tags for the instance as needed, which are used to categorize, search for, and aggregate cloud resources. For more information, see Tag.
      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.
      Automation AssistantOptionalIt is enabled for free by default. As the native OPS and deployment tool of CVM, it can automatically run shell commands in batches and complete various tasks such as running automated OPS scripts, polling processes, installing/uninstalling software, updating applications, and installing patches, without the need to connect to the instance remotely.
      Auto-renewalOptionalSelect Auto-renew the device every month when my account has sufficient balance for auto-renewal.
      For more information, see Renewal Management.
      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 it to view the hostname.
      • CAM Role: you can set a role and use it to grant role entity the permissions to access CVM services and resources and perform operations in Tencent Cloud. For more information about the settings, see Managing Roles.
      • Placement Group: you can add an instance to a placement group as needed to improve service availability. For more information, see Placement Group.
      • 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 and a maximum of 16 KB of raw data. For more information, see Configuring Custom Data (Windows CVM).
        Note: custom data configuration only supports certain public images with the Cloud-Init service. For more information, see Cloud-Init.
    4. Click Next: Confirm Configuration to access the configuration information confirmation page.

    5. Validate the information of the CVM to be purchased and the cost details of each configuration item.

    6. Read and click Tencent Cloud Terms of Service.

    7. You can perform the following operations as needed:

    • Select Save as Launch Template to save the configuration of this instance as a launch template, based on which you can quickly create instances.
    • Select Generate API Explorer Reusable Script to generate the OpenAPI reusable script code for instance creation corresponding to the selected configuration. You can save the code for purchasing CVM instances with the same configuration. For more information, see Generating API Explorer Reusable Scripts to Create Instances.
    1. Click Buy Now or Activate and complete the payment. You can then check your CVM instances in the CVM console.
      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.
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support