flâneur — a map of the web's best reading

What Is Infrastructure as Code

sst.dev · 770 words · saved by 1 readers

Infrastructure as code in serverless is a way of programmatically defining the resources your project is going to use. In the case of AWS, we'll be using AWS CloudFormation.

SST converts your infrastructure code into a series of API calls to your cloud providers. Behind the scenes it uses Pulumi and Terraform , more on this below. Your SST config is a description of the infrastructure that you are trying to create as a part of your project. In our case we’ll be defining Lambda functions, API Gateway endpoints, DynamoDB tables, S3 buckets, etc. While you can configure this using the AWS console , you’ll need to do a whole lot of clicking around. It’s much better to configure our infrastructure programmatically. This general pattern is called Infrastructure as code

Explore this link on the map →

related reading