---
title: "Stopping EC2 Instances on a Schedule using Boto3, Lambda, and EventBridge"
url: https://daily.dev/posts/stopping-ec2-instances-on-a-schedule-using-boto3-lambda-and-eventbridge-3ksnvgzzu
source_url: https://awstip.com/stopping-ec2-instances-on-a-schedule-using-boto3-lambda-and-eventbridge-9df253daa037
type: article
source: "AWS Tip"
published: 2024-03-27T19:44:01.405Z
updated: 2024-05-09T09:06:08.895Z
tags: ["aws", "python", "aws-lambda", "boto3"]
reading_time: 1
upvotes: 4
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Stopping EC2 Instances on a Schedule using Boto3, Lambda, and EventBridge

**[AWS Tip](https://daily.dev/sources/awstip)** · 1 min read · 4 upvotes · 0 comments

## Summary

Learn how to stop EC2 instances on a schedule using Boto3, Lambda, and EventBridge. Deploy a Python script as an AWS Lambda function and create a trigger to run it on a schedule.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://awstip.com/stopping-ec2-instances-on-a-schedule-using-boto3-lambda-and-eventbridge-9df253daa037>

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 0 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#aws](https://daily.dev/tags/aws), [#python](https://daily.dev/tags/python), [#aws-lambda](https://daily.dev/tags/aws-lambda), [#boto3](https://daily.dev/tags/boto3)

[View this post on daily.dev](https://daily.dev/posts/stopping-ec2-instances-on-a-schedule-using-boto3-lambda-and-eventbridge-3ksnvgzzu)
