You can use the AWS CLI to launch an instance with AMD SEV-SNP enabled. You can't enable AMD SEV-SNP after launch.
To launch an instance with AMD SEV-SNP enabled, you must use the AWS CLI. Use the run-instances--cpu-options AmdSevSnp=enabled
option. For --image-id
,
specify an AMI with
the uefi
or uefi-prefered
boot mode and an operating system
that supports AMD SEV-SNP. For --instance-type
, specify a
supported instance type.
$
aws ec2 run-instances \ --image-idsupported_ami_id
\ --instance-typesupported_instance_type
\ --key-namekey_pair_name
\ --subnet-idsubnet_id
\ --cpu-options AmdSevSnp=enabled