This topic uses an entry-level instance as an example to describe how to create an instance in the ECS console.
- Go to the ECS Custom Launch page.
- To complete Basic Configurations, follow these steps:
- Select a billing method In this example, select Pay-As-You-Go.
- Select a region, such as China (Hangzhou). The system randomly allocates a zone by default.
Note After an instance is created, you cannot change the region and zone. Proceed with caution.
- Select an instance type and specify the number of instances. In this example, choose
.The available instance types are determined by the region you select. For more information, see Instance types.
- Select an image. In this example, select the CentOS 7.6 public image.
- Select a storage space. In this example, only the system disk is used. A 40 GB ultra disk is selected by default.
- Click Next: Networking to finish the networking and security group configuration.
- Select VPC as the network type. In this example, the default VPC and VSwitch are used.
- Set the network billing method. In this example, select Assign public IP and Pay-By-Traffic.
- Select a security group. If you have not created a security group, you can use the default security group.
- Add an Elastic Network Interface (ENI). Skip this step if the selected instance type does not support ENI.
- Click Next: System Configurations.
You can specify the settings based on your needs. We recommend that you set Logon Credentials and Instance Name. In this example, select Password and set the instance name to ecs-01.
- Click Next: Grouping.
You can specify the settings based on your needs. If you are creating multiple instances, we recommend that you add labels to manage these instances.
- Click Next: Preview.
Confirm the selected configurations. You can also click the Edit icon to modify the configurations.
- Read and confirm Terms of Service, and then click Create Instance.
Click Console to return to the ECS console. The instance creation process may take one to two minutes. Click the Refresh button to check whether the instance is created. If the newly created ECS instance is in the Running state, the instance is created.
What to do next
- For an ECS instance that runs the Linux system, you can connect to the instance without any other configurations. For more information, see Connect to an ECS instance.
- For an ECS instance that runs the Windows system, you need to use the Sysprep tool
to initialize the operating system. Do not restart the instance during initialization.
After initialization, you can connect to the instance. For more information, see Connect to an ECS instance. The time of initialization is determined by the type of ECS instances.
- For an I/O-optimized instance that runs the Windows system, two to three minutes are needed for initialization.
- For a non-I/O optimized instance that runs the Windows system, ten minutes are needed for initialization.