2

I've searched everywhere but can't find a definitive answer: Is there an official Ubuntu 14.04 AMI for HVM that runs on T2.medium? (Or T2.any, actually)

It looks like the answer is "no".

So the corollary question is: Why not? Why does Canonical limit Ubuntu from running on T2.medium?

Final corollary question: I found a community AMI that runs on T2.medium. Is this my only option? How do the community AMIs differ from the official?

Edit

I still get the experience as I've described, but it is inconsistent and buggy. I'm adding the details here in case it helps someone else. I've taken some screenshots.

  1. Launch via the EC2 web UI, T2.MEDIUM and many other instance sizes are grayed out. I get here via EC2->Instances->Launch Instance (button)->Search for "ubuntu"->Choose "Ubuntu Server 14.04 LTS (HVM)"

enter image description here

  1. Launch from Ubuntu Cloud Images directory (https://cloud-images.ubuntu.com/locator/), I can choose the same AMI ID by browsing the directory and clicking the AMI ID itself which is linked to the AWS EC2 Launch Instance Wizard.

enter image description here

Note: The AMI ID is the same in both URLs!

  • Well, I think I've hit some bugs in the AWS console, because I can, in fact, launch a T2.medium with the Canonical-blessed AMI, if I hit the AWS console in certain ways. If I hit the console in other ways, the T2 types are grayed-out. – JDS Apr 15 '16 at 20:15
3

I Google "AWS AMI 14.04", it was the third result. You can find it here. It's also the 4th down on the list when you hit "create instance" in the EC2 control panel - see my images below. As you can see it's actively promoted by Amazon.

The Amazon Marketplace also has the Ubuntu 16.04 AMI.

You can run it on any instance size you like. I run a few quiet to moderate websites on a t2.micro (1 core, 1GB RAM) and it uses almost no resources, CPU averages 1% spiking to 20% during backups, but I also use CloudFlare and Nginx caching.

Update - I now run Nginx, MySQL, and PHP on a t2.nano. It works fine once the MySQL performance schema is disabled and MySQL is tuned for low memory use. I use a 256MB swap file as well.

EC2 Create Instance Dialog EC2 Instance Size Selection

| improve this answer | |
  • Your experience differs from mine. 1) When I go to the Marketplace page you linked to, "T2.medium" is not listed. No T2 types are listed. 2) When I try to launch from my console, I only see "Ubuntu Server 14.04 LTS (HVM)" and this AMI has no T2 types listed -- they are all greyed out. The difference appears to be the "SSD Volume type" but I can't find that listed anywhere. I'm attaching a screenshot to my question – JDS Apr 15 '16 at 20:05
  • t2 isn't listed because the list of instance types is huge. t1 is listed. I don't see a screenshot, but I think you may have worked it out. It works consistently for me. Please accept this answer if it has solved your problem. – Tim Apr 15 '16 at 20:34
  • No, that's not why t2 isn't listed -- I can scroll down the whole list and there's no T2. I'll add a screenshot a little later; this answer does technically answer my question so i'll check it off – JDS Apr 15 '16 at 20:55
1

Tim's answer is correct.

There is a Canonical supported Ubuntu 14.04 LTS AMI.

Here is a link to the marketplace page:

https://aws.amazon.com/marketplace/pp/B00JV9TBA6/ref=srh_res_product_title?ie=UTF8&sr=0-3&qid=1460761528014#support

Whilst also in quick start if you choose the AWS Marketplace Tab and then type in 'Canonical' you will see the 14.04 HVM AMI in the list there.

To answer your question about community AMI's versus Marketplace or quick start AMI's - here is the official information from AWS:

How are these products different than the products I can find in the AWS >Community AMI catalog?

The AWS Marketplace catalog contains a curated selection of open source >and commercial software from well-known vendors. Many products on AWS >Marketplace can be purchased by the hour.

The AMI catalog is a community resource where people and development >teams can list and exchange software or projects under development, >without having to go through extensive vetting. Listings in the community >AMI catalog may or may not be from well-known vendors and generally have >not undergone additional investigations.

https://aws.amazon.com/marketplace/help/200777870

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.