Questions tagged [amazon-ebs]

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

573 questions
2
votes
3 answers

Amazon EC2 + EBS:: Regular backup plan?

I have read some articles about amazon ec2 instances and ebs. I found out that, the data on the instance are not persistent, which means, if the hardware fails, instance shut down, I will lost my data. Hence, what is your backup plan for this…
heathub
  • 113
  • 1
  • 2
  • 6
2
votes
1 answer

How do I move *all* the installed software on my EC2 isntance to EBS?

I got started with Eric Hammond's great article over at http://aws.amazon.com/articles/1663 where he goes through installing MySQL and configuring it to use EBS. I got that going. I also have a lot of other stuff installed on that EC2 instance:…
drhyde
  • 148
  • 5
2
votes
2 answers

Re-gaining root access to an EC2 EBS-boot image

I'm using an Alestic image which disables root SSH logins, but provides a user "ubuntu" with NOPASSWD sudo privileges. See here. In the course of trying to add a new user to the sudoers file I inadvertantly created another line for the "ubuntu"…
jberryman
  • 914
  • 2
  • 10
  • 25
2
votes
1 answer

How do I shrink an EBS volume on Windows Server 2008?

I have a Windows Server 2008 instance on EC2. I need to shrink one of the drives (non-root) to a certain amount. Is there are well defined way of doing it? Thanks
Wajih
  • 235
  • 1
  • 3
  • 9
2
votes
3 answers

Need Ubuntu AMI of 10GB in size for Amazon AWS Free Usage Tier in Region "EU West"

I've created an account on Amazon AWS because of their Free Usage Tier promotion. It allows for a "t1.micro" instance, free of charge for 1 year. Unfortunately the "official" Ubuntu EBS images are 15 GB in size, and only 10 GB are free. And I know…
2
votes
2 answers

Best AWS Architecture?

The goal is to have as much redundancy as possible so that we can quickly recover from instance failures or any other issues. Our current AWS setup for a Rails WebApp that we run is as follows: EC2 instance where we have an AMI of the initial…
Chris
  • 131
  • 1
  • 3
2
votes
3 answers

Ubuntu Software RAID 0 on AWS Does Not Survive Reboot

I'm experimenting with creating a software RAID 0 device from 4 EBS volumes on Ubuntu 9.10 running at Amazon AWS following this guide: http://alestic.com/2009/06/ec2-ebs-raid The device appears (and according to SysBench is 3.5x faster than a…
Eric J.
  • 772
  • 2
  • 14
  • 28
2
votes
1 answer

EC2: How dangerous is it to turn off fsck for EBS volumes?

I have been tearing my hair out trying to figure out why my EC2 instances (made from my own custom AMIs) were taking many tries to come up properly. They would fail with the following error: fsck.ext3: No such file or directory while trying to open…
Janine Ohmer
  • 257
  • 1
  • 5
  • 8
2
votes
1 answer

Decrease Size of EBS Volume attached to EC2 Instance

I've created an EC2 instance with some 100 GB initial size, thereafter I realized this much size is not required, I've to decrease the size now. What I tried? Create a new volume with the desired size. Attach new volume to ec2 instance. Setup New…
2
votes
2 answers

AWS: Using regular filesystem on an EBS multi-attach volume in a one-writer, many-readers scenario

I'm wanting to share data among multiple AWS instances in a high-performance, low-latency manner. Giving all instances read-only access (except one instance that would handle writes) is fine. Two points about this use-case: Nodes attached to the…
J. Miller
  • 123
  • 3
2
votes
1 answer

CWAgent Disk Space Alarms

I'm trying to implement an alarm(in Cloudformation) for disk space free using metrics from the Cloudwatch agent and I'm having issues with devices shuffling DeviceID. I encountered this earlier when working with fstab, EC2 instances attach EBS…
2
votes
1 answer

How to resize RHEL Atomic logical partition?

We have a VM in AWS that is running Red Hat Enterprise Linux Atomic Host 7.7.3.1. AWS shows this EBS volume attached to it: And the size of the volume is 60 GB: I do not know who set up the VM or how they installed RHEL Atomic. But the instance…
pacoverflow
  • 261
  • 2
  • 3
  • 17
2
votes
3 answers

EC2 EBS AMI Instance stopping/restarting doesn't start services

I've recently been moving our instances to EBS instances (CentOS) and still have a bit of confusion on what's happening when I "stop" and instance. I have some of my services with runlevels 345 on but when I start a stopped instance the services…
ahanson
  • 1,704
  • 2
  • 16
  • 21
1
vote
1 answer

AWS EBS io1 IOPS pricing

My AWS EC2 application consistently requires about 3000 IOPS, but only about 100 GB disk space. Comparing the prices between gp2 and io1 it looks like (from https://aws.amazon.com/ebs/pricing/ for Ohio): gp2: 1000GB disk would cost $100/month…
sligocki
  • 170
  • 7
1
vote
1 answer

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 12G 23% /data/mongo And then the corresponding EBS…
Pablote
  • 187
  • 2
  • 6