Azure / Moodle

Tooling and guidance on deploying Scalable Moodle Clusters on Azure.
MIT License
153 stars 165 forks source link

Connect to a web instance #262

Closed samperfod closed 1 year ago

samperfod commented 2 years ago

Is it possible to connect to a web instance? How do I do it?

naioja commented 1 year ago

I assume you are referring to connect via SSH , that's done by making sure your SSH pub key is added to the template at deployment time.

Once everything is deployed you can:

  1. connect to the controller VM Public IP and make sure your forward your key via the -A option
ssh -A azureadmin@PUBLIC_IP_OF_CONTROLLER_VM
  1. once on that VM you can SSH onto one of the web servers, if you havent changed the anything the webserver are located in the 172.31.0.0 CIDR and the first IP is 172.31.0.4 and then increment by one from there as in the example below.
ssh azureadmin@172.31.0.5