Help Center> Elastic Cloud Server> Getting Started> Example 1: Purchasing and Logging In to a Windows ECS
None

Purchasing and Logging In to a Windows ECS

  • An Elastic Cloud Server (ECS) is a cloud server consisting of vCPUs, memory, image, and Elastic Volume Service (EVS) disks that allow on-demand allocation and elastic scaling. ECSs integrate Virtual Private Cloud (VPC), virtual firewalls, and multi-data-copy capabilities to create an efficient, reliable, and secure computing environment. This ensures stable and uninterrupted operation of services.

  • This guide provides information about how to rapidly purchase and log in to a key-pair-authenticated Windows ECS.

Step 1: Prepare for the Environment and Purchase an ECS

Log in to the ECS console and buy an ECS.

Buy an ECS.

Apply for a VPC.

View Image

Step 2.1: Configure ECS Specifications

Set Billing Mode and Type.

In this example, the billing mode is Pay-per-use, and the ECS type is General computing. This type of ECS provides a balance of computing, storage, and network resources and applies to most application scenarios.

Note

To learn more about ECS specifications, such as ECS types, application scenarios, and notes, click here.

1

Select a billing mode.

Select the charging mode.

2

Configure specifications.

选择实例配置

View Image

Step 2.2: Select an Image and Add Disks

Set Image and Disk.

1. An image is an ECS template that contains an OS and applications. In this example, a Windows image is selected.

2. Retain the default value for the system disk. Click Add Data Disk to add a 100 GB high I/O data disk.

Note

  • Select Encryption for the disk to improve disk data security. If the image is not encrypted, the system disk is not encrypted and Unencrypted is displayed on the page for the disk. To obtain more information about disk encryption, click here.
  • You can select Share for your disk. Then, your disk can be attached to multiple ECSs. To obtain more information about shareable disks, click here.

1

Select an image.

Obtain the instance's connection address.

2

Add a disk.

Download and install a client.

View Image

Step 2.3: Configure Network

1. If you do not have a VPC configured when creating your first ECS, the system automatically creates a default VPC and security group. For more details, click here.

2. If you need to access the Internet, bind an EIP to your ECS. Click Automatically assign. The system automatically assigns an EIP to your ECS.

1

Configure the network.

Select the charging mode.

2

Use default security group rules.

选择实例配置

3

Assign an EIP.

选择实例配置

View Image

Step 3: Select a Login Mode

After creating the ECS, log in to it using a key pair or password.

In this example, a key pair is used for authentication.

1. Select Key pair for Login Mode and click Create Key Pair in the Key Pair field.

2. On the displayed page, click Create Key Pair, specify the required parameters, and click OK.

3. Return to the Buy ECS page and select a key pair from the Key Pair drop-down list.

Note

Securely keep the downloaded private key file, which will be used in ECS logins, OS reinstallation, or OS changing.

1

Select a login mode.

Obtain the instance's connection address.

2

Create a key pair.

Download and install a client.

3

Select a key pair.

Download and install a client.

View Image

Step 4: Confirm the Configuration and Submit the Order

Confirm the configurations, agree to the service agreement, and click Submit.
The system automatically creates the ECS for you. It takes several minutes to complete the creation.

Confirm the configuration and submit the order.

Apply for a VPC.

View Image

Step 5: Obtain the Login Password

A Windows ECS requires a password for login. Therefore, you must use the key file obtained when you purchased the ECS to obtain the administrator password generated during the initial ECS installation. This password is randomly generated, offering high security.

Prerequisites: You have obtained the private key file (.pem) used when you purchased the ECS.

1. Click More in the Operation column and select Get Password.

2. On the Get Password page, click Select File and upload the private key file from a local directory. Then, click Get Password to obtain a random password.

1

Get password.

Obtain the instance's connection address.

2

Upload the private key file.

Download and install a client.

View Image

Step 6: Log In to the ECS

1. On the Elastic Cloud Server page, select the target ECS.

2. Click Remote Login in the Operation.

3. (Optional) If the system displays "Press CTRL+ALT+DELETE to unlock", click Ctrl+Alt+Del in the upper right corner of the page.

4. Enter the initial account to log in.

    Username: Administrator

    Password: Random password obtained in step 5

Log In to the ECS.

Select the charging mode.

View Image