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.

1
vote
1answer
18 views

Map drive letter to VolumeID

I've received the complaint... Help! My I drive filled up on EC2-Server-1! Please give moar space! However, when I remote on the the server before extending the volume, I find I cannot easily ...
0
votes
1answer
29 views

How do you buy AWS EBS like an RI

I have bought and am using a reserved instance however I still get monthly bills for the EBS. Question is how do I make a similar single payment for the volume as well?
0
votes
2answers
87 views

Very low disk throughput on AWS EBS volumes

I am currently copying data manually from one EBS volume to another, which has a smaller size, as we have XFS file system, which can not be reduced. I am using a t3.micro instance (EBS optimised) ...
0
votes
0answers
60 views

Data lost in AWS EC2 after reboot

After rebooting an EC2 Instance under Elastic Beanstalk environment I have lost most of the website related data which was stored in webroot. Webroot is showing a different version of datas which are ...
7
votes
3answers
633 views

Amazon AWS Ephemeral disks and RAID1

Some AWS instances have "ephemeral disks" attached, which are much faster than EBS. But ephemeral disks will be blank and uninitialised when your instance is stopped and started. The data on disk ...
2
votes
1answer
37 views

Auto-restarting EC2 instance from the most recent snapshot

We have EC2 instances that are EBS based, and they contain state (not critical state, but they have ElasticSearch indexes, Redis, and so on). So our desire is, if it fails, have a new instance to ...
1
vote
1answer
48 views

Migrating EBS volume to another availability zone. Should I snapshot twice for less downtime?

On AWS, I have an EC2 instance for my database server with an attached 250GB EBS volume (200GB of actual data) for data storage. This volume has not been previously snapshotted. I need to move this ...
3
votes
1answer
54 views

AWS EC2 - EBS Redundancy

I have an AWS Ubuntu EC2 server running with a single EBS volume. Although I take regular snapshots, I am concerned about data redundancy. In order to make sure no data loss, is it possible to ...
1
vote
1answer
96 views

Redis reports read-only filesystem, but it isn't

I get this in my Redis logs: 1182:M 30 Nov 14:27:00.028 * 1 changes in 900 seconds. Saving... 1182:M 30 Nov 14:27:00.029 * Background saving started by pid 1920 1920:C 30 Nov 14:27:00.029 # Failed ...
2
votes
2answers
37 views

Restoring multiple EBS snapshots to larger volumes in a single logical volume

The situation: we have a MySQL server in AWS using three EBS volumes in a striped logical volume to hold the database data. The logical volume is close to full, so we need to expand it somehow. One ...
8
votes
3answers
1k views

Should a detached EBS volume keep charging monthly?

First of all, I'm not very used to AWS nor DevOps/admin stuff, but want to learn. So I set up an EC2 instance and attached an EBS volume (15 Gb) some months ago, for testing something during a few ...
0
votes
1answer
76 views

Increasing the particular partition size in EBS

I have a ec2 system with Suse12sp3 and have following file system ip-10-XX-XX-1XX:/ # lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT xvda 202:0 0 100G 0 disk └─xvda1 202:1 0 100G 0 ...
5
votes
1answer
97 views

backup/restore ec2 instance before o.s. update

I have an EC2 instance with an EBS backed root volume. The OS hasn't been updated in some time and I'd like to remedy that, but I need a rollback plan in case the updates cause issues. I think I ...
1
vote
2answers
110 views

Unable to unmount and Detaching AWS EBS drive

I am using Linux Instance that has an EBS volume attached to it (mounted to xvda1). which I believe it causing some troubles. usually to detach the volume I go to volume section of the AWS EC2 console ...
1
vote
1answer
128 views

Can not start instance - No root volume attached - After migrating to encrypted volume

I am migrating a Windows instance's unencrypted disk to an encrypted. I have created a snapshot of its volume, made an encrypted copy of the snapshot and created a volume from the encrypted snapshot. ...
0
votes
1answer
48 views

Is using snapshots in AWS a reliable way to back up data?

I am looking at backup options within AWS and while instance snapshots are the obvious way to go I am have some concerns about using that method. I'd like to take daily snapshots of each instance ...
0
votes
0answers
36 views

How to use AWS EBS disk with OpenEBS?

I am having a 3 node AWS cluster with 3 EBS disks per Node. I want to use these disks for OpenEBS volume creation. How can I use these disks for OpenEBS volume creation?
0
votes
1answer
54 views

