DEV Community

Cover image for Goodbye Logouts: Manage Multiple AWS Accounts on One Browser!
Tanushree Aggarwal
Tanushree Aggarwal

Posted on

Goodbye Logouts: Manage Multiple AWS Accounts on One Browser!

Introduction

Are you tired of constant toggling between multiple AWS accounts? Is having multiple browser windows, just so you can access different AWS account simultaneously reducing your overall efficiency?

If this is something you still struggle with, I have great news for you!

AWS has now introduced multi-session support for web browsers!

These can be root accounts, IAM users or federated roles - across the same or different AWS accounts (current maximum concurrent session limit is 5).

Continue reading to learn how to enable this feature...

Cost

This is a free feature, and does not incur any cost to the user.

Implementation

In order to be able to do so, we need to enable Multi Session (which can also be disabled anytime we no longer wish to use.

  1. Sign in to the AWS Management Console of the account you wish to enable the feature.

  2. On the top right navigation pane, click your account name to expand the dropdown list.

  3. Click Turn on multi-session support. Do the same at the next screen.
    Image description
    Image description

  4. Your browser window should immediately get refreshed. Notice that the browser URL has changed! The new one has your AWS account ID and a unique string combination. Bookmark this URL for future use.
    Multi-session support is now enabled for the current account+user.

  5. To enable the same for more users in the same account, click Add sessions in your account dropdown list.
    Image description

  6. Enter the credentials. This can be an IAM user, Root user or Federated roles of the same or a different account altogether, and a new sub-domain URL is now created for the second user! Remember to bookmark this URL as well!
    Image description

  7. Switch between both the open tabs. You are logged in as different accounts in each! You can access upto 5 such login URLs simultaneously in a web browser.

Remember, this is the limit for a single web-browser, and is not an account specific limit. If you try accessing more than five, you will be asked to logout from one of the existing sessions.

Image description

Disabling Multi-Session

Disabling the feature is as easy as enabling it. Simply click the Turn off multi-session support
Image description

Image description

References

https://aws.amazon.com/about-aws/whats-new/2025/01/aws-management-console-simultaneous-sign-in-multiple-accounts/

Banner image is AI generated

Top comments (1)

Collapse
 
joyshaheb profile image
Joy Shaheb

Super cool feature! I never knew it existed, would be using it everyday !