Questions tagged [amazon-ebs]

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

Filter by
Sorted by
Tagged with
0 votes
2 answers
241 views

AWS Instance cannot connect after resizing volume and reboot

i am facing connectivity issues with my AWS EC2 instance after resizing its volume. Here's what I did: I had an EC2 instance running Ubuntu in a container with a full storage. I modified the volume to ...
1 vote
3 answers
597 views

Which EBS drive attached to my Amazon EC2 instance contains root volume?

I have an Amazon EC2 instance that has two EBS drives associated with it: an 8 GB drive at /dev/sda1, and a 20 GB drive at /dev/sdf. I didn't set this up so I'm not sure why this instance needs two ...
0 votes
0 answers
61 views

Why is EC2 instance store volume not mounted?

I created an AWS EC2 instance of type g5.2xlage with Deep Learning Base GPU AMI (Ubuntu 20.04). This instance type has an instance store volume. After first start, the ephemeral instance store was ...
0 votes
1 answer
169 views

How to fix permission error of Ebs volume using Amazon Data lifecycle manager?

I applied the terraform code in this link, which contains code to apply the specific roles and permission s to service dlm lifecycle for ebs volumes. But still I am getting access errors. Please ...
2 votes
2 answers
3k views

Decrease Size of EBS Volume attached to EC2 Instance

I've created an EC2 instance with some 100 GB initial size, thereafter I realized this much size is not required, I've to decrease the size now. What I tried? Create a new volume with the desired ...
0 votes
2 answers
251 views

extending EBS volume

I have extended an existing EBS volume from 2.5Tb to 3 Tb , However when i check disk managment I dont see the unallocted space , It shows as 3TB post extension in AWS console but not on my windows ...
6 votes
2 answers
3k views

AWS Root volume Encryption

In my scenario, I have some old EBS volumes that are not encrypted. To satisfy new corporate security measures, all data needs to be encrypted so I need to compile a plan to encrypt the unencrypted ...
0 votes
0 answers
173 views

How do I merge 2 partitions on AWS after expanding the volume and filesystem on linux

