davidski / vulnpryer-aws-orchestration

🎯☁️Automated deployment of a VulnPryer pipline on AWS
http://vulnpryer.net
2 stars 2 forks source link

Need ability to specify assign public IPs on layers #2

Closed davidski closed 9 years ago

davidski commented 9 years ago

The VulnPryer layer needs the ability to specify the assign public IP option. Current OpsWork stack does not run behind NAT and needs to communicate directly out to get to OpsWorks, S3, EBS, etc. Note that we may move to NAT for this stack in the future so this should be an option.

davidski commented 9 years ago

I think I can just edit the deploy script to set the auto_assign_public_ips to True for my layers. Please confirm and I can make the edits myself without introducing new flags and config options.

abbyyacat commented 9 years ago

You are correct. http://boto.readthedocs.org/en/latest/ref/opsworks.html#boto.opsworks.layer1.OpsWorksConnection.create_layer

Although take note that this will not work if the instance is behind a NAT and not in a public subnet.

davidski commented 9 years ago

Thanks. Commit 69d28e49343dffa4b3d041347d85c2961b194d03 flips this flag.