-2

I have a public VM on azure which I need to make private , I have ansible awx to make some installations and configurations on it in the future, what is the best and most secure way to establish the connection without exposing the VM to the internet

Until now, the solution I came up with is making connection via VPN , either azure VPN or a third-party VBN

tech-nerd
  • 1
  • 1
  • 1
    Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. – Community Apr 27 '23 at 12:34

1 Answers1

0

For my understanding, the best way to establish a secure connection between your "on Prem" site and the Azure VM is creating a VPN tunnel. If you cannot create the VPN tunnel, another "potential" solution able to reduce the VM exposure is using Azure JIT: in an automated fashion, you can enable the TCP port (used by Ansible) just the time needed for the installation and configuration tasks.

Nico
  • 199
  • 1
  • 8