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

learn more… | top users | synonyms (1)

0
votes
1answer
489 views

Why do I get xfs_freeze “Operation not supported” error with ec2-consistent-snapshot? Debian Squeeze w/ext4 filesystem

I'm running the following command: [root@somehost ~]# ec2-consistent-snapshot --aws-credentials-file '/some/dir/file' --mysql --mysql-socket '/var/run/mysqld/mysql.sock' --mysql-username 'backup' ...
2
votes
3answers
197 views

quickly empty a Linux partition

I want to empty out all the data on a partition. What is the quickest way to do this? It is an Amazon EBS volume if that matters.
1
vote
1answer
2k views

“Disk /dev/xvda1 doesn't contain a valid partition table”

Iam newbie to EC2 and Ubuntu 11 (EC2 Free tier Ubuntu). I have made following commands. sudo mkfs -t ext4 /dev/xvdf6 sudo mkdir /db sudo vim /etc/fstab /dev/xvdf6 /db ext4 noatime,noexec,nodiratime ...
2
votes
1answer
115 views

Recovering the remainder of an ext3 volume spread over multiple lvm physical volumes

I have an LVM logical volume spread over eight separate physical volumes on Amazon AWS. The logical volume is formatted using ext3. One of my physical volumes has failed. Is there any way to recover ...
3
votes
2answers
2k views

How to migrate an EC2+EBS standard instance to spot instance?

I've been playing with EC2 spot instances, with the ultimate aim of migrating a standard instance hosting a website to a spot instance (yes, I'm well aware this really isn't what spot instances are ...
2
votes
2answers
92 views

Is it “safe” to create a AMI image from a running EBS instance with another EBS attached to it?

I have an EBS backed AMI up and running and another EBS attached and mounted as a persistant storage device. Is it safe for me to create an a new AMI image (via the AWS Management UI) while the ...
2
votes
1answer
229 views

high cancelled_write_bytes

On a MySQL server running on AWS EC2 with an EBS volume iostat returns the following avg-cpu: %user %nice %system %iowait %steal %idle 37.67 0.00 5.26 0.75 0.08 56.24 ...
4
votes
2answers
462 views

persistent storage on Amazon EC2 and other questions

i come from the land of VPSes, and all this cloud hype confuse me. i have been reading through the amazon EC2 guide for the past 2 days, but i still have few sketchy points i'm not understanding. if ...
15
votes
1answer
7k 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?
-1
votes
1answer
91 views

Which filesystems are better for serving php code (via apache2) on amazons EBS?

I have an Ubuntu EC2 instance on amazon. The instance has an apache2 webserver serving php5 code. I'm using APC for op-code caching, Zend Framework as my framework, and Doctrine 2.2 as my ORM. EDIT ...
4
votes
2answers
1k views

What design features make Joyent's ZFS and Amazon's EBS (S3) reliable?

I know this isn't exactly an apples to apples comparison, what I'm trying to evaluate is which one is safer - less likely to lose data. Joyent's SmartOS uses ZFS to store data whereas an EC2 machine ...
1
vote
1answer
687 views

EC2 Sql Server with EBS and ephemeral drives

I'm planning to start a EC2 high memory instance with SQL server on it. I'm working through how to setup the drives as the current dedicated hardware is set to a raid-5 but only 4gb of ram so a lot of ...
1
vote
1answer
156 views

Share EBS storage in Amazon VPC

I'm looking at replacing a ( 2 LAMP, 2 Oracle RAC) physical configuration with an Amazon VPC. I'm thinking of 2 Linux instances where Apache+PHP will be installed and 2 Linux instances where Oracle ...
1
vote
2answers
697 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 ...
1
vote
1answer
425 views

How many EBS drives I can mount on a single EC2 instance using Amazon Web Services ( AWS )?

How many individually functioning EBS drives ( non-raided ) can I connect to a single Amazon EC2 server running Linux CentOS? I can't find a value in the EC2 or EBS manuals. Are there any other ...
0
votes
2answers
213 views

Amazon attaching ebs volume time

