Home » Java » Enterprise Java » How to Setup Multifactor Authentication (MFA) for your AWS account

About Gaurav Bhardwaj

Gaurav Bhardwaj
Gaurav has done Masters in Computer Applications(MCA) and is working in Software development field for more than 10 years in Java/J2EE technologies. He is currently working with one of top MNC. He has worked on various frameworks like Struts, Spring, Spring Boot, Angular JS, JSF, Velocity, iBatis, MyBatis, Hibernate, JUnit, Mockito, Dozzer. He likes to explore new technologies and share his thoughts by writing a technical blog. He is the founder of JavaSolutionsGuide.blogspot.com.

How to Setup Multifactor Authentication (MFA) for your AWS account

Step 1 :

Go to AWS console and login with your username ,password.

Multifactor Authentication

Step 2 :

Go to Services -> IAM

Multifactor Authentication
Multifactor Authentication

Step 3 :

Click on Activate MFA on your root account

Multifactor Authentication

Step 4 :

Click on Manage MFA button on the screen in Step 3.

Multifactor Authentication

Step 5 :

Click on Assign MFA device.Select Virtual MFA device.

Multifactor Authentication

Step 6 :

Click continue.

Multifactor Authentication

Step 7 :

Install Google Authenticator app from Play store on your phone.

Step 8 :

Open Google Authenticator App on your phone.

Step 9 :

Click on + and then Scan a barcode from your phone.

Step 10 :

Click Show QR Code on amazon console screen that has showed up from step 6 .

Step 11 :

Scan bar code from your phone. It will show you authentication code. Put that code in Authentication Code 1 box. Then 2nd Authentication code will be displayed on your phone. Put that in the Authentication 2 box.

Step 12 :

Click on Activate Virtual MFA and you will get following popup with success message for assignment of Virtual MFA.

Multifactor Authentication

Step 13 :

Logout and open amazon console again and enter your username/password and click Sign in.

Multifactor Authentication

Step 14 :

Open Google Authenticator app from your phone. It will show up authentication code. Add that in the following screen and click submit.

Multifactor Authentication

Step 15 :

And you will be successfully logged in.

Multifactor Authentication

Thanks for reading.Please share it with someone you think this might be helpful.

Published on Java Code Geeks with permission by Gaurav Bhardwaj, partner at our JCG program. See the original article here: How to Setup Multifactor Authentication (MFA) for your AWS account

Opinions expressed by Java Code Geeks contributors are their own.

(0 rating, 0 votes)
You need to be a registered member to rate this.
Start the discussion Views Tweet it!
Do you want to know how to develop your skillset to become a Java Rockstar?
Subscribe to our newsletter to start Rocking right now!
To get you started we give you our best selling eBooks for FREE!
1. JPA Mini Book
2. JVM Troubleshooting Guide
3. JUnit Tutorial for Unit Testing
4. Java Annotations Tutorial
5. Java Interview Questions
6. Spring Interview Questions
7. Android UI Design
and many more ....
I agree to the Terms and Privacy Policy

Leave a Reply

avatar

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  Subscribe  
Notify of