In this chapter, you set up your development environment and got it ready to build upon. For
AWS, you deployed the following infrastructure:
- A Virtual Private Cloud(VPC)
- A subnet
- An internet gateway
- A route for public traffic into the VPC
- Windows EC2 instance with
Windows Server 2019Amazon Machine Image(AMI)
- Linux EC2 instance with
Red Hat Enterprise Linux 8Amazon Machine Image(AMI)
Azure, you deployed:
- Virtual network
- Public IP address
- Network Security Group
- Network interface
Windows Server 2019virtual machine
Linuxvirtual machine running
Once deployed, we explored the connection options to content with the infrastructure using
Ansible uses the following tools to connect to the virtual machines:
WinRMto connect to Windows hosts.
SSHto connect to Linux hosts.
You installed the missing tools in our environment to connect to the deployed instances:
Delete the environments
In case you are going to visit the rest of the course later, you can delete the infrastructure to avoid any unexpected bills.
Disclaimer: Run the playbook at your own risk!
It is highly recommended you use a development AWS account and Azure subscription before executing these playbooks.
To connect to the infrastructure deployed to both
Azure, you installed the following packages:
sshpassfor connecting to Linux Hosts.
winrmfor connecting to Linux Hosts.
Review the updated