Questions tagged [amazon-ami]

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

Amazon Machine Images (AMIs) are disk images of an operating system used to launch AWS EC2 instances. There are several variants including instance store based, EBS based, paravirtualized (PV), hardware virtual machine (HVM), Linux, Windows, pay-per-use, etc.

303 questions
128
votes
4 answers

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 in any serious gaps in my following…
Matt
  • 3,241
  • 9
  • 30
  • 33
85
votes
7 answers

Amazon Linux vs. Ubuntu for Amazon EC2

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 is best (I also have had partially-managed…
James Simpson
  • 1,651
  • 2
  • 15
  • 31
51
votes
4 answers

How to install Docker on AWS EC2 instance with AMI (CE/EE Update)

What is the current way of installing Docker on an AWS EC2 instance running the AMI? There has been an announcement of Docker Enterprise Edition and now I want to know if anything has changed. Until now, I have been using yum install docker and do…
mxscho
  • 682
  • 2
  • 6
  • 11
44
votes
15 answers

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…
jax
  • 551
  • 1
  • 4
  • 4
38
votes
2 answers

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?
Maca
  • 1,043
  • 2
  • 19
  • 30
23
votes
1 answer

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 are two ways to do this, but I am confused on…
Vilsepi
  • 333
  • 1
  • 2
  • 7
21
votes
1 answer

How can I run the Ubuntu EC2 AMI images locally?

I've downloaded the Amazon Ubuntu EC2 AMI images (from http://uec-images.ubuntu.com/releases/10.04/release/) and I am trying to run it locally on my linux desktop. Is it possible to run the AMI using VirtualBox? Is some other virtualization software…
Abtin Forouzandeh
  • 1,299
  • 3
  • 12
  • 13
20
votes
2 answers

Who's behind community AMIs on Amazon EC2?

I've been using AWS for years, but have never ventured outside the Quick Start and AWS Marketplace sections when launching an EC2 instance. The AMIs from the AWS Marketplace look trustable, they have a link to the seller profile, etc.: Compare this…
BenMorel
  • 4,507
  • 10
  • 57
  • 85
20
votes
3 answers

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 works fine ... what if I need to change my tomcat…
19
votes
2 answers

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 quality of the ami produced or is it just as good as a…
Jamie Taylor
  • 372
  • 1
  • 6
  • 15
16
votes
4 answers

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 automatically terminated. I assume any init scripts I have…
Jeff
  • 263
  • 1
  • 2
  • 4
14
votes
1 answer

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 used for sharing an AMI to different account - but…
Naveen Vijay
  • 390
  • 6
  • 18
14
votes
2 answers

Update PHP with yum on Amazon Linux

I have Amazon Linux on EC2, AMI 2013.09. I followed the LAMP install tutorial, http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/install-LAMP.html, and ended up with PHP5.3 installed. In answer to this question here, Amazon Linux Version Details,…
DatsunBing
  • 459
  • 4
  • 8
  • 17
12
votes
2 answers

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 when I log into the target account, I'm unable to…
Fragsworth
  • 1,181
  • 2
  • 12
  • 14
11
votes
1 answer

Filtering AMI by name using aws-cli

Is there a way to filter public AMIs that contain a particular string (say abcd)? The command: aws ec2 describe-images --filters Name=name,Values=abcd returns only those AMIs that exactly match Name=abcd
Jedi
  • 458
  • 1
  • 5
  • 20
1
2 3
20 21