Questions tagged [amazon-ebs]

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

79 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
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-...
2
votes
0answers
239 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 ...
2
votes
0answers
391 views

filebeat makes a lot of I/O

We have filebeat on few servers that is writeing to elasticsearch. We can see that it is doing a lot of writes: PID PRIO USER DISK READ DISK WRITE SWAPIN IO> COMMAND 353 be/3 ...
2
votes
0answers
61 views

Strange Linux disk statistics on EBS i/o credit exhaustion

We have T2 instances (Linux 4.9.20-11.31.amzn1.x86_64) on AWS EC2 which exhaust their i/o credits due to disk reads. It may well be that we have excessive reads on these nodes, so nothing strange ...
2
votes
1answer
876 views

Mount command hanging after attaching EBS volumes on AWS

I'm creating four volumes from four EBS snapshots on AWS. The four volumes make up one BTRFS multi-device drive. The drives have no partition tables, i.e I've ran mkfs.btrfs /dev/xvdf /dev/xvdg etc. ...
2
votes
1answer
113 views

EC2 Disk space not utilized fully

I have an EC2 instance. While launching i tried with disk storage space, like 16 GB. In AWS console i see a new EBS volume been created of 16 GB and gets attached. When i log into machine i can see ...
2
votes
0answers
863 views

How to restore a dd image to an EBS volume

I have a local dd image myimage.bin, which I want to use to create an AWS EBS volume. The only way I can figure out how to do this is to, 1) Launch an AWS instance 2) Create and attach an EBS ...
2
votes
1answer
222 views

Create Windows AMI with instance storage

I have a business use case and workflow where local/instance/ephemeral storage for an EC2 instance is ideal. Unfortunately I'm coupled to a Windows platform for this particular task and the EC2 ...
2
votes
2answers
106 views

Is it “safe” to create a AMI image from a running EBS instance with another EBS attached to it?

I have an EBS backed AMI up and running and another EBS attached and mounted as a persistant storage device. Is it safe for me to create an a new AMI image (via the AWS Management UI) while the ...
1
vote
1answer
607 views

IAM policy to enforce tagging not working

0 down vote favorite I have created an IAM policy to deny creating EBS volumes if it is not tagged with both the keys "empname" and "team". The policy is attached to a test user. When I try to create ...
1
vote
0answers
413 views

Cannot ssh to Amazon Linux AMI. Permission of home/ec2-user/.ssh/authorized_keys set to 600

I'm trying to help a friend recover access to an EC2 instance where the private key was lost (is there possibly another way to access to make changes to content? Maybe the answer is more simple and ...
1
vote
1answer
123 views

trying to stripe two EBS volumes using user data from the launch configuration in cloud formation template

created two EBS volumes using cloud formation template. attached EBS volumes using aws ec2 attach volume trying to stripe two volumes using - mdadm --create --verbose /dev/md0 --level=0 --name=...
1
vote
1answer
72 views

Error writing from S3 to EBS

I'm trying to copy from an S3 bucket to a mounted EBS volume on a Windows EC2 Instance. I have the following IAM policies in place: AmazonEC2FullAccess AmazonS3FullAccess ...
1
vote
0answers
48 views

EC2 not booting because of mount - no logs

I have an EC2 hosted Ubuntu 16.04 server which doesn't boot. When I look at the logs in the Amazon console i only get a black screen. When I mount the disk to another server I have the following ...
1
vote
1answer
200 views

EBS Write-back cache on Linux?

I can't find a definitive description of how EBS handles write caching. EC2 T2.medium instance type EBS "gp2" devices Linux (Ubuntu 14.04) HVM virtualization hdparm -I /dev/xvda doesn't work - ...
1
vote
0answers
144 views

What are the proper Readahead values for a RAID 10 array over 4 EBS PIOPS volumes?

tl;dr - What are the proper readahead values for the different EBS PIOPS volumes in a RAID 10 array ? What about the RAID 10 physical and logical volumes themselves ? What about the chunk size of the ...
1
vote
0answers
296 views

Trouble creating ext4 filesystem when trying to mount EBS volume on AWS instance

I'm trying to mount an EBS volume on my AWS instance. Following Amazon's instructions, I get the following error when running sudo mkfs -t ext4 /dev/xvdf: Allocating group tables: done ...
1
vote
0answers
407 views

CentOS 7 mount ebs thorugh systemd unit

