Questions tagged [amazon-ebs]

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

573 questions
3
votes
2 answers

Why AWS encryption for EBS and S3 is disabled by default?

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 under the hood or not. If it is true, why this option…
2
votes
0 answers

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 stop mysql Changed mysql datadir pointing to new…
The Keeper
  • 141
  • 5
2
votes
2 answers

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. Also I added file Dockerrun.aws.json with…
Alex G.P.
  • 132
  • 1
  • 8
2
votes
1 answer

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 and mounted on an airgapped server. Supposing I…
2
votes
1 answer

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 someone give a more detailed explanation why it is so?
Andremoniy
  • 224
  • 3
  • 10
2
votes
2 answers

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 web service is holding a completely separate file…
Jester
  • 121
  • 1
2
votes
1 answer

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 replace it as similar as possible (this means using…
sandre89
  • 123
  • 4
2
votes
2 answers

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 option would be to relaunch the server and attach…
wesley.fok
  • 63
  • 8
2
votes
1 answer

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. I have detached the old unencrypted volume and…
Paul
  • 295
  • 5
  • 10
2
votes
1 answer

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…
2
votes
0 answers

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 root 0.00 B/s 4.52 K/s 0.00 % 0.55 %…
usterk
  • 121
  • 1
  • 5
2
votes
1 answer

VERY high write latencies on AWS EBS

Right now I am rsync'ing data from my laptop at home to an EBS volume attached to a m5.large. The write latencies I am seeing are ridiculously high (>15s). My EC2 instance is EBS-optimized and read latencies look normal. The EBS volume is 300 GB and…
2
votes
2 answers

AWS EBS snapshot. Does FileSystem consistency REALLY required?

I've been reading a lot about aws ebs and a lot of people seems to encourage people to freeze the filesystem during the snapshot. However, this piece of amazon documentation beg to differ : While it is completing, an in-progress snapshot is not…
Nico
  • 429
  • 5
  • 12
2
votes
1 answer

UUID on copied EBS snapshot

Is the UUID of a copied EBS snapshot different to the original? In mounting an EBS volume via the fstab in an EC2 instance and if it's a copied snapshot, it appears to be the same UUID? Is this correct? Is the UUID the same?
eekfonky
  • 309
  • 1
  • 4
  • 14
2
votes
2 answers

aws instance docker pull extract is very slow

I am pulling a ~3GB image from a private docker registry and it takes roughly 10 minutes. About 80% of the time is spent for extracting the layers, so download/network does not seem to be a bottleneck. It is executed in an aws environment. Both…