Demo-Connecting to VIrtual Machines Flashcards
How do we connect to the Windows machine?
Using the Remote Desktop Protocol (RDP) port 3389.
How do we connect to the Linux machine?
Via SSH (Secure Shell) using port 22.
What is important to remember about open ports?
Open ports like 3389 and 22 should not be exposed to the entire world in production environments due to security risks.
What are the steps to connect to the Windows VM using RDP?
Download the RDP configuration file, open it with the Remote Desktop application, enter the username and password, and connect.
How is the Linux VM connected using SSH via Azure Portal?
Using a one-click method in Azure Portal’s Cloud Shell with Azure AD credentials.
What is the alternative method to connect to the Linux VM via SSH?
Manually using the terminal with SSH command followed by username and external IP address.
What is recommended after completing the demonstration?
Deleting the VMs and associated components to save costs and clean up resources.
What precautions should be taken with open ports in a production environment?
Ports should be restricted to only necessary locations to enhance security.
What are the main takeaways from this lesson?
Understanding the different protocols (RDP and SSH) for connecting to Windows and Linux VMs, and the importance of securing open ports.