This topic uses an entry-level instance as an example to describe how to create an instance in the ECS console.

Background information

Instances are the core components of ECS and show the compute capacity of ECS. To help you get familiar with the ECS console, this topic describes how to create a pay-as-you-go and pay-by-traffic entry-level ECS instance in the ECS console. For more information, see Create an instance by using the provided wizard. You can also create an ECS instance by calling an API operation. For more information, see RunInstances.

Procedure

  1. Go to the ECS Custom Launch page.
  2. To complete Basic Configurations, follow these steps:
    1. Select a billing method In this example, select Pay-As-You-Go.
    2. 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.
    3. Select an instance type and specify the number of instances. In this example, choose All Generations > X86-Architecture > Entry- Level (Shared) > Compact Type xn4.
      The available instance types are determined by the region you select. For more information, see Instance types.
    4. Select an image. In this example, select the CentOS 7.6 public image.
    5. Select a storage space. In this example, only the system disk is used. A 40 GB ultra disk is selected by default.
  3. Click Next: Networking to finish the networking and security group configuration.
    1. Select VPC as the network type. In this example, the default VPC and VSwitch are used.
    2. Set the network billing method. In this example, select Assign public IP and Pay-By-Traffic.
    3. Select a security group. If you have not created a security group, you can use the default security group.
    4. Add an Elastic Network Interface (ENI). Skip this step if the selected instance type does not support ENI.
  4. 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.
  5. 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.
  6. Click Next: Preview.
    Confirm the selected configurations. You can also click the Edit icon to modify the configurations.
  7. Read and confirm Terms of Service, and then click Create Instance.

Result

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.