---
title: "Discussion on \"Automating EC2 Deployment with Terraform and Lambda: A Guide to Stop Instances and Send Notification with SNS.\" | Hashnode"
description: "Discussion on \"Automating EC2 Deployment with Terraform and Lambda: A Guide to Stop Instances and Send Notification with SNS.\". I’d like to demonstrate how you can deploy EC2 instances using Terraform. And create a lambda function to stop these instances and trigger relative notification using SNS.\nWhat is EC2?\n\nAmazon EC2 (Elastic Compute Cloud) is a foundational service wit..."
url: "https://hashnode.com/posts/automating-ec2-deployment-with-terraform-and-lambda-a-guide-to-stop-instances-and-send-notification-with-sns/65ee0732a905f97bb00e090a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Automating EC2 Deployment with Terraform and Lambda: A Guide to Stop Instances and Send Notification with SNS.](https://ashwinisagare.hashnode.dev/automating-ec2-deployment-with-terraform-and-lambda-a-guide-to-stop-instances-and-send-notification-with-sns?utm_source=hashnode&utm_medium=feed)

I’d like to demonstrate how you can deploy EC2 instances using Terraform. And create a lambda function to stop these instances and trigger relative notification using SNS. What is EC2? Amazon EC2 (Elastic Compute Cloud) is a foundational service wit...

Mar 10, 2024 · 5 min read · ashwinisagare.hashnode.dev  
Read the article

-   [#lambdatrigger](https://hashnode.com/tag/lambdatrigger)
-   [#terraform](https://hashnode.com/tag/terraform)
-   [#aws-lambda](https://hashnode.com/tag/aws-lambda)
-   [#cloudwatch](https://hashnode.com/tag/cloudwatch)
-   [#aws-sns](https://hashnode.com/tag/aws-sns)
-   [#automation](https://hashnode.com/tag/automation)
-   [#terraform-module](https://hashnode.com/tag/terraform-module)

## Written by

[Ashwini Avinash Sagare](https://hashnode.com/@ashwinisagare)

@ashwinisagare

  
[View profile](https://hashnode.com/@ashwinisagare)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
