aws_ami - henk52/knowledgesharing GitHub Wiki
AWS AMI creation and management
Introduction
Vocabulary
AMI - Amazon Machine Image.
References
- Import a VM to Amazon EC2 as an image using VM Import/Export
- Amazon Machine Images in Amazon EC2
- Troubleshooting VM Import/Export
- Help with EC2 Image Import – "InvalidParameter:..."
- An error occurred (InvalidParameter) when calling the ImportImage operation: The service role vmimport does not exist
- Import your VM as an image
- Monitor an import image task
- Programmatic modifications made to VMs by VM Import/Export
- Import a VM to Amazon EC2 as an image using VM Import/Export
- Best practices for Amazon EC2
vmimport role
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:GetBucketLocation",
"s3:GetObject",
"s3:ListBucket"
],
"Resource": [
"arn:aws:s3:::test-qcow-982534387104",
"arn:aws:s3:::test-qcow-982534387104/*"
]
},
{
"Effect": "Allow",
"Action": [
"ec2:ModifySnapshotAttribute",
"ec2:CopySnapshot",
"ec2:RegisterImage",
"ec2:Describe*"
],
"Resource": "*"
}
]
}
Troubleshooting
An error occurred (InvalidParameter) when calling the ImportImage operation: The service role vmimport provided does not exist or does not have sufficient permissions.
- Troubleshooting VM Import/Export
- Help with EC2 Image Import – "InvalidParameter: The service role provided does not exist or does not have sufficient permissions" error
import_vmdk_to_aws.sh my-image-2026-2.vmdk
An error occurred (InvalidParameter) when calling the ImportImage operation: The service role vmimport provided does not exist or does not have sufficient permissions.