Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.Modify the auto-placement setting for an existing Amazon EC2 Dedicated Host
You can modify the auto-placement settings of a Dedicated Host after you have allocated it
to your AWS account.
- Console
-
- AWS CLI
-
To modify the auto-placement of a Dedicated Host
Use the modify-hosts command.
aws ec2 modify-hosts \
--auto-placement on \
--host-ids h-012a3456b7890cdef
- PowerShell
-
To modify the auto-placement of a Dedicated Host
Use the Edit-EC2Host cmdlet.
Edit-EC2Host `
-AutoPlacement 1 `
-HostId h-012a3456b7890cdef