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

learn more… | top users | synonyms (1)

2
votes
1answer
2k 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 ...
0
votes
1answer
671 views

Create image (EBS AMI) takes forever - possibly caused MySQL Server to break?

I'm trying to create an EBS AMI from my running EC2 instance to reuse my LAMP fully configured (for my needs). I got my website up and running yesterday on this EC2 instance my MySQL was working fine ...
1
vote
1answer
814 views

Unable to setup and access tomcat on EC2 with AMI

I attempted to start tomcat7 on an EC2 instance running AMI and could not get the web service accessed from a browser using the public IP. Created an EC2 instance with default AMI as the image ...
2
votes
2answers
533 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 ...
3
votes
1answer
1k 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 Client....
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 ...
0
votes
1answer
547 views

AWS instances: AMI bundles and snapshots and bears, oh my

I've googled a good amount and am still pretty confused and feeling like I'm missing or overlooking something. My goal is to restore a host using a bundle. I have an AMI bundle of a now-nonexistent ...
0
votes
1answer
406 views

Force nginx 1.0 on Amazon EC AMI

I'm trying to install nginx from the nginx official repositories. I downloaded the nginx-release-rhel*.rpm from nginx.org and installed it with yum. But, altough a new nginx-debug package is ...
2
votes
1answer
2k views

Using boto, is there a way to create an AMI from a snapshot ID?

