A company is migrating an application from an on-premises VMware environment to Amazon EC2 and must preserve the software and configuration settings. What should the solutions architect do to meet these requirements?
Choose an answer
Tap an option to check your answer.
Correct answer: Use the VMware vSphere client to export the application VM as an OVF package. Create an S3 bucket in the target AWS Region to store the OVF. Create and attach an IAM role for VM Import. Use the AWS CLI to run the EC2 import-image command to import the VM..
Why this is the answer
The correct solution leverages AWS VM Import/Export, a service specifically designed to import virtual machine images from on-premises virtualization environments (like VMware) into Amazon EC2 as AMIs. Exporting the VM as an OVF package from vSphere, uploading it to S3, and then using the import-image command is the standard and most direct method for this migration, preserving the software and configuration. The other options are less suitable: DataSync and FSx for Windows File Server are for file system replication, not VM migration. VM Import/Export is still needed. Storage Gateway (file gateway) is for file storage, not directly for converting a VM backup into an AMI for EC2. Systems Manager and AWS Backup are for managing and backing up existing instances, not for the initial migration of an on-premises VM into an EC2 AMI in this manner. While AWS Backup can create AMIs from EC2 instances, it's not designed for direct conversion of on-premises VM backups into AMIs for initial import.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed