Questions tagged [ec2-ami]

For questions relating to virtual machine images (Amazon Machine Image) on Amazon's EC2 infrastructure.

Amazon Web Services Elastic Compute Cloud (hence, EC2) provides scalable and resizeable a la carte compute services in regions around the world. One of their goals is to "make web-scale cloud computing easier for developers".

Ec2 provides access to a large variety of compute services, ranging from a 'free tier' of smaller 'instance' types, to extremely powerful and specialized systems.

Across AWS EC2, an AMI is an Amazon Machine Image, which provides all of the information needed to launch a given machine. An AMI contains a template for the root volume of the instance (or VM), the permissions for where and how it is launched, and any block device (storage) mappings.

Any machine, including pre-configured machines of your own, can be imaged into an AMI which is then re-lauched, modified, or the like. This can be extremely useful for taking a snapshot of a machine and then redeploying it at a later time, or in a different location or availability zone.

283 questions
2
votes
2 answers

Instance and Instance's AMI's Kernel-ID

When you create an AMI Image of an EC2 Instance the kernel-id of an instance and AMI's kernel-id will always be the same, correct?
TeaCupApp
  • 11,316
  • 18
  • 70
  • 150
2
votes
4 answers

Can I run Windows Server 2008 on Amazon EC2

does anyone know if this can be done? I can find Windows Server 2003 but not 2008. I read you can create your own EC2 Virtual machines, but I haven't found any articles that say you can do this with Windows Server 2008. I'm really after IIS7, but…
danswain
  • 4,171
  • 5
  • 37
  • 43
2
votes
2 answers

Lost messages when migrating RabbitMQ from one EC2 instance to another

I have RabbitMQ installed and working well on an EC2 CentOS 6 instance, with an assortment of queues and topics. I decided to migrate this working instance to another, new EC2 server instance with the same OS and initial setup, just smaller. I…
changingrainbows
  • 2,551
  • 1
  • 28
  • 35
2
votes
0 answers

Django on Elastic Beanstalk - Apache robots.txt

I have Django successfully running on Amazon Elastic Beanstalk. I want to serve /robots.txt from Apache instead of via Django. How can I hook into the Apache config to control what Apache is serving?
Cliff Helsel
  • 920
  • 1
  • 12
  • 26
2
votes
1 answer

Instance Store AMI from a customized EBS-backed instance

Sorry if this supposed to be easily understood from the docs, but I didn't - if I spin up an EC2 instance using one of the easily available Ubuntu EBS-boot AMI's, install a bunch of stuff and move some files around under "/", and then I create an…
Dev Kanchen
  • 2,332
  • 3
  • 28
  • 40
2
votes
0 answers

Creating Amazon EC2 instances with public MSMQ ready to go

Background: We use MSMQ extensively, while we understand that it's not a perfect choice and creates many problems we cannot cease it's use at the moment. In order to use MSMQ, we figured out that we need a domain controller - however this now…
Karell Ste-Marie
  • 1,022
  • 1
  • 10
  • 22
2
votes
1 answer

How to create an instance on EC2 with all customizations (libs,folders) from another instance

I am new to EC2. The way I am attempting to do this is: 1) create a snapshot from instance1 ; 2) create a volume from snapshot; 3) attach the volume to instance2 when I ssh to instance2 it is still the basic instance without my folders and…
2
votes
3 answers

shell script to set amazon ec2 hostname from tags

I am trying to set amazon EC2 hostname from the tag "Name" And found the answer to extract tags from instance data. ec2-describe-tags \ --filter "resource-type=instance" \ --filter "resource-id=$(ec2-metadata -i | cut -d ' ' -f2)" \ --filter…
Reed
  • 1,628
  • 3
  • 21
  • 29
2
votes
2 answers

automatically start apache on instance launch - aws autoscaling

I have an ec2 instance serving a webpage with apache. I created an autoscaling group using an AMI of this instance in the launch config. Once CPU went over 80% and the autoscale policy ran, a new instance was created. But the CPU of my original…
waigani
  • 3,570
  • 5
  • 46
  • 71
2
votes
1 answer

Windows AMIs with .NET 4?

Are there any Amazon-provided Windows AMIs that have the .NET 4 framework pre-installed? Unless I'm missing something, it looks like 3.5 is available on the images (such as ami-cab91da3), but not .NET Framework 4. If not, can we expect updates to…
David Rubin
  • 1,610
  • 1
  • 17
  • 28
1
vote
3 answers

EC2 Amazon - User Data Not Working For Bundled/Snapshot AMI

I started an default instance of EC2 Wowza AMI (LINUX) and then I bundled/snapshot it via 'ec2-bundle-vol', uploaded it to s3 and registered the AMI. When I start the bundled AMI with user data (zip file) with a script, it doesn't seem to execute…
1
vote
3 answers

Can't SFTP into AWS with Notepad++ (NppFTP)

I set up an EC2 instance using the Amazon AMIs (I believe based on redhat/centos) I set up my security profile to allow 22, and verified it works because I can SSH in just fine using putty and the ppk I created. SFTP on the other hand is a no go. …
trex005
  • 5,015
  • 4
  • 28
  • 41
1
vote
1 answer

PHP MYSQL module not loading in Amazon EC2 Bitnami AMI

I have a running EC2 instance booted from a bitnami tomcat apache mysql php stack. I have used only tomcat until now. Now I have want to install and configure wordpress. During installation it says that the php mysql module is not loaded. I…
sethu
  • 8,181
  • 7
  • 39
  • 65
1
vote
2 answers

Create AMI of a given EC2 from cloud formation

I have to create an AMI of a given EC2 istance from cloud formation, ad after create an ec2 from this AMI. How to do this? My principal problem is the first part
1
vote
1 answer

AWS EC2 User Data Not Running, Node Not Saved for AMIs

I'm running the following user data script for my AWS EC2 on an Amazon Linux AMI. I want to run a simple socketio server, however whenever I stop and start the instance, the script doesn't run. When I SSH via the Connect portal, and run these…
JFAC
  • 33
  • 5