Search for Well Architected Advice
< All Topics
Print

How do you ensure sufficient gap between quotas and maximum usage to accommodate failover?

Ensure that a sufficient gap exists between the current quotas and the maximum usage to accommodate failover

When a resource fails or becomes inaccessible, it may still be counted against the service quota until it is successfully terminated. To ensure reliability, maintain a sufficient gap between current quotas and maximum usage to accommodate failover scenarios. This approach helps you manage unexpected resource demands and maintain service availability even during failures.

Establish failover planning champions in each team: Assign failover planning champions within each workload team to oversee quota management for failover scenarios. These champions are responsible for understanding how failover events impact resource usage, ensuring that sufficient quota headroom is available to handle overlaps during failures and replacements.

Provide training on failover planning and quota management: Train builder teams to account for failover scenarios when planning for service quotas. Training should include calculating potential resource overlaps, understanding the impact of network or availability failures, and using tools to monitor failover requirements. Proper training ensures that teams can effectively plan for resource needs during failover events, ensuring reliability.

Develop failover quota management guidelines and standards: Create clear guidelines for managing quotas with failover scenarios in mind. These guidelines should outline how to calculate the required quota gap, considering possible resource overlaps during network failures, Availability Zone failures, or Regional failures. Documented best practices help teams consistently apply appropriate headroom for resource reliability.

Integrate failover testing into CI/CD pipelines: Integrate testing for failover scenarios into CI/CD pipelines to ensure that workloads can operate reliably when resource limits are impacted by failover events. Automated tests can help identify whether sufficient quota headroom exists for overlapping resources, allowing workload teams to make necessary adjustments before deployment. This ensures that failover considerations are a part of the development lifecycle.

Define automated guardrails for failover quota management: Use automated tools to create guardrails that ensure sufficient gap between current quotas and maximum usage. Tools like AWS Service Quotas and AWS Config can automate monitoring of resource usage and enforce policies to maintain appropriate headroom. Automated guardrails help prevent resource shortages during failover events.

Foster a culture of proactive failover planning: Encourage builder teams to plan proactively for resource failures by ensuring sufficient quota headroom for failover scenarios. Recognize and reward teams that effectively calculate and maintain this gap to ensure high availability. Foster an open dialogue about lessons learned from failover events to improve future planning and reliability.

Conduct regular failover readiness reviews: Schedule regular reviews of workloads to assess readiness for failover scenarios. These reviews should evaluate whether current service quotas provide sufficient headroom to handle resource overlaps during failures and replacements. Including failover planning in regular reviews ensures ongoing focus on reliability and preparedness.

Leverage automation for consistent failover planning: Use Infrastructure as Code (IaC) tools like AWS CloudFormation or AWS CDK to automate resource configurations, ensuring that sufficient quota headroom is consistently maintained for failover. This approach helps prevent manual errors and ensures that architectural limits are always accounted for during failures.

Provide dashboards for visibility into failover quota planning: Use dashboards to provide visibility into the gap between current quotas and maximum usage, helping teams monitor whether sufficient headroom exists to accommodate failover. Tools like AWS Trusted Advisor and Amazon CloudWatch can help track usage trends and highlight potential risks related to insufficient failover planning. Dashboards help foster accountability and proactive management.

Supporting Questions

  • How do you ensure that builder teams account for failover scenarios when planning for service quotas?
  • What mechanisms are in place to verify that sufficient headroom is available to accommodate resource failures and failovers?
  • How do you validate that failover quota planning practices align with organizational standards for reliability?

Roles and Responsibilities

Failover Planning Champion (within Builder Team)

Responsibilities:

  • Monitor resource usage and ensure sufficient quota headroom for failover scenarios.
  • Coordinate failover planning efforts to account for resource overlaps and maintain reliability during failures.

Application Developer

Responsibilities:

  • Implement application logic that considers failover resource needs.
  • Use automated tools to validate the availability of sufficient resource headroom during development and testing.

Operations Team Member

Responsibilities:

  • Assist builder teams with calculating failover requirements and maintaining appropriate quota headroom.
  • Provide guidance and training to ensure alignment with best practices for accommodating failover scenarios.

Artifacts

Failover Quota Management Guidelines and Standards: A document outlining best practices for calculating and maintaining sufficient headroom for failover scenarios.

Training Resources for Failover Planning: Hands-on labs, workshops, and documentation to help teams understand how to manage quotas to accommodate resource failures.

Automated Failover Quota Configurations: Scripts and configurations that help automate monitoring and maintenance of the required quota gap for failover situations.

Relevant AWS Services

Training and Awareness Tools:

  • AWS Skill Builder and AWS Well-Architected Labs: Resources for learning how to plan for failover and manage resource headroom effectively.
  • AWS Trusted Advisor: Provides insights into current resource usage and highlights areas requiring additional quota for failover.

Failover Quota Management and Guardrails:

  • AWS Service Quotas: Manages and monitors service quotas to ensure sufficient resource availability for failover.
  • AWS Config: Tracks configuration changes and helps ensure workloads operate within limits that allow for failover headroom.
  • Amazon CloudWatch: Automates monitoring of resource usage and provides alerts to prevent resource shortages during failover events.

Monitoring and Visibility Tools:

  • Amazon CloudWatch: Tracks resource usage, provides metrics for monitoring failover readiness, and generates alerts when limits are approached.
  • AWS Trusted Advisor: Offers recommendations for managing resource usage and ensuring sufficient quota for failover events.
  • AWS CloudFormation: Codifies resource configurations to automate failover planning and ensure sufficient headroom for quota settings across environments.
Table of Contents