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

learn more… | top users | synonyms (1)

0
votes
1answer
30 views

$0 empty in script when run by cronjob

I am trying to setup automated backups for an AWS EBS volume and using https://github.com/colinbjohnson/aws-missing-tools/tree/master/ec2-automate-backup to do so. The backup script used is the ...
0
votes
1answer
29 views

How to configure Apache to serve default Index.html file stored on attached AWS EBS volume?

I have a AWS EC2 Linux VM with Apache installed, and my requirement to configure Apache so that the default Index.html file served is the one from the attached EBS volume (where I have already stored ...
0
votes
1answer
177 views

Amazon EC2 instance-reboot on EBS backed instances

I received notification that many of my EC2 instances will be rebooted for scheduled maintenance. They are scheduled for an "instance-reboot," which makes sense because most of my instances are S3 ...
0
votes
1answer
9 views

Simple MongoDB EBS Backup Scheme

Can I get by with standard EBS snapshots to back up my small MongoDB replica set? I have a 3-member MongoDB replica set (~2GiB of data across several databases). I don't anticipate it to grow ...
0
votes
0answers
24 views

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

tl;dr - What are the proper RA values for the different EBS PIOPS volumes in a RAID 10 array ? And what about the RAID 10 physical and logical volumes themselves ? What about the chunk size of the ...
2
votes
2answers
1k views

Autoscaling and NFS Server

I have a WebServer say WS-1 and a NFS server say NFS-1 setup on AWS. WS-1 is being managed by an elastic load balancer and also autoscaled. It also has an EBS mounted on /var/www which contains all ...
0
votes
1answer
7 views

Differentiating between volume, snapshot and understanding Stop

I am not very clear in the difference between a Volume and a Snapshot. When a new instance is created, it automatically creates a snapshotID like snap-ad8e61t8 in Volume under Elastic Block Store but ...
2
votes
4answers
6k views

Command does not execute in crontab while command itself works just fine

I have this script from Colin Johnson on Github - https://github.com/colinbjohnson/aws-missing-tools/tree/master/ec2-automate-backup It seems great. I have modified it to send email to myself every ...
-3
votes
1answer
29 views

Not able to ssh into server after mounting users home on other ebs volume [closed]

I have a server which has a low storage problem. What i want is to mount the user ec2-user's home directory that is /home/ec2-user to another attached storage drive which is available at /dev/xvdk and ...
0
votes
1answer
25 views

AWS EC2: EBS snapshot without reboot in read only context it is safe (consistent)?

I have a Windows Server 2012 R2 EC2 instance on AWS platform, with 2 EBS volume attached, the first (C:) for Windows SO (root volume) and the second (D:) for static file storage served by http server. ...
3
votes
1answer
37 views

AWS Windows EC2 instance: daily EBS snapshot without downtime

I have one "Windows Server 2008" instance on "Amazon AWS EC2" with two "EBS-volumes" attached: D:\, E:\. I want to schedule a daily snapshot of only D:\ "EBS-volume" to "s3 bucket" so that we have ...
0
votes
0answers
36 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 ...
2
votes
1answer
29 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 ...
0
votes
1answer
16 views

Choosing the right storage when hosting MongoDB on EC2

I'm setting up a MongoDB cluster on Amazon EC2 instances and the documentation says... ...for best performance we recommend separate volumes for data files, the journal, and the log. Each has ...
1
vote
1answer
25 views

Changing AWS Instance Type and Retaining HTTPS Binding

I have an AWS EC2 instance with an of type t2.micro. I wish to change the instance type to m3.medium without losing the bindings that I have set up within IIS. I currently have a binding for HTTPS. ...
0
votes
1answer
23 views

ec2 volume and data

I am new to EC2 and following their tutorial. I created a t2.medium server and would like to install java/tomcat/mongodb. I read in Best Practices "Use separate Amazon EBS volumes for the ...
0
votes
0answers
12 views

Error while mounting /dev/md0 on aws instance

I created an instance with 16 EBS volume in AWS. Then I created RAID and mounted to one of the directory and loaded some data. I detached the volumes and terminated the instance. Again I created an ...
1
vote
1answer
34 views

Windows backup VS Volume snapshot

I have an EBS volume mounted as secondary volume on an EC2 . I want to back up data on the C drive (WEB application user document attachements ) of the EC2 instance : 1) Run a regular windows ...
0
votes
1answer
23 views

