Loading

    Infrastructure as Code (IaC) on AWS

    Adam ElmoreAdam Elmore

    Understanding Infrastructure as Code

    We've come a long way in setting up our AWS environment, but now it's time to start building and deploying applications. Instead of manually creating resources through the AWS console, we'll be using a concept called infrastructure as code.

    As a web developer, you may not have had to think much about infrastructure. You've likely built applications or features and handed off your code to a service provider like Vercel for deployment. However, this tutorial aims to empower you to take ownership of infrastructure and build complex systems without much effort by understanding the underlying infrastructure requirements for your application.

    We're lifting the veil on how these third-party services work under the hood, allowing you to build richer applications.

    What is Infrastructure as Code?

    Infrastructure as code is the practice of codifying your infrastructure requirements alongside your application code. Instead of manually creating resources like databases, queues, buckets, and CDNs, you explicitly declare them in your codebase.

    To implement infrastructure as code, we need frameworks like Terraform, Pulumi, AWS CDK, AWS SAM, and CloudFormation. In this tutorial, we'll be using SST (Serverless Stack Toolkit), a newer framework that works well with modern web frameworks like Next.js, Astro, SolidStart, and SvelteKit.

    Transcript

    Loading...