Testing CloudWatch metric alarms with LocalStack

LocalStack is a cloud service emulator designed for local development and testing of cloud applications. With LocalStack, you can test AWS CloudWatch metric alarms, to get notified on infrastructure failures — all on your local machine!In this video, you will learn how you can use a CloudWatch metric alarm to get notified automatically when your Lambda function invocations fail. You will also set up an email notification using the Simple Email Service (SES) and our Mailhog extension.## Resources• CloudWatch Docs: https://docs.localstack.cloud/user-guide/aws/cloudwatch/• LocalStack Extensions: https://docs.localstack.cloud/user-guide/extensions/• Mailhog extension: https://pypi.org/project/localstack-extension-mailhog

Related Talks

Fake It Till You Make It: Cloud Edition

Building and debugging cloud-native applications often involves slow CI/CD pipelines, hard-to-reproduce bugs, and the need for costly shared environments. LocalStack offers a better way — letting developers simulate real AWS services entirely on their local machine.In this presentation, Kiah Imani gives a hands-on walkthrough of building and testing AWS workflows locally with LocalStack. From Lambda functions to S3 pre-signed uploads and SNS/SQS pipelines, you'll see how to prototype, debug, and iterate on cloud-native apps without ever deploying to the cloud.### Resources- S3: https://docs.localstack.cloud/aws/services/s3/- Lambda: https://docs.localstack.cloud/aws/services/lambda/- SQS: https://docs.localstack.cloud/aws/services/sqs/- SNS: https://docs.localstack.cloud/aws/services/sns/- Repo: https://github.com/localstack-samples/sample-serverless-image-resizer-s3-lambda/

Learn More
Learn More
Develop and test your AI-powered cloud apps locally with LocalStack

Running AI/ML workloads in the cloud can be expensive, opaque, and difficult to iterate on. LocalStack changes this by enabling engineers to develop and test AI-powered cloud applications entirely locally, emulating services like SageMaker, Bedrock, Redshift, and Snowflake.In this presentation, Waldemar Hummer, CTO of LocalStack, demonstrates how to prototype and validate AI & ML data pipelines safely and cost-effectively using LocalStack’s cloud emulators. You’ll see how to emulate complex AI workflows, test integrations, and use “vibe coding” techniques confidently in a fully sandboxed local environment.

Learn More
Learn More
Deploy and Test Data Migration Pipeline with DMS

AWS Database Migration Service provides migration solutions from databases, data warehouses, and other types of data stores (e.g. S3, SAP). The migration can be homogeneous (source and target have the same type), but often is heterogeneous as it supports migration from various sources to various targets (self-hosted and AWS services).LocalStack supports DMS with selected use cases. In this session from LocalStack Community Meetup July '24, Mathieu Cloutier explores how to use LocalStack to migrate from a MariaDB database to an AWS Kinesis Stream. He goes over the differences between CDC and full load, and as a bonus you will see how easy it is to migrate from an external database to your Kinesis Stream — tested all on your local machine!Docs: https://docs.localstack.cloud/user-guide/aws/dms/

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