ladderlore
ガイドをリクエスト
  • S3 や IAM などのサービス名を入力してください。

サービス · Management and Governance · CLF-C02 の発展

Service Quotas

Raise quotas in the standby Region too, handle throttling with backoff, and watch usage before it bites.

このレッスンはまだ翻訳されていないため、英語で表示しています。

クラウドプラクティショナーで学んだこと

  • Quotas are the maximum numbers of resources and actions in an account. Most apply per Region.
  • Service Quotas shows your usage and lets you request increases. Trusted Advisor flags quotas above 80 percent.
  • Large increases need review, so ask early.
クラウドプラクティショナーのレッスンを読む
  • Resource quota

    Example
    Running vCPUs, VPCs, Elastic IPs
    Response
    Request an increase, per Region
  • API rate limit

    Example
    Requests per second to an API
    Response
    Backoff, batching, caching
  • Account concurrency

    Example
    Lambda concurrent executions
    Response
    Raise it, or reserve per function
  • Fixed limit

    Example
    Cannot be raised
    Response
    Redesign: split or shard
  • Early warning

    Example
    Usage near a quota
    Response
    Service Quotas alarm, Trusted Advisor
Quotas count resources. Throttling counts requests.

1 / 2

  • Resource quota

    Example
    Running vCPUs, VPCs, Elastic IPs
    Response
    Request an increase, per Region
  • API rate limit

    Example
    Requests per second to an API
    Response
    Backoff, batching, caching

2 / 2

  • Account concurrency

    Example
    Lambda concurrent executions
    Response
    Raise it, or reserve per function
  • Fixed limit

    Example
    Cannot be raised
    Response
    Redesign: split or shard
  • Early warning

    Example
    Usage near a quota
    Response
    Service Quotas alarm, Trusted Advisor
Quotas count resources. Throttling counts requests.

概要

Quotas are per Region. A disaster recovery plan that fails over to another Region can hit limits there that you never raised: vCPUs for EC2, number of instances, Elastic IPs, VPCs, Lambda concurrency. Check and raise the quotas in the standby Region before you need them. Some increases are approved at once and others take time, so do not wait for the disaster.

概要

There are two kinds of limits. Quotas cap how many resources you can have. API rate limits (throttling) cap how many requests you can send per second. When you exceed a rate limit, the service returns an error such as ThrottlingException, 429 or RequestLimitExceeded. The AWS SDKs retry these calls automatically with exponential backoff and jitter. If throttling continues, slow the caller, batch requests, cache results, spread the load, or ask for a higher limit if it is adjustable.

概要

Service Quotas can create CloudWatch alarms that fire when usage nears a quota, and Trusted Advisor flags common quotas above 80 percent. Plan quotas into scaling: an Auto Scaling group cannot launch more instances than your vCPU quota allows, and a burst of Lambda functions stops at the account concurrency limit.

覚えること

  • Quotas are per Region. Raise them in the standby Region too.
  • Quota: how many resources. Throttle: how many requests per second.
  • Throttled calls return 429 or ThrottlingException. Retry with backoff and jitter.
  • Service Quotas alarms and Trusted Advisor warn before the limit.
  • Auto Scaling stops at the vCPU or instance quota.

覚えること

  • Some quotas are fixed. Redesign instead of asking.

試験では

  • “The DR Region cannot launch enough instances during failover” points to raising quotas in the DR Region in advance.
  • “Requests fail with throttling errors during bursts” points to exponential backoff with jitter, or batching.
  • “Warn before a limit is reached” points to a Service Quotas alarm in CloudWatch, or Trusted Advisor.