Homepage  »  Amazon Web Services Solutions  »  Amazon Web Services Instance Scheduler

Amazon Web Services Instance Scheduler

Homepage  »  Amazon Web Services Solutions  »  Amazon Web Services Instance Scheduler

Amazon Web Services Instance Scheduler

Overview

The Instance Scheduler solution helps you control your Amazon Web Services resource cost by configuring start and stop schedules for your Amazon Elastic Compute Cloud (Amazon EC2) and Amazon Relational Database Service (Amazon RDS) instances.

It also helps reduce operational costs by stopping resources that are not in use and starting resources when capacity is needed. For example, a customer can use Amazon Web Services Instance Scheduler in a production environment to automatically stop instances outside of business hours every day.

Benefits

Cross-account instance scheduling
This solution includes a template that creates the Amazon Identity and Access Management (IAM) roles necessary to start and stop instances in secondary accounts.
Cross-account instance scheduling
This solution includes a template that creates the Amazon Identity and Access Management (IAM) roles necessary to start and stop instances in secondary accounts.
Automated tagging
Instance Scheduler can automatically add tags to all instances it starts or stops. The solution also includes macros that allow you to add variable information to the tags.
Automated tagging
Instance Scheduler can automatically add tags to all instances it starts or stops. The solution also includes macros that allow you to add variable information to the tags.
Configure schedules or periods using Scheduler CLI
This solution includes a command line interface (CLI) that provides commands for configuring schedules and periods. The CLI allows customers to estimate cost savings for a given schedule.
Configure schedules or periods using Scheduler CLI
This solution includes a command line interface (CLI) that provides commands for configuring schedules and periods. The CLI allows customers to estimate cost savings for a given schedule.
Configure schedules or periods using SSM maintenance window
For EC2 instances, Instance Scheduler can use SSM maintenance windows defined in the same Region as the instances, and start and stop the instances for the maintenance window.
Configure schedules or periods using SSM maintenance window
For EC2 instances, Instance Scheduler can use SSM maintenance windows defined in the same Region as the instances, and start and stop the instances for the maintenance window.

Technical details

The diagram below presents the architecture you can automatically deploy using the solution's implementation guide and Amazon CloudFormation template.

Amazon Web Services Instance Scheduler

1. The Amazon CloudFormation template sets up an Amazon CloudWatch event at a customer-defined interval. This event invokes the Instance Scheduler Amazon Lambda function. During configuration, the user defines the Amazon Web Services Regions and accounts, as well as a custom tag that Amazon Web Services Instance Scheduler will use to associate schedules with applicable Amazon EC2 and Amazon RDS instances.

2. These values are stored in Amazon DynamoDB, and the Lambda function retrieves them each time it runs. You can then apply the custom tag to applicable instances.

3. During initial configuration of the Instance Scheduler, you define a tag key you will use to identify applicable Amazon EC2 and Amazon RDS instances. When you create a schedule, the name you specify is used as the tag value that identifies the schedule you want to apply to the tagged resource. For example, a user might use the solution’s default tag name (tag key) Schedule and create a schedule called uk-office-hours. To identify an instance that will use the uk-office-hours schedule, the user adds the Schedule tag key with a value of uk-office-hours.

Use cases for this Amazon Web Services Solution
Management & Governance
About this deployment
Version
1.4.0
Released
03/2020
Author
Amazon Web Services
Est. deployment time
5 mins
Source code
Explore all Amazon Web Services Solutions

Browse our portfolio of Amazon Web Services-built solutions to common architectural problems.

Learn more 
Find a Partner

Find Amazon Web Services certified consulting and technology partners to help you get started.

Learn more 
Start building in the console

Sign-up and start exploring our services.

Get started 
Close
Hot Contact Us

Hotline Contact Us

1010 0766
Beijing Region
Operated By Sinnet
1010 0966
Ningxia Region
Operated By NWCD