What Is Infrastructure as Code
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
related reading
- What is SST?sst.dev
- What is Infrastructure as Code with Terraform? | Terraform | HashiCorp Developerdeveloper.hashicorp.com
- What is AWS CDK?sst.dev
- What is the AWS CDK?docs.aws.amazon.com
- What is SST | SSTdocs.sst.dev
- Framework-defined infrastructure - Vercelvercel.com
- Together AI | The AI Native Cloudtogether.ai
- How I Dropped Our Production Database and Now Pay 10% More for AWSalexeyondata.substack.com
- OpenTofuopentofu.org
- Free for Developersfree-for.dev
- Create an SST appsst.dev
- What is Serverless Architecture? | Datadogdatadoghq.com