Stack Exchange Network

Stack Exchange network consists of 174 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.

5
votes
1answer
87 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
52 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
28 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
44 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
17 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
32 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
68 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
143 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
45 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
60 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
0answers
135 views

Nuxt SSR reverse proxy through Nginx on AWS ELB

I'm trying to set up a frontend application using Nuxt on AWS ECS. Architecture EC2: Within each EC2 instance: Nuxt is being served on port 3000 Nginx reverse proxies from port 80 to Nuxt's port ...
0
votes
2answers
176 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
46 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
88 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
78 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
60 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
579 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
9 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
114 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
46 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
105 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
45 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
201 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
65 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
284 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
559 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
231 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
37 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
265 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
119 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
385 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
238 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 ...
0
votes
0answers
165 views

how to write user data script in aws cloud formation #cloud-config

i have a cloud formation template and i have user data in ASG launch configuration i want to execute this command "- mdadm --create --verbose /dev/md0 --level=0 --name=Raid0 --raid-devices=2 /dev/xvdb ...
0
votes
1answer
2k 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
71 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
149 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
72 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
308 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 ...
1
vote
1answer
60 views

Error writing from S3 to EBS

I'm trying to copy from an S3 bucket to a mounted EBS volume on a Windows EC2 Instance. I have the following IAM policies in place: AmazonEC2FullAccess AmazonS3FullAccess ...
0
votes
2answers
851 views

aws instance docker pull extract is very slow

I am pulling a ~3GB image from a private docker registry and it takes roughly 10 minutes. About 80% of the time is spent for extracting the layers, so download/network does not seem to be a ...
2
votes
0answers
50 views

Strange Linux disk statistics on EBS i/o credit exhaustion

We have T2 instances (Linux 4.9.20-11.31.amzn1.x86_64) on AWS EC2 which exhaust their i/o credits due to disk reads. It may well be that we have excessive reads on these nodes, so nothing strange ...
0
votes
1answer
199 views

Failure to attach an existing EBS volume to a spot instance

I have been using AWS spot instances with persistance storage; something along these lines. I have been this successfuly for months with different instance types, and extended my volume several times ...
2
votes
3answers
577 views

Reuse EBS volume with AWS autoscaling

I am trying to setup auto-healing for my EC2 instance. So whenever my instance goes down or is unreachable, it should auto reboot or launch a new instance preferrably in a different AZ in the same AWS ...
0
votes
1answer
19 views

AWS: encrypted ROOT EBS doesn't support t2 instance types

I created an AMI from my web server. Then I copied the snapshot, checking the "encrypted" checkbox. Then I created an AMI from this encrypted snapshot. Then I tried to launch a new instance from this ...
0
votes
1answer
40 views

Any downside/danger to changing an EBS volume type for a live database?

Starting to need to scale a relatively random-access workflow on MongoDB, and iotop indicates we're fully utilizing our IO. Looks like AWS allows you to switch volume types to provisionable IOPS ...
3
votes
0answers
50 views

shrinking EBS volume that used as root [duplicate]

I have an EBS volume that is 800GB and I am using only 5GB of this. I want to shrink it but AWS doesn't support this, after a bit of a research, I have found that I can mount both volumes and rsync ...
0
votes
0answers
32 views

Open-source replacement for Amazon EBS for own cluster

I have a couple of worker nodes running Linux, on which I dynamically provision KVM virtual machines. Right now, I copy the qcow2 images from the NFS server to the node, run the VM and after shutdown ...
1
vote
0answers
33 views

EC2 not booting because of mount - no logs

I have an EC2 hosted Ubuntu 16.04 server which doesn't boot. When I look at the logs in the Amazon console i only get a black screen. When I mount the disk to another server I have the following ...