Creating a VM on Microsoft Azure

What I Did I needed a cloud server to test things without using my local machine. I spun up an Ubuntu 20.04 VM on Azure and connected via SSH. Here’s the exact process I followed. Create the VM Log in to Azure Click Create a Resource Pick Ubuntu 20.04 LTS → Create Name the VM Under Administration Account, choose SSH Public Key Set a username and key pair name Under Inbound Port Rules, open SSH (22) and HTTP (80) Click Review and Create → Create Download the key pair file when prompted Wait for deployment, then click Go to Resource Connect via SSH cd ~/Downloads chmod 400 pair_key_name.pem ssh -i pair_key_name.pem username@your_ip Type yes when SSH asks about the fingerprint. ...

August 16, 2021 · 1 min · Saad