There's a command in the AWS EC2 API called ec2-register or ec2reg which has an argument -s for snapshot ID. You are able to create an image from a snapshot. I'd like to be able to do this in Python (...
2
votes
1answer
1k 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 ...
28
votes
1answer
19k 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?
1
vote
2answers
780 views

Java EE install through ssh on a Linux AMI

I want to install Java EE 6 on a RedHat machine. The machine is actually an AWS AMI. I have installed JDK succesfully but when I try to install Java EE, the console tells me I hace to set the DISPLAY ...
4
votes
1answer
5k 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 ...
1
vote
2answers
895 views

EBS backed AMI become instance-store AMI when migrate across region

I'm a bit confused here. I've been trying this for days but couldn't get it to work. Hopefully someone could shed some light here. I have 1 instance (Amazon AMI x86_64 AMI, EBS backed) running in us-...
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: ...
1
vote
2answers
654 views

Fast EC2 micro AMI which can enable graphical remote logon?

I am currently using Natty_FreeNx_RubyRails (ami-6754970e) and it can be a little slow when browsing simple websites remotely. Before going to a 'small' instance, I would like to know if we can ...
1
vote
2answers
274 views

upgrade to nginx 1.0 on Amazon Linux EC2 Instance

I've noticed that the official Amazon repos only host nginx 0.8 which is now considered a legacy release. Short of manually compiling from source what must I do to upgrade to the stable 1.0 version of ...
5
votes
2answers
2k 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 ...
0
votes
1answer
181 views

Amazon EC2 instance-reboot on EBS backed instances

I received notification that many of my EC2 instances will be rebooted for scheduled maintenance. They are scheduled for an "instance-reboot," which makes sense because most of my instances are S3 ...
3
votes
1answer
1k 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 ...
0
votes
2answers
705 views

Changing MySQL Data Directory on EC2

I have an EC2 instance set up and I'm trying to move the MySQL data directory to mounted storage. The default data directory is: /opt/bitnami/mysql/data I've copied that directory entirely to /...
3
votes
2answers
5k 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 ...
0
votes
1answer
264 views

What happen to the fee when an EC2 Reserved AMI is updated?

Is there a way to update an AMI instead of creating a new one? The reason I ask is that, I would like to convert my current EC2 Instance to Reserved Instance in order to get a lot of discount. But ...
0
votes
2answers
3k views

Root user on Ubuntu 11.10 AMI?

I am new to linux, so this may be a very simple question. I have created a modified ami using the ubuntu 11.10 as a starting point. All of the tutorials I have found say that to save an instance you ...
4
votes
1answer
2k 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
850 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 ...
2
votes
1answer
697 views

Wowza on EC2 Set up and Questions

I have a wowza instance installed and running on EC2, but I can't find the keypair file. I am trying to install another wowza instance on a different aws account. I have the following questions, I'd ...
5
votes
2answers
3k 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?
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 ...
1
vote
1answer
446 views

attached volumes do not appear in /dev

I have a server at amazon ec2. I used the following AMI to install Ubuntu 11.04 64 bit: ami-1aad5273 it uses ebs root device type. I use elastifox plugin installed on firefox 7. when I go to '...
1
vote
1answer
182 views

Are AWS EC2 AMIs automatically shared as community AMIs?

I have an EBS-backed instance of a Windows server running under EC2. When I make an AMI from this instance, the new AMI appears under "My AMIs" as expected, but I notice it also appears in the "...
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 one-...
4
votes
1answer
453 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 ...
11
votes
3answers
5k 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 ...
1
vote
1answer
1k views

how to downgrade Perl to 5.8.8?

I have Amazon instance (Amazon Linux AMI release 2011.02.1.1 (beta),2.6.35.11-83.9.amzn1.i686) and I want to downgrade Perl Version from v5.10.1 to v5.8.8, but when compile perl 5.8.8 I got this error:...
4
votes
1answer
687 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 ...
2
votes
2answers
3k views

Which AMI to to use for Java/Tomcat/MySQL in Amazon EC2? [closed]

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 (AMI)...
1
vote
2answers
1k views

Installing Mono on Amazon Linux AMI

I am trying to setup an Amazon EC2 AMI (details) with Mono 2.8.2 on it by following this guide. I've run into a couple of issues with it. Issue One I get a Permission Denied error When I try to do ...
0
votes
1answer
361 views

resolv.conf cache behavior difference? Centos 5.6 vs AMZN Linux

Machine 1: Centos 5.6 AMI Machine 2: Amazon Linux AMI Beta I changed resolv.conf on both to get around an apparent DNS hiccup/lag last week, by appending 'nameserver 8.8.8.8' to the file. The CentOS ...
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 ...
0
votes
2answers
1k views

How do you create a SimpleDB on Amazon EC2?

Where exactly could I start creating a SimpleDB, I will be using PHP as the client. I can't find it anywhere on the AWS console.
1
vote
2answers
1k views

Building nginx 1.0.4 on Amazon EC2 micro - perl and python problems

I'd like to run nginx as a reverse proxy with apache2 on my EC2 micro instance. yum install nginx gives me nginx-0.8.53-1.2.amzn1.x86_64.rpm The current nginx is 1.0.4 I found and followed this guide:...
0
votes
1answer
591 views

EC2 instance stops responding after reboot

I have created a private AMI from the image I had running from my other EC2 instance. When I create the instance using that private AMI, it boots up fine but when I restart the newly created instance, ...
3
votes
2answers
400 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 ...
1
vote
3answers
1k views

How do I install Wine on Amazon Linux AMI?

I am trying to install Wine on Amazon Linux AMI. First I did: sudo yum install wine It said "No wine package available." Then I did the following: sudo rpm -Uvh http://download.fedora....
0
votes
1answer
457 views

Convert Amazon AMI to Eucalyptus EMI

What are the steps to convert an Amazon EBS backed AMI to an Eucalyptus EMI? Can we even do that? What are the steps to convert an Amazon instance store AMI to an Eucalyptus EMI?
35
votes
7answers
36k views

Amazon Linux vs. Ubuntu for Amazon EC2 [closed]

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 ...
82
votes
2answers
25k 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 ...
0
votes
1answer
163 views

create an ebs micro instance from ami for large one

I have a running large instance (with ephemeral storage), and I need to run several copies on micro instances (with ebs storage) for development / testing purposes. What is the simplest way?
2
votes
1answer
539 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 ...