Create Bare-metal GPU Servers

Create Bare-metal GPU Servers

This document describes how to create and manage bare metal servers on the GreenNode console.

Access to creation page

To use a Bare-Metal GPU Server, you must create a server on the GreenNode console. The following describes how to create a bare metal gpu server.
The bare metal-type server fee is fully charged, even when it's stopped. Please terminate it when the server is not being used.
  1. Access the GreenNode console at: TBD
  2. Click the Bare Metal Server menu.
  3. Click the [Create server] button.
  4. When the create server screen appears, proceed with the following steps in order

Start configuration

1. Basic configuration

  1. Instance name: Enter a name for your bare-metal. Only letters (a-z, A-Z, 0-9, '_', '-') are allowed. Your input data length must be between 5 and 50.
  2. Location: Choose a location for your bare-metal gpu server.  The location you choose will determine the cost and load time of your bare-metal
  3. OS System: Choose the operating system for your bare-metal. GreenNode offers many different operating systems, including Ubuntu and CentOS

2. Select instance type

In the list of instance types, select the instance type you want to use.
Review the configuration details of each instance type to ensure that it meets your needs.

3. Network Setting

  1. Choose VPC for your bare-metal server. A VPC is a virtual private network that you can use to connect your bare-metal to other servers. If you haven't created a VPC yet, click "Create VPC" to create a new VPC.
  2. Choose Public IP for your bare-metal server. Floating IP is a public IP address that you can use to access your bare-metal from the Internet. If you do not want to use Floating IP, you can skip this step.
  3. Security Setting:  You can configure security in 2 ways:
    1. Option 1: SSH Key - Enter your bare-metal username and password. This username and password will be used to log in to your bare-metal.
      1. Choose your bare-metal SSH key. SSH keys are a more secure way to log in to your bare-metal. If you don't have an SSH key, you can generate a new SSH key using the SSH key generator. 
    2. Option 2: Or configure security using user data

Launch Bare-metal GPU Server

  1. Click "Launch Bare-metal" to create bare-metal. This process may take a few minutes.
  2. Once your bare-metal is created, you will receive a confirmation email. You can access your bare-metal using the username and password you provided during creation.

Create Bare-metal GPU Server with User Data

Application Scenarios

 You can inject user data to configure BMSs

  1. Use scripts to simplify BMS configuration.
  2. Use scripts to initialize BMS OSs.
  3.  Upload scripts to BMSs at creation time.
  4. Use scripts for other purposes.

Constraints

  1. The image that is used to create BMSs must have Cloud-Init installed.
  2. The user data to be injected must be less than or equal to 32 KB.
  3. User data uploaded as text can contain only ASCII characters. User data uploaded as a file can contain any characters, and the file size must be less than or equal to 32 KB.
  4. The image that is used to create BMSs must be a public image, a private image created based on a public image, or a private image with Cloud-Init installed.
  5. The script format must comply with user data script specifications for Linux BMSs.
  6. DHCP must be enabled for the VPC, and port 80 must be enabled for the security group in the outbound direction.

Procedure

When creating a Bare-metal, set by User data, and paste the content of the user data script to the User Data text box or upload the user data file.


  1. The created Bare-metal automatically runs Cloud-Init or Cloudbase-Init to read the user data script upon startup.
  2. View the user data passed into the instance and the result of running the user data.
    1. Connect to your instance.
    2. Run the following command to view the user data in the metadata of the instance: curl http://100.100.100.200/latest/user-data

 In this example, the user data that was passed in in Step 2 is used. If the user data is included in the command output as shown in the following figure, the user data is passed in as expected


    1. Check the result of running the user data: cat userdata_test.txt 
The result of running a script is related to script content. The following figure provides an example result of writing the system time to a specific file.


    • Related Articles

    • What Are the Key Features of Bare Metal GPU Servers?

      Bare-metal GPU Servers Key Features Direct Hardware Access: Bare-metal servers provide direct access to the underlying physical hardware without the need for a hypervisor or virtualization layer. This direct access contributes to enhanced performance ...
    • What is Greennode Bare Metal?

      Overview Greennode Bare-Metal, with its powerful hardware configuration, is an optimal choice for computing needs that require power and flexibility. By using a physical server without the middle layer of a virtual operating system, Bare-Metal ...
    • Manage Bare-metal GPU Server

      Re-name a bare-metal To make it easy for you to identify and manage each Bare-metal, the cloud platform allows you to set Bare-metal names and change the names at any time. The new name of a Bare-metal takes effect after the Bare-metal is restarted. ...
    • Tutorial: Get started with GreenNode Bare-metal

      Step 1: Configure Tenant Network You need to configure the Network so that the bare metal GPU server can communicate with the Network service. This section covers configuring the Network for a single planar network for bare metal GPU server ...
    • Connect to Bare-metal

      Users have many ways to connect to the Bare-metal such as the Console function on GreenNode Portal or other client tools. Depending on the operating system of the bare-metal, the operating system of your personal computer or the desired connection ...