I have the original volume showing at 8GB on the default instance when i created it on AWS. Then I went through the process of expanding the existing volume to 500GB and then expanding the filesystem (...
9 votes
1 answer
6k 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 ...
1 vote
0 answers
197 views

GP3 volumes do not hit throughput or IOPS limits

I'm working on a Postgres upgrade with pg_upgrade, and the meat of the process is copying the database's datafiles [unmodified] from the old cluster directory to the new. In order to not bloat the ...
0 votes
0 answers
82 views

What AWS architecture would be mosted suited for a SaaS that uses uses git repositories as data storage?

I am currently working on an application that is dealing with frontmatter markdown files 99% of the time (some things have to communicate with a DB like RDS). Locally, I have a folder that stores all ...
19 votes
4 answers
16k views

EC2 drive not EBS volume size

I have an EC2 instance which I created a 500GB EBS volume for. Unfortunately, the EC2 instance shows only 8GB available. I have only one drive, which is right. [root@ip-10-244-134-250 ~]# ls -la /...
1 vote
1 answer
290 views

In AWS what is threadhold value for Average write latency for EBS volume GP3

I have a EBS volume with Average write latency at about 3 and above. This EBS had the following details Size 1000GB General Purpose SSD GP3 IOPS 3000 Throughput 125 Is 3ms/op very high? Would ...
4 votes
1 answer
7k views

Understanding EBSByteBalance% in AWS RDS gp3 volumes

I am troubleshooting an AWS RDS Postgres instance that has been restarted by AWS several times in the last few days, very likely due to resource constraints. It's a testing DB that usually doesn't do ...
3 votes
2 answers
833 views

Why AWS encryption for EBS and S3 is disabled by default? [closed]

For EBS and S3 encryption (even via the default key from KMS) is disabled by default, as I understood from the documentation, there is no difference to the user if volume/objects is/are encrypted ...
1 vote
2 answers
2k 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 ...
1 vote
1 answer
414 views

AWS EC2 EBS: btrfs partition and FS automatically resized by just increasing the EBS volume size?

I had to expand the size of an EC2 EBS root volume that uses btrfs (Fedora 38 Server), so I did the following: Stopped the EC2 instance Expanded the EBS volume via the EC2 console Started the EC2 ...
8 votes
5 answers
30k views

How can I set up an SFTP server backed by S3 (or similar)

I need to set up an SFTP server that, essentially, has very large capacity. I need to give one of our partners SFTP login details to a server where they will upload millions of files, totalling a few ...
0 votes
1 answer
2k views

How to configure AWS Application Load Balancer to point to multiple ports on the same server

I cannot get access to the second port that I want to have to. So, here are the listeners I have in my ALB: HTTP:80 - that does not have security policy or SSL cert but it is always redirecting to ...
2 votes
2 answers
692 views

AWS: Using regular filesystem on an EBS multi-attach volume in a one-writer, many-readers scenario

I'm wanting to share data among multiple AWS instances in a high-performance, low-latency manner. Giving all instances read-only access (except one instance that would handle writes) is fine. Two ...
0 votes
2 answers
2k views

BLKRRPART: Device or resource busy, scale up EBS root volume failed using growpart on AWS

Usually i use growpart to rise up size of my root partition on aws, so that i don't have to reboot For some reason in one of my instances, it doesn't work anymore: # df -h Filesystem Size Used ...
0 votes
2 answers
439 views

Launch EC2 instance with more than 8G of disk space

It seems that by default EC2 instances get launched with an 8G EBS volume attached. Is there an easy way to launch an instance with a bigger EBS volume?
0 votes
1 answer
139 views

can not mount EBS volume to centos EC2 instance

I have an ec2 instance running centos and I want to add an EBS want to it. I created and attached the volume to my instance. my volume is attached as /dev/sdf. But when I try to check if there is any ...
-1 votes
1 answer
577 views

how EBS and EFS achieve micro second-level latency [closed]

I once monitored the read/write iowait in my EC2 instance which is attached an EBS volume, the iowait column ouput of iostats is only 200 ~ 500us, as I known EBS is actually a network volume and I ...
1 vote
1 answer
2k 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 ...
0 votes
0 answers
733 views

Extend the root partition

We need to extend the root (nvme0n1p1) partition that is adjacent to the 2nd SWAP (nvme0n1p2) partition that is adjacent to the third (nvme0n1p3) LVM2 partition that has 2 volume groups in ext4 format ...
2 votes
1 answer
2k views

Mount command hanging after attaching EBS volumes on AWS

I'm creating four volumes from four EBS snapshots on AWS. The four volumes make up one BTRFS multi-device drive. The drives have no partition tables, i.e I've ran mkfs.btrfs /dev/xvdf /dev/xvdg etc. ...
-3 votes
1 answer
691 views

I lost my AWS EBS volume completely. What are the odds of that?

I recently lost my EBS volume, leaving the data unrecoverable. I already knew that AWS isn't exactly concerned about the convenience of their customers and thus the risk of this happening was pretty ...
3 votes
2 answers
819 views

Deleted the data while Amazon EBS Volume While Snapshot in Pending

After I triggered the snapshot of a volume, I go ahead to work on the mounting due to the long hours of waiting and accidentally deleted the data in the volume. Will the snapshot still snap-shoting ...
0 votes
1 answer
2k views

How to persist all Jenkins data on an EBS volume in docker

I have the Docker official jenkins repo running on an Ubuntu instance. In that document, it suggests a way to create a volume as a way to isolate all Jenkins data file. The EC2 instance has the root ...
0 votes
1 answer
2k views

Increased AWS EBS to more than 2TB and found out MBR is limited to 2TB

we just ran almost out of space on our main EC2 instance. I wanted to increase the EBS volume size to 2.5TB from 2TB. However, I noticed that I could not increase the partition anymore due to the MBR ...
1 vote
1 answer
4k views

Resize AWS LVM volume

I have successfully increased the space on AWS EBS volume. # lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT nvme0n1 259:0 0 64G 0 disk ├─nvme0n1p1 259:1 0 63.9G 0 part / ├─...
1 vote
2 answers
706 views

How to create EC2 AMI images with multiple nitro-based volumes attached correctly

I'm using the EC2 image builder to automate the process of creating AMI images for mongoDB servers. This image has two volumes: /data - 100 GB /logs - 10 GB To achieve this setup I've created an ...
3 votes
1 answer
3k 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
3 answers
3k views

Cannot resize XFS partition after volume increase

I have increased the size of my volume from 8GB to 16GB. After resizing the volume, I would like to expand the partition to take on the additional space. However, this operation is failing with data ...
2 votes
4 answers
2k views

Automated Daily/Hourly EBS Snapshots From EC2 Management Console?

Does anyone know if it's possible to automate the creation of EBS snapshots from the online EC2 Management console (Say every day or every hour) and then tell it how long to keep them (Pruning them)? ...
0 votes
1 answer
2k views

Extending File-system after EBS volume increase on M5 type EC2 with Ubuntu 16.04

Production AWS Instance: We have an m5 ec2 nitro instance that is in need of query optimization. However, we are in a time crunch and have decided to temporarily throw memory and storage at this until ...
0 votes
0 answers
3k views

How to mount volume type LVM2_member to EC2 instance

I'm trying to mount a volume taken from an old EC2 to a new EC2 instance, however, this volume has an "unknown filesystem type of "LVM2_member". I tried all this with the original ...
19 votes
3 answers
17k views

Can I re-use an EBS volume with AWS ASG?

I want to create an ASG such that I can reuse existing EBS volumes (because I have persistent data on those volumes) to new EC2 instances that are instantiated via ASG. Is this possible? Update ...
6 votes
1 answer
6k views

Persistent storage in EKS cluster with multiple availability zones

I have an EKS cluster with one linux worker node, which may instantiate in any availability zone within a region. I need to use persistent storage volume so my data won't be lost in case the node dies....
12 votes
3 answers
25k 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
0 votes
1 answer
199 views

Root disk mbr and non-root gpt

I have an ec2 instance on aws running linux, with a root volume and another volume for data. Both are ext4. I need to increase the data volume size to more than 2 TB. However currently the ...
0 votes
1 answer
173 views

EBS root volume being mounted on /media/xvda instead of / (Alpine Linux)

I followed these instructions to install Alpine Linux on EC2. Everything went well and I was able to create an AMI from which I can launch new instances. My instance is supposed to act like a NAT ...
0 votes
0 answers
824 views

EC2 instance crashing randomly early morning

I have a java application running on an ec2 instance. Nginx and mongodb is also running on the instance. The application is accessed through ELB which forwards requests to the instance. I have 2 ...
1 vote
1 answer
3k views

How to update the AMI of the instance without loosing data? and the instance has two EBS volumes which EBS volume should i take snapshot?

How to update the AMI of the instance without loosing data? and the instance has two EBS volumes (root and secondary) which EBS volume should i take snapshot? to replicate the original instance.
37 votes
6 answers
54k 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 ...
0 votes
0 answers
43 views

Unmount Drive without Deleting AWS

How should I unmount a drive well ensuring it wont be deleted? We want to move vol-0de12fb88020aa624 from i-0b727a35caea24013 to i-0dff0911c0ebf45f9 I want to move the volume, do not want copy files ...
1 vote
0 answers
254 views

Launching Instance from AMI Creates two disk devices when only one is expected

First some background. I am migrating an Ubuntu Instance-store backed ec2 instance to EBS using the steps outlined in Create an AMI from an instance store-backed instance. Everything works correctly ...
0 votes
2 answers
187 views

EC2 boot from Multi-Attach Amazon EBS

Assume the following scenario: Create an io2 EBS volume from a snapshot of a running EC2. Enable multi attach and ask many EC2 to boot from this EBS. Every EC2 is the same and I can set up load ...
0 votes
0 answers
30 views

Web application not serving with Route53 under wifi?

I have a node application running in an Ec2 container on port 443. I've added an Elastic IP to the container. When I reference the Elastic IP or IPv4 DNS in the browser, I can see my application. I ...

1
2 3 4 5
12