oliverdavies.uk/source/_daily_emails/2023-03-08.md

1 KiB

title pubDate permalink tags
Automating infrastructure with IaC 2023-03-08 archive/2023/03/08/automating-infrastructure-with-iac
devops

Are you responsible for creating and maintaining resources like GitHub repositories, DigitalOcean servers, Amazon S3 buckets and Cloudfront distributions or DNS records in Cloudflare?

Do you do that through the various web UIs?

I'd recommend looking into infrastructure as code tools such as Ansible, Terraform and Pulumi.

You can create, manage and destroy these resources by writing text files rather than clicking around in web UIs, which you can store and share using version control tools.

Infrastructure as code (IaC) tools are something that I use when working with infrastructure, whether it's for a client project or a talk demo (this uses Terraform to create an Amazon S3 bucket and Cloudflare distribution, link it to an SSL certificate and create my DNS records - all automatically).