platform/api/aws: Enable Intel 82599 VF enhanced networking
It's already enabled by scripts/oem/ami and is supported on a different set
of instance types than ENA. It's also only supported on HVM.
@@ -328,6 +328,7 @@ func (a *API) CreateImportRole(bucket string) error {
func (a *API) CreateHVMImage(snapshotID string, name string, description string) (string, error) {
params := registerImageParams(snapshotID, name+"-hvm", description, "xvd", EC2ImageTypeHVM)
params.EnaSupport = aws.Bool(true)
+ params.SriovNetSupport = aws.String("simple")
res, err := a.ec2.RegisterImage(params)
if err != nil {
return "", fmt.Errorf("error creating hvm AMI: %v", err)
