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.

0
votes
0answers
16 views

How to mount EBS volume using remote scripts after attaching?

I want to attach and mount already created and populated EBS volume with Ec2 instances with remote scripts (from Jenkins). I've tried the following, aws ec2 attach-volume --device $deviceName --...
0
votes
0answers
10 views

Rsync between magnetic ebs and efs

I have an EC2 instance that has a 1 TB magnetic EBS mounted on it which contains our organizations' email archive. That drive is almost at 99% capacity so our higher-ups decided to have me move the ...
0
votes
0answers
14 views

Schedule Elastic Beanstalk EC2 Instance Type

I'm trying to find a way to schedule the EC2 Instance Type of my EBS application to save costs but to not avail. I understand that this is possible in EC2 directly through AWS Lambda and CloudWatch ...
0
votes
1answer
36 views

Use S3 bucket as a mounted drive or EBS volume on EC2?

I have an application that writes the logs on the server, it is a windows server. By increasing the logs the disk drive used space, increases and we have to scale up the volume from time to time. ...
1
vote
1answer
32 views

can I export an EBS snapshot and mount it to an on-prem server

I have a scenario where data is being aggregated in an EBS-backed AWS EC2 instance and, periodically, that instance is shut down and snapshot. Ideally, the snapshot of that volume needs to be exported ...
0
votes
1answer
27 views

EBS SC1 read troughput Troubleshooting

I neeed some help. We are getting a really read throughput (30MB/Sec on a 6TB volume) also if burst balance is at 67%. I just tried copying a 15GB file from this volume to a gp2 volume and this is the ...
1
vote
1answer
20 views

Creation of an AMI from attached volume

In one of the AWS certification quizzes I met a question, where the proper answer states, that creation of an AMI from an attached EBS volume is not recommended and it is a bad practice. Could ...
0
votes
1answer
27 views

Inspect faulty AWS EC2 Volume?

Recently a site I administer experienced some downtime. When I logged into the machine, I wasn't able to figure out the source of the issue, and so I restored the machine's state by creating a volume ...
2
votes
0answers
107 views

Run Systemd Service Unit After AWS EBS Volume Mount

I launch m5.large (nitro-based) EC2 instance from Ubuntu AMI and attach EBS volume. There is systemd as a default init system. As AWS documentation "Making an Amazon EBS Volume Available for Use on ...
0
votes
1answer
24 views

Increasing VM Performance on EC2 Bare Metal Instances

I recently created a bare metal (i3.metal) EC2 instance that I'm going to use as a farm for VMs (the guest VMs will be used for testing various cases). Because performance of the guest VMs is ...
2
votes
2answers
43 views

EC2 / LAMP with a temporary File System

Ok - this is a weird one. I've now got my domain pointing to a new EC2 instance running our website, but initially I thought I had some issues with file permissions, has now turned to be where the ...
0
votes
1answer
43 views

Docker Storage in AWS. S3, EBS or EFS

I have just moved companies and I am building a new docker swarm on aws. In my last organisation everything was on premises. I am trying to understand my options for persistent volumes, and see that ...
1
vote
1answer
46 views

SQL Server Multiple File Backups - AWS EC2 Disk I/O Cap?

Running a 1 TB SQL Server database on an AWS EC2 C5.4xl server (16 vCPU / 32 GB). A full backup is starting to approach 3 hours so I figured I should look into multiple file backups. I expected to do ...
1
vote
1answer
371 views

How to increase disk size in a stateful set

I'm managing an Elasticsearch deployment in Kubernetes. I see that the disk storage is getting close to full, so I would like to increase the size of the persistent volumes. I want to change this ...
1
vote
1answer
51 views

Extending Linux file system after resizing the EBS volume

I have resized the EBS volume using the AWS console Modify Volume. This is what the lsblk command returns before any change: $ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT xvdn 202:208 0 ...
3
votes
2answers
149 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
47 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
215 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
221 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
713 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
57 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
92 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
154 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 ...
2
votes
1answer
199 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
45 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
204 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
111 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
232 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
281 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
49 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
1answer
58 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 ...
2
votes
1answer
231 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
885 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
120 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
191 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
829 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 (...
3
votes
2answers
176 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....
4
votes
2answers
4k 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
1answer
259 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
63 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 ...
2
votes
0answers
304 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
100 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
831 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
91 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
636 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
973 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
409 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
53 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
495 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 ...