Run the following AWS command to import the Entrust PKIaaS Virtual Machine OVA as an EC2 AMI.
aws ec2 import-image --disk-containers file://containers.jsonFor example:
$ aws ec2 import-image --disk-containers file://containers.json {    "ImportTaskId": "import-ami-0c0ccaaab21ee1ce5",    "Progress": "1",    "SnapshotDetails": [        {            "Description": "Entrust PKIaaS Virtual Machine AMI file",            "DiskImageSize": 0.0,            "Format": "OVA",            "Url": "s3://pkiaas-vm/pkiaas-vm-prod-us.ova",            "UserBucket": {                "S3Bucket": "pkiaas-vm",                "S3Key": "pkiaas-vm-prod-us.ova"            }        }    ],    "Status": "active",    "StatusMessage": "pending"}Use the value of the ImportTaskId field to check the status of the import process.
aws ec2 describe-import-image-tasks --import-task-ids <ImportTaskId>For example:
{    "ImportImageTasks": [        {            "Architecture": "x86_64",            "ImageId": "ami-0844eae6801fff32a",            "ImportTaskId": "import-ami-0c0ccaaab21ee1ce5",            "LicenseType": "BYOL",            "Platform": "Linux",            "SnapshotDetails": [                {                    "DeviceName": "/dev/sda1",                    "DiskImageSize": 1538403840.0,                    "Format": "VMDK",                    "SnapshotId": "snap-0a6deaf4b94eb2b36",                    "Status": "completed",                    "Url": "s3://pkiaas-vm/pkiaas-vm-prod-us.ova",                    "UserBucket": {                        "S3Bucket": "pkiaas-vm",                        "S3Key": "pkiaas-vm-prod-us.ova"                    }                }            ],            "Status": "completed",            "Tags": []        }    ]}In the command output, check the value of the Status field. 
- If this value is active, rerun the command after 5 minutes to check the status again.
- If this value is completed, the import process has already finished. Copy theImageIdvalue you will later use for Creating an EC2 instance for the PKIaaS Virtual Machine.