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

learn more… | top users | synonyms (1)

0
votes
0answers
82 views

Creating a snapshot of an attached EBS volume is not working

I'm trying to create a snapshot of an 8GB volume attached to another instance whose device is named sdh5. I originally created this volume myself and mounted it as an ext4 filesystem. Now I'm trying ...
-3
votes
1answer
156 views

Amazon EC2 - Does the 160GB drive charges for IOPS? [closed]

If I buy a Standard Small EC2 instance, it comes with a 160GB. But does this 160GB drive is an EBS drive? Or simply storage for the OS... And also am I charged for the IOPS on that 160GB drive?
0
votes
1answer
145 views

How to upgrade a single instance's size without downtime

I'm afraid there may not be a way to do this since we're not load balancing, but I'd like to know if there is any way to upgrade an EC2 EBS backed instance to a larger size without downtime. First of ...
1
vote
0answers
65 views

Storage (EBS) attached to my EC2 instance reporting files on two devices at once

I have on EC2 instance with two attached EBS drives. One drive /dev/sda1 is mounted on / The second /dev/sda2 is mounted on /var2 So here's what's strange. Whenever I add any files to /var2 the it ...
2
votes
1answer
165 views

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 ...
0
votes
1answer
259 views

How does AWS Provisioned IOPS EBS volumes compare to dedicated disk [closed]

In the past, no one can answer the performance difference as they are not well documented. Now AWS offer Provisioned IOPS EBS volumes Let say you now you buy 1000 IOPS, how does this value compare ...
0
votes
3answers
2k 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 ...
0
votes
1answer
78 views

Installing Windows Server 2012 Preview on an Amazon EC2 instance

Is there any way of doing a clean install on an Amazon EC2 instance. I have the bootable installation media stored in an EBS volume. How can I boot from that volume? And do I have to use an automated ...
1
vote
1answer
391 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
56 views

Where to put script that backs up root EBS volume using snapshot

I have this awesome python script obtained from http://aws-musings.com/manage-ebs-snapshots-with-a-python-script/ I would like to back up the root EBS volume of my EC2 instances into EBS snapshots. ...
1
vote
1answer
99 views

Autoscaling EBS volumes

I've had a quick look for metrics in Cloudwatch and couldn't see anything but forgive me if I missed it. I would like to know if it's possible to watch and EBS volume and add more when it is nearing ...
0
votes
1answer
151 views

Backup script for Windows AMI

I just want to know what could you recommend a script to backup Windows server? I tried to use the normal Amazon API command line stated below and it’s working fine. However, when I restore the ...
3
votes
4answers
838 views

Amazon EC2 EBS volume scheduled backup/snapshots using puppet / similar tools

I am not a Linux admin, although I wish I was, and I have seen these questions Amazon EC2 Backup Strategy Amazon EC2 + EBS:: Regular backup plan? Simple Backup Strategy for Amazon EC2 instances / ...
1
vote
1answer
140 views

Getting 'Stale NFS file handle' when Mounting Amazon EBS Drive/Volume

I had some issues this morning with an EC2 instance so I stopped it and changed it's type and it seemed to unmount one of my drives. Now, I can't mount anything, including freshly created, attached ...
1
vote
4answers
156 views

How can I make an AMI mount the same volume when it initializes?