Detaching an EBS secondary volume

I am using an instance that has an EBS volume attached to it . This volume is used as secondary volume ( mounted to xvdf ) . So usually to detach the volume i go to volume section of the AWS EC2 ...
0
votes
1answer
21 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 ...
72
votes
2answers
21k views

Amazon EC2 terminology - AMI vs. EBS vs. Snapshot vs. Volume

I have been poking around Amazon EC2, and am a little confused on some of the terminology. Specifically with regard to AMI, snapshots and volumes, and an EBS Please correct me if I am wrong, or fill ...
0
votes
1answer
30 views

Expanding C drive on amazon webservice

I am trying to expand the C disk size ( size is 50 GB) of a windows instance on amazon ec2 . I create an ami from the running instance . Then i created new instance using the new ami . while ...
0
votes
1answer
96 views

EBS vs SSD definition

I am confused about the EBS and SSD choice while creating an instance . while choosing instance parameters (Step 2) you will see 2 options in the column Instance Storage (GB) : EBS only or SSD . ...
0
votes
1answer
35 views

Amazon EC2 EBS storage reliability

We run a bunch of Ubuntu instances on Amazon EC2 and over the last two months we've observed a few of them becoming unresponsive and unreachable. No SSH, no ping responses, etc. Eventually rebooting ...
0
votes
0answers
74 views

AWS RDP Windows Black Screen

I searched and found a few somewhat related issue. Here't the story. We have Windows 2012 r2 in an AD domain. We enlarged the C drive of the primary and secondary AD servers and all went well. We then ...
4
votes
3answers
3k views

Auto-Attach EBS-volume to a New Spot Instance?

I am experimenting with EC2 spot instances, and am needing some data to be retained between terminations. Now as I understand it, when the current price goes above my max. bid, it will be ...
0
votes
0answers
53 views

HTTPS showing blank page on EC2 Amazon Ubuntu server

I have a big problem trying to solve for more than two week and still nothing. I installed the certificate on the server which is working properly and in response I received this response ...
0
votes
1answer
46 views

AWS EBS snapshots - encrypt snapshots of unencrypted volumes?

Is it possible to encrypt an EBS snapshot of an unencrypted volume? Or is encryption -- or lack of encryption -- a binary thing for volumes and their snapshots? Example: Is this scenario possible? ...
2
votes
2answers
945 views

Detaching EBS Volumes (in LVM) take a lot of time

I have an EC2 Instance(EBS Backed-root partition) with EBS volumes configured via LVM. I have formatted it as ext4 and can mount it to store data etc. Now i want take a snapshot of the root ...
4
votes
2answers
3k views

Find current IOPS usage of EBS volume from my application on AWS EC2

I am relatively new to AWS and disk performance. I am trying to figure out how much provisioned IOPS does my application need to perform well. Currently My PHP and MySQL application is hosted on EC2 ...
5
votes
3answers
5k views

Ec2 micro instance, EBS, I/O and speed. How can I improve performance?

I have a micro instance mounted with an EBS volume. I have to pay per million read/writes to the EBS volume. But by the very nature of EBS I/O is very slow and consequently services like MySql is ...
0
votes
3answers
684 views

Swap space in EC2 m1.small & m1.medium

I have a customized AMI, and when I launch instance from this AMI, if I choose m1.small, I will have a 895MB swap space; when I choose m1.medium, I will have 0 swap space, why is that? If I want my ...
0
votes
2answers
372 views

Loading a snapshot on a live instance to replace the root volume without terminating or stopping

I have a small EC2 instance running Ubuntu 9.10. I cannot stop or terminate it because it's a production server and we cannot lose our IP. I have an Amazon EBS volume that is our root drive and I ...
3
votes
2answers
2k 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 ...
3
votes
2answers
4k 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 ...
1
vote
2answers
1k views

