tencent cloud


Customizing Windows CVM Configurations

Last updated: 2022-07-08 10:38:01

    Compared with using quick configuration to create a Tencent Cloud Virtual Machine (CVM), custom configuration provides more image platforms and advanced configurations for storage, bandwidth, and security group. You can select the configuration method as needed. This document uses custom configuration as an example.

    Registration and Verification

    Before using a CVM instance, you need to perform the following operations:

    1. Sign up for a Tencent Cloud account and complete identity verification.
      A new user needs to sign up for an account on the Tencent Cloud website. For details, see Signing up for a Tencent Cloud Account.
    2. Go to the Tencent Cloud CVM introduction page page and click Buy Now.

    Selecting Model


    For accounts that are making purchases for the first time, the Quick Configuration page appears by default. For accounts that have made purchases before, the Custom Configuration page appears by default. If you have never purchased a CVM instance, choose Custom Configuration.

    1. Configure the following information as prompted by the page:
      Select region and model

      CategoryRequired/OptionalConfiguration Description
      Billing PlansRequiredSelect based on your actual needs:
      • Pay-as-you-go: An elastic billing method applicable to scenarios such as e-commerce flash sales, where demand will fluctuate significantly in an instant.
      • Spot instance: A new instance operation mode applicable to scenarios such as big data computing and online website service using load balancing. Its general price range is 10%-20% of a pay-as-you-go instance.
      RegionRequiredWe recommend you select a region closest to your customer to reduce access latency and increase access speed.
      Availability ZoneRequiredSelect an availability zone as needed.
      If you want to purchase multiple CVM instances, we recommend you select different availability zones to implement disaster recovery.
      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 instance, ensure that the CVM instance and the subnet where the CVM instance 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 the 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 Image Types Overview.
      If you have just started using Tencent Cloud, we recommend you choose public images, which contain the activated official Windows operating system and do not require extra payments (except for North America regions).
      System DiskRequiredUsed to install the operating system. Its default capacity is 50 GB.
      Available Cloud Block Storage (CBS) types vary with regions. 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 instance 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 Snapshots.
      Public Network BandwidthRequiredTencent Cloud provides two network billing modes. Set a value as required.
      • 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.
      IPv6 AddressOptionalThe IPv6 address of the activated instance.
      QuantityRequiredNumber of CVM instances to be purchased.
      DurationRequiredIt indicates the usage duration of a CVM instance.
    2. Click Next: Complete Configuration to enter the CVM configuration page.

    Configuring CVM

    1. Configure the following information as prompted by the page:
      CategoryRequired/OptionalConfiguration Description
      Security GroupRequiredUsed to configure the network access policies for one or more CVM instances.
      Make sure that login port 3389 is open.For more information, see Security Groups.
      ProjectRequiredThe default project is selected. You can select an existing project as needed to manage different CVM instances.
      TagOptionalUsed to categorize and manage CVM instances. For more information, see User guide on tags.
      Instance NameOptionalThe name of the CVM instance to be created.
      It is user-defined. We recommend “CVM-01”.
      Login MethodRequiredConfigure the method to log in to the CVM instance as needed.
      • Custom Password: Customize the password for logging in to the instance.
      • Random Password: An automatically generated password will be sent through the Message Center.
      Instance Termination ProtectionOptionalIt is disabled by default. You can enable it as needed. Then, you cannot terminate an instance in the console or via the API. For more information, see Enabling Instance Termination Protection.
      Security ServiceOptionalBy default, security service is enabled for free to help you build a CVM security system to prevent data leakage.
      Cloud MonitoringOptionalBy default, cloud monitoring is enabled for free. It provides comprehensive CVM data monitoring, intelligent data analysis, real-time fault alarms, and custom data reports to precisely monitor Tencent Cloud services and the health conditions of CVM instances.
      TencentCloud Automation ToolsOptionalIt is activated for default components and supports batch instance management and command execution without a password or SSH login for daily management tasks. For more information, see Overview.
      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 instance 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 on 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 CVM instances are purchased together, the custom data will run on all of them. 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 Windows public images. For more information, see Considerations.
    1. Click Next: Confirm Configuration to enter the configuration information confirmation page.

    Confirming Configuration Information

    1. Validate the information of the CVM instance to be purchased and the cost details of each configuration item.
    2. Read and select Agree "Tencent Cloud Service Terms".
    3. 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 instance 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 instance, change your CVM instance login password as soon as possible.

    Logging in and Connecting to Instance

    After completing CVM operations, you can log in to your CVM instance in the Tencent Cloud console and perform operations such as building a site as needed.
    Select a method for logging in to the CVM instance in the Tencent Cloud console as needed:

    Formatting and Partitioning Data Disk

    If you added a data disk when selecting the instance type, you need to format and partition the data disk after logging in to the CVM instance. If you have not added any data disks, skip this step.
    Select the appropriate operations guide according to the disk capacity and the CVM operating system.

    For more operations, see Initialization Scenarios.

    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