Skip to content
This repository has been archived by the owner on Jan 30, 2021. It is now read-only.

Set up machines without public IP ? #205

Open
olibet opened this issue Sep 22, 2017 · 5 comments
Open

Set up machines without public IP ? #205

olibet opened this issue Sep 22, 2017 · 5 comments

Comments

@olibet
Copy link

olibet commented Sep 22, 2017

Hi,

I'm working on a (bash-script generated) Vagrantfile that up a big amount (100+) of machines on Azure.
The thing is that I only have 60 public IP available, and I don't really need public IP on thses machines. It's possible to set Public IP at NONE via the Azure portal, is there a way to do this through vagrant-azure ?

Thanks a lot,

Olivier

@devigned
Copy link
Member

Though I don't think public IP is optional right now, Vagrant-Azure could definitely deploy those machines without the public ip, but you would not be able to connect to sync files or ssh on the machine directly.

For a deployment with more machines than public IPs, if we were to enable sync and SSH features, I think we'd have to put all of the boxes behind a load balancer with a single public ip, then NAT traffic to the machines.

Do you need file sync and ssh?

@olibet
Copy link
Author

olibet commented Sep 25, 2017

Hey, thanks for the answer :)

I don't need ssh and file sync on these machines. I think about creating one machine with a public ip by network, and then access the other ones (if needed, few chances) from this one via RDP.

@wsmckenz
Copy link

Private IP is an absolute must. packer does it, don't know why vagrant cant. Also, like packer, you should be able specify an existing vnet in another rg. This is the only way this is useful in an enterprise environment.

@juju4
Copy link

juju4 commented Jan 26, 2020

If settings multiple systems, one can be used as jumphost for others.
Ansible does that with Windows and PSRP
https://docs.ansible.com/ansible/latest/plugins/connection/psrp.html

@mloskot
Copy link

mloskot commented Jan 27, 2020

I think, Hashicorp Terraform may serve as Vagrant alternative for more advanced set-up involving private networks and multi-machine.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants