This tutorial shows you how to launch a Red Hat Enterprise Linux (RHEL) 8 instance using Alibaba Cloud Elastic Compute Service.
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.
- Log on to the ECS console.
- In the left-side navigation pane, choose Networks and Security > SSH Key Pair.
- Click Create SSH Key Pair.
- Enter a name for the SSH key pair, and then select Auto-Create SSH Key Pair.
- 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.
- Log on to the VPC console.
- In the left-side navigation pane, choose Elastic IP Addresses.
- On the Elastic IP Addresses page, click Create EIP.
- On the Elastic IP page, configure the EIP by specifying Region, Max Bandwidth, and Quantity.
- Then, click the Buy Now and complete the payment
- Click OK to create the SSH key pair.
Create a Security Group
Create a Security group with the required rules.
- Log on to the ECS console.
- In the left-side navigation pane, choose Network and Security > Security Groups.
- Select a region.
- Click Create Security Group.
- 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.
![1 1](https://yqintl.alicdn.com/86559b7532b6ef5c2bfcb8d1507633f3b23aa467.png)
Step 2. Log on to the ECS console. If you do not have an account, register with a simple Sign Up process.
![2 2](https://yqintl.alicdn.com/a6f55f876bf6bc5ff929ccaeef70362127ee8b60.png)
Step 3. Complete the Basic Configurations as follows:
- Select a Billing Method: Subscription, Pay-As-You-Go or Preemptible Instance.
![3 3](https://yqintl.alicdn.com/af6be96f2e5d20badd109f27df509eb7ed5a76e3.png)
- Select a region and zone. By default, a zone is assigned randomly. You can select a zone that better meets your needs.
![4 4](https://yqintl.alicdn.com/a07c5369201112688e20e1ff6a2eae8272c89e11.png)
- Select an Instance type and specify the number of Instances. The availability of an Instance type family is determined by the selected region.
![5 5](https://yqintl.alicdn.com/283c6710bc95d789d4326a00305fb7eae8530cfc.png)
- Select Public image, and then select Red Hat from the OS dropdown menu. In version selection, choose Enterprise Linux 8.
![6 6](https://yqintl.alicdn.com/1bef6fe79900fdd11232941966f7d23e5197fc0a.png)
- 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.
![7 7](https://yqintl.alicdn.com/01189877326864b84838d2cb77cb7c658182a955.png)
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.
![8 8](https://yqintl.alicdn.com/d3b5d6f72b8f807559490ab3b9cd25637e1b4d31.png)
![9 9](https://yqintl.alicdn.com/b21c096d6b4cfdcd628b26cd53ff845a17f15df8.png)
- Select a security group. If you have not created a security group, you can use the default security group.
![10 10](https://yqintl.alicdn.com/5723fbb3470365cd3efbad7710d834f2c39a6e35.png)
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.
![11 11](https://yqintl.alicdn.com/84a3ee49658fece93dabb357ca975ca0b42ca602.png)
- Specify the instance name, which is displayed in the ECS console, and the hostname, which is displayed inside the guest operating system.
![12 12](https://yqintl.alicdn.com/82949b6307baf60694a709939266b683bb30f633.png)
Step 6. (Optional) Click Next: Grouping to manage instances by the group. You can add tags to instances to simplify future management.
![13 13](https://yqintl.alicdn.com/d77296a1a0a709a3fc867d7d7bedbc858f0f6ba8.png)
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.
![14 14](https://yqintl.alicdn.com/655c0a0d9070575a2eac73c802f06f38a63c1599.png)
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.
![15 15](https://yqintl.alicdn.com/6a554f82e39accb93b2ca4ada0a75bbb0037bc52.png)
Your Red Hat Enterprise Linux (RHEL) 8 server on Alibaba Cloud Elastic Compute Service (ECS) has been successfully launched.