Day 21: Assigning Public IP to Virtual Machines. Azure cloud 100 day challenge

Hi all,
I’ve been having some issues regarding this task. I was successful with the task but the lab said it was wrong “SSH login failed or VM isn’t running”.
Can someone help me?

Task

  1. Create an Azure VM named datacenter-vm using any available Ubuntu image, with the VM size Standard_B1s.
  2. Generate an SSH public key on the azure-client host and associate it with the VM for SSH access.
  3. Associate a Static Public IP address named datacenter-pip with this VM.
  4. Ensure the VM is accessible via SSH using the generated public key.





Hi @Ish

I guess the name of the key-pair might be the issue.

You can create the key-pair on the lab-terminal, and while creating the instance, copy the contents of the public key in the process.

Thank you very much for the support. I was able to complete the task.