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

learn more… | top users | synonyms (1)

0
votes
2answers
1k 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 ...
0
votes
2answers
562 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
8 views

Amazon EBS install VNC/GUI using .ebextensions yum package

Anyone have a view on whether it is possible to install a GUI and VNC server on instances created using EBS - probably via a YUM file? - is there any reason why this wouldn't work and, if not, how ...
0
votes
0answers
57 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
18 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
20 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
24 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
38 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
39 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
24 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
20 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
41 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 ...
0
votes
2answers
55 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
6k 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
9k 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 ...
5
votes
1answer
3k 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 ...
2
votes
1answer
44 views

AWS EC2 snapshots - how long should they be retained? [closed]

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 ...
0
votes
1answer
27 views

EC2 connectivity with EBS

I am new to AWS this might sound like a weird question.My question is when I try to create a new EBS volume and try to attach it with running EC2 instance,The connectivity between two(EC2 instance --> ...
0
votes
1answer
35 views

Windows spot instance with permanent storage

I'm a noob, since I started using AWS yesterday, and windows today after 14 years. But I have a decent experience with linux servers. I built an app which needs a windows environment to run some ...
0
votes
1answer
55 views

Is S3 a proper choice to keep live linux user home directories?

We are building an RDP cluster using Amazon EC2/S3. Users' home directories are on S3 (single bucket) and all EC2 nodes mount the same S3 bucket using S3FS. Each EC2 node uses the appropriate home ...
1
vote
0answers
39 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 ...
19
votes
3answers
7k views

Shrinking Amazon EBS volume size

I have seen this answer for growing EBS volumes, but I would like to shrink one. The default Ubuntu Server images are 15 GB while I really need only 2 GB max (I use a different volume for data). Is ...
1
vote
2answers
91 views

Can I use ZFS to replicate (fast) EC2 instance store to (slow) EBS store?

I love the idea of using SSD EBS instance stores as L2ARC and ZIL for a zpool backed by EBS. Going further (and into more dangerous territory), could I instead create a zpool mirror with the 2 ...
0
votes
1answer
62 views

Packer with amazon-ebs VS amazon-instance

I am looking into using Packer to generate some of our VMs, and I have been working thorough the example here. When I try to run the packer build command I get the following error: ==> amazon-ebs: ...
0
votes
0answers
37 views

EC2 websites & RDS databases backup

We have some Amazon EC2 machines on which different websites are working, and their database is being pulled from RDS-MySQL, I know for machine I can have images as backup and for RDP-MySQL it has ...
2
votes
1answer
86 views

EBS volume mount point should be disk or partition

With community CentOS 7 HVM image, after adding another EBS volume to my EC2 instance, lsblk command shows this NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT xvda 202:0 0 8G 0 disk -xvda1 ...
0
votes
1answer
47 views

EC2 volumes & partitioning

With Amazon EC2 CentOS 7 HVM community image machine just thinking for volumes & partitioning. Would it not be good that I create default 8GB volume sda for root device for all operating system ...
0
votes
0answers
95 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 ...
2
votes
1answer
116 views

Is there anything I can do to speed up snapshot speeds?

I have 3 SSD EBS volumes mounted to my database server. The main data volume is 10TB, the journal volume is 1TB, and a 3rd volume is 100GB. When I take a snapshot of the 3 volumes, the 1TB journal ...
0
votes
0answers
55 views

attached volume of a FreeBSD amazon ec2 instance does not show up

I have followed the steps in the documentation, created a new EBS volume and attached it to the instance (I only have one). I rebooted and tried shutdown/start, but the device does not show up inside ...
5
votes
3answers
1k views

Amazon EC2 Spot Instances very slow at getting accepted/starting

I've recently made a new Ubuntu EBS image on Amazon EC2 and since what I am running isn't of the utmost importance, have decided to run it as a spot instance to take advantage of the lower pricing. ...
4
votes
2answers
2k 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 ...
66
votes
2answers
18k 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
0answers
64 views

Change the root EBS device of AWS EC2 instance

I changed the root device of my AWS ec2 instance and now I can't log in, I get: Permission denied (publickey) The new ebs I changed to was also a bootable volume. Then I created another instance ...
0
votes
1answer
35 views

Attach a volume and set internal IP on boot

I have an Ubuntu 14.04 based NFS server AMI wrapped with a Launch Configuration and an Auto Scaling Group of just a single instance (min/max/req). This is just to make sure that if the server goes ...
0
votes
2answers
292 views

How to create a smaller disk size Windows instances on Amazon EC2?

Does anyone know how to create smaller disk size Windows instances on Amazon EC2? Their default is 30 GB, and I have to pay $0.10/GB/month for EBS storage, which means that for each Windows instance I ...
0
votes
1answer
91 views

ephemeral storage of Amazon EC2 instance

I have created new ec2 (m3-large) instance on Amazon with root partition 80GB.But mnt partition it automatically mounted with 30 GB. Will the ephemeral storage be charged ?
1
vote
1answer
214 views

Launch new EC2 instance with a specified EBS volume attached

I would like to launch an EC2 instance using the python boto library, with a previously created EBS volume attached (in addition to the root volume). After connecting, I look up the volume by its ...
4
votes
2answers
45 views

ec2 instance showing garbled name root ebs duplicate

I'm following the introduction instructions here: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EC2_GetStarted.html When I add an EBS volume, I see something garbled when checking on the EC2 ...
0
votes
1answer
136 views

EBS vs Instance Local storage for MongoDB in ec2

Cassandra recommends using instance local storage for EC2 deployments instead of EBS I am deploying MongoDB in EC2... should I also be using instance local storage instead of EBS PIOPS?
0
votes
0answers
81 views

How to tell if disk volume is instance store or EBS?

I have a number of volumes (same size) attached to a Windows instance in Amazon AWS. One of them is told to be an instance store. How do I tell which one? PS. testing the speed did not help, one of ...
0
votes
1answer
26 views

EC2 Linux mapping between file system and EBS volumes

Where are "observable" paths like /home/ubuntu/foo.txt stored on a Linux EC2 instance with mounted EBS? I have a basic EC2 instance with added EBS storage, mounted as /mnt/my-data following one of ...
4
votes
2answers
2k 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 ...
0
votes
1answer
184 views

Convert Windows Amazon Instance-backed AMI to EBS

I've come across plenty of how-to's for this that deal with Linux (and back in 2010 when not all tools were available on the EC2 web interface) but none that deal with Windows (that work). I've tried ...
1
vote
1answer
350 views

Can't create/write to file '/mnt/temp/something' (Errcode: 13)

I changed the tmp directory of the mysql configuration to a mounted disk and on service mysql restart I get following error: Can't create/write to file '/mnt/temp/something' (Errcode: 13) To my ...
3
votes
2answers
2k views

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 ...
0
votes
0answers
114 views

Ansible fails to create Amazon EBS-ctorage

I have a problem - trying to automate the purchase of new EC2 instances. Here's my playbook: --- - name: Provision new EC2 instance hosts: local connection: ...
0
votes
0answers
64 views

AWS volume from snapshot missing data

This is a weird one. On a new ec2 instance + new data volume attached at /dev/xvdb mounted with: mkfs -t ext4 /dev/xvdb mkdir /mnt/xvdb mount -t ext4 /dev/xvdb /mnt/xvdb I take a snapshot of ...
0
votes
2answers
487 views

Anyway to determine Amazon Machine Image (Creation Date)?

I am trying to see if anyone knows how to identify the creation date for Amazon Machine Image(s)? I have looked all through the documentation on the AWS site, and do not see anything. The only ...