How to add more devices to AWS root account MFA
System Design practice on Codemia
Work through 120+ system design problems with detailed solutions, from rate limiters to multi-region storage.
In the world of cloud computing, security is paramount. AWS (Amazon Web Services) provides a robust Multi-Factor Authentication (MFA) mechanism that enhances the security of your root account. An additional layer of protection against threats can be achieved by adding more devices to the AWS root account MFA. This comprehensive guide will walk you through the process of adding multiple MFA devices to the AWS root account and provide technical insights into MFA setup.
Understanding AWS MFA
Multi-Factor Authentication (MFA) in AWS requires users to provide two or more authentication factors to verify their identity. It consists of:
- Something you know - Typically a password or a pin.
- Something you have - A physical device such as a mobile phone or hardware key.
- Something you are - Biometric verification, though less commonly used in AWS MFA.
AWS supports various MFA devices, including virtual MFA applications (e.g., Authy, Google Authenticator) and hardware-based devices (e.g., YubiKey, Gemalto).
Adding More Devices to AWS Root Account MFA
Although AWS accounts can have only one MFA device enabled at a time for the root user, you can make provisions to switch between devices easily. Here is a step-by-step guide to managing and ensuring seamless transitions between MFA devices.
Step 1: Secure Your Current MFA Device
Before adding or changing any devices, ensure that your current MFA device is secure and operational. It will be required to authenticate any changes.
Step 2: Back-Up Your Current MFA Settings
AWS does not allow direct backup or copy of the MFA setup; however, you can:
- Save the QR code or the seed value (if provided) securely when setting up the MFA originally. These can be used to set up additional devices.
- Use an MFA app that supports export/import functionalities, if available.
Step 3: Register a New MFA Device
To "add" a new MFA device for practical purposes, you will be replacing the current one following these steps:
- Log in to the AWS Management Console using your root credentials and the MFA token from your currently configured device.
- Navigate to the IAM (Identity and Access Management) Dashboard.
- Select Users from the sidebar and choose your root account (Note: This step is primarily for IAM user MFA management; root account changes must be done through the root account directly).
- Under the 'Security Credentials' tab, find the option for “Manage MFA Device”.
- Select ‘Remove’ to deregister the current MFA device.
- Choose 'Add MFA', then select the device type for your new MFA setup:
- Virtual MFA device (e.g., using a mobile app).
- Hardware MFA device.
- Follow the on-screen instructions to configure your new device. This typically involves scanning a QR code or entering a seed value into your MFA app to generate time-based one-time passwords (TOTPs).
- Test your newly configured device by inputting two consecutive TOTPs.
Step 4: Document the Process
Once completed, securely log any relevant backup information for future use. It might be beneficial to archive recovery methods or communicate this with trusted personnel.
Key Points Summary
| Action | Details | Notes |
| Secure Current Device | Verify operational status | Needed to authenticate changes |
| Backup MFA Settings | Save QR or seed values | Secure backup for future use |
| Register New Device | Deregister, then add | Utilize IAM dashboard for guidance |
| Configure & Test | Input consecutive TOTPs | Ensures successful setup |
| Documentation | Record backup information | For administrative or recovery purposes |
Additional Tips and Considerations
- Security First: Always ensure that backup codes or seed values are stored using secure methods.
- Test Regularly: Conduct periodic tests of your MFA devices to ensure they are functioning as expected.
- Automate Alerts: Set up CloudWatch alarms or similar AWS mechanisms to notify you of unauthorized changes to MFA settings.
- Recovery Strategy: Define a procedure for recovery in case all MFA devices are lost or malfunction.
Adapting these practices ensures that your AWS root account remains a fortress against unauthorized access. Multi-Factor Authentication, when properly managed, can greatly reduce the risk of breaches and sustain operational security within your cloud environment.
Related reading
- How to add multiple keys for elastic beanstalk instance?
- How to add password to google cloud memorystore
- How to add primary sort key to an already existing table in AWS dynamo db?
- How to add SQS message attributes in SNS subscription?
- How to add new cluster in ArgoCD use config file of Rancher? - the server has asked for the client to provide credentials
- How to add self signed SSL certificate to jHipster sample app?
- How to add SSL certificate to AWS EC2 with the help of new AWS Certificate Manager service
- How to allow a Kubernetes Job access to a file on host

System Design Fundamentals
Build a strong foundation in designing scalable, reliable distributed systems.
View the courseTrack what you have practised
A free account saves your progress, solutions and study plan across every problem on Codemia.
System Design practice on Codemia
Work through 120+ system design problems with detailed solutions, from rate limiters to multi-region storage.