Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [amazon-ebs]

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

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
52 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
41 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 ...
1
vote
1answer
57 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
37 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
31 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?
3
votes
1answer
1k 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-...
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,...
0
votes
2answers
107 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) ...
7
votes
3answers
654 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
83 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
42 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
1k 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
56 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 ...
3
votes
1answer
68 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
113 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
38 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 ...
0
votes
1answer
97 views

Increasing the particular partition size in EBS

I have a ec2 system with Suse12sp3 and have following file system ip-10-XX-XX-1XX:/ # lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT xvda 202:0 0 100G 0 disk └─xvda1 202:1 0 100G 0 ...
0
votes
2answers
872 views

Adding EBS volume to Amazon EC2 server. Do I need to?

So I created a free-tier Amazon EC2 ubuntu 12.04 instance. I set up a LAMPP stack on it and use it for a couple of testing websites. Currently, all the data is stored on the server itself, including ...
1
vote
1answer
910 views

Backup Mongodb on EC2 through EBS snapshots - timing issue

I'm following this guidance http://docs.mongodb.org/ecosystem/tutorial/backup-and-restore-mongodb-on-amazon-ec2/ I have 4 EBS 1000 IOPS volumes assigned to instance. These 4 volumes through MDADM ...
0
votes
2answers
185 views

How to Mounting RAID0 EBS Volumes after reboot on EC2?

I've already attached two volumes to my EC2 instance and configured RAID0 for them. After a reboot, the volumes didn't re-attach. I thought I had configured them to attach on reboot in fstab but they ...
5
votes
1answer
100 views

backup/restore ec2 instance before o.s. update

I have an EC2 instance with an EBS backed root volume. The OS hasn't been updated in some time and I'd like to remedy that, but I need a rollback plan in case the updates cause issues. I think I ...
1
vote
2answers
141 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
145 views

Can not start instance - No root volume attached - After migrating to encrypted volume

I am migrating a Windows instance's unencrypted disk to an encrypted. I have created a snapshot of its volume, made an encrypted copy of the snapshot and created a volume from the encrypted snapshot. ...
2
votes
2answers
1k views

How to update an EBS AMI's snapshot?

