The amazon-ami tag has no wiki summary.
28
votes
2answers
5k 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 ...
15
votes
6answers
7k 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 ...
9
votes
3answers
3k 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
1answer
3k 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 ...
6
votes
1answer
3k 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?
6
votes
1answer
421 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
4answers
747 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 ...
5
votes
2answers
599 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.
5
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 ...
4
votes
2answers
426 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
1k views
Need to scale an Amazon EC2 isntance (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 ...
4
votes
1answer
336 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
2answers
3k 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
1answer
196 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:
...
3
votes
1answer
148 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 ...
3
votes
1answer
354 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
1k 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
1answer
399 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 ...
3
votes
2answers
178 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 ...
3
votes
1answer
521 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
654 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 ...
3
votes
1answer
133 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
1k 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
1answer
472 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
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
557 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
595 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 ...
2
votes
5answers
757 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
218 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
1answer
376 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
378 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
...
2
votes
2answers
478 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 ...
2
votes
1answer
149 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 ...
2
votes
2answers
264 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
2answers
276 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 ...
2
votes
2answers
809 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 ...
2
votes
1answer
110 views
Creating an AMI from an EC2 instance with mounted volumes
I have an EBS-backed instance with a 2nd mounted volume (I followed the steps in Eric's Article)
I then created an AMI from that instance, and ran an instance from that AMI.
That 2nd instance then ...
2
votes
1answer
451 views
Amazon EC2 as Google App Engine proxy
I want to run a micro instance on EC2 that will serve as a proxy server for my GAE app. I found this article on how to run it on ami-ad7e2ee8:
...
2
votes
2answers
397 views
Which AMI should I use as a base for a Django application?
I'm starting development of a Django application, on Amazon's Web Services.
I'm looking to build an instance that will serve the Django. I don't have much experience with such things, having only ...
2
votes
1answer
65 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 ...
2
votes
2answers
43 views
Amazon - Delete privately shared AMI
We had to split an Amazon account into two accounts to better track usage between departments on the company.
To transfer a server, we made an AMI of the EC2 server and shared it privately with the ...
2
votes
2answers
362 views
Ubuntu 12.04 Precise ephemeral device not available to the instance when generating customized AMI
I'm actually creating a customized script based off of Alestic.com's alestic-git project to create my own custom ami image for Ubuntu Precise 12.04 for an EBS backed AMI instance.
The interesting ...
2
votes
1answer
255 views
Not able to login to EC2 instance after making changes to default ec2-user
I have been using key pairs to log in to my EC2 instance without any problems until I made some changes to the ec2-user.
I changed the group of the ec2-user (usermod) and changed the default file ...
2
votes
1answer
275 views
Converting from 32-bit Linux to 64-bit LInux — Amazon Web Services EC2 cloud server — Import AMI
My client would like to upgrade from our current development 32-bit server to a much larger server running on a 64 bit platform.
I'd very much so like to just import a snapshot of my current server's ...
2
votes
2answers
238 views
Need to create an AMI from a running AWS instance (windows)
Is it possible to create an AMI from an EBS backed windows instance without disruption of service? When i click on the "create instance" selection from the instance actions menu, will it pause my ...
2
votes
2answers
297 views
How to make an ec2 ami work on Xen on Debian
We are creating a cloud app and have Debian on which we create a customized image and upload it to the Amazon EC2. After uploading it to the cloud we made some more customizations and are trying to ...
2
votes
1answer
1k views
Which AMI to to use for Java/Tomcat/MySQL in Amazon EC2?
I originally posted this on stackoverflow.com and it was suggested serverfault.com might be a better place to ask this question. So here goes:
I'm trying to determine which Amazon Machine Image ...
1
vote
2answers
1k 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 ...
1
vote
2answers
50 views
Given an EC2 instance with an EBS AMI, How can I update the AMI's snapshot?
on EC2 my app servers are running the same EBS AMI. How can I update this AMI's snapshot to contain the latest configuration settings and site code?
I can only find tutorials that talk about creating ...
1
vote
1answer
96 views
Amazon Linux AMI EC2 PHP Function Recognition
I've recently set up the title instance (64bit) on AWS. I have that being said, I've installed httpd and php, both of which are running.
The series of installs executed are as follows:
yum install ...