<commit_before>---
layout: post
title: "Provision Windows on AWS using Terraform and Ansible"
published: true
---
![alt text](https://github.com/mhmdio/mhmdio.github.io/raw/master/images/terraform-ansible.jpg)

You can define you infrastructure as a code using Terraform and Ansible, and update and configure you Windows systems easily, all source code will be manage with github/bitbucket.

Terraform can be used to define and provision you network stack and Server stack by planing and aplying templates and modules.

Windows EC2 instances can be setup using Terraform.

Ansible can be used to pick up the Windows ec2 instances and configure them using roles and playbooks.

Ansible AWX is a UI for controling roles and playbooks and make it easy for one dashboard to control all tasks related to windows EC2 instances.

The following diagram explain the process.<commit_msg>fix type<commit_after>---
layout: post
title: "Provision Windows on AWS using Terraform and Ansible"
published: true
---
![alt text](https://github.com/mhmdio/mhmdio.github.io/raw/master/images/terraform-ansible.png)

You can define you infrastructure as a code using Terraform and Ansible, and update and configure you Windows systems easily, all source code will be manage with github/bitbucket.

Terraform can be used to define and provision you network stack and Server stack by planing and aplying templates and modules.

Windows EC2 instances can be setup using Terraform.

Ansible can be used to pick up the Windows ec2 instances and configure them using roles and playbooks.

Ansible AWX is a UI for controling roles and playbooks and make it easy for one dashboard to control all tasks related to windows EC2 instances.

The following diagram explain the process.
{'fraction_non_alphanumeric': 0.048027444253859346, 'fraction_numerical': 0.003430531732418525, 'mean_word_length': 4.608974358974359, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1790010', 'n_tokens_mistral': 461, 'n_tokens_neox': 444, 'n_words': 246}