Questions tagged [amazon-ami]

Questions concerning Amazon Machine Images (AMI). An AMI is an image of an instance containing all the information about the configuration and the software that must be installed on the machine during the initialization.

Amazon Machine Images (AMI). An AMI is an image of an instance containing all the information about the configuration and the software that must be installed on the machine during the initialization.

An AMI defines the following parameters:

  • An operating system, an application server, and applications
  • A set of permissions that control which AWS accounts can use the AMI to launch instances
  • A block device mapping that specifies the volumes to attach to the instance when it's launched
885 questions
95
votes
3 answers

Creating AMI takes so long

I'm creating an AMI for a server with 100G files. It's been like an hour and it's still not finished. (The AMI still says pending) Is there something wrong with it? What should I do?
jackhao
  • 3,457
  • 3
  • 22
  • 43
83
votes
2 answers

Amazon EC2: how to convert an existing PV AMI to HVM

Question: How should I use the new AWS EC2 classes (r3, i2) with my existing AMI without recreating the whole system setup? The new EC2 classes support only HVM based virtualization but I have only PVM AMI images.
user3760692
  • 839
  • 1
  • 7
  • 4
57
votes
11 answers

Move Amazon EC2 AMIs between regions via web-interface?

Any easy way to move and custom AMI image between regions? (tokyo -> singapore) I know you can mess up with API and S3 to get it done, but there there any easier way to do it?
c2h2
  • 11,911
  • 13
  • 48
  • 60
54
votes
3 answers

Difference between Docker and AMI

In the context of AWS: AMI is used to package software and can be deployed on EC2. Docker can also be used to package software and can also be deployed to EC2. What's the difference between both and how do I choose between them?
Schleir
  • 1,775
  • 2
  • 15
  • 14
36
votes
4 answers

How do I set up cloud-init on custom AMIs in AWS? (CentOS)

Defining userdata for instances in AWS seems really useful for doing all kinds of bootstrap-type actions. Unfortunately, I have to use a custom CentOS AMI that didn't originate from one of the provided AMIs for PCI reasons, so cloud-init is not…
whereswalden
  • 4,819
  • 3
  • 27
  • 41
36
votes
4 answers

Create AMI image as part of a cloudformation stack

I want to create an EC2 cloudformation stack which basically can be described in the following steps: 1.- Launch instance 2.- Provision the instance 3.- Stop the instance and create an AMI image out of it 4.- Create an autoscaling group with the…
user2422451
30
votes
4 answers

How to find AMI ID of CentOS 7 image in AWS Marketplace?

I have been launching EC2 instances by logging in to the AWS site, hitting the "Launch" button and following the proscribed steps. Now I'd like to launch instance from an Ansible script, and to do this I (think I) need the AMI ID of the image I wish…
bandjalong
  • 483
  • 2
  • 6
  • 9
26
votes
5 answers

Can I make an AMI from a running instance that uses instance-store as its root device?

Or is it absolutely necessary to have an EBS backed storage? Does anyone have manuals/Howtos? I am following the manual given on this site.
theTuxRacer
  • 13,709
  • 7
  • 42
  • 59
24
votes
2 answers

Is it possible to create an AWS AMI from a Docker image?

I have a Docker image in my AWS ECR which I want to convert to an AWS AMI for creating an instance with the environment. Reason for trying to use an AMI over a Docker container I had to run computationally intensive ML tasks in my Docker container…
Dawny33
  • 10,543
  • 21
  • 82
  • 134
24
votes
2 answers

Setting up Supervisord on a AWS AMI Linux Server

I'm trying to get supervisor working to make sure my queue system is always running. Here are the steps I took, which I pieced together from various sources: (Ran as root or super user) 1) $ easy_install supervisor 2) $ echo_supervisord_conf >…
zeros-and-ones
  • 4,227
  • 6
  • 35
  • 54
24
votes
3 answers

Run Amazon EC2 AMI in Windows

Is there a way to run an Amazon EC2 AMI image in Windows? I'd like to be able to do some testing and configuration locally. I'm looking for something like Virtual PC.
Jim
  • 11,229
  • 20
  • 79
  • 114
23
votes
4 answers

How to install nginx 1.9.15 on amazon linux disto

I try to install the latest version of nginx (>= 1.9.5) on a fresh amazon linux to make use of http2. I followed the instructions that are described here -> http://nginx.org/en/linux_packages.html I created a repo file…
wiesson
  • 6,544
  • 5
  • 40
  • 68
22
votes
13 answers

"Server Refused our key" after launching instance from private EBS AMI

I have created my own EBS AMI, shared it with another AWS account, launched NEW instance based on this image with NEW key-pair and now when I am trying to connect to this new instance I am getting error: "Server Refused our key". This is what I did…
Kelvin
  • 8,813
  • 11
  • 38
  • 36
21
votes
5 answers

Does AWS have Windows 10 AMI available?

Does AWS have Windows 10 AMI available? I can only find Windows Server AMIs At this link I can only see Windows Server AMIs https://aws.amazon.com/windows/resources/amis/
jason
  • 397
  • 2
  • 3
  • 5
20
votes
1 answer

AWS EC2 : upgrade from AMI 1 to AMI 2

Is-there an easy way to upgrade from Amazon Linux AMI to Amazon Linux 2 AMI, or do I have to create a new instance and do again all my server setup ? Thanks for your feedback,
Logboo
  • 223
  • 1
  • 3
  • 6
1
2 3
58 59