Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [amazon-ebs]

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

4
votes
1answer
2k views

What happens when I delete the first of several AWS EBS snapshots?

On http://aws.amazon.com/ebs/pricing/ it says: "EBS Snapshots [...] For the first snapshot of a volume, Amazon EBS saves a full copy of your data to Amazon S3. For each incremental snapshot, only ...
2
votes
2answers
782 views

How to select snapshot for root EBS volume

I have a custom AMI, with a corresponding EBS snapshot, made some time earlier. Recently, I have decided to create a newer EBS snapshot to reflect some software updates. Then I wanted to submit a spot ...
1
vote
2answers
357 views

Do several EBS drives really improve overall disk throughput?

On m3.xlarge instance (EBS Optimized – True) : There are two EBS disks: /mnt/data0, /mnt/data1 Single dd: dd bs=1M count=1024 if=/dev/zero of=/mnt/data0/test conv=fdatasync 1024+0 records in ...
1
vote
1answer
428 views

AWS give Apache permission to write to different EBS volume

I have an EC2 instance that is running Apache and my website (php files) is also on that EC2 instance. Website users will be able to upload and download files and I would like to store (user uploaded) ...
0
votes
1answer
147 views

Backing up an EC2 EBS Windows volume offline

I would like to backup offline a Windows EC2 EBS Volume, i.e. on my computer and not in the cloud. Note I can stop the instance and detach the EBS volume if needed. Is it at all possible with Amazon's ...
2
votes
3answers
410 views

Can I use ZFS to replicate (fast) EC2 instance store to (slow) EBS store?

I love the idea of using SSD EBS instance stores as L2ARC and ZIL for a zpool backed by EBS. Going further (and into more dangerous territory), could I instead create a zpool mirror with the 2 ...
1
vote
1answer
988 views

The disk that shows up on AWS EC2 instance - where is it coming from (among the AWS EBS volumes)?

I have a running AWS EC2 instance (Ubuntu 12.04.4 LTS). When I ssh into that instance and do a 'df -h', I see the following: Filesystem Size Used Avail Use% Mounted on /dev/xvda1 99G ...
1
vote
1answer
446 views

No primordial pool in 2012R2 on AWS with EBS disks

I'm trying to experiment with storage pools on Amazon's new 2012R2 AMI. I've created several EBS volumes and attached them to the instance. In the Server Manager I brought them online and ...
1
vote
1answer
918 views

Backup Mongodb on EC2 through EBS snapshots - timing issue

I'm following this guidance http://docs.mongodb.org/ecosystem/tutorial/backup-and-restore-mongodb-on-amazon-ec2/ I have 4 EBS 1000 IOPS volumes assigned to instance. These 4 volumes through MDADM ...
1
vote
1answer
359 views

Selecting an EBS Volume as Root for EC2 instance

When launching an EC2 instance you have the option to select storage for your system but it seems to automatically choose a root volume for you. Is there a way to choose a root volume from among your ...
3
votes
2answers
2k views

Monitor AWS EC2 volume capacity

I have a EC2 Ubuntu server instance with a 15GB volume, running a web service. The web service is logging to date-formatted files which are pruned after 7 days. The load on the server is still low, ...
1
vote
1answer
361 views

Convert Windows Amazon Instance-backed AMI to EBS

I've come across plenty of how-to's for this that deal with Linux (and back in 2010 when not all tools were available on the EC2 web interface) but none that deal with Windows (that work). I've tried ...
-2
votes
2answers
219 views

Amazon EBS Durability

According to this link: http://aws.amazon.com/ebs/details/#availabilityanddurability It said: Amazon EBS Snapshot can expect an annual failure rate (AFR) of between 0.1% – 0.5%, where failure ...
-3
votes
2answers
1k views

Detatch an EBS volume from one instance and attach to another [closed]

If I detatch an EBS volume from an EC2 instance and then attach it to another newly created EC2 instance, would that be okay? If it would work then would I need to install any libraries like PHP, ...
0
votes
1answer
554 views

Heartbleed testing tools do not recognize reissued certificates (PositiveSSL Wildcard + Amazon ELB)

In response to the Heartbleed news, I have upgraded OpenSSL on my production server and am now trying to reissue the SSL certificate. I am using a PositiveSSL Wildcard certificate on an Amazon ELB. I ...
0
votes
2answers
888 views

Adding EBS volume to Amazon EC2 server. Do I need to?

So I created a free-tier Amazon EC2 ubuntu 12.04 instance. I set up a LAMPP stack on it and use it for a couple of testing websites. Currently, all the data is stored on the server itself, including ...
0
votes
1answer
75 views

