All ArticlesDevOps2026-11-26T21:58:36+08:00

eu-west-1 App Broke During a us-east-1 Outage? Find Calls to Global AWS Endpoints

Workloads deployed outside us-east-1 can still fail during a us-east-1 outage because some calls, such as the global STS endpoint or IAM and Route 53 control-plane operations, are served from that region. You will learn how to find these hidden dependencies with CloudTrail and SDK settings like AWS_STS_REGIONAL_ENDPOINTS, then confirm each call uses a regional endpoint.

Your application runs in eu-west-1. Your database is in eu-west-1. Your load balancer, your containers, your DNS records all point to eu-west-1. Then us-east-1 has an outage and your app breaks anyway. This is not a hypothetical edge case. It happens because several AWS API calls silently route to us-east-1 regardless of where your workload is deployed, and most teams never notice until those calls fail.

Why us-east-1 matters even when you do not use it

AWS is not a flat collection of identical regions. Some services have a single global control plane, and that control plane lives in us-east-1. The most common ones that catch people off guard:

  • IAM (Identity and Access Management): all IAM API calls (creating users, attaching policies, assuming roles) go through a global endpoint hosted in us-east-1. IAM data is replicated globally, but the write path and many read paths resolve there.
  • STS global endpoint: when your code calls sts.amazonaws.com to assume a role or get temporary credentials, that hostname resolves to us-east-1 by default. This is the big one, because almost every workload that uses IAM roles makes STS calls constantly.
  • Route 53: the control plane for creating and modifying DNS records is global, served from us-east-1. DNS resolution itself is distributed via edge locations, but if your deployment pipeline needs to update a record during failover, that API call goes to us-east-1.
  • CloudFront: distribution configuration changes go through a us-east-1 control plane.
  • AWS Organizations, Account management, and Billing APIs: all global.

The practical consequence: your eu-west-1 Lambda function assumes a role on every invocation. That AssumeRole call hits sts.amazonaws.com. If us-east-1 is degraded, the call times out or fails. Your function cannot get credentials. It cannot talk to DynamoDB, S3, or anything else. Your app is down in eu-west-1 because of a us-east-1 problem you thought you had no dependency on.

How the STS global endpoint actually resolves

When an AWS SDK makes an STS call, it constructs a request to a specific hostname. By default, many SDK versions (particularly older ones and SDK v1 for several languages) use sts.amazonaws.com, the global endpoint. DNS resolves this to IP addresses in us-east-1.

AWS also provides regional STS endpoints like sts.eu-west-1.amazonaws.com, sts.ap-southeast-1.amazonaws.com, and so on. These are served from infrastructure in that specific region. If us-east-1 goes down, sts.eu-west-1.amazonaws.com keeps working because it does not depend on us-east-1 infrastructure.

The difference is just a hostname, but the operational impact is enormous. One resolves to a region you do not control or monitor. The other stays local to your workload.

Finding global endpoint calls in CloudTrail

CloudTrail logs every AWS API call your account makes. Each event record includes an awsRegion field that tells you which region actually processed the request. For calls hitting the global STS endpoint, this field reads us-east-1 even if your workload runs in eu-west-1.

You can query CloudTrail (either through Athena if you have CloudTrail Lake or S3-based logs, or through the CloudTrail console event history) to find these calls. Here is an Athena query that surfaces STS calls processed in us-east-1 from resources that are not in us-east-1:

SELECT
  eventTime,
  eventName,
  awsRegion,
  sourceIPAddress,
  userAgent,
  requestParameters
FROM cloudtrail_logs
WHERE eventSource = 'sts.amazonaws.com'
  AND awsRegion = 'us-east-1'
ORDER BY eventTime DESC
LIMIT 100

Look at sourceIPAddress and userAgent in the results. If you see IP addresses belonging to your eu-west-1 VPC, or user-agent strings from your application's SDK, those are the calls that will break during a us-east-1 outage. The userAgent field typically includes the SDK name and version (something like aws-sdk-java/2.x.x or Boto3/1.x.x), which helps you trace back to the exact codebase or service making the call.

