In a previous post we learnt how to deploy a Minecraft Server with an Ansible playbook in an AWS Server.

Today we are going to learn how to deploy automatically not only the Minecraft Server but the whole infrastructure in AWS: VPC, subnets, route tables, elastic ips, security groups etc. with Terraform.

We are going to use Terraform for creating the infrastructure as a code and deploy software with Ansible.

Source code available in: