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
1
vote
1 answer

Couchbase EC2 Community AMI and hostname

I've been looking for some good documentation on the ec2 AMI's for community couchbase and updating couchbase to run with hostnames. What I did find in the couchbase docs are actually out of date as seen here What I actually have is -name…
Michael
  • 1,241
  • 1
  • 13
  • 25
1
vote
1 answer

How to download AMI from Amazon EC2 .?

I would like to download a Amazon EC2 AMI Can i know the procedure for downloading a AMI from Amazon EC2 account. How do I do this?
1
vote
1 answer

Allowing Apache on EC2 to run sudo commands via CGI script

I have an Amazon (AMI) Linux EC2 instance running on AWS. I'm create a perl script that will create directories when it is called through a web url (CGI script). However, because the browser is executing the script, the user apache is running the…
Stephan Walters
  • 343
  • 2
  • 13
1
vote
1 answer

Block webcrawler/bot AWS elastic bean stalk

the following bot has been attacking my application and I'm wondering how I go about blocking it at the firewall with AWS. It looks as if your able to include access but not block access. Does anybody know how to do…
Code Junkie
  • 7,602
  • 26
  • 79
  • 141
1
vote
2 answers

Unable to RDP to Windows instance after creating an AMI from it

I created and customized a Windows EC2 instance. I gave the Administrator account for this instance a custom password. Before creating an EMI from it, I used the EC2Config service to generate a new random password for the Administrator account. The…
Amith George
  • 5,806
  • 2
  • 35
  • 53
1
vote
1 answer

Necessary to keep snapshot when AMI exists?

I'm trying to keep my snapshot storage to a minimum. I noticed when I create an AMI a snapshot also is created. Can I safely delete the snapshot and still use the AMI ?
pmagunia
  • 1,718
  • 1
  • 22
  • 33
1
vote
2 answers

Amazon EC2 - Create a new EBS backed AMI with custom AMI ID

I have an EBS-backed AMI instance running in EC2. I have customized it and now want to create a new AMI from it. I will doing this at regular intervals, thereby replacing the previous AMIs created. I followed the instructions at…
Hashken
  • 4,396
  • 7
  • 35
  • 51
1
vote
1 answer

Getting connection refused only for ec2 Redhat Enterprise Linux 6.4 64 bit

I am getting connection refused error while connection to the redhat instance via putty. The steps that i followed are as follows Created a EBS backed redhat instance (with only root volume) from public AMI for redhat Enterprise Linux 6.4 (64…
vishva
  • 366
  • 5
  • 17
1
vote
1 answer

Terminate EC2 instance using command line API

I am having AWS EC2 instance and I am using it by putty. I have also downloaded the EC2 command line API to that ec2 instance. Now i want to terminate EC2 instance within same EC2 instance using EC2 command line API. How can i terminate EC2 instance…
Pravin
  • 2,871
  • 5
  • 26
  • 29
1
vote
3 answers

EC2 Not able to create AMI for instance storage

I am facing a problem while trying to create a bundle of my instance storage server Ubuntu 12.10 ec2-bundle-vol \ --user $EC2_USER \ --privatekey $EC2_PRIVATE_KEY \ --cert $EC2_CERT \ --arch x86_64 \ --exclude /mnt,/tmp,/var/tmp \ --destination…
potomok
  • 1,249
  • 3
  • 12
  • 16
1
vote
2 answers

AWS AMI multiple instances

If I have an AMI (EBS backed) from which I launch two instances, would both instances be entirely separate from each other? How does the underlying infrastructure work? I find it a little overwhelming to get the entire idea to picture. Yes, I'm new…
softie
  • 237
  • 1
  • 2
  • 17
1
vote
2 answers

Redis - Node.js in one machine?

I'm very new with Redis and Node.js, but I would like to enhance my web application performance using Redis, and adding a realtime notifications feature using Node.js. Now, I have added 1 EC2 instance to serve both process, bind it with an elastic…
robotijo
  • 41
  • 1
  • 4
1
vote
1 answer

Rubber stuck on deployment to ec2 (sftp upload # -> /tmp/setup_remote_aliases)

I am using rubber (built on top of capistrano) to deploy to my ec2 instance. I basically followed the rail cast from Ryan bates http://railscasts.com/episodes/347-rubber-and-amazon-ec2?view=comments. In that rail cast he did not list the ami but the…
1
vote
1 answer

create EC2 instance in JAVA AWS sdk using snapshot

I can create an EC2 instance using java sdk using some image. Currently I am creating it like this private static void createInstance() throws AmazonServiceException, AmazonClientException, InterruptedException { …
waqas
  • 1,115
  • 5
  • 19
  • 32
1
vote
2 answers

Launching multiple ec2 windows servers with auto logon from a custom AMI

Help!!! I am trying to create a windows ami that when launched (need multiple [20] live servers to be launched for short durations at short notice) auto logon and run an .exe application (unfortunately I can not get the app to run as a service).…
JonLovett
  • 92
  • 1
  • 5