MySQL Replication across two mounts on AWS Amazon Linux

Recently we took advantage of the SSD instance stores available on AWS. While these are great, they obviously get deleted when the instance dies. Obviously the performance of non Provision IOPS is ...
0
votes
1answer
304 views

Single ec2 instance with multiple mySQL databases on separate EBS volumes

I have a single ec2 instance on which I am running multiple separate wordpress sites. I want to store the database for each separate site on it's own mounted ebs volume, so that I can handle the db ...
-1
votes
1answer
601 views

is there a maximum size limit on the root drive while creating a new EC2 instance? [closed]

say, if I setup a windows server 2012 instance, is there a maximum size limit on the C drive?
21
votes
1answer
21k views

Creating an EC2 AMI Image from a running instance vs. from a volume snapshot

I want to backup a Linux-based EC2 instance while it is running with no downtime, and then later on launch a new instance. (The instance is running a web server and Postgres database.) I found there ...
0
votes
2answers
1k views

Anyway to determine Amazon Machine Image (Creation Date)?

I am trying to see if anyone knows how to identify the creation date for Amazon Machine Image(s)? I have looked all through the documentation on the AWS site, and do not see anything. The only ...
2
votes
3answers
1k views

Backup EC2 instances

I found a lot of questions to this topic already, but I'm still not 100% sure what's the best approach to do so. The option I'd prefer is using EBS snapshots. The pros would be that I can spin up a ...
2
votes
0answers
756 views

How to restore a dd image to an EBS volume

I have a local dd image myimage.bin, which I want to use to create an AWS EBS volume. The only way I can figure out how to do this is to, 1) Launch an AWS instance 2) Create and attach an EBS ...
0
votes
1answer
858 views

Installing ElastiCache Cluster Client on PHP AWS Elastic Beanstalk (without creating resource)

Elastic Beanstalk does not, by default, install the ElastiCache Cluster Client PHP module. This is needed to connect to an ElastiCache node cluster. Reading around, most of the instructions relate to ...
10
votes
3answers
11k views

Root Device on SSD instance types. SSD vs EBS confusion

I have an AMI that was originally created from a t1.micro linux. The "Root Device Type" of this AMI is EBS (8 GB) and my web application software is "baked" into this root volume. Now I would like to ...
1
vote
1answer
704 views

How do I create a instance store backed AMI, from EBS backed AMI?

I was on to task of creating a new CentOS 6.4 AMI and started with CentOS market place image. To my surprise I found that CentOS has only released AMI's with EBS backed stored and there is no instance ...
1
vote
1answer
78 views

Snapshots - where are they running from?

I have an odd 'issue'. And I feel a little dumb asking. Just after Christmas, 2013, I added a cronjob on one of my EC2 instances to snapshot all of my EBS volumes that had a tag where backup=true, ...
2
votes
2answers
2k views

Any issues with filesystem-only backups on PostgreSQL?

I am running my DB server in amazon cloud, and I have the database files on a separate EBS volume. When it comes to backup/restore operations, I found it infinitely simpler to just do a filesystem-...
0
votes
1answer
4k views

Amazon EC2 - Can't connect to my Windows instance using a remote desktop client

Using Amazon EC2 I successfully launched a Windows Server 2012 instance. I was able to connect to it using a remote desktop client and configure it as needed. From the EC2 console I then selected ...
3
votes
1answer
526 views

Is it possible to have a spot instance mount a particular EBS volume as its root disk when started?

For example, in a scenario where you have an auto-scaling group of size 1 that launches a spot instance which continually uses the same root EBS volume.
1
vote
2answers
334 views

Best way remove old log without blocking cpu

I have 3 AWS EC2 machines, using each 500G of EBS storage. On them I have SolrCloud search engine running on Jetty, and serving lots of queries. In time the jetty logs have grwn hugely, up to ~200G in ...
0
votes
0answers
70 views

Point existing EBS to new EC2 instance

I have an EC2 instance running Ubuntu 11.04 with EBS attached, now I am planning to move to Amazon Linux AMI 2013.09.1 Can I just launch new instance and map existing EBS is that enough or is there ...
-1
votes
1answer
567 views

Amazon ECS free tier pricing [closed]

A quick question, I have two volumes allocated with 30GB and 8GB of space. And now I just reviewed the report and am being charged for 2.756 GB-Mo of usage. Then I read that $0.00 per GB-month of ...
4
votes
1answer
3k views

How to calculate the required EBS PIOPS for our mongo server?

