Member-only story
AWS Serverless Provisioning: Terraform + Serverless Framework
Infrastructure as code has been one of the greatest changes in paradigm brought by DevOps in recent years. Behind are now the complicated provisioning, deployment, and release of cloud infrastructure processes, in which you had to follow a complicated list of steps to create your cloud resources by hand and copy/paste values all over the Amazon Management Console.
However, with new technologies, we end up wondering how to best make use of these tools. Which tools should you use to deploy my resources? Should you only use a single tool to reduce complexity? How to best manage all your different projects and cloud components?
In this article, I’d like to explore some of the concepts that I have discovered while working with Infrastructure as Code tools, more specifically Terraform and Serverless Framework. And have helped me to effectively manage cloud resources and serverless projects, while avoiding overhead and conflicts between these tools.
Infrastructure as Code (IaC)
So to begin from the start, what is Infrastructure as Code (IaC)? IaC allows you to automate provisioning of cloud resources, in a consistent and standardized way. The basic idea, and as the name implies, you declare your infrastructure using code or configuration files, and an…