Questions tagged [aws-fargate]

AWS Fargate is a service within Amazon Web Services that allows for running containers without managing servers or clusters. Use this tag for questions about AWS Fargate. For context, also tag your question with [amazon-ecs] or [amazon-eks] to denote which managed container service you're using.

AWS Fargate is a compute engine for deploying and managing containers without having to manage any of the underlying infrastructure (servers or clusters). AWS Fargate supports Amazon ECS and Amazon EKS.

Usage guidance

Use this tag for questions about AWS Fargate. For context, also tag your question with or to denote which managed container service you're using.

Resources

1725 questions
0
votes
1 answer

AWS batch cannot run fargate container

I have created aws batch job using fargate computed environment. But when I submit the job it is failing. AWS Batch is created the Fargate task but it is failing to run the container. But when I run fargate task manually. It is running. Here is…
0
votes
1 answer

AWS Application load balancer: 503 gateway timeout

i would like to run my AWS fargate tasks in my Application Load balancer. But I get the 503 error when i run the DNS link. I go to my target groups and it tells me they are all draining. When i go to the ECS task and take a look at services I see…
0
votes
1 answer

Docker-Compose issue with keycloak + Postgresql deployed to ECR fargate awsvpc network giving error unknownhostException : postgres

I am using Docker-Compose similar to below link : https://github.com/keycloak/keycloak-containers/blob/master/docker-compose-examples/keycloak-postgres.yml Deploying to ECR fargate but getting unknownhostexception : Below values tried with The ECS…
0
votes
1 answer

Fargate oneoff task keeps running

I'm having an issue with a fargate one off task , it's meant to run database migration and then stop but it keeps stuck in running status this is the task definition : resource "aws_ecs_task_definition" "migrate" { family =…
0
votes
0 answers

Trigger fargate when new item comes to queue

Is there a way to trigger a fargate task when a new item comes to the SQS queue. like lambda trigger.
Hari
  • 1,545
  • 1
  • 22
  • 45
0
votes
1 answer

Fargate logging issue using log4j2

We have a fargate service running. On CloudWatch we can see the metrics for ECS/ContainerInsights->StorageWriteBytes growing every hour, and at some point it will not increase anymore probably because out of disk space. We will start to see log…
laishiekai
  • 841
  • 1
  • 13
  • 26
0
votes
1 answer

How to Mount Docker.sock in EKS Fargate?

I'm trying to build docker images inside EKS fargate from kubernetes jenkins plugin. As to build docker images, docker daemon requires docker.sock from the host volume. How to mount the docker.sock inside EKS fargate. I m using custom docker image…
0
votes
0 answers

Can you use AWS Fargate to run untrusted code?

I'm looking to add code execution to a SaaS platform. I've review several options (e.g. OpenFaas, OpenWhisk, AWS Firecracker, gVisor)... Seems like each has their own hurdles to implement. Is there any reason not to use AWS Fargate to run customer's…
openwonk
  • 14,023
  • 7
  • 43
  • 39
0
votes
0 answers

How to expose a port of a container in AWS Fargate

I have a ASP.NET Core 5 Web app and an API(Asp.NET Core API). I want to run these two application in one Fargate Task. I am an absolute beginner in container and AWS Fargate world. So based on my R&D came up with following 4 step solution: Will…
Vikas Dagar
  • 143
  • 1
  • 1
  • 10
0
votes
1 answer

How can I make multiple deployment share the same fargate instance in EKS?

I deployed a EKS Farget cluster in AWS and created a fargate profile with default namespace without any labels. I found that whenever I deploy a new deployment kubectl apply , a new fargate node will be created for that deployment. See below…
Joey Yi Zhao
  • 37,514
  • 71
  • 268
  • 523
0
votes
2 answers

pod stuck on `ContainerCreating` state in AWS EKS

I deployed a k8s cluster on AWS EKS fargate. And deployed a elasticsearch container to the pod. The pod is stuck on ContainerCreating state and describe pod shows below error: $ kubectl describe pod es-0 Name: es-0 Namespace: …
0
votes
1 answer

With EKS using Fargate - how is it setup to know how to scale? What is the default profile of a node in Fargate?

When EKS is setup with Fargate using eksctl --fargate, what is being done there? How many nodes are being run? What are the values of the node? (memory? cpu?) How does EKS know how to scale when a pod is created? (how does it know how many nodes…
user10664542
  • 1,106
  • 1
  • 23
  • 43
0
votes
1 answer

AWS Application Scaling - Step Scaling policies

I was reading through this AWS DOC https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-step-scaling-policies.html around Application Auto Scaling Step policies as target auto scaling policies won't work for my use…
0
votes
1 answer

AWS Batch permits approx 25 concurrent jobs in array configuration while compute environment allows using 256 CPU

I am running Job Array on the AWS Batch using Fargate Spot environment. The main goal is to do some work as quickly as possible. So, when I run 100 jobs I expect that all of these jobs will be run simultaneously. But only approx 25 of them start…
Oleg
  • 451
  • 3
  • 6
0
votes
1 answer

Concurrent Requests to Express JS fails. Need Explanation what is happening

Hi I have an expressjs server running on AWS Fargate that handles many API calls to different services and aggregates them to a single response back to the client. My problem is that, I have found that when I have requests to the same endpoint…
lvillacin
  • 154
  • 7