This is for questions on Amazon's storage service for its ec2 service.

learn more… | top users | synonyms (1)

1
vote
2answers
703 views

Automate Amazon EBS Snapshot creation?

Once in a while I would go to http://aws.amazon.com/console and manually right click my EBS volume and create a snapshot. This is kind of tedious and I would forget sometimes. Is it possible to ...
8
votes
2answers
4k views

EC2 - Shared Storage - S3FS or EBS?

Building my web service onto EC2 right now and have a single instance behind a load balancer. I will of course cater for multiple instances. My initial idea was to run all the instances a dumb ...
3
votes
1answer
704 views

M-M or M-S replication of EBS volume across multiple EC2 instances

I would like to share EBS backed file system of size up to 20GB in 200K files across multiple EC2 instances. Master-master would be ideal, but I'd be happy with master-slave solution too. I know that ...
2
votes
2answers
356 views

Re-gaining root access to an EC2 EBS-boot image

I'm using an Alestic image which disables root SSH logins, but provides a user "ubuntu" with NOPASSWD sudo privileges. See here. In the course of trying to add a new user to the sudoers file I ...
0
votes
3answers
4k views

Command does not execute in crontab while command itself works just fine

I have this script from Colin Johnson on Github - https://github.com/colinbjohnson/aws-missing-tools/tree/master/ec2-automate-backup It seems great. I have modified it to send email to myself every ...
6
votes
1answer
1k views

How to determine actual size of an amazon snapshot?

Amazon EBS snapshots capture changed blocks from a baseline, so snapshots will often be much smaller than the source volume. Billing is based on the actual size, which is nice. However, I cannot find ...
0
votes
1answer
334 views

EC2 Instance Store to EBS Can't connect to SSH

I followed every line on this tutorial: http://webkist.wordpress.com/2010/03/16/creating-an-amazon-ec2-ebs-ami-from-a-running-instance/ to create a EBS instance using a AMI based on a Instance Store ...
50
votes
2answers
12k views

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 ...
18
votes
2answers
5k views

Shrinking Amazon EBS volume size

I have seen this answer for growing EBS volumes, but I would like to shrink one. The default Ubuntu Server images are 15 GB while I really need only 2 GB max (I use a different volume for data). Is ...
12
votes
3answers
3k views

EC2 drive not EBS volume size

I have an EC2 instance which I created a 500GB EBS volume for. Unfortunately, the EC2 instance shows only 8GB available. I have only one drive, which is right. [root@ip-10-244-134-250 ~]# ls -la ...
10
votes
2answers
6k views

Simple Backup Strategy for Amazon EC2 instances / volumes?

You have entered Introductory Backups for Amazon EC2 EBS-backed Windows Images 010... I have been browsing my brains out to find a simple backup strategy for our single windows 2008 server running ...
16
votes
1answer
9k views

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?
7
votes
3answers
2k views

Restoring an Amazon EBS RAID0 array from snapshots taken with ec2-consistent-snapshot

I've configured a new MySQL server on Amazon EC2 and decided to store my data on a EBS RAID0 Array. So far so good, and I've tested taking snapshots of those devices with ec2-consistent-snapshot, ...
5
votes
3answers
8k views

Mounting an attached ebs volume in EC2

I've created an EC2 instance, created an EBS volume, attached it to the running instance, and successfully ssh'ed into my instance. The drive is attached as /dev/sdf Next, I tried mounting the drive ...
6
votes
5answers
3k views

Automated snapshots of EBS-backed EC2 instance running Ubuntu

