Interacting with AWS Windows instances

When we interacted with our local Windows Vagrant box, it was not using a secure connection; let's look at launching a Windows EC2 instance in an AWS instance and then interacting with it like we did with the CentOS 7 instance in Chapter 10, Highly Available Cloud Deployments.

First of all, we need to create the folder structure for our new playbook:

$ mkdir cloud cloud/group_vars cloud/roles$ touch cloud/production cloud/site.yml cloud/group_vars/common.yml

Once we have the structure, we need to create four roles, starting with the AWS one.

Get Learn Ansible now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.