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
1answer
281 views

Ansible AWX AMI/EC2 default username and password

What is the default username/password on the AWX AMI for EC2? admin/password is not working.
2
votes
1answer
2k views

Run python script inside /etc/rc.local doesn't work

I modified /etc/rc.local on my Amazon AWS AMI #!/bin/sh touch /var/lock/subsys/local # setup hostname properly /usr/bin/python /root/automation/initSystem.py so last line calls Python script that ...
0
votes
1answer
45 views

Unable to login to Amazon AWS custom AMI using custom keypair

I have successfully made an AMI and able to launch instances from this image from my AWS account successfully. However, as soon as I try to launch an instance from this AMI from some other AWS account ...
0
votes
0answers
59 views

Point existing EBS to new EC2 instance

I have an EC2 instance running Ubuntu 11.04 with EBS attached, now I am planning to move to Amazon Linux AMI 2013.09.1 Can I just launch new instance and map existing EBS is that enough or is there ...
2
votes
2answers
665 views

SSH login fails for EC2 instances created from image of working EC2

I have a functioning EC2 instance with several users, some of whom are chrooted to their home directories, some of whom are ftp-only and have no shell access, etc... ec2-user is the main admin ...
0
votes
1answer
139 views

Created a new Instance from Ami but cannot connect Via ssh client

I had problems accessing my instance via ssh client and web browser, after i Re-booted it, and then i created a new instance with the Ami of the previous instance but still i could not access my ...
0
votes
1answer
168 views

libvirt on amazon linux?

I'm trying to setup LXC on Amazon Linux based ec2-instance. Libvirt is missing on amzn1 if I install with "yum install libvirt". However to compile them seems non trivial work. but before that, have I ...
1
vote
0answers
208 views

Launching new Elastic Beanstalk environment using Amazon Lunux AMI v2013.09 not working

I am starting from scratch to launch a new Elastic Beanstalk environment using 64-Bit Amazon Lunix AMI version 2013.09. It is for tomcat 7 non-legacy container. But after the environment is created ...
0
votes
1answer
132 views

How do I launch a new AWS Windows Server Instance in Japanese?

Using Amazon AWS EC2, I'm trying to launch a new instance of Microsoft Windows Server 2012 with SQL Server 2012 Standard in Japanese. When I login the website is in English, and I'm not sure how to ...
7
votes
2answers
2k 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 ...
0
votes
1answer
136 views

The following from address failed on amazon linux ec-2 server with joomla 2.5.14

I have a form on joomla 2.5.14 submitting to an email address but when I try I get the following system error 'the following from address failed: email@email.com'. The site is hosted on amazon ec-2 ...
4
votes
1answer
1k 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 ...
1
vote
0answers
691 views

How can I launch a vanilla non-marketplace open CentOS ami on Amazon EC2?

A while ago I did some research and launched a Centos 6.4 image from the Amazon Marketplace. It didn't have any fees (other than usage fees). That was working fine until I messed up a config file and ...
0
votes
2answers
447 views

How to prevent update from conflicting repo?

On EC2 / Amazon Linux AMI (Centos based), I created /etc/yum.repos.d/nginx.repo: [nginx] name=nginx repo baseurl=http://nginx.org/packages/centos/6/$basearch/ gpgcheck=0 enabled=1 Then I ...
1
vote
2answers
92 views

User management strategy on AWS

I'd like to know some ways that is being used to manage shell accounts on EC2 instances. Specially when it grows into a large environment? Just having ec2-user isn't ideal. There has to be a ...
0
votes
1answer
340 views

What are the optimal Java Memory Settings for Railo 4.x / Tomcat 7? [duplicate]

I'm currently running Railo 4.0.4.001 final on an Amazon 64-bit Linux m1.medium cloud instance which has 3.75Gb of memory. My setenv.sh script is currently starting Railo / Tomcat with ... ...
3
votes
2answers
355 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
310 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
39 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
530 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
43 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
149 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
620 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
108 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: ...
1
vote
2answers
52 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 ...
4
votes
2answers
2k 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
47 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
783 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
635 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
238 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:
1
vote
1answer
96 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, ...
3
votes
2answers
4k 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
2answers
77 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
109 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
122 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 ...
0
votes
2answers
145 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
216 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
263 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: ...
2
votes
2answers
135 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
125 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
179 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
79 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
145 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
102 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 ...
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 ...
1
vote
1answer
234 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
176 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
1k 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
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 ...