CentOS 7 HVM community image is not mounting the drive if as recommended we do it via rc.local(since doing it via /etc/fstab entry may halt the machine and make it not reachable if any issue occurs in ...
1
vote
0answers
468 views

AWS: Sync WWW folder between multiple load balanced instances

I am new to AWS. I am trying to setup an EC2 web server. I got the server up and running, I made the AMI (which included the WWW folder), added the load balancer etc. I terminated the original ...
1
vote
1answer
440 views

AWS give Apache permission to write to different EBS volume

I have an EC2 instance that is running Apache and my website (php files) is also on that EC2 instance. Website users will be able to upload and download files and I would like to store (user uploaded) ...
1
vote
0answers
244 views

Safe filesystem encryption using mdadm and cryptsetup in EC2

I need to safely store some encrypted information in EC2. For this purpose, I'd like to encrypt a filesystem on my EBS drives to ensure that third-parties won't be able to poke around in my data. ...
1
vote
0answers
184 views

How can I store the Postgresql data on the EBS Volumes and not on the Root Volume?

My PostgreSQL database is currently stored in the cloud. Normally, when creating a PostgreSQL database, all the data is stored on the root volume of the EC2 instance. How can I make sure all the ...
1
vote
0answers
186 views

market place EBS volume as secondary device

I managed to lock myself out on AWS marketplace centos 6.3 server. It seems to be a permission issue (SELinux) and needs some reconfiguration. I was going to mount the root drive of the problematic ...
1
vote
0answers
93 views

Storage (EBS) attached to my EC2 instance reporting files on two devices at once

I have on EC2 instance with two attached EBS drives. One drive /dev/sda1 is mounted on / The second /dev/sda2 is mounted on /var2 So here's what's strange. Whenever I add any files to /var2 the it ...
1
vote
1answer
347 views

High mysql server load, sar output

I have a MySQL Server that should be performing better than it seems to be. We're running ubuntu on a Amazon Cluster Compute (cc1.4xlarge) Linux ip-10-0-1-60 3.2.0-25-virtual #40-Ubuntu SMP Wed May ...
1
vote
1answer
376 views

Disk/EBS volume that is part of an Raid0 drive suddenly becoming unreadable/unavailable

We have a 4 x 100gig EBS volumes used as dynamic disks in a raid 0 (striped) drive attached to a Windows2008 R2 Datacentre 64bit Amazon EC2 instance. This all works fine, except we have had 3 ...
1
vote
1answer
273 views

How to change switch to a different root partition

I am using AWS EC2 instance with Ubuntu 10.04 installed on it. I start with the instace which has its root partition at /dev/sda1. Later I want to attch a new EBS volume at /dev/sdb1 and want to get ...
0
votes
0answers
142 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
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
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
28 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 ...
0
votes
1answer
90 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. ...
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 ...
0
votes
0answers
403 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 ...
0
votes
1answer
51 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
1answer
355 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 ...
0
votes
1answer
70 views

EC2 r3.8xlarge EBS storage limit

We have a r3.8xlarge SQL 2014 instance. We have attached 2 EBS volumes (each of 5 TB) to this instance. We need another 5TB volume that we plan to attach to this SQL instance. Is there a limit on ...
0
votes
1answer
24 views

AWS: encrypted ROOT EBS doesn't support t2 instance types

I created an AMI from my web server. Then I copied the snapshot, checking the "encrypted" checkbox. Then I created an AMI from this encrypted snapshot. Then I tried to launch a new instance from this ...
0
votes
0answers
36 views

Open-source replacement for Amazon EBS for own cluster

I have a couple of worker nodes running Linux, on which I dynamically provision KVM virtual machines. Right now, I copy the qcow2 images from the NFS server to the node, run the VM and after shutdown ...
0
votes
1answer
873 views

How to persist all Jenkins data on an EBS volume in docker

I have the Docker official jenkins repo running on an Ubuntu instance. In that document, it suggests a way to create a volume as a way to isolate all Jenkins data file. The EC2 instance has the root ...
0
votes
0answers
199 views

m4.large not ebsOptimized

M4 large instances are EBS-optimized by default as per below URL : https://aws.amazon.com/ec2/instance-types/ When I try to check the status using aws-cli I get result with boolean value set to ...
0
votes
0answers
151 views

Aws ebs IOPS for stripped volume

I have a instance setup with 8 ebs drives mounted on a stripped logical volume of 8TB size in total on a m4.4xlarge instance, I was bench marking the IOPS in such a setup and I'm wondering why I'm ...
0
votes
1answer
62 views

Suspicious logs on ebs, is it some kind of trojan attack?

I found lots of similar logs in cloud watch logs where logs from my ebs application are streaming. I am using Platform: 64bit Amazon Linux 2017.03 v2.5.0 running Java 8 Here are the logs which are ...
0
votes
0answers
501 views

How configure Amazon EFS as data volume in Elastic Beanstalk web application windows .NET instance

I do have an .NET Application which I would like to deploy to Beanstalk. I would like to add an EFS to it. I tried but i did not was able to configure EFS with a windows Beanstalk. How can I ...
0
votes
0answers
516 views

Increasing size of a root EBS volume: stop or reboot instance?

I am increasing the size of a root EBS volume for EC2's t2.medium instance. The instance is ruled by Ubuntu 14.04 AMI. I have read an official guide and found that to increase root partition size one ...
0
votes
0answers
177 views

Is there a way to change xen_blkfront.max without reboot?

This AWS video suggests to change xen_blkfront.max for better ec2 performance. Is there any way to change this value, considering the below? instances are in auto-scaling group, so reboot will fail ...
0
votes
1answer
379 views

Encrypting volumes of a mongo/elasticsearch cluster

I have mongodb and elasticsearch cluster. I want to encrypt the volumes associated with all the instances running in the cluster. If I encrypt only one volume among the cluster than the cluster will ...