Introduction
To pass the AZ-104 exam, you have to finish several live online lab tests. This article focuses on Azure Bastion, a critical component for securely connecting to virtual machines without exposing them to public networks. Practicing with Azure Bastion will enhance your understanding and readiness for the exam.
Azure Bastion
Azure Bastion protects your virtual machines by providing secure and seamless RDP and SSH connectivity. This service eliminates the need for public IP addresses, allowing you to save costs while securing your VMs. For more details, refer to the Azure Bastion Overview.
Steps
Prerequisite:
Assume you have created a VM(s) in your Azure environment.
Step 1:
Access Bastion: In the Azure portal, navigate to your VM and select "Bastion."
Step 2:
Deploy Bastion: Click "Deploy" to provision Azure Bastion.
Note that Bastion requires a public IP address and must be configured with at least the "Standard" SKU.
Wait: The deployment process may take approximately 10 minutes.
Step 3:
Connect to Bastion: After deployment, enter your login credentials and click "Connect."
Browser Settings: Ensure you allow pop-ups in your browser to facilitate the connection.
Step 4:
Login to VM1: You should now be able to access VM1 through your browser successfully. This confirms that the Bastion deployment was successful and that you can connect securely.
Step 5:
Delete Bastion Resource: After finishing your exercise, search for "Bastion" in the Azure portal.
Navigate to it and delete the resource named "VM1-vnet-bastion" to clean up your environment. Otherwise, it will charge you ~0.19USD/hr.
Remark
To send the Ctrl + Alt + Delete command while connected to a VM through Azure Bastion, use Ctrl + Alt + End. This functions the same as Ctrl + Alt + Delete on your local computer.
Conclusion
In this lab, you successfully deployed Azure Bastion to enhance the security of your virtual machines while eliminating the need for public IP addresses. By practicing this setup, you gain valuable experience in managing secure connections to Azure resources, which is crucial for the AZ-104 exam. Continue to explore and practice with Azure Bastion to deepen your understanding and improve your exam performance.
Top comments (2)
Microsoft gives everyone 200USD credit for free trial, let's do the lab together :)
Have a great start to 2025, everyone!