Questions tagged [amazon-ebs]
This is for questions on Amazon's storage service for its ec2 service.
574
questions
0
votes
0
answers
52
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 (...
1
vote
0
answers
58
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
79
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 ...
3
votes
1
answer
4k
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 ...
1
vote
1
answer
291
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 ...
0
votes
1
answer
1k
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 ...
0
votes
0
answers
32
views
Failed to rsync with new volume
The new volume still have plenty of storage, but when run rsync, it only copy half of the current total storage to new volume.
screenshot
It always prompt 'no space left on device (28).
Why is this ...
0
votes
0
answers
107
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 ...
0
votes
1
answer
107
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
398
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 ...
2
votes
1
answer
2k
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 ...
1
vote
1
answer
246
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 ...
0
votes
0
answers
545
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 ...
-3
votes
1
answer
461
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 ...
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
2k
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 ...
0
votes
1
answer
174
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 ...
6
votes
2
answers
2k
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
1
answer
144
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
780
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
2k
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.
0
votes
2
answers
1k
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 ...
0
votes
0
answers
40
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
207
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
163
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 ...
1
vote
1
answer
3k
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 /
├─...
0
votes
0
answers
28
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 ...
5
votes
0
answers
799
views
AWS: Can't mount my restored volume (EBS snapshot)
I restored an EBS volume from AWS Backup and attached it to a new EC2 instance. When I lsblk I can see it under the name /dev/nvme1n1.
More specifically the output of lsblk is:
NAME MAJ:MIN RM ...
8
votes
1
answer
11k
views
AWS: What is the difference between Burst Balance and EBS IO Balance metrics?
AWS Docs describe Burst Balance and EEBS IO Balance in the following way:
BurstBalance The percent of General Purpose SSD (gp2) burst-bucket I/O
credits available.
EBSIOBalance% The percentage of I/O ...
1
vote
2
answers
490
views
Are the snapshots referenced by an AMI created from an EC2 instance independent of other snapshots that I've created on the EC2 instances EBS volumes?
We've recently migrated a system off of a set of EC2 instances, and now wish to retire those EC2 instances, first by creating an AMI of and then terminating each EC2 instance.
Over time, we've created ...
2
votes
2
answers
566
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 ...
1
vote
2
answers
215
views
Mount issue for EBS at EC2 instance
For historical reason we have 2 EBS drive for our application (which is an EC2 instance, using Amazon2 Linux), one needs to mount as
/data
And the other need to mount as
/data/inhouse
However, after ...
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 ...
0
votes
1
answer
148
views
Dockerfile Works Locally But Fails on EB (Elastic Beanstalk) Deploy (PHP 7.3 with OCI8 extension)
Good day, fellow developers!
I have been searching for 2 weeks now on how to install the OCI8 PHP extension on Elastic Beanstalk using .ebextensions but sadly I can't search for similar ones.
Before I ...
1
vote
0
answers
250
views
EBS 12.1.3 issues on 64 bit RHEL 7 OS due to 64 bit inode numbers
We recently got an issue with adpatch, it is failing to read driver files from APPL_TOP or unable to write to adworker log files, when the affected files have 64 bit inode numbers.
As per my findings, ...
1
vote
2
answers
590
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 ...
-1
votes
1
answer
163
views
Loop the status Result using PowerShell
I have written a script in PowerShell which creates aws ebs snapshot , its working fine without an issue , except i am not able get the Progress status at regular interval to proceed with next step in ...
0
votes
0
answers
197
views
EBS target response time increasing before CPU utilization
I'm in a company where we have an elastic beanstalk configuration and it works fine with our CICD. The only issue is that earlier today i ran a stress test (basically just disabled AWS shield and went ...
1
vote
1
answer
837
views
Do I need to separate /var and /tmp from the root partition on AWS EC2?
A result of an audit check on the Amazon Linux AMI gave a number of recommendations on the file structure, for example the need to have the root and /var and /tmp on different partitions.
Is this ...
0
votes
1
answer
625
views
Is AWS Lifecycle Manager the recommended way to back up root EBS drives?
In the AWS backup and recovery guide [1] Amazon Data Lifecycle Manager is listed as a tool to automate creation, retention and deletion of snapshots. However, on page 15, the guide also mentions that ...
0
votes
1
answer
182
views
What kind of AWS volume type should I be using for a small email server?
I've got some very small mail servers for clients (most are less than 20 GB total set) on some t3a nano's. I'm paying through the nose at 10 cents per GB per month for gp2 drives. I know I should ...
-1
votes
2
answers
342
views
How do I share all resources between two AWS Root accounts?
We have one person that has been in charge of all AWS resources for our company, including EC2, elastic IPs, EBS storage, etc. Now we want a second person to also have access to ALL the resources in ...
1
vote
1
answer
238
views
Which AWS service should I use to host a Ghost CMS blog? [closed]
I would like to setup a simple Ghost personal blog. However with so many options on AMS, it's not easy to to pick the best one. For me, best means lower cost & management possibly at the expense ...
5
votes
1
answer
758
views
How to see updates to EBS volume when attached to multiple instances?
I have two ec2 instance running Ubuntu 18.04. I have created a Provisioned IOPS SSD (io1) volume and enabled multi-attach. I have successfully mounted the volume on both instances and can read and ...
0
votes
2
answers
235
views
EBS Storage was upgraded in the AWS console but not in ec2 ssh
My EBS storage volume for EC2 instance was nearly full then I tried to upgrade from 50gb to 70gb. The upgrade process take a long time, I didn't check how many minute/hours but after some days I see ...
4
votes
3
answers
5k
views
Can't grow XFS file system on Amazon EC2: xfs_growfs: / is not a mounted XFS filesystem
I've followed instructions here exactly: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recognize-expanded-volume-linux.html
for "Example: Extending the file system of NVMe EBS volumes" ...
1
vote
1
answer
227
views
Which EC2 Instance to hash a large amount of 25gb files
I have an EBS (elastic block storage) on AWS with large amount of 25GB files (1000). I would like to calculate a SHA256 sum for each file.
Which EC2 instance would be the best for such task (cpu ...
4
votes
1
answer
998
views
Can we resize the EBS volume when snapshot is in progress?
I've an ec2 instance with root volume and additional volume attached, additional volume is 92% used.
I took a ebs snapshot , but looks like its very slow.
Can I go ahead and increase the volume size ...
6
votes
1
answer
5k
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....
0
votes
0
answers
157
views
AWS EBS: crashed root volume recovery
I was in situation where I was in need to enlarge EBS volume size, so I did it via AWS Console -> changing from default 8GB to 15GB.
Then I followed this tutorial: https://linuxconfig.org/how-to-...