Open codinja1188 opened 1 month ago
Prism and Prism Central both listen on 9440 (different hosts). Since everything has to go through the bastion, the tunnel command uses 9440 to forward to Prism and 19440 to forward to Prism Central. We settled on that rather than either (1) having 2 tunnel commands that the user has to switch out depending on the step or (2) installing a proxy on the bastion and telling the user to set up hostnames in /etc/hosts or similar.
There's probably room for improvement in the walkthrough in terms of reinforcing via repetition which one is which. Maybe as simple as making them links, although they compete on cookies so at least one has to be opened in a private window.
Both ports are set up by $(terraform output -raw ssh_forward_command)
: https://github.com/equinix-labs/terraform-equinix-metal-nutanix-cluster/blob/5967718cb5ab9fab708e06aa4d98300399fc6a86/outputs.tf#L19
https://equinix-labs.github.io/nutanix-on-equinix-metal-workshop/parts/5-prism_central/
At stage : 4. Log in to Prism Central and Change its Password
asked to Login prism central at https://localhost:19440/
But At stage: Register the Prism Central VM asked to use port 9440 to connect VM
what is the difference in ports if it was intentional.?
(Originally https://github.com/equinix-labs/terraform-equinix-metal-nutanix-cluster/issues/69#issuecomment-2125089461)