Questions tagged [aws-ebs]

Use this tag for questions related to Amazon Elastic Block Store (Amazon EBS), which provides block level storage volumes for use with EC2 instances.

Useful Links:

  1. AWS - Elastic Block Store
  2. Documentation
112 questions
0
votes
1 answer

Force PersistentVolumeClaim and Deployment to land in same availability zone

I have a kubernetes cluster in AWS with ec2 worker nodes in the following AZs along with corresponding PersistentVolumes in each AZ. us-west-2a us-west-2b us-west-2c us-west-2d My problem is I want to create a Deployment with a volume mount that…
0
votes
1 answer

How to resize Kubernetes volumes (AWS EBS) on versions 1.8 without the alpha feature activated?

Have anyone managed to resize a k8s volume (AWS EBS) with zero downtime on k8s 1.8 without using the volume expansion alpha feature? I’m trying to find a way to do that in one of my Statefulsets clusters (3 replicas) but don’t know how. With outage,…
0
votes
2 answers

Is there a way to find out how often an EBS snapshot has been used for volume creation by others?

I am currently sharing private EBS snapshots with other AWS accounts via the permission managements AWS offers. Is there any way for me to know how often these snapshots have been used by these other accounts for creating EBS volumes? Ideally, I…
Thomas Kainrad
  • 2,542
  • 21
  • 26
0
votes
0 answers

Why AWS EB throwing error while deploying?

I am trying to deploy my React SSR app, I did the following steps eb init eb create eb deploy It thorwing an error eb deploy Creating application version archive "app-1bc2-190303_150947". Uploading haal/app-1bc2-190303_150947.zip to S3. This may…
Subhendu Kundu
  • 3,618
  • 6
  • 26
  • 57
0
votes
1 answer

IAM policy to restrict EBS volume creation above threshold

How can I restrict users to create EBS volume with a size greater than 20 GB? Is there any available policy condition keys to in a policy?
Manoj Acharya
  • 1,331
  • 2
  • 15
  • 27
0
votes
2 answers

dockerize application running on rhel6

I have been asked to containerize a COTS product. I found that there's no deployment/configuration steps/procedures for this app. This uses rhel6 and previous application team originally copied the app into EBS volume when they first moved to AWS…
Suvro Choudhury
  • 115
  • 1
  • 5
  • 18
0
votes
1 answer

Create template/image of AWS servers, frameworks and configs

I have the following setup on AWS for a web application Elastic Bean Stalk java server Several S3 buckets each for a different purpose Several Cloudfront distributions Route53 configurations Lambda functions Code deploy configuration Could you…
0
votes
1 answer

Create snapshots of multiple EBS volumes using Terraform

I am trying to create snapshots of certain EBS volumes based on tags in a particular AWS region using Terraform. I have tried filtering EBS volumes based on Tags. I can get a clear output of EBS volume id when only one tag value is specified in the…
Deependra Dangal
  • 1,145
  • 1
  • 13
  • 36
0
votes
1 answer

Map EBS Volume to Jenkins Home for a Packer Build

I'm using: Packer v1.31.1 Amazon Linux 2 Base AMI Concept When I bake my AMI with Packer I want to create an encrypted EBS volume that contains the contents of the JENKINS_HOME path. My current way of thinking is that I should be able to create an…
GreenyMcDuff
  • 3,292
  • 7
  • 34
  • 66
0
votes
3 answers

AWS cloudformation fail instance not running

I am trying to create an Amazon EC2 instance then create an Amazon EBS volume and attach it to the instance. I am using a CloudFormation template for this. Unfortunately the stack creation is failing when attaching newly created volume to the…
0
votes
1 answer

Mounting encrypted EFS (AWS) to kubernetes pod

Trying to mount an encrypted EFS (AWS) to my k8s cluster, I created everything that is needed (storageclass, PV, PVC) and everything was working fine when the EFS wasn't encrypted. But now when trying to create the pod I get this error: Warning …
Shahar Hamuzim Rajuan
  • 5,610
  • 9
  • 53
  • 91
0
votes
2 answers

EBS Snapshots versioning

Are EBS snapshots versioned? If Yes, where can I find the version information. I tried to check in Amazon official docs,but couldn't get a clear answer to this.
infinite loop
  • 1,309
  • 9
  • 19
0
votes
1 answer

Is it possible to trigger instance termination on AWS if an EBS volume gets detached?

I have a stateful cluster deployed on AWS in which instances attach to an already existing EBS volume on startup and this volume would later be mounted to the Docker container running on the instance. If I forcefully detach this volume, the instance…
Atakan E.
  • 205
  • 2
  • 6
0
votes
1 answer

Postgres AWS EBS volume doesn't persist when updating service

I deploy a service on a standard Docker for AWS stack (using this template). I deploy using docker stack deploy -c docker-compose.yml pos with this compose file: version: "3.2" services: postgres_vanilla: image: postgres volumes: -…
Meidan Alon
  • 3,074
  • 7
  • 45
  • 63
0
votes
1 answer

describe_snapshots filter in boto3 not working on "description" field

I am trying to filter snapshots based on description using boto3, but the description filter doesn't seem to work. See below: >>>…
Brett
  • 5,690
  • 6
  • 36
  • 63