Questions tagged [amazon-ebs]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
579 views

Mounting an attached EBS volume to a EBS based instance on Amazon EC2

I have an old Fedora 8 server running on instance store. I just built a Fedora 12 server that is on EBS. Now I know this may be redundant since my new Fedora 12 instance is on EBS, I would like for ...
6
votes
1answer
2k views

How to create a new public AMI for windows with a random password?

I am trying to make a windows 2008 AMI that is a nice clean 64bit starter pack (IIS, SQL express, ASP.NET MVC, etc...) I would like to make it a public AMI when its done. There in lies the problem. I ...
2
votes
1answer
3k views

How do I shrink an EBS volume on Windows Server 2008?

I have a Windows Server 2008 instance on EC2. I need to shrink one of the drives (non-root) to a certain amount. Is there are well defined way of doing it? Thanks
3
votes
1answer
216 views

pdflush hanging on Amazon EBS drives when using multi-GB files - any workaround?

When I run gunzip on a 1.7GB file (which generates an 8GB file) on an EBS volume, pdflush freezes after gunzip runs and the CPU hangs indefinitely at 100% IO Wait. Here's the output from 'ps aux | ...
0
votes
1answer
410 views

Does xfs_freeze suffice to snaphot MySQL db?

I am writing a script to snapshot EBS volumes on AWS. One of the volumes contains the data for a mysql database. I am aware that I need to somehow stop data being written to the database while the ...
0
votes
1answer
2k views

EC2 Autoscaling AMI and auto attaching new EBD from snapshot

Trying to work out how to configure EC2 autoscaling to automatically attach and EBS volume when a new instance is spawned. Ideally we're trying to achieve the following when a new instances is ...
1
vote
1answer
305 views

trouble attaching ebs volume to ec2 instance

I am trying to attach a ebs volume to an ec2 instance, with this : $response = $ec2->attach_volume($volume_id, $disp['instanceId'], '/dev/sdf'); It goes to "attaching" state, then to "attached" ...
5
votes
2answers
844 views

CentOS, Amazon EC2, and EBS AMI

How do you go about finding the most "accepted" image for Amazon which allows you to store it as an EBS image. Specifically I'm looking for a CentOS image.
0
votes
1answer
577 views

Create an EBS based EC2 AMI from Ubuntu server with some tools installed

Download Ubuntu Server (last LTS version, 10.04) Install it under VirtualStudio, or any other VM. Install some useful stuff for GIS developers, like build essentials, PostgreSQL, PostGIS and GDAL ...
0
votes
2answers
393 views

Loading a snapshot on a live instance to replace the root volume without terminating or stopping

I have a small EC2 instance running Ubuntu 9.10. I cannot stop or terminate it because it's a production server and we cannot lose our IP. I have an Amazon EBS volume that is our root drive and I ...
0
votes
1answer
513 views

How long does it take to create an OCFS2 filesystem on a 1TB disk?

I'm creating an OCFS2 fs for use with DRBD and it's taking an awful long time to create the filesystem. I haven't done it before so I'm wondering if someone with more experience can relate how long ...
0
votes
2answers
1k views

How to create a smaller disk size Windows instances on Amazon EC2?

Does anyone know how to create smaller disk size Windows instances on Amazon EC2? Their default is 30 GB, and I have to pay $0.10/GB/month for EBS storage, which means that for each Windows instance I ...
0
votes
1answer
438 views

Unable to use EBS volumes

I have a Debian AMI that I built, its working great, but I cannot access any EBS volumes. I have created an EBS volume and, using the EC2 control panel, I have attached it to my instance as /dev/sdf ...
12
votes
3answers
10k views

Amazon EBS charges calculation

How/when does Amazon calculate how much I will have to pay for EBS? I accidentally created a 100 GiB EBS volume and deleted it after 20 mins when I realized what I had done, does it mean I will be ...
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 ...
2
votes
2answers
1k views

Best AWS Architecture?

