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 cdk Fargate task definition with python - how to use add_container(secrets=[Mapping[str, Secret]])?

I'm writing AWS Fargate task definition in python as in https://docs.aws.amazon.com/cdk/api/latest/python/aws_cdk.aws_ecs/FargateTaskDefinition.html?highlight=fargatetaskdefinition I'd like to add database secrets to Fargate, but I got confused on…
Joe
  • 393
  • 1
  • 2
  • 11
0
votes
0 answers

Persistent Volume Claim is not getting bound for AWS EBS volume

I'm new to AWS EKS (Elastic Kubernetes Service). I'm trying to run SonarQube on EKS using Fargate profile (serverless). Following are my Kubernetes manifests files:- Deployment:- apiVersion: apps/v1 kind: Deployment metadata: labels: app:…
vinod827
  • 1,123
  • 1
  • 21
  • 45
0
votes
1 answer

Aws ecs fargate

I am trying to transform this app app which open a url with firefox inside docker and push to rtmp with ffmpeg basically. https://github.com/aws-samples/amazon-chime-live-events . Used same dockerfile and made a docker compose for fargate deploy. My…
0
votes
1 answer

ECS Fargate - Is it possible to create container instances dynamically?

I am working on a project where it is required to create multiple instance of container dynamically based on the count received from the AWS Lambda function. Each container will execute its own task. I have done a lot of research but still not sure…
jeevan_23
  • 121
  • 9
0
votes
1 answer

[AWS][EKS][Fargate] x509: certificate signed by unknown authority

I'm building an AWS EKS cluster with Fargate managed nodes and everything is fine till I want to pull a docker image from a remote on-premise docker registry hosted on Harbor. CA is fully private on on-premise and I thought that this could be an…
fredator88
  • 21
  • 4
0
votes
1 answer

Which permission is required to see Fargate container logs

We are using AWS ECS Fargate to host our application. I have this "Reader" IAM user who can't change anything but only can see stuff. I've managed to configure the permissions for this Reader user so the user can see the service cluster, the…
e-mre
  • 3,305
  • 3
  • 30
  • 46
0
votes
1 answer

Access credentials for s3 not found when using ECS with Fargate

I have one ECS service it is running zeppelin, I have configured zeppelin to access save the notebook in s3 bucket . I have created a bucket and also made sure both bucket and ECS have same role. s3 bucket has the read and write policy enabled for…
0
votes
2 answers

Need mkdir permission for EC2 docker container

I have a docker-compose which runs 3 containers: selenium/hub selenium/node-chrome My own image of a java program that uses the 2 above containers to log into a website, navigate to a download page, click on a check-box, then click on a submit…
0
votes
1 answer

Api calls made from fargate container needs to be validated against a certificate. Where can I put the certificates in this scenario?

Api calls made from fargate container needs to be validated against a certificate. Where can I put the certificates. Can it be placed inside the container?
0
votes
1 answer

How to run commands in a fargate task

I have a requirement where i have to create a Fargate task that can clone a gitab repository(source code) and run a maven build command to build the code. And there would be another fargate task that would create a docker image out of it. Gitlab is…
0
votes
1 answer

Error : WARN Low open file descriptor limit configured for the process. Current value: 4096, recommended value: 10000

I am trying to place a container in AWS Fargate, getting the error " WARN Low open file descriptor limit configured for the process. Current value: 4096, recommended value: 10000. -- Error: Input("Error opening spec file: No such file or directory…
Pranay
  • 1
  • 1
0
votes
0 answers

ECS task's public IP stops responding after a while

I'm trying to deploy a sample application to AWS ECS and I'm experimenting something weird. I have created a task definition with a container definition using the sample image amazon/amazon-ecs-sample. This is just a simple PHP welcome page. When I…
Héctor
  • 24,444
  • 35
  • 132
  • 243
0
votes
1 answer

Terraform: Unable to launch ECS Fargate launchType

I'm trying to launch an ECS cluster with Fargate Tasks. Here's my Terraform resource resource "aws_ecs_task_definition" "ecs-zoo" { family = "${var.project}" container_definitions =…
Red Bottle
  • 2,839
  • 4
  • 22
  • 59
0
votes
1 answer

How to force fargate service to be launched only from AWS Lambda

I've created a simple task to print a hello world. I've created a ECR image, docker compose and ecs-params.yml. I get the cloudwatch log for the print, but the task keeps launching every minute, which I guess it's due to REPLICA service type. How…
0
votes
3 answers

Fargate task stops about 10s after is starts with no log output

My Fargate task keeps stopping after it's started and doesn't output any logs (awslog driver is selected). The container does start up and stay running when i execute docker locally. Docker-compose file: version: '2' services: asterisk: …
1 2 3
99
100