I have an AMI that I use for my rails web servers. This AMI using an EBS Snapshot to launch with the basics all ready for production. I now need to update some configuration settings on web servers (...
0
votes
1answer
49 views

Is using snapshots in AWS a reliable way to back up data?

I am looking at backup options within AWS and while instance snapshots are the obvious way to go I am have some concerns about using that method. I'd like to take daily snapshots of each instance ...
0
votes
0answers
42 views

How to use AWS EBS disk with OpenEBS?

I am having a 3 node AWS cluster with 3 EBS disks per Node. I want to use these disks for OpenEBS volume creation. How can I use these disks for OpenEBS volume creation?
0
votes
1answer
55 views

How to find the type of a aws instance and whether its EBS Provisioned IOPS SSD or not?

I have a AWS instance on which I perform a ssh login and operate.Os is Ubuntu 16.04.3. I didn’t select it’s AMI and neither do I have the access to its AWS console. I wanted to know that what ...
1
vote
2answers
95 views

Is there any way to attach an existing volume (one I just restored from a snapshot) to a PVC?

I have a mongodb-replicaset created with the helm chart. The chart creates PVCs based on the StorageClass I provide. I annotate my volumes with a tag picked up by a cron job that snapshots the volumes....
0
votes
1answer
151 views

Mongodb on AWS EC2 backup strategy

I'm running Mongodb on AWS EC2 instance. Data/log/and journal are stored in a separate volume, formatted as xfs. Currently we are stopping the mongodb instance to take a snapshot, but reading this: ...
3
votes
2answers
2k views

Launch new EC2 instance with a specified EBS volume attached

I would like to launch an EC2 instance using the python boto library, with a previously created EBS volume attached (in addition to the root volume). After connecting, I look up the volume by its ...
0
votes
1answer
643 views

docker has volume permission but docker-compose doesn't

I have installed Docker on an Amazon Linux server and given it permissions with sudo usermod -aG docker $USER. When I start my Jenkins docker containers (which have the home directories on an EBS ...
1
vote
1answer
89 views

Is there a way to name an EBS snapshot created with a Cloudwatch Rule?

Is there a way to name an EBS snapshot created with a Cloudwatch Rule? For instance, I have a cron-like rule: 31 10 ? * 3,6 * vol-0e743fcfd2f53198a Which will create a snapshot of the data volume, ...
34
votes
2answers
31k views

How do I access the attached volume in Amazon EC2

I just attached another ebs volume to running instance. But how do I access the volume? I can't find the /dev/sda directory anywhere. Where should I look?
0
votes
1answer
142 views

EBS volume unmounted after EC2 instance type change

I have an EC2 instance running mongo, with data stored on a separate EBS device. I decided to change EC2 instance type, and when I restarted I did not see the disk anymore, so I had to mount again. ...
4
votes
1answer
3k views

How do I use cloud-init to configure an AWS EBS volume at first boot?

Cloud-init provides the disk_setup, fs_setup and mounts modules to partition, format and mount a volume to a virtual machine, however these options remain undocumented at both http://cloudinit....
17
votes
2answers
14k views

How to convert a unencrypted EBS to be encrypted

I have a number of older EBS volumes that are not encrypted. In satisfying new corporate security measures, all data needs to be "encrypted at rest" so I need to convert all of the volumes to be ...
3
votes
2answers
3k views

Switching from Amazon EC2 instance-store to EBS Volume

I have an Amazon EC2 instance that is using an instance-store as its root device. It has no EBS volumes attached to it. It has a database and a running web application on it. If I understand correctly ...
0
votes
2answers
492 views

Amazon AWS - Export EBS Snapshot to External Storage

On the Amazon AWS platform, is there a way of exporting an EBS volume to an external disk? I.e. a backup outside of Amazon's infrastructure? From what I have read so far: Amazon's "Import/Export (...
6
votes
2answers
6k 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 ...
0
votes
0answers
137 views

AWS EC2 instance with reattached volume won't boot anymore

I detached an EBS standard volume from an EC2 instance then tried to reattach it later. The EC2 instance refuses to come back up. I ensured that the name of the block device is the same as it was ...
2
votes
1answer
339 views

I cannot attach volume to running EC2 instance

The following error is displayed when I am trying to attach EBS volume to running EC2 instance which is part of a Kubernetes cluster: Error attaching volume: Invalid value '/dev/sdf' for unixDevice. ...
0
votes
1answer
177 views

Reduce EBS root device size

I want to reduce the size of the root volume of a Windows server EC2 instance . 1) Stop the running instance (instance 1) 2) Detach its root EBS device 3) Create new instance with any volume (...
0
votes
0answers
144 views

Resize AWS EBS raid0

I've got an AWS raid0 array that I'm struggling to resize. The underlying EBS volumes have been increased in size, but I'm not able to re-size the array to resize the FS. I've tried using mdadm and ...
0
votes
0answers
123 views

How to increase the size of a /var Filesystem on AWS EC2 centos instance

currently i have: xfs_info /var meta-data=/dev/mapper/ami-var isize=512 agcount=4, agsize=1966080 blks = sectsz=512 attr=2, projid32bit=1 = ...
1
vote
2answers
2k views

Download EBS volume or snapshot to file

Is there any way to dump/save EBS volume/snapshot to file or mount it to local Linux file-system? I found only this old thread and this script which intends to save it via S3 and doesn't seem very ...
0
votes
1answer
200 views

How can I see how long an EBS snapshot took?

I'm trying to do some planning and have been experimenting with EBS snapshots for data backups. I want to see how long a snapshot took of a 50G volume, but I only see the start time, not the ...