This topic describes how to create an instance by using the wizard in the ECS console.



  1. Log on to the ECS console.
  2. In the left-side navigation pane, choose Instances & Images > Instances.
  3. Click Create Instance.
  4. Perform the following steps to complete Basic Configurations.
    1. Select a Billing Method: Subscription, Pay-As-You-Go, or Preemptible Instance.
      Note For information about how to create preemptible instances, see Create preemptible instances.
    2. Select a region and zone.

      By default, a zone is randomly assigned. You can select a zone that better meets your business needs. For information about how to select a region and zone, see Regions and zones.

      Note After you create an instance, you cannot change its region or zone.
    3. Select an instance type and specify the number of instances.

      The available instance types vary from region to region. You can visit ECS Instance Types Available for Each Region to view the instance types available in each region. For more information about the applicable scenarios for each instance type, see Instance families.

      • The quota of pay-as-you-go or preemptible instances for your account is shown on the page.
      • To use Elastic Network Interfaces (ENIs), select an enterprise-level instance type with no less than two vCPUs or an entry-level instance type with no less than four vCPUs. For more information about the maximum number of ENIs that can be attached to each instance, see Instance families.
      • To use an SSD disk, select an I/O optimized instance.
    4. Select an image. You can select an image from the lists of Public Image, Custom Image, Shared Image, and Marketplace Image.
      • To use an SSH key pair, select a Linux image.
      • To configure user data, select an image by following the instructions provided in User data.
      • Public images only contain an initial system environment. You can find more images in the image marketplace.
    5. Select a storage space.
      • System Disk: Required. You must create a system disk for the operating system. Select a disk category and specify the size for the system disk.
        • Disk category: Available categories are based on the selected region.
        • Size: The default size of the system disk is 40 GiB. If the selected image file is more than 40 GiB, the size value is automatically increased to the size of the image file. The following table lists the available range of the size value that is supported for each image type.
          Image Range of the system disk size (GiB)
          Linux (excluding CoreOS) and FreeBSD [max{20, image file size}, 500]
          CoreOS [max{30, image file size}, 500]
          Windows [max{40, image file size}, 500]
      • Data Disk: Optional. To create a data disk, you must select a disk type, and specify the size and quantity for the disk. Then, you must determine whether to encrypt the disk. You can also add data disks to an instance after the instance is created. For more information, see Create a pay-as-you-go cloud disk. You can create an empty data disk or create a data disk from a snapshot. A maximum of 16 data disks can be added each time you create an instance.
        The added data disks have the following features:
        • The billing method is the same as that of the instance.
        • A subscription data disk must be released together with its corresponding instance, while a pay-as-you-go data disk can be released either separately or together with the corresponding instance.
      • If you have selected an instance family with local disks (such as i1, d1, or d1ne), the local disk information is displayed. You cannot specify the quantity or category of local disks because these settings depend on the selected instance type. For more information about the local disks supported by each instance type, see Instance families.
  5. Click Next: Networking to configure networking and security group for the instance.
    1. Select the network type.
      • VPC: You must select a VPC and VSwitch. If you do not have a VPC and VSwitch, you can use the default ones.
      • Classic: If you purchased an ECS instance for the first time after 12:00, June 16, 2016 (UTC+8), you can no longer select the classic network.
    2. Set the network billing method.
      • To assign a public IP address to the instance, select Assign Public IP Address. Then, select Pay-By-Traffic or Pay-By-Bandwidth as the network billing method and specify the bandwidth. For public IP addresses assigned in this way, you cannot detach them from the instance. For more information about network billing, see Billing methods of Internet bandwidth.
      • If your instances do not need to access the Internet or your VPC-connected instances use an Elastic IP Address (EIP) to access the Internet, you do not need to assign a public IP address. You can disassociate an EIP from an instance at any time you want.
    3. Select a security group.
      If you have not created a security group, you can use the default security group. For more information about the rules of the default security group, see Security group overview.
    4. Add an ENI.
      If your selected instance type supports ENIs, you can add an ENI and specify a VSwitch.
      Note By default, the added ENI is released together with the instance. You can use the ECS console or call the DetachNetworkInterface operation to detach the interface from the instance.
  6. Optional. Click Next: System Configurations to make the following configuration:
    1. Select and set logon credentials.
      Select a credential based on the image:
      • Linux: You can select a password or SSH key pair as a logon credential.
      • Windows: You can only select a password as a logon credential.

      You can also set the logon credential for an instance after the instance is created. For more information, see Reset an instance logon password.

    2. Specify the instance name you want to display in the ECS console, and the host name that can be obtained inside the guest operating system.
    3. Set advanced options.
      • RAM Role: Assign a RAM role to the instance.
      • User Data: Customize the startup behavior of an instance or pass data into an instance.
  7. Optional. Click Next: Grouping to group the instance you have created.
    1. Add tags.
      If you have created several instances, you can use tags for better management. For more information, see Tag overview.
    2. Select a deployment set.
      Deployment sets are designed to manage the deployment of instances. Instances in the same deployment set are assigned to different physical servers, which ensures high availability of business and disaster recovery capability of infrastructure. For more information, see Create a deployment set.
    3. Select a dedicated host.
      You can select Allow Automatic Deployment /AutoPlacement or specify a dedicated host.

      A dedicated host is flexible and elastic. It offers you an exclusive access to the resources of its associated physical servers. For more information, see Functions of dedicated hosts.

  8. Confirm the order.
    1. In the Configurations Selected section, confirm all the configurations. You can also click an edit icon to change the configurations.
      • Optional. Click Save as Launch Template to save your configurations as a launch template for later use. For more information, see Launch template.
      • Optional. Click View Open API to view best-practice API scripts. On the left side, the API Workflow section describes the API operations related to the current operation and lists the request parameters and their values of these API operations. On the right side, the programming language-specific examples are provided. Java and Python examples are available. For more information, see ECS API introduction.
    2. Optional. If the billing method is Pay-As-You-Go, you can set Automatic Release.
    3. Optional. If the billing method is Subscription, you can specify the duration and select whether to enable Auto-renewal.
    4. Confirm the configuration fees.
      The following table lists billing methods for instances and their Internet bandwidth that determine the fees you are to pay.
      Instance billing method Internet bandwidth billing method Estimated fee
      Pay-as-you-go or preemptible instance By traffic usage Internet traffic fee + configuration fee. Configuration fees include the instance type (vCPUs and memory), the system disk, data disks (if any), and local disks (if any).
      By fixed bandwidth Configuration fees, including the instance type (vCPUs and memory), the system disk, data disks (if any), local disks (if any), and Internet bandwidth.
      Subscription By fixed bandwidth Configuration fees, including the instance type (vCPUs and memory), the system disk, data disks (if any), local disks (if any), and Internet bandwidth.
      By traffic usage Internet traffic fee + configuration fee. Configuration fees include the instance type (vCPUs and memory), the system disk, data disks (if any), and local disks (if any).
    5. Read and confirm ECS Terms of Service.
  9. Click Create Order.


After the instance is activated, click Console to view the instance details in the console. In the Instances list of the relevant region, you can view the information of the new instance, such as the instance name, public IP address, internal IP address, and private IP address.

What to do next