How to Launch a Red Hat Enterprise Linux 8 Instance on ECS?

By Marketplace

Prerequisites

Create an Alibaba Cloud Account

Register and create an Alibaba Cloud account from here — https://account.alibabacloud.com/register/intl_register.htm

Specify an SSH Key Pair

To specify an SSH key pair when creating a Linux instance, you must create an SSH key pair in the target region.

  1. Log on to the ECS console.
  2. In the left-side navigation pane, choose Networks and Security > SSH Key Pair.
  3. Click Create SSH Key Pair.
  4. Enter a name for the SSH key pair, and then select Auto-Create SSH Key Pair.
  5. Click OK to create the SSH key pair.

Assign an Elastic IP

To assign an Elastic IP, you must create an EIP in the Network & Security section.

  1. Log on to the VPC console.
  2. In the left-side navigation pane, choose Elastic IP Addresses.
  3. On the Elastic IP Addresses page, click Create EIP.
  4. On the Elastic IP page, configure the EIP by specifying Region, Max Bandwidth, and Quantity.
  5. Then, click the Buy Now and complete the payment
  6. Click OK to create the SSH key pair.

Create a Security Group

Create a Security group with the required rules.

  1. Log on to the ECS console.
  2. In the left-side navigation pane, choose Network and Security > Security Groups.
  3. Select a region.
  4. Click Create Security Group.
  5. In the displayed Create Security Group dialog box, Select template Custom, Enter a name for the security group, Enter a description of the security group, Select Network type as VPC and Enter inbound rules.

Procedure

Step 1. Let’s begin with purchasing ECS, go to https://www.alibabacloud.com/product/ecs and click Buy Now.

Image for post
Image for post

Step 2. Log on to the ECS console. If you do not have an account, register with a simple Sign Up process.

Step 3. Complete the Basic Configurations as follows:

  1. Select a Billing Method: Subscription, Pay-As-You-Go or Preemptible Instance.
Image for post
Image for post
  1. Select a region and zone. By default, a zone is assigned randomly. You can select a zone that better meets your needs.
Image for post
Image for post
  1. Select an Instance type and specify the number of Instances. The availability of an Instance type family is determined by the selected region.
Image for post
Image for post
  1. Select Public image, and then select Red Hat from the OS dropdown menu. In version selection, choose Enterprise Linux 8.
Image for post
Image for post
  1. Select storage devices:
  • System Disk: Required. A system disk is required for installing the operating system. Specify the cloud disk category and size for the system disk. The default size is 40 GiB, with a maximum size of 500 GiB.
  • Data Disk: Optional. If you create a cloud disk as a data disk, you must select the disk type, size, and quantity, and set whether to encrypt it. You can create an empty data disk or create a data disk from a snapshot. Up to 16 data disks can be added.
Image for post
Image for post

Step 4. Click Next: Networking to finish the network and security group configuration:

  • Select a network:
  • VPC: You must select a VPC and a VSwitch. If you do not have a VPC and a VSwitch, you can use the default ones.
Image for post
Image for post
  • Configure the Network Billing Method:
  • To assign a public IP address to the instance, select Assign public IP. Then, select Pay-By-Traffic as the network billing method and specify the bandwidth.
  • Instances use an Elastic IP (EIP) address to access the Internet, you do not need to assign a public IP address. You can detach an EIP address from an instance.
  • You can also select the Network Bandwidth as required.
Image for post
Image for post
  • Select a security group. If you have not created a security group, you can use the default security group.
Image for post
Image for post

Step 5. Click Next: System Configurations to finish the following configuration:

  • Select and set login credentials. You can choose Set Later or set it now.
Image for post
Image for post
  • Specify the instance name, which is displayed in the ECS console, and the hostname, which is displayed inside the guest operating system.
Image for post
Image for post

Step 6. (Optional) Click Next: Grouping to manage instances by the group. You can add tags to instances to simplify future management.

Image for post
Image for post

Step 7. Click the Preview button to confirm your order.

  • In the Configurations Selected area, confirm all the configurations. You can also click the edit icon to re-edit the configuration.
  • Read and confirm you agree to the ECS Service Level Agreement.
Image for post
Image for post

Step 8. Click Create Instance. You can see your instance in the Console. Wait for a few minutes for the instance to display running status in Green color.

Image for post
Image for post

Your Red Hat Enterprise Linux (RHEL) 8 server on Alibaba Cloud Elastic Compute Service (ECS) has been successfully launched.

Original Source

https://www.alibabacloud.com/blog/how-to-launch-a-red-hat-enterprise-linux-8-instance-on-ecs_595012?spm=a2c41.13112012.0.0

Written by

Follow me to keep abreast with the latest technology news, industry insights, and developer trends.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store