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

learn more… | top users | synonyms (1)

1
vote
1answer
122 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
210 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
3answers
1k 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
171 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
199 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
128 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
272 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
85 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
57 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
197 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
278 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
663 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
1k 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
1k 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
2k 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 ...
13
votes
3answers
4k 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
908 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
402 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
494 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
2k 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 ...
2
votes
1answer
123 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 ...
1
vote
2answers
1k 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
293 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
646 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
1k 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
735 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
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
2answers
2k 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
201 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
675 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
203 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
124 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
93 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
347 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 ...
5
votes
2answers
528 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 ...
24
votes
1answer
11k 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
94 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 ...
5
votes
2answers
2k 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
919 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
177 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
793 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
561 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
292 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
1k 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? ...
3
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 ...
7
votes
1answer
2k 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 ...
7
votes
1answer
2k 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
170 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. ...