Infrastructure-as-Code with LocalStack—Building & testing your configurations locally!

Infrastructure-as-Code refers to the practice of defining and provisioning cloud resources using code and automation scripts, thus eliminating the need for manual configurations. With frameworks like AWS CloudFormation, AWS CDK (Cloud Development Kit), AWS Serverless Application Model (SAM), Pulumi, and Terraform, users can specify their desired infrastructure state in code, enabling rapid and consistent deployment of resources. However, as with any code, IaC scripts require thorough testing to ensure their correctness and proper functionality. Traditional cloud environments for testing can be expensive, slow, and error-prone due to complexities in provisioning and configuration. With LocalStack, you can leverage a local emulation of various cloud services, such as S3, DynamoDB, EKS, and more! LocalStack simulates these cloud services on a developer's machine, allowing for comprehensive and efficient testing of IaC scripts before deployment to actual cloud environments. In this video, we explain how you can use LocalStack to be more efficient and cost-effective at testing these major IaC frameworks: Terraform, Pulumi, Cloud Development Kit, CloudFormation, and Serverless Application Model. As organizations will continue to embrace IaC, cloud emulation framework like LocalStack will play an increasingly vital role in ensuring the quality and robustness of cloud infrastructure implementations.

Related Talks

Introducing AWS Lambda Web Functions: Deep Dive with AWS, with Samrat Karak (AWS) and Harsh Mishra (LocalStack)
Introducing AWS Lambda Web Functions: Deep Dive with AWS

AWS just released Lambda Web Functions, a major update to AWS Lambda. In this session, Samrat Karak, AWS Lambda Product Manager, explains what's new and where Web Functions are most useful. Then see how to run and test them locally with LocalStack before you run them in your cloud environments.

What you'll learn

  • What AWS Lambda Web Functions are, and why they matter
  • Where Web Functions are most useful, straight from the AWS Lambda team
  • How to run and test Web Functions locally with LocalStack
  • How to catch issues locally before you run them in your cloud environments
  • A live LocalStack demo of a Web Function running end to end, no AWS account required
Learn More
Learn More
What the YAML ! What Actually Happens After kubectl apply

Developers are used to running kubectl apply and waiting on the magic to happen resulting in a running Kubernetes pod. But what actually happens between entering the command and the deployment being ready? What's the reality behind the "magic"? In this talk, Kiah will dissect all the stages of a Kubernetes deployment in a way that is easy to understand. She'll walk through that deployment happening locally on LocalStack to inspect what's really going on at each stage. At the end of this session, attendees will have a deeper understanding of the Kubernetes deployment process that can help debug many common issues and will gain an understanding of how LocalStack enables local testing of Kubernetes.

‍

‍

Learn More
Learn More
Making your AWS cloud environment state persistent

Recreating the unique state of a cloud app environment is notoriously complex, making it difficult to diagnose bugs, collaborate with teammates, or even just pick up where you left off. Join us as we deep dive into LocalStack’s powerful state management and persistence features, exploring how to maintain, snapshot, and seamlessly share your local cloud environments using core features like persistence, Cloud Pods, and state files. Learn how to restore a previous state, share preconfigured environments with colleagues for collaboration or onboarding, or restore preset services and data for functional tests in CI. We'll also showcase LocalStack's new Model Context Protocol (MCP) integration, revealing how AI can manage, inspect, and automate your local cloud state.

Learn More
Learn More

Launch yourself in the world of local cloud development

Try for free
Try for free
Talk to Sales
Talk to Sales