The goal is to have as much redundancy as possible so that we can quickly recover from instance failures or any other issues. Our current AWS setup for a Rails WebApp that we run is as follows: EC2 ...
1
vote
2answers
2k views

Speed of file transfer from Amzon S3 to EC2/EBS

I'm working on estimating how long it would take to download 100 GB worth of files from Amazon S3 to an EBS drive. Assuming both are in the same region, what kind of speed could be expected?
25
votes
3answers
10k 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 ...
1
vote
2answers
1k views

What is the easiest way to upgrade an EC2 instance type?

In order to upgrade our EC2 instances (or downgrade for that matter) I use the AWS console to "Create Image (EBS AMI)" and then I launch the AMI once it has been created. Is there a way that would ...
16
votes
4answers
20k views

Fastest time to get an EC2 instance running

I am considering moving from a VPS to EC2. EC2 is elastic and so is its pricing; I could boot my instance on demand, then let it shut down if it isn't active by the end of some hourly period. How ...
0
votes
1answer
156 views

getting 4 ebs volumes to work with a windows server 2008 ec2 instance

I'm trying to have 4 ebs volumes attached to the same instance. One of the ebs volumes is the already attached root volume. Another one already attached, has its drive name set. As soon as I attach ...
3
votes
2answers
1k views

How different is an Amazon EC2 RDS DB Instance different from the normal EC2 Instance?

How different is the Amazons RDS DB Instance different from The normal EC2 Instance other than the fact that RDS DB Instance has a Database server running on it? When an EC2 Instance goes down all ...
0
votes
1answer
3k views

How to force detach EBS from EC2 instance?

I can't restart my EC2 instance, and there are important data in both the EC2 instance and external EBS volume. Now I want to mount the EBS in my new temporarily created EC2 instance, and fix that ...
4
votes
1answer
1k views

Is possible to convert EBS-backed ami to s3-backed ami

I have an EBS AMI running Windows Server 2008. Is possible to converter it to a S3 backed ami? In ElasticFox, the "bundle into an S3 ami" option is grayed out. If this is possible, how? If this is ...
6
votes
2answers
2k views

Amazon EC2 Spot Instances very slow at getting accepted/starting

I've recently made a new Ubuntu EBS image on Amazon EC2 and since what I am running isn't of the utmost importance, have decided to run it as a spot instance to take advantage of the lower pricing. ...
4
votes
3answers
310 views

AMIs in Amazon EC2

I really like the Amazon EC2 environment, and thought I'll spend a bit of time playing around with various types of public (Windows!) AMI servers. But testing has been a bit, well, questionable. Some ...
2
votes
4answers
4k views

Uploading files to EC2 Windows instance

I've created an instance of a Windows Server 2008 AMI at Amazon EC2. I now need to upload some installation files to it. One way to do this would be to activate the FTP server in Windows, set up an ...
0
votes
1answer
797 views

(Amazon AWS) EBS mount error: Stale NFS file handle

I have an EC2 instance that just went offline (cannot even be pinged) but is still reflected as operational. In an effort to retrieve data stored on an attached EBS, I did a forced detach of the ...
1
vote
1answer
326 views

EC2 EBS drive letter assignment - is it as consistent as UI/API implies?

