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

learn more… | top users | synonyms (1)

3
votes
2answers
619 views

Amazon Linux pecl_http installed but not providing functions

I've installed PHP's pecl_http extension using the Amazon Linux php54-pecl-http Yum package. php -i shows the http.ini file loaded http.ini has the extension=http.so line in it php -m shows the HTTP ...
2
votes
1answer
467 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 ...
0
votes
1answer
41 views

To run python script when my Amazon instance boots up

Where should i place my script in amazon instance such that my script should run when my instance boots up? I tried placing it in rc.local but it didnt help. My script is about connecting to Amazon ...
0
votes
1answer
1k views

Unable to read S3 file from interactive pig job flow

I'm unable to read a simple test file on S3 from an interactive pig job flow (hadoop, elastic map reduce), and I'm not sure why. I have two S3 buckets. Let's call them unmounted_bucket, and ...
-1
votes
1answer
59 views

How to launch Micro EC2 instance from Small AMI

I have an AMI I created on a small EC2 instance. I've spent most of the night attempting to launch it on a Micro instance. It continually fails the Instance Status Checks. I'm attempting to launch ...
1
vote
3answers
2k views

How do I install Python 2.7.4 OR 3.3.1 on an Amazon AMI?

I have an EC2 instance running a standard AMI, and have exhausted the limit of my abilities with yum and similar avenues to update python to 2.7.4 or 3.3.1 for a library I need to use. Unfortunately, ...
1
vote
2answers
194 views

EC2 How To Boot from an EBS-backed AMI (ubuntu) as root device

After doing research, I have found there are many advantages to boot from an EBS-backed AMI rather than instance storage. I have a few questions related to this: What is the optimal size for an ...
1
vote
1answer
763 views

php-fpm or nginx capping out?

I'm using blitz.io to basically blast my site with traffic to see how my 'learning sysadmin' holds up under load. I realize this is as effective or relevant to real-world as a sledgehammer, but I ...
0
votes
1answer
136 views

Empty /mnt: store-backed instance launch from EBS-backed AMI

I have an EBS AMI which I want to publish in AWS Market Place. The AMI was created with data in /mnt. The snapshop includes both /dev/sda1 and /dev/sdb devices : Block Devices: /dev/sda1=snap-xxxxxx:8:...
1
vote
2answers
63 views

Serious Ubuntu AMI EC2 Issue - Cannot duplicate

These are the steps I took: Deploy Ubuntu EC2 instance (tried both LTS and latest) default kernel and RAM ID Snapshot Instance Create AMI from snapshot, default kernel and RAM ID Launch EC2 from ...
5
votes
2answers
3k views

How Do I Update Apache to 2.2.24 On AWS Instance

I have a website hosted on an Amazon AMI Linux instance. We had a PCI Scan recently and we failed the scan because we have Apache 2.2.23 installed, and apparently it contains vulnerabilities that ...
1
vote
1answer
49 views

What is access control of an Amazon EC2 instance like if people purchase AMI from marketplace?

I'm new to the Amazon EC2 platform and marketplace, so I need some help with the questions I have. Currently our company is trying to create a customized Linux AMI to put into marketplace, and I'm ...
4
votes
1answer
1k 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: http://...
4
votes
1answer
985 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 ...
0
votes
1answer
539 views

Attempting to change shell to ZSH on Amazon Linux: Asking for ec2-user's password

What do I enter? I use the provided private-key to authenticate when SSH-ing to the server, so I don't think I actually have a password for the user... Also tried this:
3
votes
1answer
194 views

How to create an AMI excluding some volume

I have an EC2 Instance of Linux. In that Instance another EBS volume /dev/sdh is attached. Now when I create an AMI from that instance with EC2 API Tools. It creates 2 snapshots. Now my question is, ...
4
votes
2answers
6k 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 ...
-4
votes
2answers
89 views

Discover ec2 usernames for public ami [closed]

Is there a way to discover or specify the username I need to use to ssh in to an ec2 instance? I know how to select my key pair, but depending on the ami, you need to use a different username. For ...
0
votes
1answer
119 views

Cloning instance - Original kernel not available when creating AMI

I have a EC2 Ubuntu server on Amazon cloud and I'm trying to clone an instance "X" by creating a snapshot of the instance and creating an AMI from that snapshot. The problem is: When creating the AMI, ...
2
votes
3answers
136 views

Assign list of remote authorized_keys files to local variable

I would like to assign a list of remote authorized keys files to a local variable. INCLUDE=$(ssh myhost.mydomain.com "for Z in `awk -F : '{print $1}' /etc/passwd`; do INCLUDE+=\"/home/${Z}/.ssh/...
1
vote
2answers
179 views

Configure credentials on Amazon EC2 depoyment

I created a custom Linux AMI with all I need to run my PHP app (basically a node that does batch processing of images/video/audio). There can be n amount of instances running at the same time. So far ...
-2
votes
1answer
348 views

Change Amazon AMI Timezone

How do you change the timezone for the system clock for a EC2 instance running the Amazon AMI?
0
votes
1answer
427 views

amazon linux installation of rpy2 fails

the installation of rpy2 an amazon linux via sudo pip-2.7 install rpy2 fails with In file included from ./rpy/rinterface/_rinterface.c:58:0: ./rpy/rinterface/_rinterface.h:8:15: fatal error: R.h: ...
3
votes
2answers
273 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 ...
1
vote
1answer
155 views

Deleting old AMI in AWS EC2

I had to migrated a few VMs from EC2 into a VPC and to do so, I created an image of every VM, stopped it, and launched a new instance in the VPC from the AMI I've created. I am now wondering, if I ...
1
vote
1answer
371 views

Convert VMDK images into AMI images

I have setup and environment for building the virtual machines in vmdk format and then use ec2 api tools to convert, bundle and upload it to the AWS Cloud. However, I am facing certain challenges in ...
-4
votes
1answer
87 views

Will I be charged for creating a new (second) AMI from my currently running free-tier Amazon EBS-backed instance? [closed]

I have a running instance of an Amazon AMI instance that I've installed Node.js, modules, various updates, etc., and I would like to save a new AMI created from this instance in its current state. The ...
1
vote
2answers
250 views

How to update an EBS AMI's snapshot?

I have an AMI that I use for my rails web servers. This AMI using an EBS Snapshot to launch with the basics all ready for production. I now need to update some configuration settings on web servers (...
1
vote
2answers
120 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 ...
5
votes
3answers
3k 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 ...
1
vote
1answer
338 views

Error after installing mysqlnd_ms

I am working on Amazon EC2 using the Amazon Linux AMI which is based on CentOS. I have installed php54 and php54-mysqlnd. Then I do a sudo pecl install myslqnd_ms. This installs fine. I add the ...
1
vote
1answer
269 views

EC2 kernel decision and issues with creating a new machine with my AMI

I could really use some advice. I started a new instance on EC2 using Amazon's AMI and during the deployment process I selected a Kernel ID of "Use Default". I then configured my server the way that ...
2
votes
1answer
2k 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. ...
8
votes
2answers
3k 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
734 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 ...
3
votes
1answer
474 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 ...
1
vote
1answer
905 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 ...
2
votes
2answers
556 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 ...
1
vote
4answers
286 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
407 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 ...
7
votes
2answers
3k 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
219 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
3k 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
328 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
935 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
589 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 ...
5
votes
1answer
568 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 ...
1
vote
4answers
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
185 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
191 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, ...