One sign of an experienced Azure Administrator is the ability to work with both Windows and Linux servers. One of the key skills in cloud administration is building new virtual servers. Below is how to build a new Linux Server, using the Red Hat Enterprise Linux (RHEL) flavor:
Step 1 – Sign in to Azure Portal
- Navigate to Azure Portal.
- Login with your Azure account credentials.
Step 2 Create a resource group (Optional But Recommended)
- Click Resources groups.
- Click add.
- Enter the name for your resource groups.
- Select the desired location.
- Click to create.
Step 3: Create a Red Hat Enterprise Linux VM
- In the Azure Portal click .
- Search for Red Hat Enterprise Linux.
- Select Red Hat Enterprise Linux.
- Click and create.
Step 4: Configure basic settings
- Subscription: Choose your Azure subscription.
- Ressource Group Choose an existing resource or create a new group.
- Virtual Machine name – Enter a VM’s name.
- Region. Select the desired location.
- Availability Options: Select based on your high-availability requirements.
- Image. Verify that it’s set for Red Hat Enterprise Linux.
- size: Select the VM based your performance needs.
- Authentication Type :
- Password – Use a secure password.
- SSH public key: Uploading your SSH keys for secure access.
- Click Continue: Disks.
Step 5: Configure the Disks
- Choose your OS disk type (HDD, HDD Premium, Standard SSD or SSD Premium).
- Configure additional data disks if necessary.
- Click Then: Networking.
Step 6: Configure your Networking
- Select an existing Virtual Network or create one.
- Configure a subnet.
- Set PublicIP (Yes/No), depending on your access needs.
- Select or create Network Security Groups (NSGs) to control the inbound/outbound flow of traffic.
- Configure additional networking options if needed.
- Click Then: Management.
Step 7 – Set Management Options
- Enable, disable, or turn off monitoring, diagnosis, and auto shutdown.
- Configure backups if needed.
- Click next: Guest configuration.
Step 8: Configure Guest OS Settings & Tags
- Add any custom Scripts or Extensions if Needed.
- Tag your resources in order to manage them and charge for them.
- Click Review and Create.
Step 9 Review and Create
- Review all configurations.
- Click and create to deploy a VM.
Step 10 Access Your RHEL-VM
- After the deployment, go to VM Overview.
- Connect via SSH using the IP and private key/password.
BASH: ssh <username>@<public-ip> - Verify the server is functioning properly and complete any initial configuration.