In EC2 EBS, when I attach a device via UI or api, I specify the device name (eg /dev/sdf through sdp). That drive letter is consistent between reboots ? It seems implied that it is (otherwise why ...
2
votes
3answers
2k views

Ubuntu Software RAID 0 on AWS Does Not Survive Reboot

I'm experimenting with creating a software RAID 0 device from 4 EBS volumes on Ubuntu 9.10 running at Amazon AWS following this guide: http://alestic.com/2009/06/ec2-ebs-raid The device appears (and ...
0
votes
1answer
2k views

Backing up Amazon EC2 machines with Bacula

What's the best way to back up Amazon EC2 machines with Bacula? Currently it seems not possible to use S3, is that correct? Could it just be done with EBS?
13
votes
3answers
8k 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 ...
0
votes
1answer
750 views

Can I re-attach a (ZFS) EBS volume when starting a new EC2 instance?

I'd like to use an OpenSolaris EC2 instance as a DB server, using an external EBS volume connected to a ZFS pool. If I set-up the ZFS pools then bundle-up the EC2 image, could I terminate the ...
3
votes
2answers
2k views

Auto re-attach EBS volume on start-up?

I'm setting up a database server on EC2, and I need to ensure that an EBS volume is automatically attached and is available before the database service starts up. I'm using SMF so I can test whether ...
1
vote
3answers
2k 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 ...
1
vote
2answers
4k views

creating EBS volumn from and attaching to the same instance?

Is it possible to create a EBS volume from and attach it to the same instance? will boto be of some help?
2
votes
1answer
1k views

EC2: How dangerous is it to turn off fsck for EBS volumes?

I have been tearing my hair out trying to figure out why my EC2 instances (made from my own custom AMIs) were taking many tries to come up properly. They would fail with the following error: fsck....
0
votes
2answers
769 views

Amazon mount EBS

I'm trying to mount /vol to a EBS volume on an Amazon EC2 instance. I'm formatting the device to xfs, adding "/dev/sdh /vol xfs noatime 0 0" to my /etc/fstab file, making the /vol dir and mounting it ...
1
vote
1answer
508 views

Automated EBS snapshots in Windows Server 2003

I've successfully done automatic snapshots from an Ubuntu instance on AWS using a bash script and the API tools. But how is this done with a Windows Server instance? Is there a similar set of tools ...
3
votes
3answers
2k views

AWS - Where should we store images, CSS and log files of the application?

Looking for a clarification and guidance on the best practice. Where should we store images, CSS and log files of the application? Application server or S3? We will be storing user related images ...
9
votes
4answers
14k 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 ...
11
votes
5answers
9k views

Which is faster for read access on EC2; local drive or EBS?

Which is faster for read access on an EC2 instance; the "local" drive or an attached EBS volume? I have some data that needs to be persisted so have placed this on an EBS volume. I'm using ...
2
votes
3answers
1k views

EC2 EBS AMI Instance stopping/restarting doesn't start services

I've recently been moving our instances to EBS instances (CentOS) and still have a bit of confusion on what's happening when I "stop" and instance. I have some of my services with runlevels 345 on but ...
6
votes
4answers
3k views

MogileFS/GlusterFS/etc + Amazon EBS + Amazon EC2

I have a web application that serves binary files (images, etc). Our application runs on Amazon EC2. We were originally going to use Amazon S3 to store and serve these files, this is no longer an ...
1
vote
2answers
778 views

Using Amazons AWS: mounting EBS on EC2 instance: 1 GiB appears as 414GB

Using Amazon's AWS, I created a 1 GiB volume. I attached it to a running instance and formatted it with ext3. I then mounted it and and used df -h to report its size. It's apparently 414G. I'm already ...
6
votes
4answers
10k 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 ...
1
vote
1answer
425 views

Amazon EC2 IO consistency

Context: We are experiencing problems with large Solr indexes hosted on machines in EC2. One theory that's been offered is that this could be due to intermittent IO problems or spikes in IO latency. ...
3
votes
2answers
8k views

is CPU actually occupied during iowait (%wa in top) on Linux / EC2?

On an 8-way Amazon EC2 instance (running Linux 2.6.21) with 8 EBS volumes and a lot of disk traffic, we see high %wa in top (30-40%), and high load average (8-9). My understanding is that processes ...
4
votes
2answers
2k views

EBS with RAID0 (striping) and restoring snapshots

We have a MySQL database on EC2 and are looking at the disk IO performance there. Currently we have a single EBS volume with XFS and take snapshots for backup. It seems that a lot of people have ...
1
vote
2answers
240 views

ln -s not working under /mnt/

I'm following this tutorial to set up a LAMP stack on EC2 with persistent storage on EBS. It all works well when doing it step by step. But in case you want to mount your EBS under /mnt instead of ...