Last Updated on November 18, 2021 by Admin 3
An application you maintain consists of multiple EC2 instances in a default tenancy VPC. This application has undergone an internal audit and has been determined to require dedicated hardware for one instance. Your compliance team has given you a week to move this instance to single-tenant hardware.
Which process will have minimal impact on your application while complying with this requirement?
- Create a new VPC with tenancy=dedicated and migrate to the new VPC
- Use ec2-reboot-instances command line and set the parameter “dedicated=true”
- Right click on the instance, select properties and check the box for dedicated tenancy
- Stop the instance, create an AMI, launch a new instance with tenancy=dedicated, and terminate the old instance
Explanation:
You cannot change the tenancy of a default instance after you’ve launched it.
You can change the tenancy of an instance from “dedicated” to “host” after you’ve launched it, and vice versa.
You cannot change the tenancy of a default instance after you’ve launched it.
You can change the tenancy of an instance from “dedicated” to “host” after you’ve launched it, and vice versa.