Infrastructure as code

When you’re creating the infrastructure, configuring the servers, the networking, the VPCs, and the tunnels, there is usually a process for getting it to work.

You get something wrong; you check the logs, you fix the problem, and you try again. Repeat.

Eventually, you get the whole setup to a state where everything works. That’s fantastic.

Until you have to replicate it.

And now you’d need to reverse-engineer all those tiny decisions, the permissions, the initial misconceptions and misconfigurations.

But there’s a better way if you put your infrastructure as code.

That way, you document all the small configurations you’d otherwise make by hand and forget about five minutes later.

If you are forced to document everything, you end up with a reproducible recipe.

Do you want to bake another cake? Just follow the same recipe.

tl;dr played around with terraform to set up prod, loved it.

Yours,

Taj

All writing