Questions tagged [amazon-ebs]

Amazon Elastic Block Store (EBS) provides block level storage volumes for use with Amazon EC2 instances. Amazon EBS volumes are off-instance storage that persists independently from the life of an instance.

Docs

632 questions
8
votes
6 answers

Mount a EBS volume (not snapshot) to Elastic Beanstalk EC2

I'm migrating a legacy app to Elastic Beanstalk. It needs persistent storage (for the time being). I want to mount a EBS volume. I was hoping the following would work in .ebextensions/ebs.config: commands: 01mkdir: command: "mkdir /data" …
Simon
  • 5,158
  • 8
  • 43
  • 65
8
votes
2 answers

Attach existing EBS as root device in spot instance request

Is it possible to include an existing, unattached, available EBS volume as the root device in a spot instance request? I'd like to create a setup where the system is up and running when the spot price is met, and after a termination and the spot…
Mark Kropf
  • 101
  • 1
  • 5
8
votes
1 answer

Change read/write access of a folder in Ubuntu Linux

I want to create a folder and write a file in the created folder in an Amazon EBS volume from a Java Servlet installed on Amazon EC2 running Ubuntu. I have mounted the EBS volume at /mnt/my-address But the Servlet is unable to create the folder…
Gaurav Agarwal
  • 18,754
  • 29
  • 105
  • 166
7
votes
1 answer

Benefits of EBS IO1 over GP3 volume type

Why should one uses IO1 volume over GP3 when it is now possible to manually enter the number of IOPS desired for the GP3 volume ?
John Doe
  • 418
  • 6
  • 18
7
votes
2 answers

Using Encrypted EBS Volumes in Auto Scaling Groups with CMK owned by a different AWS account

I'm trying to use Auto Scaling groups in AWS to create and manage instances created from AMIs with encrypted snapshots, which have been encrypted by a CMK owned by a different AWS account. I keep getting the error "Client.InternalError: Client…
D. Cook
  • 382
  • 3
  • 10
7
votes
1 answer

AWS - Any way to have cross-AZ redundancy with EBS

I'm looking for a redundancy solution for EBS. Ideally we would have an EBS volume in each AZ - in something similar to a master-slave configuration. Upon the failure of the primary EBS volume, all reads/writes would be directed to the secondary…
mevans
  • 196
  • 2
  • 9
7
votes
1 answer

How to get aws ebs pricing programmatically?

Is it possible to download aws ebs pricing programmatically? I was able to get the entire AWS service index file downloaded, but I don't see Amazon EBS listed. I downloaded the AmazonEC2 pricing information. It has PricePerUnit, meaning for the…
ficestat
  • 313
  • 1
  • 4
  • 13
7
votes
3 answers

AWS IAM policy to enforce new EBS volumes are encrypted

In the AWS Key Management Service Best Practices whitepaper, in the section on Data at Rest Encryption with Amazon EBS, it states: There are two methods to ensure that EBS volumes are always encrypted. You can verify that the encryption flag as…
maafk
  • 6,176
  • 5
  • 35
  • 58
7
votes
1 answer

Socket io on ELB, need to connect to all instances of application servers

I have a socket server application written on node js, hosted on Amazon EBS(Elastic bean stalk) which is managed by load balancer Clients connects to the socket and pass specified id, say event_id my application creates room with name…
Ima
  • 1,111
  • 12
  • 22
7
votes
2 answers

How to transfer an image to an Amazon EBS volume for EC2 usage?

I have a local filesystem image that I want to transfer to an Amazon EBS volume and boot as an EC2 micro instance. The instance should have the EBS volume as it's root filesystem - and I will be booting the instance with the Amazon PV-GRUB…
Nakedible
  • 4,067
  • 7
  • 34
  • 40
7
votes
2 answers

Automount EBS volume in Amazon EC2 Windows Instance

Does anyone know how to auto-mount an Elastic Block Storage (EBS) volume when starting a Windows 2003 instance in Amazon's Elastic Compute Cloud (EC2)?
defeated
  • 1,064
  • 11
  • 13
7
votes
3 answers

EC2 - taking an EBS snapshot, saving to S3, and then launching instances from S3

I like the convenience of taking an AMI snapshot - but ideally I do no want to pay for the volume to be attached to my running instance. Is there a way to save a snapshot instance to S3 and then launch from S3 without attaching a volume to the…
git-noob
  • 5,757
  • 11
  • 34
  • 32
7
votes
2 answers

EBS snapshots vs. WAL-E for PostgreSQL on EC2

I'm getting ready to move our posgresql databases to EC2 but I'm a little unclear on the best backup and recovery strategy. The original plan was to build an EBS backed server, set up WAL-E to handle WAL archiving and base backups to S3. I would…
7
votes
2 answers

Advice for data storage on Amazon EC2 especially for databases

I've been playing around with Amazon's Web Services for over a year now, however I don't quite understand how it works. When I for example select an AMI of my choice from the EC2 console and I continue through the wizard, I reach the "Storage…
deadlock
  • 7,048
  • 14
  • 67
  • 115
6
votes
2 answers

Attaching EBS during startup of Amazon EC2 Spot Instance

I would like to run an Amazon EC2 spot instance as CI server. In order to keep the historical information I would like to keep all the data on separate EBS volume due to the fact the EBS volume of the spot instance will be deleted each time it will…
Ido Ran
  • 10,584
  • 17
  • 80
  • 143