We want to use provisioned IOPS EBS volume on our mongo machines, I'm a bit confused on how to calculate the number of provisioned IOPS to use. Currently we're getting an average of 25 IOPS (read + ...
2
votes
1answer
767 views

Is it safe to snapshot an mdadm RAID with only xfs_freeze?

Is mdadm guaranteed (and trusted via experience) to be safe for taking snapshots with only an xfs_freeze? I have encountered vague warnings about mdadm still working in the background, thus making ...
0
votes
1answer
1k views

AWS: Best solution for syncing files across autoscaled EC2 instances?

I'm working on setting up autoscaling on EC2; Instances will be running a web app with big traffic spikes. The first solution I tried for syncing files across instances (since the web app will write ...
0
votes
1answer
151 views

Bootstrap not mounting EBS volume

I'm running the following when Bootstrapping an Ubuntu 12.04 EC2 instance: mkfs.ext4 /dev/xvdf mkdir /vol01 echo "/dev/xvdf /vol01 auto noatime 0 0" | tee –a /etc/fstab mount /vol01 It formats the ...
6
votes
1answer
398 views

How to make a Cent OS install as similar to an EC2 rhel based instance as possible?

I'm trying to setup vagrant to deploy locally, while we also want to deploy to elasticbeanstalk. So how can I make my local cent OS Vagrant VM as close to the Amazon EMI as possible? My co-worker ...
-2
votes
1answer
150 views

Sync EC2 instances [closed]

I know many people have asked how to sync multiple ec2 instances and it seems the usual answer is to store all the assets in S3. Would this still make sense if the only thing I am trying to share ...
1
vote
1answer
364 views

Sharing an EC2/EBS RAID10 Array using NFS

I created a 10 disks RAID10 using EBS on AWS EC2 using mdadm on a ubuntu 12.04.2 LTS instance. Let's call this instance A. It works fine and I can create files and folders perfectly in the volume. I ...
0
votes
1answer
353 views

EC2 backup strategy, 2 EBS volumes

i've currently set up a Windows EC2 instance with MySQL installed on the root/C: drive, with the database files, logs, etc on another volume. Is it safe to use snapshots to back up the instance? My ...
1
vote
1answer
684 views

When EC2 instance goes down, how to bring up new machine with existing EBS volume?

We've got an app where customers upload data and documents to a number of EC2 instances. We store the uploads on EBS volumes. Occasionally our app will fail. Sometimes it's something in our app ...
4
votes
1answer
3k views

Can I use MongoDB with Amazon EC2 small instance?

I want to move my MongoDB from a virtual server to amazon web services. I know MongoDB provides a preconfigured AMI, with three provisioned EBS volumes. But this is only available for m1.large ...
5
votes
3answers
5k views

How can I add an ephemeral disk to an existing EC2 instance?

Six months ago I created an EC2 Instance with a Plesk license from the AWS Marketplace. Now I would like to add an ephemeral disk in order to put the temporal backup data generated by the Plesk. The ...
3
votes
2answers
97 views

Should I always partition a virtual drive?

This might seem like an odd question at first, but I was experimenting with an Amazon EC2 instance and forgot to partition an EBS drive under Linux. I discovered I could directly format it with a ...
1
vote
1answer
337 views

Amazong EBS showing unreal disk usage

I have an EBS of 8 GB and when I've checked my free space it says I'm using almost all of it: Filesystem Size Used Avail Use% Mounted on /dev/xvda1 7.8G 7.2G 185M 98% / proc ...
0
votes
1answer
772 views

Host multiple ssl domains in amazon Ec2 instance

I need to install multiple ssl domains in my amazon ec2 instance.Amazon ec2 allows only one IP address so I decided to use load-balancers for each domains. Scenario : I host 4 domains in an ec2 ...
0
votes
1answer
225 views

Can i have 400 snapshots in Amazon Ec2 if they are incremental only

I want to know about snapshotting. Amazon says that they make Incremental backups Only charge for the data chnaged between snapshots Now my question is let us suppose the only data which change is ...
-1
votes
1answer
462 views

What is AVG I/O request for normal EC2 Instnace with web server on Amazon AWS

I have Amazon Ec2 instance with EBS Volume. Standard EBS Volumes are billed $0.10 per 1 million I/O requests Now I am not able to guess how much is the normal I/O request for normal server. and in ...
3
votes
2answers
1k views

Server Backup Strategy for Amazon EC2

Where and how should I backup my EC2 / EBS based snapshots OUTSIDE of EC2? EC2 provides a great product with their EBS based snapshots. However it is also a high risk point that someone could ...