How to find the type of a aws instance and whether its EBS Provisioned IOPS SSD or not?

I have a AWS instance on which I perform a ssh login and operate.Os is Ubuntu 16.04.3. I didn’t select it’s AMI and neither do I have the access to its AWS console. I wanted to know that what ...
0
votes
1answer
141 views

Mongodb on AWS EC2 backup strategy

I'm running Mongodb on AWS EC2 instance. Data/log/and journal are stored in a separate volume, formatted as xfs. Currently we are stopping the mongodb instance to take a snapshot, but reading this: ...
0
votes
1answer
560 views

docker has volume permission but docker-compose doesn't

I have installed Docker on an Amazon Linux server and given it permissions with sudo usermod -aG docker $USER. When I start my Jenkins docker containers (which have the home directories on an EBS ...
1
vote
1answer
83 views

Is there a way to name an EBS snapshot created with a Cloudwatch Rule?

Is there a way to name an EBS snapshot created with a Cloudwatch Rule? For instance, I have a cron-like rule: 31 10 ? * 3,6 * vol-0e743fcfd2f53198a Which will create a snapshot of the data volume, ...
0
votes
1answer
128 views

EBS volume unmounted after EC2 instance type change

I have an EC2 instance running mongo, with data stored on a separate EBS device. I decided to change EC2 instance type, and when I restarted I did not see the disk anymore, so I had to mount again. ...
0
votes
2answers
401 views

Amazon AWS - Export EBS Snapshot to External Storage

On the Amazon AWS platform, is there a way of exporting an EBS volume to an external disk? I.e. a backup outside of Amazon's infrastructure? From what I have read so far: Amazon's "Import/Export (...
1
vote
2answers
80 views

Is there any way to attach an existing volume (one I just restored from a snapshot) to a PVC?

I have a mongodb-replicaset created with the helm chart. The chart creates PVCs based on the StorageClass I provide. I annotate my volumes with a tag picked up by a cron job that snapshots the volumes....
0
votes
0answers
128 views

AWS EC2 instance with reattached volume won't boot anymore

I detached an EBS standard volume from an EC2 instance then tried to reattach it later. The EC2 instance refuses to come back up. I ensured that the name of the block device is the same as it was ...
0
votes
0answers
132 views

Resize AWS EBS raid0

I've got an AWS raid0 array that I'm struggling to resize. The underlying EBS volumes have been increased in size, but I'm not able to re-size the array to resize the FS. I've tried using mdadm and ...
0
votes
0answers
111 views

How to increase the size of a /var Filesystem on AWS EC2 centos instance

currently i have: xfs_info /var meta-data=/dev/mapper/ami-var isize=512 agcount=4, agsize=1966080 blks = sectsz=512 attr=2, projid32bit=1 = ...
1
vote
2answers
2k views

Download EBS volume or snapshot to file

Is there any way to dump/save EBS volume/snapshot to file or mount it to local Linux file-system? I found only this old thread and this script which intends to save it via S3 and doesn't seem very ...
0
votes
0answers
11 views

Does higher IOPS make EBS snapshot faster?

I'm looking at speeding up EBS snapshots. Currently I am testing on a gp2 with only 150 / 3000 IOPS. If I switched to provisioned IOPS (say 300) would the initial snapshot be 2x faster?
0
votes
1answer
188 views

How can I see how long an EBS snapshot took?

I'm trying to do some planning and have been experimenting with EBS snapshots for data backups. I want to see how long a snapshot took of a 50G volume, but I only see the start time, not the ...
0
votes
1answer
54 views

EC2 r3.8xlarge EBS storage limit

We have a r3.8xlarge SQL 2014 instance. We have attached 2 EBS volumes (each of 5 TB) to this instance. We need another 5TB volume that we plan to attach to this SQL instance. Is there a limit on ...
1
vote
0answers
211 views

filebeat makes a lot of I/O

We have filebeat on few servers that is writeing to elasticsearch. We can see that it is doing a lot of writes: PID PRIO USER DISK READ DISK WRITE SWAPIN IO> COMMAND 353 be/3 ...
1
vote
1answer
70 views

Why cant I create a blank EC2 instances without a volume?

Curious about the underpinnings of this. With traditionally data center hypervisors you can create virtual disk and virtual machines. You can create a virtual machine without a virtual disk. The ...
1
vote
1answer
474 views

Are EBS snapshots deleted when the volume itself is deleted?

I have a client who are 'upgrading' their OS but tearing down the entire instance, creating a new one based on the updated AMI and creating the setup including EBS volume. When they delete the EBS ...
0
votes
1answer
75 views

EBS, EC2 VolumeReadBytes vs VolumeReadOps

I am running an EC2 m4.xlarge instance with an 500GB Cold HDD EBS volume used as a cache for an image resizing service I am running (thumbor behind nginx reverse proxy). Every now and then the image ...
0
votes
1answer
471 views

How to delete tag from EBS using boto3?

I want to delete a tag from EBS volume using boto3/lambda. At this doc https://boto3.readthedocs.io/en/latest/reference/services/ec2.html#volume I see 'create_tags()' only. It is suitable for ...
2
votes
1answer
785 views

VERY high write latencies on AWS EBS

Right now I am rsync'ing data from my laptop at home to an EBS volume attached to a m5.large. The write latencies I am seeing are ridiculously high (>15s). My EC2 instance is EBS-optimized and read ...
1
vote
2answers
299 views

AWS EBS snapshot. Does FileSystem consistency REALLY required?

I've been reading a lot about aws ebs and a lot of people seems to encourage people to freeze the filesystem during the snapshot. However, this piece of amazon documentation beg to differ : While ...
0
votes
2answers
45 views

(AWS) Extract the EBS volume from an AMI?

An Amazon Machine Image contains an EBS volume. Is there a way to get the EBS volume out of the AMI without booting the AMI?
1
vote
1answer
390 views

IAM policy to enforce tagging not working

0 down vote favorite I have created an IAM policy to deny creating EBS volumes if it is not tagged with both the keys "empname" and "team". The policy is attached to a test user. When I try to create ...
3
votes
4answers
140 views

Persist file changes on EC2 instance without creating a new AMI/Launch Configuration every time

I'm pretty new to AWS, but I've got a very small Amazon Linux EC2 instance that's used for a simple, occasional PHP process so I'm not using CodeDeploy, Load Balancers, etc. My boss wants to use ...
0
votes
1answer
529 views

How to decrease the size of AWS EBS volume having xfs file system

I am having an EBS volume of 50 GB and I want to decrease it to 20 GB. The OS is centos 7 and has XFS file system. I have followed this link but it is more specific to ext4 and Ubuntu, can someone ...
0
votes
1answer
43 views

How to setup AWS cloud watch for RAM and EBS capacity usages?

I wonder, how to setup AWS cloud watch for RAM and EBS capacity usages? As I have not seen any metrics for the same. I have seen some python scripts which need to setup as CRON, is that safe in ...
1
vote
0answers
304 views

Cannot ssh to Amazon Linux AMI. Permission of home/ec2-user/.ssh/authorized_keys set to 600

I'm trying to help a friend recover access to an EC2 instance where the private key was lost (is there possibly another way to access to make changes to content? Maybe the answer is more simple and ...
2
votes
1answer
3k views

how to get volume id attached to instance from AWS CLI

i want to get volume id attached to instance like how we get instance id from the meta data InstanceID=`curl http://169.254.169.254/latest/meta-data/instance-id
1
vote
1answer
93 views

trying to stripe two EBS volumes using user data from the launch configuration in cloud formation template

created two EBS volumes using cloud formation template. attached EBS volumes using aws ec2 attach volume trying to stripe two volumes using - mdadm --create --verbose /dev/md0 --level=0 --name=...
-1
votes
1answer
25 views

EBS backed EC2 instanced stopped, different when started again

I've had an EC2 instance for about a year running a LEMP stack. This week I tried adding a server block to NGINX and weirdness happened. For reference I ssh in as ubuntu, and have never to my ...
0
votes
1answer
201 views

m3 instances have root EBS volume by default. so now what is the difference between m3 and m4?

The AWS instances page indicates that the primary difference between the m3 and m4 instances is the EBS v/s instance-based (SSD) storage. Instance Type vCPU Memory (GiB) Storage (GB) ...
1
vote
1answer
111 views

UUID on copied EBS snapshot

Is the UUID of a copied EBS snapshot different to the original? In mounting an EBS volume via the fstab in an EC2 instance and if it's a copied snapshot, it appears to be the same UUID? Is this ...
0
votes
1answer
390 views

Volume EBS: Month-to-date usage VS Forecasted month-end usage

I'm trying Amazon AWS EC2 Free Tier. I have a 30GB (Free Tier) EBS (SSD) volume. I am registered at the end of October 2017 at Amazon AWS, in the "Billing" panel I used 3.8 GB of Volume EBS in October ...