I would like to know the amount of time that I need to wait to attach and ebs of 200Gb to my instance. I expenting too much time in comparision with other times and smallers ebs. Does the size of the ...
2
votes
3answers
982 views

Amazon EBS store vs Instance Store with Termination turned off?

What's the difference between the two? It seems as if using an instance store the root drive is ephemeral and EBS isn't in the event of a termination. But, if you're not terminating does it matter? ...
2
votes
2answers
1k views

Software Implementation of RAID 10 on a Windows Server 2008 running on Amazon EC2

Does anyone know of a software implementation of RAID 10 that will work on a Windows Server 2008? Specifically I'd like to use it on a virtual instance running on Amazon's EC2, connected to EBS ...
1
vote
0answers
72 views

How to Purge old EBS backups?

Anyone knows of a good way to automatically purge old EBS snapshots? We have a cron script backing up the whole instance from inside, via EC2 API snapshots, but the snapshots tend to accumulate. I ...
7
votes
1answer
1k views

XFS: no space left on device, (but I have 850GB available!)

I'm using a combination of mdadm, lvm2, and XFS on Amazon EC2. So far, I've had success running a RAID 5 volume built from a number of EBS volumes. The EBS volumes are attached and used with mdadm to ...
6
votes
1answer
887 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 ...
1
vote
1answer
165 views

Is this infrastructure safe for scaling EBS online?

Our application uses EBS to store data. The storage requirement of the application grows rapidly as users signup. We need to do it online so that users don't experience downtime with the application. ...
2
votes
2answers
675 views

Efficient plan for backing up EC2 instance, EBS volumes and RDS DBs

I have an EBS-based EC2 instance (ebs_vol_1) which mounts and extra EBS volume (ebs_vol_2), and DB in RDS. Is tacking a snapshot of ebs_vol_1 & ebs_vol_2, enough for preventing data-loss? Is ...
0
votes
0answers
501 views

Several errors starting EC2 instance - EBS-backed

A little background: We converted our S3-backed (instance-store) AMI to an EBS-backed AMI recently. The process basically equated to: Stop the server Image the filesystem using ec2-bundle-image ...
0
votes
1answer
288 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 ...
5
votes
4answers
4k views

High iowait on Amazon EC2 MySQL instance with EBS volume

We have a MySQL server running on an Amazon EC2 c1.medium instance relying on a single EBS volume using the ext3 filesystem for storage. This MySQL server is queried ~500/ps by several applications ...
0
votes
2answers
887 views

Build solution for Jenkins with Amazon EC2 - How to keep state between builds

I'm trying to move my build environment to EC2 using Jenkins. I have a lot of source to check out each time, so I want to preserve the source persistently between builds. This would be easy if ...
1
vote
1answer
106 views

Amazon EC2/EBS - If I share an EBS Snapshot am I charged for others' usage of it?

As the subject says I want to know if I make a snapshot of my EBS public and others use it, do I get charged for that? Background if anyone is interested: I have a bioinformatics program I want to ...
4
votes
1answer
963 views

How to programmatically migrate an EC2 EBS AMI to other regions?

Before EBS based AMIs were available, it was possible to use the command ec2-migrate-image in order to migrate AMIs to different regions. Is there a simple way to do the same for EBS based AMIs? ...
0
votes
1answer
540 views

Moved mySQL to an EBS volume, now innoDB performs very slowly

Hello has anyone had a similar problem to this.. I've set up a new instance on Amazon EC2 for a client. I've also attached a 250GB EBS volume to hold the files and configured mySQL to use the EBS ...
2
votes
2answers
1k views

Amazon EC2 - What's the point of having Instance storage if it is non-permanent and EBS provides a permanent store?

I'm specifically looking at the Standard Large On-Demand instance which has 850 GB of instance storage. What I really don't understand is why have 850 GB of storage on the instance if that data will ...
0
votes
1answer
137 views

Amazon EC2 instance-reboot on EBS backed instances

