Monitor resource usage and send notifications when approaching quotas - Quota Monitor for AWS

Monitor resource usage and send notifications when approaching quotas

Publication date: 2016 (last update: December 2022)

The Quota Monitor for AWS solution helps you monitor your Amazon Web Services (AWS) resource usage to avoid unexpectedly reaching quota limits (formerly referred to as limits). This solution uses AWS CloudFormation templates to automate the deployment by provisioning the infrastructure resources (also known as the stack) automatically.

The solution leverages AWS Trusted Advisor and Service Quotas to monitor resource utilization against quotas for specific AWS services. The solution can send you notifications via email or your existing Slack channel for requesting quota increases or shutting down resources before the quota is reached. For more information, refer to Quotas later in this document.

This implementation guide provides an overview of the Quota Monitor for AWS solution, its reference architecture and components, considerations for planning the deployment, configuration steps for deploying the solution to the Amazon Web Services (AWS) Cloud. It is intended for solution architects, DevOps engineers, AWS account administrators, and cloud professionals who want to implement Quota Monitor for AWS in their environment.

You can use this navigation table to quickly find answers to these questions:

If you want to ... Read ...
Know the cost for running this solution.

Cost

Understand the security considerations for this solution. Security
Know how to plan for quotas for this solution. Quotas
Know which AWS Regions this solution supports.

Supported AWS Regions

View or download the AWS CloudFormation templates included in this solution to automatically deploy the infrastructure resources (the “stack”) for this solution.

AWS CloudFormation templates

Features

The Quota Monitor for AWS solution provides the following features:

Monitor resource utilization for specific AWS services

The solution leverages AWS Trusted Advisor and Service Quotas to help you monitor resource utilization against quotas for specific AWS services.

Automated email and slack notifications

This solution can be configured to send notifications via email or your existing Slack channel. Once you receive a notification, you can take corrective measure such as requesting quota increases or shutting down resources.

Choice of deployment scenarios

This solution supports different deployment scenarios for when you are using AWS Organizations and when you are not. Refer to Choose your deployment scenario for more details.

Start monitoring accounts as they join your Organization

The solution uses CloudFormation StackSets to manage template deployments. The StackSets are configured to deploy to accounts that are added to a target organization or one or more organizations (OUs) in the future. This gives you the ability to monitor quotoas in the new accounts without manual intervention.

Use cases

Monitoring quotas across your AWS Organization or across Organization Units

You can monitor resource utilization across your AWS Organization or across different Organizational Units under your AWS Organization with the Organizations deployment mode in the quota-monitor-hub.template.

Monitoring quotas across, within, and outside your AWS Organization

You can monitor resource utilization across your AWS Organization or across accounts outside your AWS Organization with the Hybrid deployment mode in the quota-monitor-hub.template.

Monitoring quotas within an individual AWS account

You can monitor resource utilization within a single AWS account using the standalone quota-monitor-hub-no-ou.template packaged with the solution.

For more details, refer to Choose your deployment scenario later in this document.

Concepts and definitions

This section describes key concepts and defines terminology specific to this solution:

hub template

AWS CloudFormation template for AWS and all associated components in the primary AWS account that will be used to monitor quotas. See monitoring account.

limit

The maximum allocated value for a quota. The term limit was used previously as a synonym for quota.

monitored account

Secondary AWS accounts where a spoke CloudFormation template has been launched to support quota monitoring.

monitoring account

The primary AWS account where the hub CloudFormation template is deployed to monitor secondary AWS accounts.

organization

An entity that you create to consolidate and manage your AWS accounts. An organization has one management account along with zero or more member accounts.

organizational unit

A container for accounts within a root of an organization. An organizational unit (OU) can contain other OUs.

prerequisite template

AWS CloudFormation template used to fulfill the prerequisites needed for monitoring quotas across AWS Organizations.

quota

The maximum number of service resources, actions, operations, and items for your AWS account Previously known as limit. See quotas.

Service Quotas

An AWS service that helps you manage quotas for many AWS services from one location. Along with looking up the quota values, you can also request a quota increase from the Service Quotas console. See AWS service quotas.

spoke template

AWS CloudFormation template to launch the Quota Monitor for AWS solution and all associated components in secondary accounts to support quota monitoring (monitored accounts).

StackSets

AWS CloudFormation StackSets extend the capability of stacks by enabling you to create, update, or delete stacks across multiple accounts and AWS Regions with a single operation.

For a general reference of AWS terms, refer to the AWS glossary in AWS General Reference.