Questions tagged [amazon-ebs]

Amazon Elastic Block Store (EBS) provides block level storage volumes for use with Amazon EC2 instances. Amazon EBS volumes are off-instance storage that persists independently from the life of an instance.

Docs

632 questions
397
votes
13 answers

AWS EFS vs EBS vs S3 (differences & when to use?)

As per the title of this question, what are the practical differences between AWS EFS, EBS and S3? My understanding of each: S3 is a storage facility accessible any where EBS is a device you can mount onto EC2 EFS is a file system you can mount…
Integralist
  • 5,899
  • 5
  • 25
  • 42
388
votes
10 answers

Benefits of EBS vs. instance-store (and vice-versa)

I'm unclear as to what benefits I get from EBS vs. instance-store for my instances on Amazon EC2. If anything, it seems that EBS is way more useful (stop, start, persist + better speed) at relatively little difference in cost...? Also, is there any…
HelloWorldy
  • 4,011
  • 3
  • 17
  • 5
307
votes
7 answers

What data is stored in Ephemeral Storage of Amazon EC2 instance?

I am trying to stop a Amazon EC2 instance and get the warning message Warning: Please note that any data on the ephemeral storage of your instance will be lost when it is stopped. My Question What data is stored in ephemeral storage of an Amazon…
Gaurav Agarwal
  • 18,754
  • 29
  • 105
  • 166
154
votes
11 answers

Growing Amazon EBS Volume sizes

I'm quite impressed with Amazon's EC2 and EBS services. I wanted to know if it is possible to grow an EBS Volume. For example: If I have a 50 GB volume and I start to run out of space, can I bump it up to 100 GB when required?
Nikhil Gupte
  • 3,266
  • 4
  • 25
  • 15
142
votes
2 answers

Add EBS to Ubuntu EC2 Instance

I'm having problem connecting EBS volume to my Ubuntu EC2 Instance. Here's what I did: From the Amazon AWS Console, I created a EBS 150GB volume and attached it to an Ubuntu 11.10 EC2 instance. Under the EBS volume properties, "Attachment" shows:…
JackDev
  • 11,003
  • 12
  • 51
  • 68
74
votes
7 answers

How do I increase the EBS volume size of a running instance?

I have a server running the recent Ubuntu AMIs from Canonical. The size of the EBS boot volume is 8GB. I know that I can resize EBS volumes by taking a snapshot, creating a new volume and expanding the partition on it. How can I increase the size of…
j0nes
  • 8,041
  • 3
  • 37
  • 40
66
votes
5 answers

Unable to growpart because no space left

I'm running an AWS EC2 Ubuntu instance with EBS storage initially of 8GB. This is now 99.8% full, so I've followed AWS documentation instructions to increase the EBS volume to 16GB. I now need to extend my partition /dev/xvda1 to 16GB, but when I…
llamarama
  • 835
  • 1
  • 6
  • 11
65
votes
5 answers

Should I persist images on EBS or S3?

I am migrating my Java,Tomcat, Mysql server to AWS EC2. I have already attached EBS volume for storing MySql data. In my web application people may upload images. So I should persist them. There are 2 alternatives in my mind: Save uploaded images…
enesness
  • 3,123
  • 5
  • 31
  • 33
62
votes
11 answers

Attaching and mounting existing EBS volume to EC2 instance filesystem issue

I had some unknown issue with my old EC2 instance so that I can't ssh into it anymore. Therefore I'm attempting to create a new EBS volume from a snapshot of the old volume and mount it into the new instance. Here is exactly what I did: Created a…
Gabriel Rebello
  • 1,077
  • 1
  • 11
  • 17
53
votes
6 answers

Amazon EC2 - Swap root instance store device with EBS device

I have an EC2 instance with "instance store" device as a root device. Now, I would like to attach an EBS volume to that same instance, only that I want it to be the root device. Is that possible? What happens to the instance store device in such…
Sug
  • 822
  • 1
  • 7
  • 9
51
votes
1 answer

How to make a daily back up of my ec2 instance?

I have a community AMI based Linux EC2 instance in AWS. Now I want to take a daily back up of my instance, and upload that image in to S3. Is that the correct way of doing the back up of my EC2 instance? Can anybody help me to point out the correct…
hacker
  • 8,919
  • 12
  • 62
  • 108
50
votes
3 answers

AWS EBS Volume "in-use - optimizing"

I have an EBS volume that displays a state of "in-use - optimizing(%)". What does this mean? What are the optimizations that AWS is performing? This is on a 300gb encrypted gp2 volume attached to a Windows Server 2012 R2 EC2 instance.
Preston Martin
  • 2,789
  • 3
  • 26
  • 42
45
votes
4 answers

Automatically mount an EBS volume upon starting an Amazon EC2 Linux instance

I have an EBS volume (e.g. /dev/sdf) that has been attached to an EC2 instance (which boots from a different EBS volume), and I have mounted the volume (through mount /dev/sdf /data). When I stop and start again the instance, the volume is still…
user560494
  • 915
  • 1
  • 9
  • 12
44
votes
5 answers

Automating Amazon EBS snapshots anyone have a good script or solution for this on linux

I'd expect this to be fairly routine, but cannot find a simple approach for creating an managing EBS snapshots automatically. Was hoping there'd be a shceduler in the AWS console.. alas not yet. Would appreciate any suggestions as to how best to do…
Dom
  • 1,486
  • 2
  • 14
  • 22
43
votes
1 answer

EC2: EBS device id confusion (/dev/sdf vs. /dev/xvdf)

I attached an EBS volume to my EC2 instance, turned it into a EXT3 file system, and successfully mounted it. However, I was thrown off a little bit initially mainly due to what the AWS console said my EBS device ID was. According to the AWS…
Edenbauer
  • 1,306
  • 1
  • 11
  • 15
1
2 3
42 43