How to Logout of Amazon Web Services

This may seem like a crazy thing to post about, however, there is this extremely annoying bug that occurs if you login incorrectly to Amazon Web Services, whether you are trying to access your EC2 or whatever.

Let me start from the beginning, let’s say you have a personal Amazon account (not a far stretch of the imagination I hope), and let’s say that you have a separate account with which you use to access AWS (also, not really straying from the norm here). Now, lets say you need to enter the AWS Console for some administration and it asks you to login.

Then you make a blunder and accidentally login as your normal self.

Well, now you’ve done it. You are re-directed to a page that states you have not yet signed up for the Amazon web services and would you pretty please like to sign-up? Well of course you don’t since you’re already signed up with another account.

Then you try to log out so you can log in with the right account, and that is when your nightmare begins.

Maybe you try going to just the normal site and logging out that way… nope, no good.

You try looking around the AWS pages… nothing, just more “Sign Me Up Scotty!”.

Then you start sweating and realize you might have to clear your cookies; maybe you don’t sweat, maybe you don’t care – but if you’re like me, you don’t like to clear your cookies on your browser. You like your cookies.

So you have the option of opening up another different browser, perhaps Firefox instead of Chrome this time and logging in that way.

Well of course you can login, navigate to the console and you can logout from there.

Well there’s the rub. You can use that link to log yourself out on the other browser of course.

Now occasionally it may slip your mind to copy that link and bookmark it for future use. Well no longer! I am here to give you that magical URL link so you can bookmark it and treasure it and love it.!doLogout

There, do you feel better and all warm and fuzzy?

I do.

Belisarius Smith consults as a software engineer, cloud engineer, and security adviser. He has a BSBA in Security Management and is currently completing graduate studies in the Engineering Department at Penn State University with a Masters of Software Engineering. When he isn't traveling, mountain climbing, or reading, he spends his spare time on personal side projects and studies.

  1. Reply Brian September 11, 2013 at 19:58

    Thank you! I was going insane trying to figure out how to log off of AWS in this exact scenario. It is amazing that this bug still exists.

  2. Reply Dan S October 8, 2013 at 08:22

    HALLELUJAH. Thank you!

  3. Reply Steven October 8, 2013 at 18:04

    Thank you! This has been driving me insane over the last couple months!

  4. Reply Stephan Dekker April 22, 2014 at 06:15


    My Firefox was stubbornly remembering an AWS account that I closed. It drove me mad!

    Solution worked for me.

Leave a Reply