Day 21: Assigning Public IP to Virtual Machines1

Can anyone advise on this lab.

Cheers.

When the lab was reviewed, it reported:

“SSH access to ‘devops-vm’ failed or VM is not in the ‘running’ state”.

While I was successfully connected via SSH

Welcome to Ubuntu 24.04.3 LTS (GNU/Linux 6.14.0-1017-azure x86_64)

System information as of Wed Mar 4 10:39:27 UTC 2026

System load: 0.0 Processes: 113
Usage of /: 5.6% of 28.02GB Users logged in: 0
Memory usage: 28% IPv4 address for eth0: 172.16.0.4
Swap usage: 0%

  • Strictly confined Kubernetes makes edge and IoT secure. Learn how MicroK8s
    just raised the bar for easy, resilient and secure K8s cluster deployment.

    Secure Kubernetes at the Edge | Ubuntu

Expanded Security Maintenance for Applications is not enabled.

0 updates can be applied immediately.

Enable ESM Apps to receive additional future security updates.
See Ubuntu Expanded Security Maintenance | Security | Ubuntu or run: sudo pro status

The list of available updates is more than a week old.
To check for new updates run: sudo apt update
The programs included with the Ubuntu system are free software;

the exact distribution terms for each program are described in the

individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by

applicable law.

To run a command as administrator (user “root”), use “sudo ”.

See “man sudo_root” for details.

azureuser@devops-vm:~$

Please refer to this solution and see if it helps.