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• Serverless Application ModelAs 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

How to install LocalStack Snowflake Emulator

In this video, you'll learn how to set up and integrate LocalStack's Snowflake Emulator to develop and test your Snowflake data apps in your local environment or CI pipelines. Whether you're using Snowpark, various client libraries, or building interactive data apps with frameworks like Streamlit, this emulator simplifies your developer experience.We'll walk you through step-by-step instructions on:- Installing the Snowflake emulator with the LocalStack CLI & Docker- Configuring and integrating the emulator with popular SQL clients, such as DBeaver- Running SQL queries locally to replicate a full Snowflake environment without cloud dependencies⚡ Get early access! The Snowflake Emulator is currently in public preview—reach out via the link below for access and start building today!## Resources- LocalStack for Snowflake documentation: https://snowflake.localstack.cloud/- LocalStack for Snowflake samples: https://github.com/localstack-samples/localstack-snowflake-samples- Get access: https://www.localstack.cloud/contact

Watch recording
Watch recording
Smooth transition from local development to production for your AWS-powered applications

Running your Spring Boot app on AWS for production is common, but testing there can be slow and costly. In this video, we’ll show you how to speed up development using LocalStack.By provisioning your infrastructure with Terraform, you can easily switch to local testing in just three steps:1. Configure your dev environment variables2. Start LocalStack in Docker3. Run your IaC filesGet faster feedback and reduce costs by testing locally with LocalStack!## ResourcesThis project is available in both the open-source and pro versions. LocalStack Pro significantly simplifies development by using Transparent Endpoint Injection.• Project using LocalStack OSS: https://github.com/localstack-samples/sample-shipment-list-demo-lambda-dynamodb-s3• Project using LocalStack Pro: https://github.com/localstack-samples/sample-pro-version-shipment-list-demo-lambda-dynamodb-s3## Documentation• Transparent Endpoint Injection: https://docs.localstack.cloud/user-guide/tools/transparent-endpoint-injection/• Terraform for LocalStack: https://docs.localstack.cloud/user-guide/integrations/terraform/• LocalStack Lambda: https://docs.localstack.cloud/user-guide/aws/lambda/• LocalStack S3: https://docs.localstack.cloud/user-guide/aws/s3/• LocalStack DynamoDB: https://docs.localstack.cloud/user-guide/aws/dynamodbstreams/• LocalStack SQS: https://docs.localstack.cloud/user-guide/aws/sqs/• LocalStack SNS: https://docs.localstack.cloud/user-guide/aws/sns/

Watch recording
Watch recording
AWS Data Streaming with LocalStack in Action

In this session, Maximillian Hoheiser discussed developing & testing AWS Data Streaming with LocalStack! In this talk, he focused on Kinesis Data Firehose, an AWS service that allows you to extract, transform, and load streaming data into various destinations like Amazon S3.He dived into how to set up testing for Kinesis Firehose and seamlessly integrated it with other services using Boto3 and CDK/CloudFormation. Maximillian led a live demonstration, showcasing how to set up a practical business case, implement it, and rigorously test it using LocalStack.

Watch recording
Watch recording

Launch yourself in the world of local cloud development

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