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

learn more… | top users | synonyms (1)

1
vote
3answers
546 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
1k 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 ...
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 ...
0
votes
1answer
817 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
371 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
1k 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
119 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
2answers
955 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
285 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
642 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
692 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
190 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
591 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
201 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
286 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
502 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 ...
17
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?
-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 ...
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
843 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
165 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
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 ...
1
vote
1answer
491 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
249 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? ...
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
74 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
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 ...
1
vote
1answer
168 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
752 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
1answer
335 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
1k 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
110 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
999 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
563 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
2k 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
152 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
1k 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 ...