Questions tagged [amazon-ebs]

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

573 questions
6
votes
2 answers

Running MySQL on Amazon EC2 with EBS (Elastic Block Store) and Elastic Beanstalk

I'm new to Elastic Beanstalk, but I created an environment with a container running 64bit Amazon Linux running PHP 5.3. I want to get MySQL set up on EBS, then install phpMyAdmin and import my databases. However, I don't know how to do this because…
edpeciulis
  • 73
  • 1
  • 6
6
votes
1 answer

How do I create an instance store based AMI from an EBS instance?

To give a background, I need about 10 instance replicas for a research purpose. So, here is what i do: I have an EBS based EC2 instance as master instance where i do all the development. Create an AMI out of the master and launch 9 instances using…
Karthik Jayapal
  • 163
  • 2
  • 6
6
votes
5 answers

Automated snapshots of EBS-backed EC2 instance running Ubuntu

I'm running an EBS-backed instance which acts as a software development team's build server (running Jenkins and host of other services). The server is running Linux (latest Ubuntu from the official AMIs). I'd like to take regular, automated…
Jonik
  • 2,961
  • 4
  • 38
  • 48
6
votes
1 answer

How to create a new public AMI for windows with a random password?

I am trying to make a windows 2008 AMI that is a nice clean 64bit starter pack (IIS, SQL express, ASP.NET MVC, etc...) I would like to make it a public AMI when its done. There in lies the problem. I can make an AMI from my image no problem. But I…
user67081
  • 161
  • 1
  • 3
6
votes
1 answer

AWS Root volume Encryption

In my scenario, I have some old EBS volumes that are not encrypted. To satisfy new corporate security measures, all data needs to be encrypted so I need to compile a plan to encrypt the unencrypted in the least disruptive way (Ideally with no…
6
votes
1 answer

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. It is worth mentioning that I'm talking about…
Mr.Stiven
  • 61
  • 1
  • 3
5
votes
1 answer

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 know what to do, but I was hoping to have someone…
5
votes
2 answers

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. In the event I need to restore from backup…
monty0
  • 201
  • 2
  • 7
5
votes
3 answers

Reuse EBS volume with AWS autoscaling

I am trying to setup auto-healing for my EC2 instance. So whenever my instance goes down or is unreachable, it should auto reboot or launch a new instance preferrably in a different AZ in the same AWS region. I looked into setting up cloudwatch…
Rakesh Ranjan
  • 51
  • 1
  • 2
5
votes
1 answer

Proper way to stop/reboot a Windows EC2 instance

I recently started with AWS and I need to stop/reboot some EC2 Windows instances. The instances are with EBS volumes. Is there any difference if I use the Shutdown/Reboot Windows option vs Stop/Reboot from the AWS Console?
Spirit
  • 1,154
  • 8
  • 25
  • 45
5
votes
2 answers

Get an AWS EC2 ebs volume to perform over 20,000 IOPS

The company I work for is currently going through an AWS migration, and for 99% of services, their commodity hardware does the job just fine. Except for the production Database, we currently sit at 60,000 IOPS just to keep up with requests, and…
5
votes
1 answer

AWS EC2 snapshots - how long should they be retained?

How long should daily EBS-backed EC2 snapshots be retained? We're using ec2-automate-backup to backup (daily) two EBS volumes - OS and data - pertaining to a web application. If I've understood, in the event of failure we could create new instances…
5
votes
1 answer

What is the size of an IO Operation (IOP) in AWS EBS?

My research suggests that both the standard and the maximum (kernel limitations) block size for modern file systems (ext4, xfs) is 4KB. However, AWS allows IO operations as large as 256KB and says For 32 KB or smaller I/O operations, you should see…
user4258
  • 151
  • 1
  • 2
5
votes
1 answer

Will a SSD storage perform like a magnetic for small root volumes in AWS EC2?

I have a t1.micro instance with 8GB of magnetic EBS volume as it's root disk with a LAMP environment on it. I thought that I will upgrade it to t2.micro with 8GB of General Purpose SSD volume. However I read that the magnetic storage has ~100 IOPS,…
5
votes
3 answers

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 problem is that I cannot find a way to add an…
jbaylina
  • 153
  • 1
  • 7