Skip to content

Instantly share code, notes, and snippets.

@salewski
Forked from restump/cli.sh
Created January 15, 2019 21:55
Show Gist options
  • Save salewski/2094563a53e90996bb1dc9c966e2083d to your computer and use it in GitHub Desktop.
Save salewski/2094563a53e90996bb1dc9c966e2083d to your computer and use it in GitHub Desktop.
Register AMI with SRIOV and ENA
aws ec2 register-image --ena-support --sriov-net-support simple --virtualization-type hvm --name ami-base-centos --block-device-mappings '[{"DeviceName":"/dev/sda1","Ebs":{"SnapshotId":"snap-05168016823a3fc9f"}}]' --root-device-name /dev/sda1 --architecture x86_64 --profile rdc-com-production
aws ec2 create-tags --tags Key=OS,Value=CentOS Key=Application,Value=base --resources ami-423a593d --profile rdc-com-production
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment