Help Center/ Elastic Cloud Server/ Getting Started/ Purchasing and Using a Windows ECS (New Edition)
Updated on 2024-09-06 GMT+08:00

Purchasing and Using a Windows ECS (New Edition)

Scenarios

Elastic Cloud Server (ECS) is a cloud server that provides scalable, on-demand computing resources, including vCPUs, memory, OS, and Elastic Volume Service (EVS) disks. After purchasing an ECS, you can use it like using your local computer or physical server.

You can create an ECS by specifying its vCPUs, memory, OS, specifications, and login mode.

This section uses the following configuration as an example to show how to quickly purchase and use an ECS:
  • Quantity: 1
  • Billing mode: pay-per-use
  • Flavor: s7n.xlarge.2 (4 vCPUs | 8 GiB memory)
  • OS: Windows
  • Login mode: password

Process

Procedure

Description

Preparations

Sign up for Huawei Cloud, enable Huawei Cloud services, complete real-name authentication, top up your account, and create resources such as VPCs, subnets, and security groups.

Step 1: Purchase an ECS

Set parameters about the basic configuration, instance, OS, storage & backup, network, and other configurations to purchase a Windows ECS.

Step 2: Log In to the ECS

Log in to an ECS using VNC.

Step 3: Use an ECS

Perform operations on an ECS.

Preparations

  1. Sign up for Huawei Cloud and complete real-name authentication.

    Before purchasing an ECS, sign up for a HUAWEI ID and enable Huawei Cloud services and complete real-name authentication first.

    If you have enabled Huawei Cloud services and completed real-name authentication, skip this step.

  2. Top up your account.

    Ensure that your account has sufficient balance. If not, top up your account.

  3. Plan network resources, such as VPCs and subnets.

    When you are purchasing an ECS, the system creates a default VPC (vpc-default) and subnet (subnet-default).

    If you do not want to use the default VPC and subnet, you can create a VPC and subnet in the corresponding region in advance. For details, see VPC and Subnet Planning.

  4. Create a security group and add rules to it.

    When you are purchasing an ECS, the system creates default security groups (default, Sys-WebServer, and Sys-FullAccess). For details about default security groups, see Default Security Groups and Rules.

    If the default security groups and rules cannot meet your service requirements, you can modify them. For details, see Configuring Security Group Rules.

Step 1: Purchase an ECS