How to reduce AWS EBS root volume size?

Enlarging an EC2 instance is easy like a breath (for instance, create an AMI, launch an instance from it and then change the storage size). But reducing it becomes more difficult. I’d like to reduce ...
0
votes
0answers
88 views

Why is grub not booting from 2nd drive? - boot info says “no valid partition table found”

My volumes look like this /dev/xvda1: LABEL="cloudimg-rootfs" UUID="d4f2aafc-946a-4514-930d-4c45e676f198" TYPE="ext4" /dev/xvdf1: LABEL="permaroot" UUID="afb7e502-ad08-4d6a-8701-2c05863f958e" ...
0
votes
0answers
40 views

rsnapshot vs EC2 EBS Snapshot

Question What are the pros and cons of using rsnapshot [on a live drive] to a separate EBS volume vs using Amazon's EBS snapshot on a live drive? Background I just moved a small single server from ...
0
votes
1answer
62 views

Trouble understanding AWS storage for Bitnami ownCloud instance

I launched an ownCloud instance using a Bitnami image from here https://aws.amazon.com/marketplace/pp/B0093DDSFE on clicking through the "Continue" button, you see the next screen shown it the ...
1
vote
3answers
85 views

auto-attach EBS volume to a Spot instance

I need some persistent storage across spot terminations. My approach to solve the problem is Write a startup script that attaches and mounts the persistent volume Snapshot this state and register ...
0
votes
2answers
82 views

Best way to change instance type in AWS EC2?

What is the best way to change an instance type that is behind an AWS EC2 load balancer? Example: change from m3.medium to t2.small.
12
votes
3answers
7k views

Simple Backup Strategy for Amazon EC2 instances / volumes?

You have entered Introductory Backups for Amazon EC2 EBS-backed Windows Images 010... I have been browsing my brains out to find a simple backup strategy for our single windows 2008 server running ...
1
vote
1answer
86 views

ec2 create-image will it backup attached ebs volumes?

$aws ec2 create-image --instance-id xxx --name yyy --description "zzzz" --no-reboot This created AMI image of EC2 instance but did not created extra attached volume's snapshot ! So is there any ...
0
votes
0answers
76 views

Impossible to connect to EC2 instance after mountpoint (connection refused)

I tried three times today to reduce my EBS volume following some tutorials that I found on internet. It's a secondary volume, not the root one. Everything seems to work fine until I stop the machine ...
0
votes
0answers
45 views

EC2 Booting an EBS-backed AMI instance gives a kernel panic

TLDR: I'm trying to create an EBS-backed AMI instance and then pivot to it using Busybox but I get a kernel panic: VFS: Mounted root (ext3 filesystem) readonly. Freeing unused kernel memory: ...
0
votes
1answer
55 views

what happens if a file is modified while it is being copied over the network?

A bit of background... We run Redis on several EC2 machines running the Amazon Linux distro (seems to be based on Centos to me) and currently utilize both the RDB and AOF backups. These files are ...
1
vote
2answers
228 views

Automated Daily/Hourly EBS Snapshots From EC2 Management Console?

Does anyone know if it's possible to automate the creation of EBS snapshots from the online EC2 Management console (Say every day or every hour) and then tell it how long to keep them (Pruning them)? ...
7
votes
5answers
7k views

How do I mount an EBS root volume to a windows instance in Amazon EC2

So basically, I created a large windows server for development, and then I created a micro windows server for production. I set up everything how I wanted it on my development server, and then i ...
5
votes
4answers
10k views

Mounting an attached ebs volume in EC2

I've created an EC2 instance, created an EBS volume, attached it to the running instance, and successfully ssh'ed into my instance. The drive is attached as /dev/sdf Next, I tried mounting the drive ...
6
votes
1answer
5k views

Creating an EC2 AMI Image from a running instance vs. from a volume snapshot

I want to backup a Linux-based EC2 instance while it is running with no downtime, and then later on launch a new instance. (The instance is running a web server and Postgres database.) I found there ...