More Infrastructure as Code Fun
- Richard Murphy

- Sep 17, 2018
- 1 min read
9/17/2018 Richard Murphy
Part two of the IaaC quick and dirty demo. This demo will automate spinning up AWS EC2 virtual machines instead of the VMware virtual machines we saw in the first part of this series. Most of the same Ansible playbooks were used, but swapping out one that builds EC2 instances instead of VMware instances. One other notable difference was the use of public DNS instead of the private DNS used on the private network in the VMware demo. Where DHCP took care of setting the DNS name automatically for us in our private lab, we had to include this step in our automation in order to have public DNS resolve our new machine. This allowed us to easily reference the new VM by name just like we did on our private network. Configuration as code is still key to the end of this demo, as we show that we update the same Apache configuration files as we did in the first part.




Comments