Skip to content

Default region when logging to aws

0

I have setup aws sso identity center and im using mumbai in all accounts But when i try to login to a particular account it always take me to NV by default. How to fix

asked a year ago1.5K views

2 Answers
1

You can modify the relay state for the Permission Set associated with your login.

To specify AWS Console in Mumbai region, set value to https://ap-south-1.console.aws.amazon.com/console/home

AWS
EXPERT

answered a year ago

  • It's a good idea but can the same permission set be used for multiple accounts / different regions?

  • Permission set is at IDC mgmt acct level, so should work with different accts. Different permission set can have different relay state values. Can you configure relay state value in your IDC to verify?

0

When you log in to AWS, the console will default to the last region you visited if you haven't explicitly set a default region. This behavior could explain why you're being directed to North Virginia (us-east-1) instead of Mumbai.

To fix this issue and set Mumbai as your default region:

  1. Navigate to the Unified Settings page in the AWS Management Console by clicking the gear icon in the navigation bar
  2. Select "See all user settings"
  3. Click "Edit" next to "Localization and default Region"
  4. Choose Mumbai (ap-south-1) in the "Default Region" field
  5. Save your settings
  6. Optionally, click "Go to new default Region" to immediately switch to Mumbai

If you're specifically having issues with IAM Identity Center and regions, it's worth noting that IAM Identity Center is region-specific. If you've set up IAM Identity Center in one region (like Mumbai) but are trying to access it from another region (like North Virginia), you'll get an error message saying "You have already registered another region."

For IAM Identity Center configuration with the AWS CLI, ensure you're specifying the correct region (ap-south-1 for Mumbai) when running commands like 'aws configure sso'.
Sources
Setting the default Region in the AWS Management Console - AWS Management Console
Configure AWS CLI with SSO raise error regarding "primary email address is assigned in AWS Identity Center" | AWS re:Post
Cannot open IAM Identity Center / Region issue | AWS re:Post

answered a year ago

EXPERT

reviewed a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.