Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [amazon-ebs]

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

-4
votes
1answer
467 views

Install a file system?

I'm following the guide here to making an EBS volume available for use. I use the cmd: lsblk I get the output: NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT xvda 202:0 0 8G 0 disk └─xvda1 ...
1
vote
1answer
241 views

Install nginx on EBS?

If I launch an instance with EBS storage, how do I install nginx on the EBS volume rather than on the instance? Does anyone have any tips or a blog post?
-1
votes
1answer
130 views

Backup strategy on EC2-VPC-AWS

I am new to AWS, we have few AWS EC2 instances. I was wondering what is the best and most cost effective way to take backups. I read the recommended article about EBS snapshots, but it seemed to be ...
-1
votes
1answer
112 views

how to migrate shared mount points to aws

we are planning to migrate to AWS, how do you migrate shared NFS mount points to AWS, we have file systems in them. Is S3 a good choice or EBS, Is there any other way to do this, how have people been ...
0
votes
1answer
191 views

Deleted the data while Amazon EBS Volume While Snapshot in Pending

After I triggered the snapshot of a volume, I go ahead to work on the mounting due to the long hours of waiting and accidentally deleted the data in the volume. Will the snapshot still snap-shoting ...
-1
votes
1answer
201 views

How do AWS Snapshots handle live IO?

I run a small forum on an Amazon EC2 Instance. It uses a 50GB "gp2" volume. From time to time I make a "snapshot" while the server is on. How does the snapshot system handle the site during live file ...
0
votes
1answer
374 views

Encrypting volumes of a mongo/elasticsearch cluster

I have mongodb and elasticsearch cluster. I want to encrypt the volumes associated with all the instances running in the cluster. If I encrypt only one volume among the cluster than the cluster will ...
0
votes
3answers
5k views

How long will it take to create a new EBS volume from a 1TB snapshot?

I am taking periodic snapshots of a 1TB EBS (Amazon Web Services Elastic Block Store) volume as backup. In the case of the whole AZ (Availability Zone) becoming unavailable, my Disaster Recovery plan ...
1
vote
2answers
166 views

scp 9.2GB file locks up AWS EC2 t2.small instance consistently

I have a 9.2GB file which I want to transfer into my AWS t2.small instance for backup purposes. When I start scp, it copies the file at around 3.4MB per second, which results in about 45 minutes ...
1
vote
2answers
60 views

Share disk among Windows EC2 Instances

I am planning to use a 36 vCPU EC2 instance for compiling a large C++ project on Windows (7, 10 or Server). Due to high cost, this instance will only run when we need it, and then for 1-2 hours. From ...
0
votes
4answers
666 views

AWS Multiple EBS Volumes

I am learning aws systems, in walk thru they are attaching multiple volumes of a EBS to a EC2 instance. What purpose is it to have these multiple ebs volumes? Thanks Mike
3
votes
1answer
434 views

Web Server on AWS EC2 Auto Scaling Storage

So I'm trying to learn more about AWS EC2 Auto Scaling and trying to figure out how exactly storage works between instances. When creating new instances it looks like a new EBS volume for each ...
0
votes
1answer
711 views

What is minimum IOPS for AWS EC2 General Purpose SSD (gp2)?

