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

learn more… | top users | synonyms (1)

0
votes
1answer
19 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
44 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
1answer
2k 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 ...
4
votes
2answers
26 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
29 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
31 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
15 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
138 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
48 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
120 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 ...
2
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
27 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
21 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
346 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
27 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
21 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? ...
18
votes
3answers
6k 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 ...
0
votes
1answer
26 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 ...
0
votes
3answers
1k 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 ...
0
votes
4answers
4k 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
142 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. ...
4
votes
3answers
4k 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
vote
1answer
70 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
76 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 ...
13
votes
3answers
4k 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 ...
0
votes
0answers
71 views

Unable to create partition utilizing all sectors on an AWS EC2 instance with EBS volume

I am working on an AWS EC2 instance. I have attached an EBS volume from other instance to this machine. I want to expand root partition on the volume. I am using gdisk. Following is the output of p ...
1
vote
1answer
246 views

Amazon EC2 - Not able to find / mount EBS volume partition

I have a linux instance to which a ebs volumne of 20GB has been attached. The web-console volume page shows: 20 GiB gp2 snap-b3a87xyz in-use i-cd5b9999 (myinstance):/dev/sda1 (attached) The ...
4
votes
1answer
354 views

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 ...
2
votes
2answers
961 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 ...
1
vote
1answer
1k views

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
1
vote
1answer
36 views

Availability Zone for Elastic Block Storage

If the Availability Zone for an Elastic Block Storage (EBS) volume is us-east-1c, can I mount it on an instance in us-east-1a? If not, what is the best way to migrate the volume?
0
votes
1answer
43 views

How to figure out which EC2 instance an EBS Volume went with?

I discovered a few unattached, mystery EBS volumes in my AWS Console. I suspect these are leftovers from some test EC2 instances I had that I may have not noticed were NOT set to delete the volume ...
0
votes
1answer
132 views

Booting an EC2 instance from an existing EBS volvume

I'm just getting up to speed on AWS and had a question about using an existing EBS volume as a boot device for an EC2 instance. It looks like a lot of the instances create an EBS volume for their ...
0
votes
2answers
88 views

Is it possible to attach an Amazon RDS SSD volume to an EC2 instance?

It has been my understanding that you cannot attach an Amazon RDS SSD volume to an EC2 instance. I was under the impression that the RDS instances were a "managed" solution and that the volume was not ...
0
votes
0answers
45 views

Check Filesystem of Root Volume (Amazon Linux / RHEL)

How can I check the file system (and repair potential errors) of the root EBS volume (/dev/xvda1) of an Amazon AWS T2 instance? The instance runs the latest version of Amazon Linux (RHEL). Is it ...
0
votes
0answers
107 views

AWS: Sync WWW folder between multiple load balanced instances

I am new to AWS. I am trying to setup an EC2 web server. I got the server up and running, I made the AMI (which included the WWW folder), added the load balancer etc. I terminated the original ...
0
votes
0answers
95 views

What would happen if I provision IOPS in RDS on a non-PIOPS-Optimized instance type?

Quote from the docs: If you are using Provisioned IOPS storage, we recommend that you use the db.m3.xlarge, db.m3.2xlarge, db.m1.large, db.m1.xlarge, db.m2.2xlarge, db.m2.4xlarge, ...
1
vote
2answers
343 views

crontab fails, cannot find aws executable

I am trying to run a backup script on my ec2 amazon server (ubuntu 14.04), to automatically create a snapshot of amazon ebs volumes. Therefore I am using the aws-missing-tools script: ...
0
votes
1answer
102 views

How can I create redundant EC2 instances when also using EBS?

I am searching for a host for a web application that must interact with a few terabytes worth of files. One solution I'm considering is to host the application on Amazon EC2 with multiple EBS ...
1
vote
1answer
181 views

Windows EBS Volume from snapshot at instance launch is OFFLINE

Using Powershell launching a Server 2012 R2 machine. I can launch an instance from the stock Server 2012R2 AMI with a defined new EBS volume for d: drive, and upon boot, is online, and works fine. ...
0
votes
1answer
64 views

AWS EC2 - Will I maintain SSH access launching an instance from an EBS-backed AMI?

I'm using an Ubuntu machine with Amazon's EC2 service. I've taken an EBS-backed AMI of this computer. If my current instance shuts down, when I launch an instance from the saved AMI, will I ...
4
votes
1answer
1k views

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

Using ec2-import-volume with vhd already in S3

I have a vhd file that is already existing in my s3 bucket. I want to mount this as ssd/ebs backed storage on an AMI that I spin up later. I read that you can upload a vhd using ec2-import-volume to ...
1
vote
1answer
67 views

What happens when I delete the first of several AWS EBS snapshots?

On http://aws.amazon.com/ebs/pricing/ it says: "EBS Snapshots [...] For the first snapshot of a volume, Amazon EBS saves a full copy of your data to Amazon S3. For each incremental snapshot, only ...
1
vote
2answers
74 views

Do several EBS drives really improve overall disk throughput?

On m3.xlarge instance (EBS Optimized – True) : There are two EBS disks: /mnt/data0, /mnt/data1 Single dd: dd bs=1M count=1024 if=/dev/zero of=/mnt/data0/test conv=fdatasync 1024+0 records in ...
0
votes
2answers
116 views

How to select snapshot for root EBS volume

I have a custom AMI, with a corresponding EBS snapshot, made some time earlier. Recently, I have decided to create a newer EBS snapshot to reflect some software updates. Then I wanted to submit a spot ...
1
vote
1answer
155 views

AWS give Apache permission to write to different EBS volume

I have an EC2 instance that is running Apache and my website (php files) is also on that EC2 instance. Website users will be able to upload and download files and I would like to store (user uploaded) ...
0
votes
1answer
72 views

Backing up an EC2 EBS Windows volume offline

I would like to backup offline a Windows EC2 EBS Volume, i.e. on my computer and not in the cloud. Note I can stop the instance and detach the EBS volume if needed. Is it at all possible with Amazon's ...
8
votes
3answers
6k views

Root Device on SSD instance types. SSD vs EBS confusion

I have an AMI that was originally created from a t1.micro linux. The "Root Device Type" of this AMI is EBS (8 GB) and my web application software is "baked" into this root volume. Now I would like to ...