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
177
votes
31 answers

Aws ecs fargate ResourceInitializationError: unable to pull secrets or registry auth

I am trying to run a private repository on aws-ecs-fargate-1.4.0 platform. For private repository authentication, I have followed the docs and it was working well. Somehow after updating existing service many times it goes fail to run the task and…
66
votes
5 answers

Is it possible to SSH into FARGATE managed container instances?

I use to connect to EC2 container instances following this steps, https://docs.aws.amazon.com/AmazonECS/latest/developerguide/instance-connect.html wondering how I can connect to FARGATE-managed container instances instead.
Stefano Messina
  • 1,796
  • 1
  • 17
  • 22
64
votes
16 answers

AWS ECS error: Task failed ELB health checks in Target group

I am using cloud formation template to build the infrastructure (ECS fargate cluster). Template executed successfully and stack has been created successfully. However, task has failed with the following error: Task failed ELB health checks in…
user2315104
  • 2,378
  • 7
  • 35
  • 54
53
votes
4 answers

Fargate vs Lambda, when to use which?

I'm pretty new to the whole Serverless landscape, and am trying to wrap my head around when to use Fargate vs Lambda. I am aware that Fargate is a serverless subset of ECS, and Lambda is serverless as well but driven by events. But I'd like to be…
janDro
  • 1,426
  • 2
  • 11
  • 24
52
votes
7 answers

'exec user process caused: exec format error' in AWS Fargate Service

I am totally new to AWS but I've been running my dockerized application locally for months now with no issues. Now that I am trying to deploy this app via AWS ECS/Fargate, my containers are stopped repeatedly with this linux error:…
50
votes
8 answers

AWS Fargate ResourceInitializationError: unable to pull secrets or registry auth: pull command failed: : signal: killed

Slightly tearing my hair out with this one... I am trying to run a Docker image on Fargate in a VPC in a Public subnet. When I run this as a Task I get: ResourceInitializationError: unable to pull secrets or registry auth: pull command failed: :…
user2800708
  • 1,890
  • 2
  • 18
  • 31
46
votes
3 answers

Linking Container in AWS Fargate

I try to setup a little example on AWS Fargate and try to have one application container with one database container there. The task definition starts both containers, but my app container fails with getaddrinfo ENOTFOUND db db:3306. Therefore, the…
sebastian
  • 813
  • 1
  • 7
  • 14
37
votes
2 answers

"One or more of the requested capabilities are not supported." AWS FARGATE

I'm getting "One or more of the requested capabilities are not supported." error when trying to mount a volume from Amazon EFS on AWS FARGATE.
Lukas
  • 1,246
  • 8
  • 15
36
votes
5 answers

How do I retrieve the public IP for a fargate task using the CLI?

I have a cluster running with services and am also able to launch fargate tasks from the command line. I can get the taskArn as a response to launching the task and I can wait for the task to be in the running state by using "aws ecs wait". I'm…
Mike N.
  • 1,662
  • 1
  • 13
  • 19
35
votes
4 answers

Static outbound IP for AWS ECS Fargate task

I have a Docker container with a service which I want to run through AWS ECS with Fargate. Unfortunately the service I want to run needs to access an SFTP server of a partner where the IP needs to be whitelisted. My question is now: How is it…
34
votes
2 answers

What vCPUs in Fargate really mean?

I was trying to get answers on my question here and here, but I understood that I need to know specifically Fargate implementation of vCPUs. So my question is: If I allocate 4 vCPUs to my task does that mean that my single-threaded app running on a…
Ruslan Plastun
  • 1,985
  • 3
  • 21
  • 48
33
votes
6 answers

AWS ECS Fargate Container Healthcheck command

I am trying to setup aws ecs fargate deployment configuration. I was able to run containers without container health check. But, I want to run container health checks too. I tried all possible scenarios to achieve this. But, no luck. i tried with…
Arjun
  • 533
  • 2
  • 9
  • 23
33
votes
1 answer

Differences between AWS Fargate and multi-container Elastic Beanstalk?

I understand that ECS has EC2 and Fargate launch types that differ in the control they offer over the underlying environment configuration. Before Fargate, ECS was used to provide detailed control over the container environment, while Elastic…
32
votes
7 answers

ECS Fargate Scheduled Task not running

I'm trying to setup a scheduled task with ECS Fargate but I cannot figure out why it is not running. I can confirm the task works correctly using RunTask but when I try to trigger it on a schedule all I get is a bunch of 'FailedInvocations' with no…
29
votes
6 answers

ResourceInitializationError: failed to validate logger args: : signal: killed

Suddenly getting the message " ResourceInitializationError: failed to validate logger args: : signal: killed" while starting AWS ECS Fargate Service. Same service was running fine couple of days back. Following is log driver configurations in…
Amit Kamboj
  • 291
  • 1
  • 3
  • 4
1
2 3
99 100