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
43 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 ...
3
votes
2answers
812 views

Windows EBS Volume from snapshot at instance launch is OFFLINE

Using Powershell launching a Server 2012 R2 machine. I can launch an instance from the stock Server 2012R2 AMI with a defined new EBS volume for d: drive, and upon boot, is online, and works fine. ...
1
vote
5answers
4k views

Amazon EC2 instance won't boot: Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

My instance was running for years and suddenly stopped responding Jun 1st. I tried to reboot it, but it would not boot. It gave errors in the system log: https://pastebin.com/rSxr1kLs Linux version ...
3
votes
2answers
3k views

AWS Encrypted EBS Boot Volumes for Windows Instances

Is it possible to create an encrypted ebs boot volume for a windows ec2 instance? This AWS example shows how to copy an unencrypted boot volume, creating an encrypted boot volume: aws ec2 copy-image ...
3
votes
1answer
2k views

Amazon EC2 - Not able to find / mount EBS volume partition

I have a linux instance to which a ebs volumne of 20GB has been attached. The web-console volume page shows: 20 GiB gp2 snap-b3a87xyz in-use i-cd5b9999 (myinstance):/dev/sda1 (attached) The web-...
0
votes
0answers
141 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 ...
127
votes
4answers
52k views

Amazon EC2 terminology - AMI vs. EBS vs. Snapshot vs. Volume

I have been poking around Amazon EC2, and am a little confused on some of the terminology. Specifically with regard to AMI, snapshots and volumes, and an EBS Please correct me if I am wrong, or fill ...
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. ...
0
votes
1answer
4k views

How to configure Apache to serve default Index.html file stored on attached AWS EBS volume?

I have a AWS EC2 Linux VM with Apache installed, and my requirement to configure Apache so that the default Index.html file served is the one from the attached EBS volume (where I have already stored ...
1
vote
2answers
343 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 ...
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
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 ...
1
vote
1answer
62 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 ...
5
votes
4answers
8k views

Is it possible to change the EBS volume to different availability zones?

I have a server created in "eu-west-1c" availability zone and I tried to attach the volume created in "eu-west-1a" availability zone to "eu-west-1c" but the server created in "eu-west-1c" is not ...
0
votes
1answer
73 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 ...
3
votes
2answers
2k views

Can't delete AWS snapshot - refers to instance ID that doesn't exist

I have a snapshot in AWS Oregon I can't deleted. When I try it says Snapshot is in use by AMI ami-d2d83cxx I've checked every region, I have no instance with that ID. I used to run in the Sydney ...
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
26 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 ...
6
votes
3answers
7k views

Find current IOPS usage of EBS volume from my application on AWS EC2

I am relatively new to AWS and disk performance. I am trying to figure out how much provisioned IOPS does my application need to perform well. Currently My PHP and MySQL application is hosted on EC2 ...
0
votes
1answer
89 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. ...
4
votes
1answer
2k views

What happens when I delete the first of several AWS EBS snapshots?

On http://aws.amazon.com/ebs/pricing/ it says: "EBS Snapshots [...] For the first snapshot of a volume, Amazon EBS saves a full copy of your data to Amazon S3. For each incremental snapshot, only ...
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
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 ...
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 ...
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 ...
2
votes
3answers
445 views

Can I use ZFS to replicate (fast) EC2 instance store to (slow) EBS store?

I love the idea of using SSD EBS instance stores as L2ARC and ZIL for a zpool backed by EBS. Going further (and into more dangerous territory), could I instead create a zpool mirror with the 2 ...
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
237 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 ...
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 ...
8
votes
4answers
28k 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 ...
3
votes
2answers
285 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 ...
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
72 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
3answers
3k views

Amazon EC2 - What's the point of having Instance storage if it is non-permanent and EBS provides a permanent store?

I'm specifically looking at the Standard Large On-Demand instance which has 850 GB of instance storage. What I really don't understand is why have 850 GB of storage on the instance if that data will ...
0
votes
1answer
96 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?
9
votes
2answers
4k views

EC2 - Shared Storage - S3FS or EBS?

Building my web service onto EC2 right now and have a single instance behind a load balancer. I will of course cater for multiple instances. My initial idea was to run all the instances a dumb slaves,...
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 ...
0
votes
0answers
401 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 ...
5
votes
3answers
5k views

How can I add an ephemeral disk to an existing EC2 instance?

Six months ago I created an EC2 Instance with a Plesk license from the AWS Marketplace. Now I would like to add an ephemeral disk in order to put the temporal backup data generated by the Plesk. The ...
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 ...
0
votes
3answers
2k views

How to tell if disk volume is instance store or EBS?

I have a number of volumes (same size) attached to a Windows instance in Amazon AWS. One of them is told to be an instance store. How do I tell which one? PS. testing the speed did not help, one of ...
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
368 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
425 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 ...