Amazon Machine Images (AMIs) are disk images of an operating system used to launch AWS EC2 instances.

learn more… | top users | synonyms (1)

50
votes
2answers
12k views

Amazon EC2 terminology - AMI vs. EBS vs. Snapshot vs. Volume

I have been poking around Amazon EC2, and am a little confused on some of the terminology. Specifically with regard to AMI, snapshots and volumes, and an EBS Please correct me if I am wrong, or fill ...
20
votes
6answers
20k views

Amazon Linux vs. Ubuntu for Amazon EC2

I'm setting up my first website on Amazon EC2, and I'm trying to decide which distro to use. I've used Redhat and CentOS in the past, but I have no bias towards any system, I just want to use whatever ...
17
votes
1answer
9k views

How do I access the attached volume in Amazon EC2

I just attached another ebs volume to running instance. But how do I access the volume? I can't find the /dev/sda directory anywhere. Where should I look?
13
votes
2answers
7k views

How can I run the Ubuntu EC2 AMI images locally?

I've downloaded the Amazon Ubuntu EC2 AMI images (from http://uec-images.ubuntu.com/releases/10.04/release/) and I am trying to run it locally on my linux desktop. Is it possible to run the AMI using ...
11
votes
3answers
4k views

How to recreate a working AMI from recovery snapshot after Aug 8 outage?

After Amazon's Aug 8 outage, all (EBS based) AMIs stopped working for many users. This is due to corruption of some sectors in snapshots that the AMIs are based on. However, Amazon created recovery ...
8
votes
2answers
2k views

Prevent Amazon EC2 Time zone from reverting back on yum update

