Change the instance tenancy of a VPC - Amazon Elastic Compute Cloud

Change the instance tenancy of a VPC

You can change the instance tenancy of a virtual private cloud (VPC) from dedicated to default after you create it. Modifying the instance tenancy of a VPC does not affect the tenancy of any existing instances in the VPC. The next time that you launch an instance in the VPC, it has a tenancy of default, unless you specify otherwise during instance launch.

Alternatively, you can change the tenancy of specific instances. For more information, see Change the tenancy of an Amazon EC2 instance.

Limitations
  • You can't change the instance tenancy of a VPC from default to dedicated after it is created.

  • You can't modify the instance tenancy of a VPC using the AWS Management Console You can modify it using the AWS CLI, an AWS SDK, or the Amazon EC2 API.

AWS CLI
To modify the instance tenancy attribute of a VPC using the AWS CLI

Use the modify-vpc-tenancy command and specify the ID of the VPC and instance tenancy value. The only supported value is default.

aws ec2 modify-vpc-tenancy --vpc-id vpc-1a2b3c4d --instance-tenancy default
PowerShell
To modify the instance tenancy attribute of a VPC using the Tools for PowerShell

Use the Edit-EC2VpcTenancy cmdlet and specify the ID of the VPC and instance tenancy value. The only supported value is Default.

Edit-EC2VpcTenancy -VpcId vpc-1a2b3c4d -InstanceTenancy Default