The following is an example for your reference. For more details, see Purchasing an ECS.

  1. Log in to the management console and go to the ECS console.
  2. Set Basic Configuration.
    Figure 1 Basic configuration
    Table 1 Basic configuration parameters

    Parameter

    Example

    Description

    Billing Mode

    Pay-per-use

    Resources will be billed based on the usage duration. You can provision or delete resources at any time. For details, see Billing Overview.

    Region

    CN-Hong Kong

    For lower network latency and faster resource access, select the region nearest to your target users. After an ECS is purchased, the region cannot be changed. Exercise caution when selecting a region.

    For details, see Region and AZ.

    AZ

    Random

    The system selects a default AZ based on your Universally Unique Identifier (UUID). The AZ of a purchased ECS cannot be changed.

  3. Set Instance.
    Figure 2 Instance
    Table 2 Instance parameters

    Parameter

    Example

    Description

    Search Filters

    s7n.xlarge.2

    Instance favor. Select an appropriate one based on service requirements. For details, see A Summary List of x86 ECS Specifications.

  4. Set OS.
    Figure 3 OS

    Table 3 OS parameters

    Parameter

    Example

    Description

    Image

    Windows Server 2016 Standard 64-bit (40 GB)

    A third-party image from KooGallery.

    Host protection (HSS)

    Basic Edition

    HSS Basic Edition is free for one month. It provides functions such as weak password and vulnerability detection.

    For details, see HSS.

  5. Set Storage & Backup.
    Figure 4 Storage & backup
    Table 4 Storage & backup parameters

    Parameter

    Example

    Description

    Disk Type

    General Purpose SSD

    A system disk is automatically created and initialized upon ECS creation. It stores the OS of an ECS.

    For details, see EVS Overview.

    System Disk (GiB)

    40

  6. Set Network.
    Figure 5 Network
    Table 5 Network parameters

    Parameter

    Example

    Description

    VPC

    VPC: vpc-default

    The default VPC and subnet automatically created along with the ECS.

    For details, see VPC and Subnet Planning.

    Primary NIC

    • Primary NIC: subnet-default
    • Automatically assign IP address

    Source/Destination Check

    Enable Source/Destination Check

    By default, Source/Destination Check is enabled.

    When this function is enabled, source IP addresses in the outbound packets will be checked. If the IP addresses are incorrect, the packets will not be sent out.

  7. Set Security Group.
    Figure 6 Security group
    Table 6 Security group parameters

    Parameter

    Example

    Description

    Security Group

    default

    The default security group automatically created along with the ECS.

    For details, see Security Group Overview.

  8. Set Public Network Access.
    Figure 7 Public network access
    Table 7 Public network access parameters

    Parameter

    Example

    Description

    EIP

    Auto assign

    A public IP address bound to the ECS for public network access.

    For details, see EIP Overview.

    EIP Type

    Dynamic BGP

    Billed By

    Traffic

    Bandwidth Size

    1 Mbit/s

  9. Set Instance Management.
    Figure 8 Instance management
    Table 8 Instance management parameters

    Parameter

    Example

    Description

    ECS Name

    ecs-example

    Custom ECS name.

    Login Mode

    Password

    A password for logging in to an ECS. For security purposes, set a strong one.

    The default username for logging in to a Windows ECS is Administrator and you do not need to set it.

    Enterprise Project

    default

    This parameter is displayed only when you use an enterprise account to purchase an ECS.

    It enables unified management of cloud resources by project.

  10. Set Purchase Details.
    Figure 9 Purchase details
    Table 9 Purchase details

    Parameter

    Example

    Description

    Quantity

    1

    To ensure effective resource usage, an upper limit is set on the ECSs to be created. If the number of ECSs you need exceeds the upper limit, increase quota.

  11. In the Configuration Summary panel on the right side, confirm the ECS details.
    Figure 10 Configuration summary
  12. Read the select the agreement, and click Create.
  13. Go back to ECS list to view the purchased ECS.
    Figure 11 Viewing an ECS

Step 2: Log In to the ECS

The following shows how to log in to an ECS using VNC. For more login methods, see Login Overview (Windows).

  1. In the ECS list, locate the target ECS and click Remote Login in the Operation column.
  2. In the displayed dialog box, click Log In in the Other Login Modes area.
    Figure 12 VNC login
  3. In the upper part of the displayed page, click Ctrl+Alt+Del to unlock the screen.
  4. Enter the password set in 9 to log in to the ECS.

Step 3: Use an ECS

After purchasing an ECS, you can build websites or applications on the ECS and manage it.

Table 10 Common ECS operations

Operation Type

If You Want To

Refer To

Connection

Learn more about ECS connection methods

Login Overview (Windows)

Website building

Build websites or applications on an ECS

Setting Up Websites on ECSs

Modification

Upgrade vCPUs and memory of an ECS

General Operations for Modifying Specifications

Upgrade the ECS bandwidth

Modifying an EIP Bandwidth

Expand the storage capacity

Change the ECS OS

Changing the OS

Open a port for ECS access

Configuring Security Group Rules

Backup

Back up ECS data

Backing Up an ECS

Monitoring, auditing, and management

View ECS metrics such as vCPUs, memory, bandwidth, and disks

Monitoring ECSs

View ECS operation records in the last seven days

Viewing Traces

Manage ECS resources by tag

Tag Management

Release

Release an ECS

Starting and Stopping ECSs

Bills

View ECS bills

Bills