I use an Amazon EC2 server instance that runs a distro called Amazon Linux AMI. (I've read that it is based on CentOS/Red Hat). My specific version is the 2012.09 release. Anyway, I was able to ...
6
votes
4answers
1k views

Easy way to convert custom 32-bit AMI into 64-bit one?

I have customised (EBS-backed) AMI for running a demo version of an application of ours. (The AMI contains Ubuntu 11.04 with a Tomcat & MySQL setup for the app itself, and Jenkins for easy ...
6
votes
1answer
3k views

How do I create an instance store based AMI from an EBS instance?

To give a background, I need about 10 instance replicas for a research purpose. So, here is what i do: I have an EBS based EC2 instance as master instance where i do all the development. Create an ...
6
votes
1answer
491 views

Is there a place to get popular AMIs for Amazon EC2?

Amazon has a list of public AMIs: http://aws.amazon.com/amis But this list is sorted by date, not popularity, so it's practically useless for finding good AMIs, unless you know in advance what ...
5
votes
1answer
2k views

Need to scale an Amazon EC2 instance (but JUST the storage, not the CPU)

I currently have this image: High-CPU Extra Large Instance (Amazon Linux AMI) 7 GB of memory 20 EC2 Compute Units (8 virtual cores with 2.5 EC2 Compute Units each) 1690 GB of instance storage 64-bit ...
5
votes
2answers
685 views

CentOS, Amazon EC2, and EBS AMI

How do you go about finding the most "accepted" image for Amazon which allows you to store it as an EBS image. Specifically I'm looking for a CentOS image.
4
votes
1answer
731 views

Can't find my AWS shared AMI when trying to share with specific account

I followed the instructions to share my AMI with a specific account here: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sharingamis-explicit.html I made sure the account number is correct, and ...
4
votes
2answers
959 views

Easiest way to show Maintenance page during EC2 instance down time

I need to perform some maintenance, which involves down-times of my EC2 production server. I would like to serve some user friendly Maintenance page meanwhile. The easiest solution, I was able to ...
4
votes
1answer
376 views

Can I disable all TTYs in an EC2 instance?

I am maintaining an ec2 bootstrapping script for debian squeeze on github. The setup has become very minimal and I try to justify all my changes to the standard setup. Currently I am wondering ...
4
votes
1answer
510 views

Is it possible to obtain a copy of Amazon Linux for use outside AWS

How difficult (if at all possible) would it be run a copy of Amazon Linux on a private physical server or hypervisor (Virtualbox/KVM) ? (I am thinking something based in a office/home) I realise it ...
4
votes
2answers
918 views

AMI with or without reboot on AWS EC2

When creating AMI's from an EC2 instance I always check "no reboot", I've been wondering, what are the pros/cons of creating images with/without a reboot? Does keeping the server live affect the ...
4
votes
1answer
416 views

EC2: can I provide default startup scripts to erase sensitive data in my AMI?

I'm trying to use EC2 to provide an easy-to-use way to bootstrap a hard-to-build web application. Trouble is, there is some sensitive configuration on the filesystem, such as password salts. I've ...
4
votes
1answer
1k views

How to create a new public AMI for windows with a random password?

I am trying to make a windows 2008 AMI that is a nice clean 64bit starter pack (IIS, SQL express, ASP.NET MVC, etc...) I would like to make it a public AMI when its done. There in lies the problem. I ...
4
votes
2answers
4k views

Re-bundle (or update) an EC2 AMI?

I have bundled an AMI that I'm fairly satisfied with. However I know that eventually I'll need to modify it (e.g. for Debian security updates or to update other system software that I have in the ...
4
votes
2answers
1k views

EC2 Update my existing AMI

I'm using Elastic Load Balancing to load balance my Auto Scaling Group, for that I have a private AMI that hold my application server (Tomcat) and my web app deployed to it as war ... Now everything ...
4
votes
1answer
508 views

How to install python debug symbols for GDB on amazon linux AMI?

I am running into problems on my EC2 box running Python in an elastic-beanstalk container. In order to debug the problem, I need to attach a debugger to it and debug python with python symbols. When ...
4
votes
1answer
633 views

Custom Centos5 AMI kernel panic

I'm trying to build a Custom Centos 5 AMI on Amazon and during boot it kernel panics. I've spent almost a week on it and I can't figure out what's wrong. I've followed the following recipe: ...
4
votes
1answer
1k views

AWS t1 to t2 migration: Client.InstanceInitiatedShutdown on new t2 instance

I've had a Linux t1.micro running a small Apache/PHP/Postgresql website for a couple of years now (referred herein as "original instance"). Works like a charm. I wanted to migrate the site to the ...
3
votes
1answer
1k views

Why is my AWS instance not reachable?

Yesterday, I created a new instance but I cannot connect to it. Tried pinging it from my computer, online ping sites etc but it is just not reachable. In the AWS console. everything seems to be ...
3
votes
2answers
2k views

Convert Amazon AMI to VMware image

How can I convert an amazon ami image to a vmware image I can run locally in vmware player?
3
votes
2answers
3k views

installing glusterfs on amazon ec2

My drupal website running on Amazon EC2 cloud. My instances use S3 storage for dynamic files. But I realized that S3 is too slow and it may cause problems. I want to use glusterfs instead of S3. To ...
3
votes
1answer
812 views

Can't Start 64-bit AMI on t1.micro instance on AWS

I created a custom AMI based on the Ubuntu 11.10 64-bit AMI from Amazon. When I try to start it up, I get an error: ec2-run-instances -t t1.micro ami-c0b368a9 -k showcase -z us-east-1a ...
3
votes
1answer
936 views

Launching AWS Windows instance from snapshots?

I have a Windows-based Amazon EC2 instance with an EBS drive as the root device. Is it possible to launch a copy of this instance without creating an AMI - for instance, from a snapshot of the C: ...
3
votes
1answer
254 views

Yum won't reinstall PHP on Amazon Linux

Ultimately, this question is about Yum and the Amazon Linux AMI (see the end for that part), but first I'll give some background to how I got into my situation. I installed PHP from source I am ...
3
votes
1answer
1k views

Auto-Attach EBS-volume to a New Spot Instance?

I am experimenting with EC2 spot instances, and am needing some data to be retained between terminations. Now as I understand it, when the current price goes above my max. bid, it will be ...
3
votes
1answer
346 views

Dealing with upgrade of libevent on Amazon AWS

I am building an application (in Python) on Amazon EC2 that has a following dependency chain: gevent-websocket ---> gevent ---> libevent The last one (libevent) got upgraded on Sunday and ...
3
votes
1answer
157 views

What differences are there between an official Ubuntu AMI image and a base install from an ISO?

When creating a new instance on AWS using an official Ubuntu 12.04 server AMI, what differences are there compared to if I was to do a standard server install on a computer of my own? For example, ...
3
votes
1answer
2k views

How to download private ubuntu AWS EC2 AMI for local use

We have a large number of ubuntu servers currently hosted on AWS EC2. Many of these servers are accessed infrequently and for cost-saving we now want to move these over to our local site and terminate ...
3
votes
2answers
336 views

What is the Windows equivalent of CloudInit for initialization of Amazon EC2 instances?

Is there a way to hook into the first-boot process of a new Windows Amazon EC2 instance to run initialization scripts? We would like to automate the setup of our instances without resorting to ...
3
votes
2answers
2k views

How can I make a CentOS 6 AWS AMI from a loopback?

I am able to make a Centos 5.x AMI by following steps similar to those outlined here: http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/creating-loopback-s3-linux.html and detailed here: ...
3
votes
1answer
666 views

How do I clone a running EBS Backed AMI

Basically, I am trying to start an Amazon micro instance, install Java, Tomcat, MySQL and a few other things, then save a snapshot of the instance so that I can start many like it later on. After ...
3
votes
3answers
81 views

Is there a mailing list or a programmatic way to determine a new Amazon EC2 AMI has been released?

We would like to ensure we are always running the latest version of the Amazon EC2 AMI to keep our OS running the latest security updates. Currently to determine the latest release we are scraping ...
3
votes
1answer
1k views

How to install ceph on EC2 Amazon Linux AMI

I want to test Ceph (a distributed network storage and file system) on some EC2 hosts which is derived from Amazon Linux AMI (amzn-ami-2011.09.2.x86_64-ebs). The kernel version is 3.2 and btrfs is ...
3
votes
1answer
878 views

Why does 'aptitude safe-upgrade' cause Ubuntu's boot to hang on “Waiting for root file system”?

I launched an Ubuntu EBS instance on Amazon EC2 using the Ubuntu's very own latest AMI for 10.04 Lucid, ami-ad36fbc4` After getting the instance up, I ran the command sudo aptitude safe-upgrade ...
3
votes
1answer
111 views

Difference between AWS Software Subscription and Launching a Custom AMI?

Amazon AWS seems to provide two methods of launching an instance of Ubuntu 12.04 that confuse me, one of them is the Software Marketplace the other method is by launching an AMI on the Ubuntu ...
2
votes
2answers
3k views

Decreasing Root Disk Size of an “EBS Boot” AMI on EC2

So I have followed Eric's wonderful article here: http://alestic.com/2009/12/ec2-ebs-boot-resize This was the code basically that helped me increase the default size of the AMI: ec2-run-sintances ...
2
votes
5answers
903 views

Opensource RightScale-like EC2 deployment management [closed]

Does anyone know if there are any solid opensource alternatives to RightScale for EC2 deployment+maintenance management? Basically what I'm looking for is: Script based AMI deployment and ...
2
votes
1answer
813 views

Where is Amazon Linux AMI Test Page EC2?

I have set up my websites as directories directly under /var/www/html/ and they are working just fine (the websites are mapped to virtual hosts). So, this is mainly out of curiosity for the moment. ...
2
votes
2answers
500 views

Cannot find amitools

I have newly created an Amazon EC2 instance. It came with Ruby 1.8.7 which I uninstalled (with YUM) in favor of RVM and Ruby 1.9.3. However, every time I connect to the instance via SSH I get the ...
2
votes
2answers
127 views

Can I create local AMI file for future use on various cloud service?

Is it possible to locally create a single AMI file of say Debian Jessie and use it directly (or with little changes) on any AMI-compatible cloud service providers (eg. AWS, CloudStack, Digital Ocean ...
2
votes
1answer
745 views

AMI AWS No space left on device

I have a small AMI instance on AWS. The docs say that I should have 160G. I cannot download anything to the server as I get the following error: write error: No space left on deviceMiB | 276 KiB/s ...
2
votes
1answer
219 views

Apache won't stop

This is on an Amazon Linux instance (apparently based on CentOS 6) # service httpd restart Stopping httpd: [FAILED] Starting httpd: (98)Address already in ...
2
votes
2answers
439 views

How can I create an AMI from an existing instance-store EC2 instance?

(I suspect that this may already be answered somewhere, since it seems like it would be a common operation. But I can't find it, so...) I am a relative AWS newbie. I have inherited a running Amazon ...
2
votes
1answer
1k views

Why is “Bundle Instance” disabled for EC2 instance running Ubuntu 12.04?

I have an instance store (not EBS) based EC2 instance, launched from an official Ubuntu 12.04 AMI (specifically ami-25e8d351: eu-west-1, 32-bit, instance root store). It is up and running, and I've ...
2
votes
2answers
880 views

Why Can I Not Create A Micro Instance Of My Newly Created AMI?

I started with a 64 bit version of Ubuntu 9.10 Karmic server edition. (using a micro instance on Amazon EC2, costing less than $0.01 per hour) I added GNOME desktop to it and NX server. I re-bundled ...