This is for a database (Postgre) VM, whose data is stored on a separate EBS volume. Can I make it so that the same EBS volume is mounted automatically (this is assuming that no other instance is using ...
1
vote
1answer
121 views

Are there measurable benefits to running XFS on EC2

I am looking at creating a PostgreSQL database image (to run on Amazon EC2) and I have heard good things about XFS. However, since ultimately you are running in a VM, the gain of XFS on EC2 might ...
0
votes
3answers
170 views

How can I create multiple identical AWS EC2 server instances with large amounts of persistent data?

I have a CPU-intensive data-processing application that I want to run across many (~100,000) input files. The application needs a large (~20GB) data file in order to run. What I would like to do is ...
0
votes
1answer
78 views

Amazon EBS for web site files

I'm new to the Amazon EC2/EBS system. I'm trying to figure out the "best practice" for hosting a web application (php, ASP.NET, etc.). The way I see it, I have 2 options: Have the instance hold my ...
-1
votes
1answer
52 views

EBS full device confusion

I have a 500GB EBS device (/dev/xvdf) mounted to /vol and all data on the box seems to be writing to /vol correctly (see du output below). For some reason /dev/xvda1 is totally full. Any idea what's ...
1
vote
1answer
118 views

High mysql server load, sar output

I have a MySQL Server that should be performing better than it seems to be. We're running ubuntu on a Amazon Cluster Compute (cc1.4xlarge) Linux ip-10-0-1-60 3.2.0-25-virtual #40-Ubuntu SMP Wed May ...
1
vote
2answers
223 views

Amazon EC2 root defaults on EBS

I'm trying to understand why when launching a new instance Amazon defaults to EBS (8gb root) instead of instance storage. Why do they sell instance storage then if it's not used also to boot the base ...
1
vote
3answers
405 views

Is it safe to mount an EBS drive at /mnt/some_name and reboot my EC2 instance?

From what I've seen online everyone seems to mount additional EBS drives at /mnt/some_name. However /mnt is the mount point of the instance's ephemeral storage and this gets lost when the instance is ...
2
votes
1answer
521 views

Increase size of mount point

I created an EBS volume (100GB) from a snapshot (10GB), but when I attach the volume to an instance and mount it as /vol, then I check with df -h, I see that /vol has size of 10GB although it's a ...
2
votes
2answers
739 views

Encrypting Amazon EBS Snapshots

Would love it if someone could help me out with this: The setup is a distributed LAMP architecture hosted on Amazon EC2 instances. MySQL Percona. We use Amazon's EBS snapshots for backups. We have ...
3
votes
1answer
727 views

Why is my AWS instance not reachable?

Yesterday, I created a new instance but I cannot connect to it. Tried pinging it from my computer, online ping sites etc but it is just not reachable. In the AWS console. everything seems to be ...
3
votes
2answers
1k 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 ...
0
votes
1answer
561 views

Can't mount after EBS snapshot and restore on Ubuntu 12.04

I'm trying to backup and restore an EBS volume on EC2. So this is what I'm doing: ec2-create-snapshot <ebs volume> -d <snapshot name> ec2-create-volume --snapshot <snapshot code> -z ...
0
votes
1answer
288 views

MySQL in amazon AWS: backup and disaster recovery - EBS snapshots v/s RDS

I will be uploading a web application to amazon ec2 instance in the next couple of weeks. I am using : windows server 2008 r2 64 bit as an amazon instance along with a 30 GB EBS. The only confusion i ...
1
vote
2answers
468 views

Switching EBS snapshot between multiple EC2 instances?

I currently have a micro-tier EC2 instance, and several snapshots of my drive. I'm running compilations that are taking a long time on the micro instance. I was wondering, is it feasible to shutdown ...
0
votes
2answers
723 views

Setting up Subdomains within Amazon AWS Elastic Beanstalk

I'm trying to setup an application within Amazon's Elastic Beanstalk, and I'd like to use a subdomain for part of the application. Ideally, that subdomain would be mapped to a folder within the ...
0
votes
0answers
628 views

Disk doesn't contain a valid partition table

I was running a m1.small instance ec2 ubuntu instance. I was running out of disk space, so I upgraded my instance to medium. When I upgraded I actually got 429.5 GB of space and after that I added 10 ...
2
votes
1answer
112 views

Create Windows AMI with instance storage

I have a business use case and workflow where local/instance/ephemeral storage for an EC2 instance is ideal. Unfortunately I'm coupled to a Windows platform for this particular task and the EC2 ...
0
votes
0answers
575 views

Mysql failed to Start Ubuntu 12.04 EC2

I followed this http://quarkgluon.com/tutorials/MySQL-on-Ubuntu-Lucid-with-EBS-Drive-EC2/ tutorial to move my existing MySQL installation form root EBS volume to new EBS volume everything just go fine ...
0
votes
2answers
659 views

How to move Mdadm RAID drive (EBS based) to different AWS Instance

We have a media-rich web application that is hosted on AWS. We have several Web Servers and we have an NFS server. On the NFS server (Linux server) we have several EBS volumes that are mounted and ...
0
votes
1answer
266 views

Starting a Amazon EC2 Free Tier with Ubuntu and Django [closed]

I'm planning to begin a Django project that may (or may not) grow to be a pretty big thing. So I wanted to start out well: buy my public DNS (not sure yet if with Google Apps or any other domain ...
4
votes
1answer
615 views

why does and EBS volumes mounted in an Ubuntu 12.04 EC2 instance as /dev/sdh1 appear as /dev/xvdh1?

When mounting an EBS volume on ubuntu specified as /dev/sdh1 it actually mounts it at /dev/xvdh1. The aws console still thinks it's mounted at /dev/sdh1 so it took a while to realize that it was ...
1
vote
1answer
854 views

Why do you need to specify the kernel ID when launching and instance from an AMI?

To my understanding the AMI contains all the files of the system, including compiled kernel. When you create an AMI from a snapshot you can specify the kernel ID (ex aki-*). Why then do you need to ...
1
vote
3answers
582 views

Amazon EBS : Is it flexible and expandable or is it a static disk

I just started the journey into cloud and my choice was Amazon. The free tier was very cool so i opted for this stuff. In the free tier there was a free storage of 30Gb (EBS), so i made a EBS Volume ...
6
votes
1answer
841 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
2answers
1k views

Running MySQL on Amazon EC2 with EBS (Elastic Block Store) and Elastic Beanstalk

I'm new to Elastic Beanstalk, but I created an environment with a container running 64bit Amazon Linux running PHP 5.3. I want to get MySQL set up on EBS, then install phpMyAdmin and import my ...
2
votes
1answer
168 views

How can I turn an existing Windows Server 2008 EBS-backed instance into a S3-backed (instance-backed) AMI?

I understand there is no direct conversion to get from EBS to S3. But is there some series of steps that can make this happen, or is rebuilding the image from scratch the best option? Is there a way ...
0
votes
1answer
441 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
195 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
1k 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
114 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
91 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
211 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
434 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 ...
11
votes
1answer
6k 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?