Questions tagged [amazon-ebs]

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

573 questions
1
vote
1 answer

Can you directly restore / overwrite ec2 volume from snapshot?

I'm familiar with the operation of creating a new volume from a snap then mounting it separetely , but through the console or aws cli is there a way to restore a volume from a snapshot in such a way that it overwrites the volume?
user495739
1
vote
1 answer

What is the difference between "Amazon Storage Gateway" and another storages?

I use "Amazon Web Services (AWS)" and I think about share storage with more instances "Elastic Compute Cloud (EC2)". Data grows by client usage, and may be searched in those data. Obviously I should use "Elastic File System (EFS)", but their pricing…
Bruno
  • 819
  • 1
  • 8
  • 19
1
vote
1 answer

Docker Storage in AWS. S3, EBS or EFS

I have just moved companies and I am building a new docker swarm on aws. In my last organisation everything was on premises. I am trying to understand my options for persistent volumes, and see that rexray now offer docker certified plugins for all…
1
vote
1 answer

SQL Server Multiple File Backups - AWS EC2 Disk I/O Cap?

Running a 1 TB SQL Server database on an AWS EC2 C5.4xl server (16 vCPU / 32 GB). A full backup is starting to approach 3 hours so I figured I should look into multiple file backups. I expected to do some experimenting with EBS sizes, types, and…
Chris_K
  • 3,444
  • 6
  • 43
  • 45
1
vote
2 answers

Using Amazons AWS: mounting EBS on EC2 instance: 1 GiB appears as 414GB

Using Amazon's AWS, I created a 1 GiB volume. I attached it to a running instance and formatted it with ext3. I then mounted it and and used df -h to report its size. It's apparently 414G. I'm already using 2G of it. What's going on here?
aidan
  • 615
  • 4
  • 10
  • 23
1
vote
1 answer

Migrating EBS volume to another availability zone. Should I snapshot twice for less downtime?

On AWS, I have an EC2 instance for my database server with an attached 250GB EBS volume (200GB of actual data) for data storage. This volume has not been previously snapshotted. I need to move this volume to another availability zone. I'm debating…
1
vote
2 answers

Unable to unmount and Detaching AWS EBS drive

I am using Linux Instance that has an EBS volume attached to it (mounted to xvda1). which I believe it causing some troubles. usually to detach the volume I go to volume section of the AWS EC2 console select the volume and click Detach. but I am…
1
vote
1 answer

Is there a way to name an EBS snapshot created with a Cloudwatch Rule?

Is there a way to name an EBS snapshot created with a Cloudwatch Rule? For instance, I have a cron-like rule: 31 10 ? * 3,6 * vol-0e743fcfd2f53198a Which will create a snapshot of the data volume, every Tue and Fri on 10:31 UTC. However, the…
1
vote
2 answers

Amazon AWS - Export EBS Snapshot to External Storage

On the Amazon AWS platform, is there a way of exporting an EBS volume to an external disk? I.e. a backup outside of Amazon's infrastructure? From what I have read so far: Amazon's "Import/Export (Disk)" service supports exporting data from S3…
mils
  • 111
  • 1
  • 4
1
vote
1 answer

Why cant I create a blank EC2 instances without a volume?

Curious about the underpinnings of this. With traditionally data center hypervisors you can create virtual disk and virtual machines. You can create a virtual machine without a virtual disk. The virtual machine is OS independent. Is there an aws…
red888
  • 4,183
  • 18
  • 64
  • 111
1
vote
1 answer

How to delete tag from EBS using boto3?

I want to delete a tag from EBS volume using boto3/lambda. At this doc https://boto3.readthedocs.io/en/latest/reference/services/ec2.html#volume I see 'create_tags()' only. It is suitable for modifying tags and e.g. to set an empty value but I need…
Putnik
  • 2,217
  • 4
  • 27
  • 43
1
vote
1 answer

IAM policy to enforce tagging not working

0 down vote favorite I have created an IAM policy to deny creating EBS volumes if it is not tagged with both the keys "empname" and "team". The policy is attached to a test user. When I try to create a volume with no tags defined, it throws error,…
1
vote
2 answers

How to decrease the size of AWS EBS volume having xfs file system

I am having an EBS volume of 50 GB and I want to decrease it to 20 GB. The OS is centos 7 and has XFS file system. I have followed this link but it is more specific to ext4 and Ubuntu, can someone tell me how to proceed for XFS file system type
1
vote
0 answers

Cannot ssh to Amazon Linux AMI. Permission of home/ec2-user/.ssh/authorized_keys set to 600

I'm trying to help a friend recover access to an EC2 instance where the private key was lost (is there possibly another way to access to make changes to content? Maybe the answer is more simple and right in front of my face). I followed the…
1
vote
1 answer

trying to stripe two EBS volumes using user data from the launch configuration in cloud formation template

created two EBS volumes using cloud formation template. attached EBS volumes using aws ec2 attach volume trying to stripe two volumes using - mdadm --create --verbose /dev/md0 --level=0 --name=InfluxRaid --raid-devices=2 /dev/xvdb /dev/xvdc\n and i…
Nani
  • 165
  • 1
  • 2
  • 7