I'm running an EBS-backed instance which acts as a software development team's build server (running Jenkins and host of other services). The server is running Linux (latest Ubuntu from the official ...
5
votes
3answers
8k views

How to create EBS based EC2 AMI from scratch?

after Amazon announced the new EBS based AMIs, I'm wondering if it is or will be possible to create new AMIs that are not based on the existing Fedora/Windows AMIs. The documentation says: The ...
8
votes
3answers
5k views

Root Device on SSD instance types. SSD vs EBS confusion

I have an AMI that was originally created from a t1.micro linux. The "Root Device Type" of this AMI is EBS (8 GB) and my web application software is "baked" into this root volume. Now I would like to ...
6
votes
1answer
1k views

How can I access instance storage on a Windows EC2 instance with an ebs root device?

I have created an AMI, but I would like to use instance storage for some scientific programs I want to run. They basically read a bunch of stuff from disk, write it back out to disk and then ...
5
votes
1answer
992 views

5.5GB written daily to 1.2GB root volume - 4 times previous levels

Problem: I recently revamped one of my servers, it was tested prior to use, and functions well, however, a few days ago, I noticed approximately 4 times the usual amount of writes to the root volume. ...
2
votes
3answers
2k views

Need Ubuntu AMI of 10GB in size for Amazon AWS Free Usage Tier in Region “EU West”

I've created an account on Amazon AWS because of their Free Usage Tier promotion. It allows for a "t1.micro" instance, free of charge for 1 year. Unfortunately the "official" Ubuntu EBS images are 15 ...
1
vote
2answers
755 views

EBS backed AMI become instance-store AMI when migrate across region

I'm a bit confused here. I've been trying this for days but couldn't get it to work. Hopefully someone could shed some light here. I have 1 instance (Amazon AMI x86_64 AMI, EBS backed) running in ...
6
votes
2answers
3k views

Is RAID 1 overkill on Amazon EBS drives in terms of reliability?

My thinking behind this is that RAID 1 creates two or more copies of the data on multiple EBS drives. Yet, aren't Amazon EBS disks virtually fail-safe because they live on multiple physical drives? So ...
3
votes
1answer
1k views

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

Launching AWS Windows instance from snapshots?

I have a Windows-based Amazon EC2 instance with an EBS drive as the root device. Is it possible to launch a copy of this instance without creating an AMI - for instance, from a snapshot of the C: ...
2
votes
3answers
1k views

Amazon EC2 + EBS:: Regular backup plan?

I have read some articles about amazon ec2 instances and ebs. I found out that, the data on the instance are not persistent, which means, if the hardware fails, instance shut down, I will lost my ...
1
vote
1answer
96 views

Is it possible to have a spot instance mount a particular EBS volume as its root disk when started?

For example, in a scenario where you have an auto-scaling group of size 1 that launches a spot instance which continually uses the same root EBS volume.
1
vote
3answers
1k views

Sharing / replicating EBS across AWS nodes

I would like to use single EBS storage across multiple EC2 nodes (web/app servers). I've read some articles on snapshot sharing, but that doesn't suit well for what we need. We use filesystem for ...
2
votes
1answer
2k views

Where's my ephemeral storage for EC2 Instance

I have looked through the following questions, notably How to use "Instance Store Volumes" storage in Amazon EC2? However, it didn't answer. I created a EC2 small instance with EBS as the ...
2
votes
1answer
326 views

Growing a LVM volume with striping

I'm considering using LVM striping over several EBS volumes. So let's imagine the following case: Volume group DATA is created with 3 physical disks sdf1, sdg1 and sdh1. I create a logical volume ...
1
vote
1answer
496 views

Need a recommendation for shared storage on auto-scaling ec2 w/ scalr

I have come across so many answers to this question that I am completely lost! I am moving our 2 sites to a load balanced ec2 system with scalr as our cloud manager. Now the question is coming up ...
1
vote
1answer
551 views

netcat not found in Amazon AMI (Centos)

I followed this guide to migrate my amazon image from one zone to another. Everything goes fine, but when i run this command: netcat -p 9999 -l >/dev/sdf It shows that the command is not found. ...
0
votes
2answers
486 views

Multiple servers on the same port, using aws elastic load balancer

I've got this setup that works almost all right and, apparently, works the exact same way than this: UseCanonicalNames off <VirtualHost *:8888> RewriteEngine on RewriteCond %{HTTP_HOST} ...