A while ago I read, that you get 3 IOPS per GB for gp2 SSD volumes. For example, that would be 24 IOPS for 8 GB volume. Now I read the documentation (https://docs.aws.amazon.com/AWSEC2/latest/...
0
votes
1answer
122 views

Root Partition not of the size of EBS

I created one OEL 6.6 Ec2 on AWS in one of the Region. And assigned Root Partition 25GB (When first seen it was hinting 15G) And other EBS for other purpose When I did lsblk on it I found that ...
1
vote
2answers
498 views

AWS EC2 Instance Not Reachable anymore

My previously working ec2 instance is suddenly not accessible through SSH or HTTP. This is what I have tried so far: Rebooting Instance Shutting down and starting up My instance system logs are ...
0
votes
3answers
547 views

AWS Windows SQL EC2/EBS application consistent snapshot

Has anyone found a way to take a EBS snapshot for a Windows Server that maintains Application Consistency? In my case it's with SQL and I'd like to maintain SQL app consistency. Either via quiescing ...
0
votes
1answer
918 views

Which is more cost effective: Amazon EC2 snapshot or AMI?

I have an EBS based Amazon EC2 instance (m4.xlarge) up and running. This one, say example has been in use for a while and is in a state that we would like to have for all our future instances. Which ...
17
votes
2answers
15k views

How to convert a unencrypted EBS to be encrypted

I have a number of older EBS volumes that are not encrypted. In satisfying new corporate security measures, all data needs to be "encrypted at rest" so I need to convert all of the volumes to be ...
3
votes
1answer
3k views

AWS Encrypted EBS Boot Volumes for Windows Instances

Is it possible to create an encrypted ebs boot volume for a windows ec2 instance? This AWS example shows how to copy an unencrypted boot volume, creating an encrypted boot volume: aws ec2 copy-image ...
1
vote
2answers
170 views

How can I copy an AMI between regions in AWS?

We are having difficulty copying an AMI we have created in our California VPC to our Oregon VPC as the AKI and ARI are not available in Oregon. The AKI/ARI we are using in California are as follows. ...
1
vote
2answers
311 views

How to take EBS Volume snapshot and store to S3 Reduced Redundancy?

By default, EBS Volume snapshots on AWS are stored to S3 Standard storage. I would like to figure out how to direct those snapshots to Reduced Redundancy storage instead. I've been trudging through ...
1
vote
1answer
203 views

Poor I/O performance on EBS optimized r3.xlarge instance with Windows 2012 R2

I launched a new server with SQL 2012 R2 on a Windows 2012R2 instance sized to r3.xlarge, with EBS-optimized turned on. I've got three attached EBS drives (GP2), all sized at 1 TB each (3000/IPOS ...
5
votes
3answers
2k views

How do I view the RDS_ prefixed environment variables in AWS ElasticBeanstalk?

If you set up RDS with ElasticBeanstalk how can you go into the box (via eb ssh) and view the environment variables that are set when you apply RDS to your EB Instance? Amazon automatically sets up ...
0
votes
1answer
141 views

Improving I/O rates for EBS snapshot backed volumes

I'm working with a system that takes a set of 42 rotating daily EBS snapshots of each of its numerous (40) volumes for disaster recovery purposes. EBS volumes are aggregated into a RAID volume. A set ...
0
votes
0answers
186 views

amazon ecs freeing space on docker storage

I'm trying to cleanup space on docker EBS for Amazon ECS instance. On ECS docker is using separate partition to store all his FS layers: [ec2-user@]$ sudo lvs LV VG Attr LSize ...
0
votes
1answer
82 views

AWS: How can we avoid EBS outages on a constantly updating ec2 files (ie, not a static AMI)

Recently we experienced Ec2 downtime due to AWS EAST outages. I was told that only RDS allows "multi-az" failover, and they have no plans for that feature for EBS storage. So the question is now: ...
2
votes
1answer
72 views

Wordpress - images not syncing in AWS EBS

I think I know the answer, but I'd like to confirm. I've a 2-servers load balancer that's hosting a Wordpress website. When the content managers create new content, specially IMAGES: intermittently ...
5
votes
4answers
4k views

Copying an EBS Snapshot to S3 for low-cost storage

Goal: Be able to copy an EBS snapshot to S3 and have it be treated like an arbitrary object that I could download to a local on-prem machine if I so wished. I understand that EBS Snapshots are ...
0
votes
1answer
99 views

I/O issue with AWS server

Currently we have a number of Amazon AWS c3.large setups and I'm trying to figure out the bottle neck. The load is very high on most of them during our peak periods. It looks to be high disk ...
0
votes
1answer
48 views

Backing up website that uses amazon ec2 and RDS as database

Hello I'm currently using Amazon ec2 instance to run a wordpress website OS is amazon linux AMI and I'm using RDS as my database I need to back up my website without downtime is that possible? RDS ...
3
votes
1answer
278 views

Benefits of moving MySQL to its own SSD on AWS EBS

When using hardware (rather than virtualization), there is a clear benefit in using a 200 GB disk for MySQL and a 200 GB disk for content. But due to the way AWS works, is there actually any potential ...
3
votes
1answer
2k views

Can't delete AWS snapshot - refers to instance ID that doesn't exist

I have a snapshot in AWS Oregon I can't deleted. When I try it says Snapshot is in use by AMI ami-d2d83cxx I've checked every region, I have no instance with that ID. I used to run in the Sydney ...
0
votes
2answers
164 views

$0 empty in script when run by cronjob [duplicate]

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
3k 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
325 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 quickly,...
1
vote
0answers
140 views

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

tl;dr - What are the proper readahead values for the different EBS PIOPS volumes in a RAID 10 array ? What about the RAID 10 physical and logical volumes themselves ? What about the chunk size of the ...
0
votes
1answer
84 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 ...
-3
votes
1answer
353 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 ...
1
vote
1answer
367 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
2answers
1k 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 ...
2
votes
1answer
94 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 ...
1
vote
1answer
81 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 ...
4
votes
1answer
3k 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 http://cloudinit....
1
vote
1answer
133 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
94 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 ...
2
votes
1answer
117 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
201 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 (...
0
votes
1answer
249 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
33 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 ...
21
votes
3answers
22k 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 . ...