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

learn more… | top users | synonyms (1)

0
votes
1answer
15 views

Ansible not executing within Packer Build

I am currently experimenting with deploying using Packer’s Ansible local provisioning and for some odd reason, it doesn’t appear to be executing the tasks in the playbook. Packer, after installing ...
1
vote
4answers
2k views

Why can't I SSH into a new EC2 instance I created from an AMI I generated?

I followed the procedures for Creating an Amazon EBS-Backed Linux AMI with the exception that I did not shut down the original instance, just let AWS reboot it. When I launch & start a new ...
0
votes
2answers
68 views

How to find online support for Amazon Linux AMI

I am a beginner to Linux, but am currently deciding on a distro for my AWS EC2 web server. My question is how to find online support to Amazon Linux AMI should I decide to use it? I know that it is ...
2
votes
0answers
49 views

How does AWS configure the 169.254.169.254 address on an instance?

AWS uses 169.254.169.254 as a link local address, which you can use to pull meta data about the instance, ie: curl http://169.254.169.254/latest/meta-data/ How/where is this IP configured on the ...
0
votes
1answer
1k views

Elastic beanstalk not support on custom AMI

I have launched a default Amazon ElasticBeanstalk image(php) in EC2 .I can able to deployed application on Apache.I am trying to use a custom AMI in AWS Beanstalk and does not get deployed on the ...
1
vote
0answers
31 views

Custom AMI fo AWSr Opsworks fails setup phase but logs seem clean?

So I've followed through this userguide for creating an AMI from an EBS backed Opsworks instance and it all seemed to go smoothly until I attempted to boot an instance in Opsworks from the new AMI. ...
0
votes
2answers
21 views

cloud-config file not loaded and units not started on machine created from AMI

We are working on a code that does the following using terraform (on AWS): Creates a core-os instance (1) with the cloud-config yaml file we provided Creates an AMI from that instance The process ...
0
votes
1answer
20 views

Which is more cost effective: Amazon EC2 snapshot or AMI?

I have an EBS based Amazon EC2 instance (m4.xlarge) up and running. This one, say example has been in use for a while and is in a state that we would like to have for all our future instances. Which ...
0
votes
1answer
12 views

mod_xsendfile on AWS Elastic Beanstalk

I realize there's no yum package for mod_xsendfile (which is a huge bummer), so I'm wondering if it's at all possible to add it via an .ebextensions config given that it needs to be downloaded and ...
0
votes
0answers
17 views

Sendmail not forwarding mail for domains in /etc/mail/local-domain-hosts

First off, I have been using sendmail for about a week, and have a semi-working instance. This issue very well may be something simple/overlooked. I have an AMI server that is running sendmail and ...
0
votes
1answer
13 views

Why won't my IAM role show up when I'm trying to connect the Windows server to the Simple AD?

During the AWS creation wizard I get this: I've created an AMI role which should have the appropriate roles: But the IAM role doesn't show up? What step have I overlooked?
0
votes
0answers
26 views

How can I copy an AMI between regions in AWS?

We are having difficulty copying an AMI we have created in our California VPC to our Oregon VPC as the AKI and ARI are not available in Oregon. The AKI/ARI we are using in California are as follows. ...
0
votes
1answer
38 views

Immutable Infrastructure

I'm working on a cloud based solution architecture at the moment and want to take the approach of using an immutable server infrastructure (creating and then deploying new AMIs when updating software, ...
0
votes
3answers
560 views

Amazon Linux Version Details

I am getting acquainted with AWS and I'm using Amazon Linux on EC2 to build a LAMP stack. I read somewhere on the AWS site that the AMI 2013.09 had PHP 5.5 but when I installed it and followed the ...
9
votes
3answers
6k 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 ...
1
vote
1answer
51 views

How to configure HAProxy on Amazon Linux AMI with SSL/TLS Passthrough

