• Bare Metal Server

bms
  1. Help Center
  2. Bare Metal Server
  3. User Guide
  4. Getting Started
  5. Step 1: Create a BMS

Step 1: Create a BMS

Scenarios

You can create a BMS on the management console by performing the steps in this section. This section describes how to create a BMS quickly to deploy a web application server. Not all parameters are included. For details about the parameters required for creating a BMS, see Creating a BMS. To create a BMS by calling an API, see Creating a BMS.

Procedure

  1. Log in to the Cloud Server Console .
  2. In the navigation pane, choose Bare Metal Server.
  3. In the upper right corner, click Allocate BMS.
  4. Configure required parameters.
    • Specify Region and AZ.
      NOTE:

      After the BMS is created, you cannot change the region and AZ.

    • Set Flavor.

      Available flavors vary depending on the region and AZ you select. Web servers are mainly used for web page access and do not require strong computing capabilities. In addition, only a small amount of storage is required for recording logs. Based on this, select physical.h2.large.

    • Set Image.

      In this example, select Public image and CentOS 7.4 64bit for BareMetal.

    • Set License Type.

      In this example, select Use system license. You need to pay for the license. If you have an OS license, select Bring your own license (BYOL).

    • Specify Disk.

      Whether EVS disks can be attached to a BMS is determined by the flavor and image you select.

    • Set VPC and NIC.

      When you use cloud services for the first time, the system automatically creates a VPC (default-vpc) and a subnet default-subnet for you. Retain the default values.

      NOTE:

      The system creates a security group for you by default. The default security group rule is to allow all outgoing data packets and restrict incoming data packets. The BMS is protected by the default security group, and the default security group rule only ensures basic communication.

    • Set EIP.

      BMSs without an EIP cannot communicate with the Internet and are only used for deploying services in a private network or used in a cluster. In this example, select Automatically Assign and set Bandwidth.

    • Set Login Mode.

      Select the key pair created in Making Preparations from the drop-down list and select I acknowledge that I have obtained private key file xxx.pem and that without this file I will not be able to log in to my BMS.

    • Configure Advanced Settings.

      In this example, select Do not configure.

    • Set BMS Name.

      The BMS name is in the format bms-four random digits. To distinguish BMSs, you can add the function of a BMS to its name, for example, bms-7676-nginx.

    • Set Quantity.

      In this example, set the value to 1.

  5. Click Allocate Now. Confirm the specifications and click Submit.

Result

Click Back to the BMS List. Generally, it takes 5 to 30 minutes for a BMS to be created. Click the refresh button. After the BMS status changes from Creating to Running, the BMS is created successfully.

Follow-up Operations

A BMS functioning as a web server must allow ICMP traffic on ports 80 and 443. These rules are not configured for the default security group. You need to add the rules after the BMS is created. For details, see Virtual Private Cloud User Guide.

Protocol

Direction

Port Range

Source

TCP

Inbound

80

0.0.0.0/0

TCP

Inbound

443

0.0.0.0/0

ICMP

Inbound

All

0.0.0.0/0