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

learn more… | top users | synonyms (1)

0
votes
1answer
40 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
29 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
5k 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 ...
-1
votes
0answers
97 views

Choosing AMI for NAT Instance in AWS VPC

When I want to run an NAT instance in a VPC, I noticed there were 3 latest AMIs in us-east-1: amzn-ami-vpc-nat-hvm-2015.03.0.x86_64-ebs (ami-b0210ed8) amzn-ami-vpc-nat-hvm-2015.03.0.x86_64-gp2 ...
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
33 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
28 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
50 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
32 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 ...
18
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
88 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
39 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
34 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
59 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
45 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
79 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
101 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
42 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. ...
3
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 ...
64
votes
2answers
17k 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
49 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
286 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
69 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
156 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 ...
0
votes
1answer
822 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 ...
4
votes
2answers
44 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
113 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
70 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
23 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 ...
3
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
178 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 ...
0
votes
1answer
380 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 ...
1
vote
1answer
283 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
96 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
52 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
460 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 ...
0
votes
1answer
105 views

Disk root error on start instance on “Amazon Web Services (AWS)” EC2

I "Detach Volume" and "Attach Volume" again. After that I want "Instance Start" but I get immediately message Error starting instances Invalid value 'i-{id}' for instanceId. Instance does ...
0
votes
1answer
27 views

Amazon snapshot issue

This Question has 2 parts: 1) What snapshots can be safely removed, do I need to retain the ones from which a running instance was launched? 2) How are snapshots appearing from a shut down instance? ...
0
votes
1answer
52 views

How to Mounting RAID0 EBS Volumes after reboot on EC2?

I've already attached two volumes to my EC2 instance and configured RAID0 for them. After a reboot, the volumes didn't re-attach. I thought I had configured them to attach on reboot in fstab but they ...
2
votes
3answers
2k views

how do I find out what part of my ec2 storage is ephemeral

This may be a silly question, excuse my ignorance. I have an instance running like this: Does Root Device : EBS mean my entire system is on EBS? I've configured apache and a perl app here, all my ...
1
vote
4answers
5k 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 ...
1
vote
1answer
214 views

Setup of high-end web server and DB server cluster on Amazon EC2: Is this how it's done?

EC2, Amazon's Elastic Compute Cloud virtual machine service, has many configuration options. So, I want to confirm that this configuration is correct for a scalable database and web server backend. ...
1
vote
1answer
102 views

AWS - EC2 unable to detect EBS drives

after an unexpected restart on a windows server 2021 r2 server, the server is unable to detect the EBS drives. i have attached about 4 drives but they are invisible/not detected in device manager/disk ...
0
votes
1answer
145 views

Amazon EC2: Not able to login(RDP) to Instance after migrating root ebs volume.

I am trying to access my windows instance but I am unable to login (RDP) into it. What I have done is I have taken up a snapshot of a root EBS volume and attached that to newly launched instance. The ...
15
votes
3answers
5k views

EC2 drive not EBS volume size

I have an EC2 instance which I created a 500GB EBS volume for. Unfortunately, the EC2 instance shows only 8GB available. I have only one drive, which is right. [root@ip-10-244-134-250 ~]# ls -la ...