Questions tagged [amazon-ebs]

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

Filter by
Sorted by
Tagged with
-1 votes
0 answers
21 views

how EBS and EFS achieve micro second-level latency

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 ...
  • 101
1 vote
1 answer
33 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
0 answers
42 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 ...
  • 379
0 votes
0 answers
25 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
46 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
0 votes
0 answers
50 views

How to reduce the aws ebs root volume on windows instance

How can we reduce the size of the aws ebs root volume of windows instance. I have the current size of 250 MB, I want to reduce it back to 30 GB since the applications doesn't need 250 GB.
0 votes
0 answers
37 views

Powershell to remove EC2 snapshots

Below is a snippet to print the snapshot ids that are grabbed below a certain date. I can see that the text file is created with the older snapshot details like the below, but snapshot ids are not ...
0 votes
0 answers
103 views

How to increase 1st partition size via terminal only when there are second and third adjacent partitions for NVME

This is on an AWS EC2 M5a with EBS (Ubuntu 16.04) NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT nvme0n1 259:1 0 50G 0 disk ├─nvme0n1p1 259:2 0 20G 0 ...
0 votes
1 answer
759 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
737 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
0 answers
23 views

How to prevent copying of executables included in AMIs?

When publishing and AMI on the Marketplace or sharing an AMI with another account, how would one go about protecting the executables from being copied out? I've looked into the documentation (https://...
0 votes
0 answers
48 views

Can't see AWS EBS snapshot tags from different account

I have private snapshots in one account (source) that I have shared with another account (target). I am able to see the snapshots themselves from the target account, but the tags are not available, ...
0 votes
1 answer
74 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 ...
  • 111
5 votes
1 answer
807 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
60 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
419 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 ...
0 votes
1 answer
668 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.
  • 1
0 votes
0 answers
56 views

How to Read Amazon CloudWatch metrics for Amazon EBS?

I want to know VolumeReadOps, VolumeThroughOps and throughout of EBS volume to determine whether I need to update iops or throughout of my EBS volume. I want to know maximum and average ops. But my ...
  • 101
0 votes
2 answers
737 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
0 votes
0 answers
32 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
97 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 ...
  • 11
0 votes
2 answers
111 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 ...
  • 121
1 vote
1 answer
1k 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 / ├─...
  • 125
0 votes
0 answers
22 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 ...
  • 101
2 votes
0 answers
349 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 ...
6 votes
1 answer
6k 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 ...
  • 71
1 vote
2 answers
189 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 ...
1 vote
1 answer
228 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 ...
  • 111
1 vote
2 answers
102 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
1k 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 ...
  • 125
0 votes
1 answer
116 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
137 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, ...
0 votes
2 answers
280 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 ...
  • 169
-1 votes
1 answer
98 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 ...
  • 121
0 votes
0 answers
115 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 ...
  • 101
0 votes
1 answer
423 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 ...
  • 115
0 votes
1 answer
312 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
107 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 ...
  • 474
-1 votes
2 answers
224 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 ...
  • 109
1 vote
1 answer
196 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 ...
  • 111
4 votes
1 answer
506 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
107 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
4k 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" ...
  • 474
1 vote
1 answer
165 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 ...
  • 205
3 votes
1 answer
563 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 ...
  • 445
5 votes
1 answer
3k 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
110 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-...
0 votes
1 answer
44 views

Not a file, not a folder, but a hard link(?) to /bin from another partition - scared to delete

I have a not-quite-folder not-quite-file on my file system. It is an AWS EC2 instance running Ubuntu 18.04.4 LTS. I have a script that runs nightly that picks up a file (/ebsvol/dead-drop/sync) and ...
0 votes
1 answer
1k 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 ...
2 votes
1 answer
515 views

CWAgent Disk Space Alarms

I'm trying to implement an alarm(in Cloudformation) for disk space free using metrics from the Cloudwatch agent and I'm having issues with devices shuffling DeviceID. I encountered this earlier when ...

1
2 3 4 5
12