I'm trying to configure an Amazon Linux AMI instance that has an Elastic IP to act as Proxy to a standalone backend server. I'm trying to do HTTPS TCP Passthrough only but I can't get it to work! ANY ...
1
vote
2answers
37 views

Is there any way to change the key pair on a windows ami in aws

The situation, I've inherited a windows infrastructure in AWS. The ami's were created with someone else's keypair who has now left the business. I have a requirement to remove those keys. The way I ...
0
votes
0answers
51 views

Amazon Linux cannot access nginx on port 80

I have installed nginx on my AMI by yum sudo yum install nginx And then, I open all port in my AMI security group All traffic - All - All - 0.0.0.0/0 And then, I start nginx by command sudo ...
6
votes
2answers
34k views

phpMyAdmin Error - The configuration file now needs a secret passphrase

I keep getting an error "The configuration file now needs a secret passphrase" after installation of phpmyadmin. I have set the passphrase and also followed the instruction presented on phpMyAdmin not ...
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 ...
1
vote
1answer
396 views

Debian 8 AMI only using 8GB partition

Every Debian 8 Jessie AMI that I launch in Amazon Web Services is only putting the root OS onto an 8GB partition regardless of what I set the size to at launch time. I know there is some documentation ...
0
votes
1answer
52 views

AWS NAT instance as OpenVPN Client can't route instances behind it

I have an Amazon AMI 2015.09 instance as a NAT server for my backend servers. I have configured the OpenVPN client on this same box, the NAT server is able to talk to everything over VPN, all ...
0
votes
1answer
25 views

How do you include your own software in an Amazon AWS EC2 HVM AMI (eieio)?

When creating an Amazon AWS EC2 HVM AMI (TLA!!!!), how do you include your own software, when on the same partition as the root volume, but not necessarily in /usr? (in this way more efficiently use ...
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 ...
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). ...
1
vote
1answer
259 views

AWS AMI Add “create volume” permissions to the following associated snapshots when creating permissions

What does the significance of the Add "create volume" permissions to the following associated snapshots when creating permissions indicate when we share an AMI to a different account ? Can this be ...
0
votes
1answer
17 views

Is there a way to be notified when the ubuntu cloud images are released?

I know that I can find the latest Ubuntu AMI builds at http://cloud-images.ubuntu.com/locator/ec2/, but is there a mailing list, or RSS feed, or some way to be notified of new builds? I want to be ...
0
votes
1answer
118 views

How to create an AMI excluding all attached volumes for all instance within VPC using shell script

I have written script to find instance-id from VPC n create AMI of each instance-id : #!/bin/bash #Script to Automate AMI backup echo "----------------------------------\n `date` \n--------------...
0
votes
1answer
54 views

GUI on Amazon Linux AMI

I have Amazon Linux AMI 2015.09 and i need to use some GUI application on it. When i tried to install desktop environment i found out that there are no any X11 packages on repos. I tried to use ...
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 ...
0
votes
0answers
82 views

HVM AMI do not boot, no console output

I prepared HVM EBS backed ami in such steps: Created new EBS volume and mount it to existing hvm instance. Created one partition on it and mout it. Installed basic system with: yum -c /etc/yum/...
0
votes
0answers
69 views

AWS pv-grub don't see config file

I created ami from scratch: ec2reg -n centos7 -b '/dev/sda=snap-96a520e3' --kernel aki-499ccb20 -a x86_64 but pv-grub can't find config file: Thread "Idle": pointer: 0x20f0002050, stack: 0x2070000 ...
0
votes
0answers
114 views

Linux AMI's version of OpenSSL is 1.0.1k but PCI compliance requires 1.0.1p

I run a linux AMI on AWS with version 1.0.1k of openssl $ openssl version -v OpenSSL 1.0.1k-fips 8 Jan 2015 PCI compliance requires a version greater than 1.0.1p because they claim that there are ...
0
votes
1answer
108 views

Unable to boot a customized HVM AMI on EC2

