Skip to content
This repository has been archived by the owner. It is now read-only.
The EC2 Scheduler uses a recurring Lambda function to automatically start and stop EC2 instances based on either default schedule or custom schedule defined per EC2 instance. - Now found at
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
cform Adding kms:CreateGrant permission to support encrypted EBS volumues, … Jun 22, 2017
code Adding response code logging Dec 21, 2016
documentation Adding archive message to Readme and archive documentation. Apr 17, 2018


EC2 Scheduler has been superseded by AWS Instance Scheduler.

In 2016, the EC2 Scheduler was launched to help AWS customers easily configure custom start and stop schedules for their Amazon Elastic Compute Cloud (Amazon EC2) instances. In 2018, AWS launched AWS Instance Scheduler, a new and improved scheduling solution that enables customers to schedule Amazon EC2 instances, Amazon Relational Database Service (Amazon RDS) instances, and more. We encourage customers to migrate to AWS Instance Scheduler for future updates and new features.

Legacy templates, scripts, and documentation for EC2 Scheduler are available in this GitHub repository.


EC2 Scheduler is a simple AWS-provided solution that enables customers to easily configure custom start and stop schedules for their Amazon EC2 instances. The solution is easy to deploy and can help reduce operational costs for both development and production environments.

Source code for the AWS solution "EC2 Scheduler".

Cloudformation templates

  • cform/ec2-scheduler.template

Lambda source code

  • code/

Copyright 2016, Inc. or its affiliates. All Rights Reserved.

Licensed under the Amazon Software License (the "License"). You may not use this file except in compliance with the License. A copy of the License is located at

or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions and limitations under the License.

You can’t perform that action at this time.