Cost
You are responsible for the cost of the AWS services used while running Instance Scheduler
on AWS. As of January 2023, the cost for running this solution with default settings in the
US East (N. Virginia) Region is approximately $9.90 per month in AWS Lambda
charges, or less if you have Lambda free
tier
Instance Scheduler on AWS is designed to run different numbers of AWS Lambda functions per run cycle. For example, if the solution is being used to manage both EC2 and RDS instances in one Region for two accounts (one account where the solution is deployed and the other account is a cross account), the solution will run five Lambda functions. One for the initial start of the process to handle CloudWatch Events, which is invoked based on the selected frequency (default: five minutes), and each service, account, and Region will be handled by an individual Lambda run (2 accounts x 2 services x 1 Region). The cost of the solution per run will depend on the number of instances being tagged and managed by the solution. As the number of EC2 and RDS instances increases, the Lambda run time also increases proportionately.
We recommend creating a budget
The costs in the following table are based on the following assumptions:
-
The solution is deployed in US East (N. Virginia) Region.
-
The solution is managing both EC2 and RDS instances.
-
The solution is managing instances in an additional account.
-
The total number of executions per day is 1,440 runs (Lambda is scheduled to run every five minutes).
-
The average run time for each Lambda is assumed as eight seconds (this depends upon the number of instances being scheduled).
-
The memory selected for the AWS Lambda 128 MB.
AWS service | Dimensions | Cost (per month) [USD] |
---|---|---|
AWS Lambda |
1,440 runs/24 hours 40 seconds per run (8 seconds for each Lambda) ($0.0000021/second/ run) |
$7.25 |
AWS CloudWatch Metrics (enabled) |
1 month per schedule or scheduled service |
$0.90 |
AWS DynamoDB |
1,080,000 (Write/ month) ($1.25 per million requests) |
$1.25 |
AWS DynamoDB |
1,080,000 (Read/ month) ($0.5 per million requests) |
$0.50 |
AWS DynamoDB |
<1GB (First 25 GB is free) |
$0.0 |
Total | $9.90 |
The cost is independent of the number of Amazon EC2 and RDS instances you are running. By default, this solution uses on-demand scaling for its Amazon DynamoDB tables to provide sufficient read and write capacity. The AWS services for this solution are listed under Additional Resources.
Prices are subject to change. For full details, refer to the pricing webpage for each AWS service you will be using in this solution.