I received notification that many of my EC2 instances will be rebooted for scheduled maintenance. They are scheduled for an "instance-reboot," which makes sense because most of my instances are S3 ...
1
vote
1answer
971 views

Amazon EC2 EBS pricing over a month of dynamically allocated space? [closed]

I see http://aws.amazon.com/ebs/ which says $0.10 per GB allocated per month. However, if I were to create a 30GB EBS image on day 1, delete it after a day and have 0GB for the rest of the month, how ...
1
vote
1answer
1k views

AWS volume takes forever to attach. How to debug?

I have a 10GB volume attached to my production EC2 instance (It's only 300MB full). In order to do backups, I created a snapshot of it. Then I created a volume from it, which I tried to attach to ...
4
votes
2answers
519 views

Is EBS naturally CPU-hungry?

We have an m1.medium EC2 instance with a small (15G) EBS drive, running both Rails 3 and a PostgreSQL server. We've noticed CPU spikes at odd times, and finally realized that even simple, sustained ...
2
votes
1answer
479 views

Why Can I Not Use m1.small And m1.medium Instances With By EBS Boot Image On Amazon AWS?

I modified a Canonical ubuntu image on a t1.micro sized instance, saved the EBS boot image, and am now trying to re-start it using a slightly larger instance. The only instances available (for ...
5
votes
1answer
910 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. ...
1
vote
2answers
127 views

LAMP server on AWS running out of HD space. Options?

I have a simple LAMP stack on an EBS Ubuntu instance on AWS EC2. It's been running well for a while now, but I'm now starting to run low on hard disk space. What are my options? I've already ...
3
votes
1answer
797 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: ...
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 ...
4
votes
2answers
3k views

How do I mount an EBS root volume to a windows instance in Amazon EC2

So basically, I created a large windows server for development, and then I created a micro windows server for production. I set up everything how I wanted it on my development server, and then i ...
2
votes
1answer
617 views

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 ...
0
votes
2answers
383 views

Best practice for storing read-only instance data?

So, i'm currently writing my bachelor thesis and my job is to cloudify a webservice which recommends a soundtrack for images. The main part of the recommendation process is a lookup on a ~40gb index ...
5
votes
1answer
2k views

At what point is EBS usage the bottleneck?

I've got a site hosted on Amazon using a EC2 instance backed by an EBS volume. On the weekends, traffic spikes and I make the instance larger which helps quite a bit -- I'm no longer seeing CPU usage ...
2
votes
1answer
515 views

Root file system not grown after replacing with a larger EBS on AWS

I had a 8GB EBS attached to my EC2 Instance but I was running out of space what I did on the AWS Management Console: Create a snapshot of the current EBS (8GB) Create a new EBS based on the ...
0
votes
1answer
535 views

Large downloads from AWS EC2 are slow

We have an EC2 instance in the Ireland datacenter. Running off this is a website that permits the download of several files whose size ranges from 10MB to 200MB. The site stores the files on EBS. The ...
7
votes
4answers
2k views

Software RAID10 for later growth

I'm wondering what the best practice is for creating RAID10 in software on Linux with the ability to later grow by adding disks or expanding volumes underneath. I'm using EBS on Amazon, I want to ...
1
vote
1answer
302 views

Disk/EBS volume that is part of an Raid0 drive suddenly becoming unreadable/unavailable

We have a 4 x 100gig EBS volumes used as dynamic disks in a raid 0 (striped) drive attached to a Windows2008 R2 Datacentre 64bit Amazon EC2 instance. This all works fine, except we have had 3 ...
4
votes
2answers
4k views

Ec2 micro instance, EBS, I/O and speed. How can I improve performance?

I have a micro instance mounted with an EBS volume. I have to pay per million read/writes to the EBS volume. But by the very nature of EBS I/O is very slow and consequently services like MySql is ...
2
votes
1answer
542 views

How to set up command-line access with limited permissions to EC2?

I added a user "Snapshotter" to my AWS account (via IAM) with permission just to ebs:CreateSnapshot. On one of my instances I want to have a script that periodically created a snapshot, but without ...