For IAM calls, filter on eventSource = 'iam.amazonaws.com'. These will almost always show awsRegion = us-east-1 because IAM has no regional endpoints for most operations. You cannot fix IAM the same way you fix STS, but knowing the dependency exists lets you design around it (for example, by caching credentials longer or pre-provisioning them).

Switching STS to regional endpoints

The fix for STS is straightforward. You tell the SDK to use the regional endpoint instead of the global one. There are several ways to do this, depending on your SDK version and language.

Environment variable (works across most SDKs):

export AWS_STS_REGIONAL_ENDPOINTS=regional

Set this in your container definition, Lambda environment variables, EC2 user data, or systemd unit file. When set to regional, the SDK constructs the STS hostname using the region it is configured for (e.g., sts.eu-west-1.amazonaws.com if AWS_DEFAULT_REGION or the SDK region config is eu-west-1).

AWS config file (~/.aws/config):

[default]
sts_regional_endpoints = regional

In code (varies by SDK): most SDKs let you specify the endpoint URL or set a regional endpoint mode when constructing the STS client. For newer AWS SDK versions (SDK v2 for Java, Go, etc.), regional STS endpoints may already be the default, but verify this for your specific SDK version rather than assuming.

After making the change, confirm it worked. Make an STS call and check CloudTrail again. The awsRegion field should now show your local region instead of us-east-1. You can also do a quick DNS check:

dig +short sts.eu-west-1.amazonaws.com

Compare the IPs returned to those from dig +short sts.amazonaws.com. They should be different, with the regional endpoint resolving to addresses in or near your region.

Services you cannot make regional

STS is fixable. IAM is not, at least not in the same way. IAM API calls always go to the global endpoint. You cannot point them at a regional alternative because one does not exist for most IAM operations.

This means:

  • If your application creates IAM roles, policies, or users at runtime (which is unusual but happens in some multi-tenant setups), those operations depend on us-east-1.
  • If your deployment pipeline modifies IAM during rollout, a us-east-1 outage can block deployments even to other regions.
  • Credential refresh via AssumeRole is STS (fixable), but the initial role and policy that STS references are IAM objects managed through the global control plane.

Route 53 record changes are similarly global. DNS queries resolve fine from edge locations worldwide, but if your failover automation needs to update a Route 53 record during a us-east-1 outage, that API call may fail. This is a particularly painful catch-22: the outage triggers your failover logic, which needs to change DNS, which calls Route 53's control plane in us-east-1, which is the thing that is broken.

The mitigation for these truly global services is architectural rather than configurational. Pre-provision what you can. Use health-check-based Route 53 failover records (which are evaluated at the edge, not through the control plane) instead of API-driven DNS changes. Cache credentials aggressively so a brief STS or IAM disruption does not immediately cascade.

Checking your full dependency surface

STS and IAM are the most common hidden dependencies, but they are not the only ones. A thorough audit looks like this:

  1. Query CloudTrail for all events where awsRegion = 'us-east-1' but the source is outside us-east-1. Group by eventSource to see which services are making cross-region calls.
  2. For each service that appears, check whether a regional endpoint exists. AWS documentation lists regional endpoints per service. If a regional endpoint exists and you are not using it, switch.
  3. For services with no regional alternative, document the dependency and decide on a mitigation: caching, pre-provisioning, or accepting the risk.
  4. Add a recurring check. Dependencies creep back in when someone adds a new SDK client without specifying the region, or when a new service integration defaults to the global endpoint.

If you run workloads across multiple regions for resilience, this audit is not optional. A multi-region architecture that silently funnels authentication calls through a single region is not actually multi-region. It is a single point of failure wearing a disguise.

The pattern here is the same one that shows up in DNS outage cascading failures: a dependency you did not realize was centralized turns a localized problem into a widespread one. The fix starts with visibility. Query CloudTrail, find the calls routing to us-east-1, and decide for each one whether you can regionalize it or need to design around it.