I am working on an architecture on azure where I need to create 3 private subnets where I have a bunch of vms with private address only and no public address but I want them to contact outside for updates and all but none in outside world can contact them (normal private subnet thing). In aws it is really easy as we just have to define a nat gateway and place it in public subnet also there are bunch of information on internet on how to do it but almost nothing for Azure. May be there is no concept or terminology like different subnets on Azure.
How I am planning to do it on Azure
- Make a nat gateway and attach to all private subnets.
- Define a NSG where I will only define outbound traffic to 0.0.0.0/0 and no inbound from it.
- Default routes
Is this the right way to do it? any suggestions?