Creating an instance

Last Updated At: 2025-10-21 09:10:00

Overview

This document uses the custom configuration method as an example to guide you on how to create a Cloud Virtual Machine (CVM) instance.

Prerequisites

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

  • Create a cloud platform account.
  • To create a CVM instance with a network type of Virtual Private Cloud, you need to create a Virtual Private Cloud in the target region and a subnet in the target availability zone within the Virtual Private Cloud.
  • If you do not want to use the system's automatically created default security group, you need to create a security group in the target region and add security group rules that meet your business needs.
  • If you need to bind an SSH key pair when creating a Linux instance, you need to create an SSH key in the target project.
  • If you need to create a CVM instance with a custom image, you need to create a custom image or import an image.

Directions

  1. Log in to the cloud platform, select Cloud Virtual Machine > CVM List, click New to enter the Cloud Virtual Machine purchase page.
    • Custom configuration: Suitable for use in specific scenarios, making it convenient for users to purchase CVM instances that meet their specific needs.
  2. Follow the on-page prompts to configure the following information:
Category Required/Optional Configuration Description
Region/Availability Zone Required - Region: It is recommended to choose the region closest to your customers to reduce latency and improve access speed.
- Availability Zone: Select according to your actual needs.
If you need to purchase multiple cloud virtual machines, it is recommended that you choose different availability zones to achieve disaster recovery.
For more information about selectable regions and availability zones, see Regions and Availability Zones.
Network Required It represents a logically isolated network space built on the cloud platform. A private network consists of at least one subnet. The system will provide a default private network and subnet for each region. If the existing private network/subnet does not meet your requirements, you can create one in the private network console.
Note:
- Resources within the same private network communicate with each other by default.
- The CVM must be created within a subnet that has the same availability zone attributes as the CVM.
- When manually allocating private IP addresses, the number of editable IPs in the IP input box is related to the quantities of CIDR in the subnet.
Instance Required Based on different underlying hardware, the cloud platform currently offers various instance types. For optimal performance, it is recommended to use the latest generation of instance types.
For more details on instances, refer to Instance Specifications.
Image Required The cloud platform provides public images, custom images, and shared images. You can choose based on Image Types.
System Disk Required Used to install the operating system. The default size is 50 GB.
Different regions will affect the available types of Cloud Block Storage. Please select based on the actual prompts on the page
For more information about cloud disks, please refer to Cloud Block Storage types .
Data Disk Optional Used to expand the storage capacity of cloud virtual machines and provide efficient and reliable storage devices. By default, no cloud block storage data disk is added.
For more information about Cloud Block Storage, please refer to Cloud Block Storage types.
Scheduled Snapshots Optional The snapshot service provides regular backup of cloud block storage data to deal with risks such as virus infection and accidental data deletion.
Public IP Required If you need to assign a public network IP address to an instance, select Allocate Now. The IP address allocated in this way cannot be unbound from the instance, but the public IP address can be converted into an elastic public IP address and then unbound. For more information about Elastic IP, see Elastic IP.
  1. Click Next: Set Security Group and Host to proceed to the configuration page.
  2. Follow the on-page prompts to configure the following information:
Category Required/Optional Configuration Description
Security Group Required - If you do not have an available security group, you can select Create Security Group.
- If you have an available security group, you can select Existing Security Group.
For more information about security groups, please refer to Security Groups.
Instance Name Optional User-customized, indicating the name of the cloud virtual machine to be created.
- If you do not define an instance name, the instance name after creation will be "Unnamed".
- If an instance name is defined, it must be within 60 characters.
Note: This name is only displayed in the console and is not the hostname of the CVM.
Log in Method Required Set the method for users to log in to the cloud virtual machine according to actual needs.
- Set password: Customize the password for logging in to an instance.
- Associate Key Immediately (Linux Instances Only): Associate an SSH key for a more secure login to the CVM.
If you do not have a key or the existing key is not suitable, you can click Create Now to create one. For more information on SSH keys, refer to SSH Key.
- Automatically generate password: The automatically generated password will be sent through the message center.
Security Reinforcement Optional Helping Users Build Server Security Systems to Prevent Data Leaks.
Cloud Monitor Optional Cloud service monitoring is enabled free of charge by default. Install components to obtain host monitoring metrics and display them in the form of monitoring icons. It also supports customizing alarm thresholds. It also provides three-dimensional cloud virtual machine data monitoring, intelligent data analysis, real-time fault alarms, and personalized data report configuration, allowing users to accurately control the health of their business and cloud virtual machines.
Cloud Automation Tools Optional After purchasing TAP-related features, you can use the capabilities of the Cloud Platform Automation Tool.
This is a native Ops deployment tool for Cloud Virtual Machine (CVM), which allows for automated batch execution of Shell commands without remote connection to instances. It can complete tasks such as running automation scripts, installing/uninstalling software, updating applications, and installing patches.
Advanced Settings Optional Instances can be further configured according to actual needs.
- Host name: Users can customize the computer name inside the cloud virtual machine operating system. After the cloud virtual machine is successfully put into operation, you can check it by logging in to the cloud virtual machine.
- Placement group: Instances can be added to a placement group as needed to improve business availability. For detailed setup, refer to Placement Group.
Note:
Note: If the type of the instance you created is set by the administrator as not supporting placement groups, this feature will be unavailable. If modification is needed, please contact the administrator.

- Custom data: Specify custom data to configure an instance, that is, run the configured script when the instance starts. If more than one CVM is purchased at a time, custom data runs on all of them. The Linux operating system supports the Shell format, and the Windows operating system supports the PowerShell format, up to 16KB of raw data. For more details, refer to Custom Data.
Note: Custom data configuration is only supported by certain public images with Cloudinit services. For specifics, refer to Cloud-Init.
  1. Click Next: Confirm Configuration to proceed to the Confirm Configuration page.
  2. Review the information about the CVM you are purchasing and understand the cost details of each configuration.
  3. Click Enable to complete the creation process. Once the creation is complete, you can go to the CVM console to check your CVM.
    The instance name, public IP address, private network IP address, login name, initial login password, and other information of the CVM will be sent to your account via Message center. You can use this information to log in and manage the instance. Please change your CVM login password as soon as possible to ensure host security.