I am trying to customize an existing Debian Jessie HVM AMI(ami-116d857a) and store it as my private AMI. Though the AMI creation process succeeds, I am unable to boot from it. The instance shows ...
0
votes
2answers
307 views

cloud-init on AWS: mounts disappear after imaging and rebuilding

I'm using cloud-init to automatically prepare an AWS image (AMI) for use in a production environment - that way I can have the environment setup process tracked in a source control system, but I can ...
2
votes
1answer
311 views

Firewall missing from AWS MarketPlace Centos7 image

I am using this image from AWS MarketPlace. The Problem is that centos 7 is supposed to come with firewalld instead of iptables. But firewalld is not installed on it but iptables is installed. Why is ...
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 ...
1
vote
1answer
110 views

ec2 create-image will it backup attached ebs volumes?

$aws ec2 create-image --instance-id xxx --name yyy --description "zzzz" --no-reboot This created AMI image of EC2 instance but did not created extra attached volume's snapshot ! So is there any ...
0
votes
0answers
39 views

Is it possible to use a partitionless EBS image as an HVM AMI?

Attempting to locate/create an EC2 AMI that meets my current needs. HVM is preferred over PV, because the newer and larger EC2 instance types only support HVM (we're targeting r3.4xlarge) and a ...
-1
votes
1answer
78 views

AWS Instance Kernal-id

I am running a Windows Server instance in AWS Cloud.I have created a snapshot for the same. When i'm trying to create a AMI from my snapshot it is asking Kernel-ID and RAM Disk ID. I don't know what ...
0
votes
2answers
998 views

Using AWS, is there a way to build an AMI so it auto-joins the domain?

So we want to let developers have access into AWS natively, and when building a windows machine have it automatically join the domain and potentially add some tools, etc. Since I am used to using the ...
3
votes
1answer
388 views

How to create an Amazon AMI with HVM from scratch?

All the instructions I find online start with an existing AMI, but I would like to create an AMI from scratch using HVM instead of PV. Does anyone know the procedure for doing this?
3
votes
1answer
223 views

Amazon Linux rsyslog config override

I am using Amazon Linux AMI release 2015.03, I am trying to configure rsyslog to redirect logs to a remote logging server (in this case, logstash) by dropping a conf file in /etc/rsyslog.d. The ...
0
votes
1answer
240 views

Cannot open port 1337

I am struggling with iptables firewall to open port 1337 externally. My iptables file looks like this: *nat :PREROUTING ACCEPT [0:0] :INPUT ACCEPT [0:0] :OUTPUT ACCEPT [0:0] :POSTROUTING ACCEPT [0:0] ...
7
votes
1answer
7k views

Creating an EC2 AMI Image from a running instance vs. from a volume snapshot

I want to backup a Linux-based EC2 instance while it is running with no downtime, and then later on launch a new instance. (The instance is running a web server and Postgres database.) I found there ...
1
vote
1answer
83 views

AMI Without Reboot on AWS EC2 on a Web Server

I am running a webserver with very little writes (apart from log files). According to amazon: When enabled, Amazon EC2 does not shut down the instance before creating the image. When this option ...
1
vote
1answer
236 views

Amazon AWS with CentOS 6 HVM: password required with SSH

I am having some strange authentication issues when trying to spin up an Amazon instance using CentOS 6 HVM. For some reason, whenever I spin one up using a security group and a key / pem pair, I ...
0
votes
1answer
213 views

Windows IIS displaying SSL certificate, but generating 404 error

ive got a bit of a strange situation. Ive got an Amazon EC2 with Windows Server 2012 running Coldfusion with IIS. The strange issue is my server is appearing to match the domain to the server with ...
2
votes
1answer
446 views

Set Initial Remote Working Directory in SFTP

I am running Amazon Linux AMI (Red Hat derivative), and am creating a new SFTP server using OpenSSH. I would like for the SFTP user to be restricted to a directory, and to be able to write to the ...
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, ...