Trying to run ubuntu core on AWS

Hello All,

Has anyone tried to run ubuntu core on AWS?

In the list of supported OS (https://docs.aws.amazon.com/systems-manager/latest/userguide/prereqs-operating-systems.html), ubuntu core is not listed.

I am getting error “Unsupported OS or missing OS files” when I tried to covert ubuntu core OVA to AMI.

Thanks,

Bhuvanesh

Hello All,

Any leads on what exactly will be checked by AWS import task to determine what flavor of Linux it is? I can probably masquerade Ubuntu core as Ubuntu server and use it.

container.json:

[
  {
    "Description": "UbuntuCore",
    "Format": "raw",
    "UserBucket": {
        "S3Bucket": "temp-ami-migration",
        "S3Key": "pc_raw.raw"
  }
}]

Import command used:

aws ec2 import-image --description "Ubuntu core test" --disk-containers "file://container.json"

Error:

{
    "ImportImageTasks": [
        {
            "Description": "Ubuntu core test",
            "ImportTaskId": "import-ami-068164e08fef34704",
            "SnapshotDetails": [
                {
                    "Description": "UbuntuCore",
                    "DeviceName": "/dev/sde",
                    "DiskImageSize": 3154894848.0,
                    "Format": "RAW",
                    "Status": "completed",
                    "UserBucket": {
                        "S3Bucket": "temp-ami-migration",
                        "S3Key": "pc_raw.raw"
                    }
                }
            ],
            "Status": "deleted",
            "StatusMessage": "ClientError: Unknown OS / Missing OS files.",
            "Tags": []
        }
    ]
}

Thanks,

Bhuvan