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
10
votes
3 answers

How to find how much of my EBS allocated size I am currently using

The size property on the DescribeVolumes returns the allocated size, but I would like to know the current used size so that I can plan for requesting an EBS size increase.
Krishna Kumar
  • 7,841
  • 14
  • 49
  • 61
10
votes
2 answers

how does multiple EC2 instances (scaling) works on one EBS for data storage?

So, in a simple situation, if there is only one instance, then I can store the data into a EBS volume mounted on that instance. e.g. /mnt/db However, how does it work if I scale and have multiple instance (either static or dynamic scaling)? Because…
murvinlai
  • 48,919
  • 52
  • 129
  • 177
10
votes
4 answers

AWS ec2 root volume increase: Expanding elastic root volume on aws ubuntu instance not working

I've followed aws doc for expanding elastic root volume and got my root volume size increased from 8 GB to 20 GB, which i confirmed using lsblk. NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT xvda 202:0 0 20G 0 disk └─xvda1 202:1 0 8G 0…
Amit
  • 30,756
  • 6
  • 57
  • 88
10
votes
1 answer

PostgreSQL and Amazon EBS Snapshots?

I found this article explaining how to run MySQL on Amazon EC2. It talks about using XFS as the filesystem and then leveraging EBS snapshots to create backups of the data. Does anyone know if I can do something similar using PostgreSQL? Are there…
Shadowman
  • 11,150
  • 19
  • 100
  • 198
10
votes
4 answers

How to scale MongoDB?

I know that MongoDB can scale vertically. What about if I am running out of disk? I am currently using EC2 with EBS. As you know, I have to assign EBS for a fixed size. What if the MongoDB growth bigger than the EBS size? Do I have to create a…
10
votes
4 answers

What means to be a root device on EC2?

I couldn't find the answer on EC2 documentation. What is it for? If I launched an EBS backed instance, the root device for the instance would be an EBS volume. If I install a few tools/software on the instance, will those be installed on the root…
tom
  • 14,273
  • 19
  • 65
  • 124
9
votes
1 answer

Can I create an AMI that includes multiple ebs volumes (i.e. both sda and sdb)

I have an ebs-backed instance running on EC2. I'm using it to do some computationally intensive text processing on around 16Gb of data which is stored on sdb (i.e. the larger ebs volume associated with the instance). I'd like to parallelized the…
NAD
  • 615
  • 1
  • 7
  • 20
9
votes
5 answers

Using Amazon's EBS for MySQL hot backup

What are your experiences using Amazons EBS snapshot features for MySql hot backups. I have a database running a batch processing job in ec2. I backup with EBS snapshot. So far the backups looks consistent. But I am afraid they "will stop being…
flybywire
  • 261,858
  • 191
  • 397
  • 503
9
votes
3 answers

What root-device to use for a new EC2 instance?

I'm trying to get started with Amazon's EC2. I have to choose an image (AMI) to start with. I've settled on using the official Ubuntu AMI, but I have two options for the root store - "instant" or "ebs". (See this page). Being new to AWS, I'm not…
Edan Maor
  • 9,772
  • 17
  • 62
  • 92
9
votes
2 answers

Why do Windows snapshots take a long time?

I am running a vanilla Windows install on Amazon EBS volume. The computer takes 10 minutes to boot, which may be understandable as 2 reboots are required. However, taking a snapshot is also a 10-15 minute process. Can anyone explain this? Any way to…
Snapshot
  • 91
  • 1
  • 3
9
votes
2 answers

EBS vs EFS read and write latencies

I am storing users' code in file system, at present EBS in AWS. I am looking improving the availability and want to reduce the chances of outage due to EBS going down. EFS appears to be a reasonable option. I understand EFS will be slower than EBS…
9
votes
4 answers

Why does EC2 instance not start correctly after resizing root EBS volume?

I was using the instructions on https://matt.berther.io/2015/02/03/how-to-resize-aws-ec2-ebs-volumes/ and http://atodorov.org/blog/2014/02/07/aws-tip-shrinking-ebs-root-volume-size/ to move to a EBS volume with less disk space. In both cases, when…
web_ninja
  • 2,351
  • 3
  • 22
  • 43
9
votes
1 answer

PostgreSQL performance on EC2/EBS

What gives best performance for running PostgreSQL on EC2? EBS in RAID? PGData on /mnt? Do you have any preferences or experiences? Main "plus" for running PostgreSQL on EBS is switching from one to another instance. Can this be the reason to be…
9
votes
1 answer

what's the difference between attach and mount in ebs for amazon ec2

If I attach an EBS instance to my EC2 instance, isn't that the same as mounting? According to various guides they do different things. What's the difference between attaching an EBS instance and mounting?
user1099123
  • 6,063
  • 5
  • 30
  • 35
8
votes
1 answer

Differences between Amazon Elastic Block Storage (EBS) and Microsoft Azure Drives

I've been looking at using either Amazon EC2 or Microsoft Azure to host a new project, and plan on using either Amazon EBS or Microsoft Azure Drives to store the files used to run an ASP.NET website. To my knowledge these two technologies are very…
Greg Bray
  • 14,929
  • 12
  • 80
  • 104