Project

Terraform (IaC)

Summary

A project for importing my infrastructure into Terraform, including my DR / fail over process.

Background

I have been helping to roll out IaC at work in order to bring our infrastructure into VCS, I have been very impressed at how simple and easy it has made making changes and applying them consistently across multiple resources.

I decided I would do the same thing for my own infrastructure. I was able to migrate all my current major AWS infrastructure into Terraform as well as setting up Terraform files for my DR / fail over setup.

Experience Gained

I have gained lots of experience in working with Terraform and how to manage multiple services across an entire account. It has also enabled me to save on cost and make all of my infrastructure consistent in a way that is simply too difficult to do by hand.

Having my DR / fail over setup inside my IaC project enables me to spin up new instances in a different region much faster than doing it all manually via the AWS console. Another major benefit is that I can you regular DR practise run through to enable me to iron out any issues with my setup before having to do it for real.

One of the more interesting things I have done is setting up my Terraform backend, I have the state file stored in S3 and replicated between two independent regions and a DynamoDB table set up to enable state locking, this is something that I was then able to set up at work to improve our continuing rollout of IaC.

Key Tech Used