Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [amazon-ebs]

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

Filter by
Sorted by
Tagged with
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
114 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
82 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
4k 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
138 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
96 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
125 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
233 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
290 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 ...
23
votes
3answers
24k 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
236 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
1answer
264 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? ...
0
votes
1answer
176 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 ...
4
votes
2answers
968 views

auto-attach EBS volume to a Spot instance [duplicate]

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 ...
1
vote
1answer
534 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
189 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: 156k ...
0
votes
0answers
198 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
2answers
997 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.
2
votes
3answers
2k 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)? ...
5
votes
1answer
3k 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
45 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
80 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
1answer
235 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 code....
0
votes
1answer
551 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
296 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 ...
1
vote
1answer
974 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
1answer
453 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 ...
1
vote
0answers
407 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
1k 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 202:...
5
votes
1answer
4k 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 ...
1
vote
1answer
1k 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 ...
0
votes
0answers
606 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
77 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
1answer
719 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 ?
3
votes
2answers
3k 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
103 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 ...
8
votes
4answers
28k 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
1answer
467 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
3answers
2k 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
120 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 ...
16
votes
4answers
22k 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
370 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 /dev/...
11
votes
2answers
7k 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 not ...
0
votes
2answers
204 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
1answer
443 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 ...
1
vote
1answer
205 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 ...
3
votes
1answer
2k 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 web-...
5
votes
1answer
4k 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 ...
1
vote
1answer
2k 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 ...