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
3
votes
1 answer

Attempting to change shell to ZSH on Amazon Linux: Asking for ec2-user's password

What do I enter? I use the provided private-key to authenticate when SSH-ing to the server, so I don't think I actually have a password for the user... Also tried this:
Steven Lu
  • 268
  • 1
  • 4
  • 12
3
votes
1 answer

How to create an AMI excluding some volume

I have an EC2 Instance of Linux. In that Instance another EBS volume /dev/sdh is attached. Now when I create an AMI from that instance with EC2 API Tools. It creates 2 snapshots. Now my question is, How can I create AMI of that instance with only 1…
3
votes
1 answer

Creating an AMI from an EC2 instance with mounted volumes

I have an EBS-backed instance with a 2nd mounted volume (I followed the steps in Eric's Article) I then created an AMI from that instance, and ran an instance from that AMI. That 2nd instance then created two volumes. Is there a way to control how…
chris
  • 3,993
  • 6
  • 28
  • 37
3
votes
1 answer

Dealing with upgrade of libevent on Amazon AWS

I am building an application (in Python) on Amazon EC2 that has a following dependency chain: gevent-websocket ---> gevent ---> libevent The last one (libevent) got upgraded on Sunday and my server is now generating this error: (...) File…
Dreen
  • 153
  • 4
3
votes
1 answer

What differences are there between an official Ubuntu AMI image and a base install from an ISO?

When creating a new instance on AWS using an official Ubuntu 12.04 server AMI, what differences are there compared to if I was to do a standard server install on a computer of my own? For example, the default user is 'ubuntu'. An SSH public key is…
David Winter
  • 167
  • 1
  • 6
3
votes
1 answer

AMI AWS No space left on device

I have a small AMI instance on AWS. The docs say that I should have 160G. I cannot download anything to the server as I get the following error: write error: No space left on deviceMiB | 276 KiB/s $df -h Filesystem Size Used Avail Use%…
3
votes
1 answer

How to install ceph on EC2 Amazon Linux AMI

I want to test Ceph (a distributed network storage and file system) on some EC2 hosts which is derived from Amazon Linux AMI (amzn-ami-2011.09.2.x86_64-ebs). The kernel version is 3.2 and btrfs is enabled. But kernel config options related to Ceph…
3
votes
2 answers

How can I make a CentOS 6 AWS AMI from a loopback?

I am able to make a Centos 5.x AMI by following steps similar to those outlined here: http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/creating-loopback-s3-linux.html and detailed…
3
votes
1 answer

Why does 'aptitude safe-upgrade' cause Ubuntu's boot to hang on "Waiting for root file system"?

I launched an Ubuntu EBS instance on Amazon EC2 using the Ubuntu's very own latest AMI for 10.04 Lucid, ami-ad36fbc4` After getting the instance up, I ran the command sudo aptitude safe-upgrade which seems to have upgraded the kernel from…
cwd
  • 2,763
  • 9
  • 33
  • 48
3
votes
1 answer

How do I clone a running EBS Backed AMI

Basically, I am trying to start an Amazon micro instance, install Java, Tomcat, MySQL and a few other things, then save a snapshot of the instance so that I can start many like it later on. After many tries, I eliminated the software installation…
Zed
  • 31
  • 2
3
votes
2 answers

What is the Windows equivalent of CloudInit for initialization of Amazon EC2 instances?

Is there a way to hook into the first-boot process of a new Windows Amazon EC2 instance to run initialization scripts? We would like to automate the setup of our instances without resorting to creating our own custom AMIs. The Amazon Linux AMI's…
Abhijit Rao
  • 131
  • 2
3
votes
1 answer

Converting from 32-bit Linux to 64-bit LInux -- Amazon Web Services EC2 cloud server -- Import AMI

My client would like to upgrade from our current development 32-bit server to a much larger server running on a 64 bit platform. I'd very much so like to just import a snapshot of my current server's AMI (the 32 bit), but I'm thinking I can't do…
Atticus
  • 191
  • 1
  • 9
3
votes
2 answers

Amazon Linux AMI or Ubuntu/others in AWS ecosystem?

I’m going to install a new server and want to understand if there is any advantage in installing the Amazon Linux AMI in comparation to Ubuntu or another distribution. This server will be consuming amazon resources like S3, lambda, redshift,…
Alejandro
  • 141
  • 1
  • 5
2
votes
1 answer

How to properly deploy new code to AWS EC2 AutoScaling Group

Scenario: Currently, we have a single production server running on an EC2 instance. Since we are getting a lot of traffic, we would like to use the Autoscaling feature, but we are kind of new to this. Following is my understanding: - We create a…
2
votes
1 answer

Will EC2 instance AMI's save all files when launching future instances with the AMI?

Soon my website and API will be migrated to Amazon's EC2. Correct my if I'm wrong, but my understanding of an Instance AMI works like: If I launch an EC2 Instance using a for example Amazon Linux AMI then configure the server to my liking (i.e.…
thehaxdev
  • 67
  • 1
  • 10