---
title: "Discussion on \"Schedule the start and stop activities of your AWS EC2 instance using a Lambda function\" | Hashnode"
description: "Discussion on \"Schedule the start and stop activities of your AWS EC2 instance using a Lambda function\". here am going to explain how to create the lambda function to start and stop your ec2 instances in the scheduled time interval.\ngo to IAM\ncreate policy\n\nselect service as ec2\n\naction; start instance and stop instance\n\n\ninstance add arn\n\nspecify arn\n\n..."
url: "https://hashnode.com/posts/schedule-the-start-and-stop-activities-of-your-aws-ec2-instance-using-a-lambda-function/65ed59ea7153d75f256c7556"
---

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

Discussion

# [Schedule the start and stop activities of your AWS EC2 instance using a Lambda function](https://sundarpalanivel.hashnode.dev/schedule-the-start-and-stop-activities-of-your-aws-ec2-instance-using-a-lambda-function?utm_source=hashnode&utm_medium=feed)

here am going to explain how to create the lambda function to start and stop your ec2 instances in the scheduled time interval. go to IAM create policy select service as ec2 action; start instance and stop instance instance add arn specify arn ...

Mar 10, 2024 · 1 min read · sundarpalanivel.hashnode.dev  
Read the article

-   [#lambda](https://hashnode.com/tag/lambda)
-   [#aws-lambda](https://hashnode.com/tag/aws-lambda)
-   [#aws-lambda-for-beginners](https://hashnode.com/tag/aws-lambda-for-beginners)

## Written by

[Sundar blog](https://hashnode.com/@sundarvel)

@sundarvel · Chennai

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
