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

learn more… | top users | synonyms (1)

1
vote
4answers
191 views

How can I make an AMI mount the same volume when it initializes?

This is for a database (Postgre) VM, whose data is stored on a separate EBS volume. Can I make it so that the same EBS volume is mounted automatically (this is assuming that no other instance is using ...
0
votes
3answers
259 views

How can I create multiple identical AWS EC2 server instances with large amounts of persistent data?

I have a CPU-intensive data-processing application that I want to run across many (~100,000) input files. The application needs a large (~20GB) data file in order to run. What I would like to do is ...
4
votes
2answers
1k 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 ...
0
votes
2answers
157 views

Stripping down Amazon's Linux AMI

I plan to use Amazon Linux AMI to run a webserver. So for now, I only need apache, mysql and php. Is there anything else I can remove to improve the security and performance of my installation?
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 ...
1
vote
2answers
202 views

AWS: How can I attach an AMI as a non-root device/volume?

Is there a way to attach an AMI, or a copy thereof, to an instance? This would be a non-pay public Linux AMI. An example would be the Ubuntu 12.04 LTS AMI. But I don't want to be limited to just ...
1
vote
0answers
595 views

AWS: How do I create an EBS AMI from a scratch image or file tree?

I have a file tree in a directory. This is used to build bootable systems on hard drives and flash drives. I've also used it to build images for virtual machines. I would like to make an AWS AMI ...
2
votes
2answers
517 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 ...
4
votes
1answer
406 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 ...
0
votes
3answers
2k views

Create Webmin user for an EC2 Instance

I've setup an Amazon EC2 Instance, using the Ubuntu 12.04 AMI (ubuntu/images/ebs/ubuntu-precise-12.04-amd64-server-20120424 (ami-a29943cb)), and I'd like to get Webmin working (so I can setup a DNS). ...
0
votes
1answer
177 views

How can I create an Amazon Machine Image from a large VMDK file?

I am in the process of attempting to create an Amazon Machine Image from a large (160 GB) VMDK disk image of a virtual machine running Linux; however, I keep running up against notices about a 10 GB ...
3
votes
1answer
162 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, ...
2
votes
1answer
765 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 ...
1
vote
1answer
168 views

Create an AWS AMI for Ubuntu with GUI which automatically launches web browser

I've got an ubuntu AMI setup with ubuntu desktop installed and Chrome installed and set to boot on load (via the startup programmes menu within the ubuntu desktop) I've created an image of this AMI, ...
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 ...
0
votes
1answer
361 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
596 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
507 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
840 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
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
432 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
343 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
1k 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
753 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 ...
21
votes
1answer
10k 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
665 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 ...
3
votes
1answer
3k 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
770 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 ...
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
563 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
262 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 ...
4
votes
2answers
1k 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
153 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
899 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
590 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 ...
2
votes
2answers
4k 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
224 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
1k 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
681 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
532 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 ...
4
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?
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
318 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
150 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 ...
4
votes
1answer
421 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 ...
4
votes
1answer
537 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 ...