Questions tagged [amazon-ebs]

This is for questions on Amazon's storage service for its ec2 service.

Filter by
Sorted by
Tagged with
1
vote
1answer
45 views

How to know which partition/volume is which EBS volume?

On an EC2 instance, I have a few partitions that look like these: /dev/nvme1n1 15G 48M 15G 1% /data/mongo2 /dev/nvme2n1 15G 4.7G 11G 32% /data/docker /dev/nvme3n1 15G 3.4G ...
0
votes
0answers
142 views

Reduce Volume AWS EBS EC2 LVM Partition

Problem I have a physical machine with 1 TB disk and it was copied via command line dd, the disk was imported into S3 and successfully converted to AMI. But now I have a cost problem and I need to ...
0
votes
1answer
28 views

Install location for apps on AWS RHEL if I want to have separate EBS volumes for OS and the apps

I am new to both AWS and to custom crafting a linux environment, and am finding it difficult to get my head around how to have the OS and any installed packages/apps on separate EBS volumes (if that ...
0
votes
0answers
21 views

Port exposed from Docker image not mapped to Elastic Beanstalk host

I created an AWS Elastic Beanstalk environment with a Load Balancer configured on ports 80 and 8080, I also turned off proxy (was Nginx initially). I created simple Node.js app and Dockerfile for it. ...
1
vote
1answer
27 views

Can you directly restore / overwrite ec2 volume from snapshot?

I'm familiar with the operation of creating a new volume from a snap then mounting it separetely , but through the console or aws cli is there a way to restore a volume from a snapshot in such a way ...
1
vote
1answer
63 views

What is the difference between “Amazon Storage Gateway” and another storages?

I use "Amazon Web Services (AWS)" and I think about share storage with more instances "Elastic Compute Cloud (EC2)". Data grows by client usage, and may be searched in those data. Obviously I should ...
0
votes
1answer
74 views

Amazon EC2 Windows Server - Cannot Extend C Drive After Extending EBS Volume

I have an EC2 instance running Windows Server 2016 that contains 3 disks (C, D, E) stored one 1 EBS volume. I have just extended the volume (from 300GB to 400GB) and am now trying to resize the disks ...
0
votes
0answers
56 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
28 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
20 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
90 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
86 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
36 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
22 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
238 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
35 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
51 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
79 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
55 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 ...
2
votes
1answer
1k 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
73 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
286 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
98 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
400 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
403 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
784 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
78 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
142 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 ...
4
votes
1answer
370 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
427 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
62 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
509 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
137 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
344 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 ...
2
votes
1answer
899 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
51 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
66 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
316 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
1k 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
156 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
259 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
1k 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 (...
4
votes
2answers
379 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
6k 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
353 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
70 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
391 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
199 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 ...