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
4
votes
3 answers

Install EKS with Fargate using CloudFormation

I'm able to create an EKS cluster using Cloudformation. I'm also able to have a "node group" and EC2's + autoscaling. On the other side I can also install a FargateProfile and create "fargate nodes". This works well. But I want to use only fargate…
DenCowboy
  • 13,884
  • 38
  • 114
  • 210
4
votes
1 answer

Terraform AWS EKS - Unable to mount EFS volume To Fargate Pod

I have been working for nearly 5 straight days now on this and can't get this to work. According to AWS documentation I should* be able to mount an EFS Volume to a pod deployed to a fargate node in kubernetes (EKS). I'm doing everything 100% through…
wesleywh
  • 1,053
  • 1
  • 13
  • 30
4
votes
2 answers

Is ECS Task Definition more or less same as POD specification in K8S

I am referring to this article about ECS task definition: Amazon ECS Task definitions The Docker image to use with each container in your task How much CPU and memory to use with each task or each container within a task The launch type to use,…
user14198645
4
votes
1 answer

Can we use one ALB with AWS ECS Fargate?

I am having a bunch of micro services running in AWS ECS fargate with ALB and Route53.Each micro service has an ALB with Route53. Is there any kind of possibility where I can use only one ALB for all the microservices and route to their respective…
4
votes
1 answer

Fargate service stops because "ELB health check" fails

I'm brand new in the AWS world and I have an issue with my Fargate task: it is always stopped because the health check seems to encounter an issue: Task failed ELB health checks in (target-group…
romainsalles
  • 2,051
  • 14
  • 17
4
votes
1 answer

AWS cross account Postgres RDS IAM authentication

I am trying to set up cross account Postgres RDS IAM authentication. My use case is a python code that is containerized and executed by AWS Batch on the top of the ECS engine connects to the Postgres RDS in another AWS account. I tried to follow the…
4
votes
1 answer

Run docker inside of docker on AWS Fargate

I created a task definition on Amazon ECS and want to run in with Fargate. I set up my task, network mode is awsvpc. I created a new container with a docker image (simple "Hello world" project) on Amazon ECR. Run the task - everything works fine.…
alex
  • 53
  • 1
  • 5
4
votes
1 answer

How does automatic target registering happen in EC2 Target Groups for ECS Tasks?

I have an ECS Cluster with an ECS Service (Fargate) that specifies a Service Discovery Endpoint. I also have a Cloud Map Service setup with a domain and service name that matches the Service Discovery details entered for the ECS Service. Finally,…
4
votes
1 answer

Running HashiCorp's Vault in ECS using Fargate

I am currently exploring ECS using Fargate to deploy some services on it as it guarantees 99.99% availability and also you don't have to managed the instances. I want to deploy secret management service like Vault on ECS using Fargate, has anybody…
4
votes
0 answers

Docker version used by AWS ECS Fargate 1.3.0

What version of Docker does Amazon ECS 1.3.0 when using Fargate? https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html says 1.4.0 uses Containerd instead of Docker but it doesn't specify any versions of either.
tschumann
  • 2,776
  • 3
  • 26
  • 42
4
votes
2 answers

AWS Fargate - How to get the public ip address of task by using python boto3

I am creating new fargate task by using the following python script. import boto3 import json def handler(): client = boto3.client('ecs') response = client.run_task( cluster='fargate-learning', # name of the cluster launchType =…
john
  • 2,324
  • 3
  • 20
  • 37
4
votes
1 answer

AWS Security Group connection tracking failing for responses with a body in ASP.NET Core app running in ECS + Fargate

In my application: ASP.NET Core 3.1 with Kestrel Running in AWS ECS + Fargate Services run in a public subnet in the VPC Tasks listen only in the port 80 Public Network Load Balancer with SSL termination I want to set the Security Group to allow…
Victor
  • 23,172
  • 30
  • 86
  • 125
4
votes
1 answer

ECS Fargate Task Container missing AWS_CONTAINER_CREDENTIALS_RELATIVE_URI

My task definition is linked to an IAM role, which works flawlessly under official AWS testing environment. However, in production, I keep getting this error: CredentialsError: Missing credentials in config, if using AWS_CONFIG_FILE, set…
Daniel Martinez
  • 459
  • 3
  • 13
4
votes
1 answer

Can an AWS Fargate Service have 0 tasks running?

I currently have a Fargate cluster that contains a service. This service always has 1 task running and is polling from SQS. The service will scale the number of tasks if SQS grows/shrinks. However, the task has a lot of idle time, where there are no…
Gary Holiday
  • 3,297
  • 3
  • 31
  • 72
4
votes
2 answers

Keycloak Fargate Deployment Issue

I am trying to deploy a keycloak docker container as a Fargate Task in AWS. The Task starts and the keycloak landing page is available in the provided DNS, but after some seconds it goes back offline. After troubleshooting a bit I discovered that…
user3612623
  • 245
  • 3
  • 13