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
0answers
49 views

How do I shrink my EBS Volume with out losing my site data

I would like to reduce my ebs volume size without losing my site. I already tried to take snap shots and creating another smaller volume but all methods I try involve using commands which I would not ...
0
votes
0answers
9 views

Cannot mount an EBS partition, file system is of type "data"

I have inherited the administration duties on an EC2 instance with a single EBS volume mounted. The device (xvda) is partitioned, with xvda2 mounted as root (/), but I have no idea what is on xvda1, ...
0
votes
0answers
6 views

resize ext4 volume in amazon linux server : Couldn't find valid filesystem superblock

I updated an EBS volume from 30Gb to 40Gb and I'm having hard time to extend it in the system: root@ip:/home/cpmuser# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 55.4M ...
1
vote
1answer
80 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
2answers
26 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 ...
0
votes
0answers
29 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
2answers
28 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
1answer
183 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
1answer
67 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
0answers
39 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
1answer
48 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 ...
0
votes
1answer
33 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
0answers
152 views

Troubleshooting block device mappings with Packer to increase size of EBS volume

I'd like to understand more about what to do when you need to increase a block device size for a build. I have some examples that work successfully with ubuntu 18, and centos 7 that I use, but it ...
0
votes
0answers
26 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 ...
0
votes
1answer
86 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
1answer
35 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
1answer
35 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
2answers
95 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
1answer
137 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 ...
4
votes
1answer
329 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
0answers
42 views

How do I shrink an ebs volume on ec2 running debian 10 with parted?

I've been searching high and low on how to shrink an ebs volume from 8gb down to 2gb running debian 10. I was successful with debian 8 after following a tutorial, but the partitions on a debian 10 ...
0
votes
2answers
50 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 ...
2
votes
3answers
2k 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
1answer
104 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 ...
1
vote
1answer
230 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 ...
3
votes
1answer
2k 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
0answers
54 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
1answer
34 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
1answer
611 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
1answer
168 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 ...
2
votes
1answer
92 views

Can I directly write to AWS EBS raw volume

I want to write data directly to an unmounted raw EBS volume (with no file system) using system calls. 1) Can I can do this via the EC2 instance to which the EBS is connected? 2) Can I provision ...
0
votes
1answer
29 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
1answer
11 views

AWS EBS recover data from EBS

I have this t2.micro on my aws account, after a update/reboot i can't log in to my machine thought ssh... I have tried by aws panel, stop and start machine but nothing works... So i created another ...
2
votes
1answer
80 views

How to resize RHEL Atomic logical partition?

We have a VM in AWS that is running Red Hat Enterprise Linux Atomic Host 7.7.3.1. AWS shows this EBS volume attached to it: And the size of the volume is 60 GB: I do not know who set up the VM or ...
0
votes
1answer
187 views

Why would deleting an incremental snapshot increase the space usage & cost? [closed]

Google Cloud Platform From the Google Cloud docs: https://cloud.google.com/compute/disks-image-pricing#persistent_disk_snapshots When you delete a complete or incremental snapshot, some of its ...
0
votes
0answers
30 views

Disk with no primary partition mounted on disk-name itself

I have a ec2-machine setup with an EBS attached of size 200 GB. I obtain the following with the commands I perfomed Screnshot for the lsblk and df -hT commands As I could figure out from these, there ...
1
vote
2answers
343 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 ...
0
votes
1answer
1k views

How to mount a LVM controlled ext4 file system stored on a AWS EBS volume built from a snapshot

I have a ext4 file system that is part of a Logical Volume and the underlying storage is AWS EBS. I took a snapshot of the EBS and then used that to create a new EBS volume and attached it to theEC2 ...
1
vote
0answers
250 views

In AWS, we cannot access EC2 instance when specific EBS volume is mounted, why?

I have an EBS volume with all my configured mail servers, exchangers, and webmail interfaces on it. The problem was, we created a new subnet for this instance because it needed a different EIP. After ...
1
vote
1answer
27 views

About EBS Amazon

I Have a medium EC2 Instance on Amazon with 3 EBS (general purpose type) On first EBS I have OS installed On second EBS I have a Webserver and PHP app On third EBS I have file storage (invoices, ...
0
votes
1answer
35 views

Can I delete the snapshots and AMI in zone zone after successfully copying the AMI to another zone?

I have created an AMI in one Asian zone, ap-southeast-1. The related snapshot is saved and of course cannot be deleted. I then copied this AMI to eu-west-1. Can I somehow get rid of the ap snapshots ...
1
vote
1answer
744 views

AWS EBS io1 IOPS pricing

My AWS EC2 application consistently requires about 3000 IOPS, but only about 100 GB disk space. Comparing the prices between gp2 and io1 it looks like (from https://aws.amazon.com/ebs/pricing/ for ...
0
votes
1answer
670 views

EBS vs EFs vs FSx vs S3 for feeding data to a distributed machine learning model?

Lets says there are 1TB of data to be simultaneously fed to 100 EC2 consumer instances. Each instance accesses random chunks of data of size 10MB. What would be the considerations to take into account ...
0
votes
2answers
43 views

EBS data security on EC2 instance

A third party created an EC2 instance on their own AWS account, and gave me the private SSH key to log in with. I logged into the EC2 instance, removed .ssh/authorized_keys in the home dir, and ...
2
votes
0answers
2k views

how to use old MySQL data directory for a new MySQL installation

I have my Mysql data in a EBS volume in aws, I need to point my Mysql to point to that directory instead of /var/lib/mysql. These steps i followed by this doesnot change the datadir sudo systemctl ...
0
votes
0answers
32 views

How To Fix AWS EBS Storage Issue With Ubuntu

I have an Ubuntu server in AWS. It runs a WordPress multi site, which has worked perfectly for some years. However now the site is constantly crashing as a result of lack of or no space. To restore ...
1
vote
1answer
2k 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
680 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
75 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 ...
2
votes
2answers
526 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
2 3 4 5
12