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.
- 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)"
- 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.
Note: The AMI ID is the same in both URLs!
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.
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:
https://aws.amazon.com/marketplace/help/200777870