Skip to main content

Questions tagged [aws-fargate]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
44 views

Unable to start metrics server on eks fargate

I am trying to implement eks on fargate. I want to deploy metrics server on eks fargate. I am following official documentation from aws on eks. https://docs.aws.amazon.com/eks/latest/userguide/metrics-...
Sheersh Jain's user avatar
0 votes
0 answers
68 views

Linking AWS API Gateway with App Mesh on ECS

I'm trying to link AWS API Gateway with my ECS App Mesh and not cannot seem to make it work. I currently have a working, public ALB that is successfully reaching my mesh service on ECS. To integrate ...
Mathieu Béliveau's user avatar
0 votes
0 answers
62 views

Fargate task CannotPullContainerError failed to unpack image on snapshotter overlayfs failed to get stream processor for application/vnd.in-toto+json

I have a stack configured and deployed with AWS CDK As part of that stack I have a Fargate task It has worked in the past but today when I run it I get: "StoppedReason": "...
Anentropic's user avatar
0 votes
1 answer
48 views

Cannot access the ALB URL for N8N, but my ECS Service is running fine, reaching steady state without issues

I'm trying to deploy and configure N8N in my AWS account. Now, I'm facing two challenges since but it was somehow tricky to run and configure its Docker image. However, I'll focus on the greatest one, ...
Federico Navarrete's user avatar
0 votes
1 answer
82 views

How do Fargate pods locate CoreDNS?

How do Kubernetes serverless pods (EKS Fargate) know the IP address to access the cluster's DNS server (the CoreDNS service deployment)? I recently updated a Kubernetes cluster to set up serverless ...
benjimin's user avatar
  • 141
0 votes
0 answers
44 views

Change AssignPublicIp setting to ECS service deployed with CodeDeploy deployment controller

I have an ECS Fargate service deployed through an AWS CloudFormation stack with NetworkConfiguration.AwsvpcConfiguration.AssignPublicIp set to ENABLED. I want to change that value to DISABLED. However,...
Federico B.'s user avatar
1 vote
1 answer
94 views

NAT gateway costs on AWS

I have a django app on AWS using ECS Fargate behind a VPC. A NAT gateway is required with this setup, but most of the costs are from the NAT gateway. How I can reduce this? My docker image is 600 MB. ...
david backx's user avatar
0 votes
0 answers
78 views

Fluentbit + Firelens unable to parse and ship log JSON fields as labels (AWS ECS Fargate)

My stack is on AWS Fargate. Application, grafana, loki on the same ECS cluster. My application generates logs, Log Stream sample below: {"host":"ip-00-3001-1a08-test.us-west-1.compute....
Gursharan Singh's user avatar
0 votes
0 answers
181 views

FROM php:7.4-fpm-alpine app.dockerfile results in fastcgi error when adding sh file to run as an entrypoint

I am using AWS ECS Faragate to generate and deploy docker containers into tasks. I'm using the docker image FROM php:7.4-fpm-alpine for my app container. I have been working on a workaround for cron ...
cwiggo's user avatar
  • 121
1 vote
0 answers
120 views

AWS Batch on Fargate is not allocating the correct number of vCPUs

I have a web application offloading some resource-intensive tasks to AWS Batch, backed by Fargate. It's a very simple setup - a single queue, a single job definition, and a single compute environment. ...
Tadas T's user avatar
  • 111
0 votes
0 answers
34 views

What could explain the difference in physical memory usage reported by Solr and AWS Fargate?

I have a Solr instance running as an AWS Fargate instance. The Solr instance has been configured with Xmx set to 1G. The remaining memory should be available to MMapDirectory. Looking at AWS, the ...
sbrattla's user avatar
  • 1,630
0 votes
1 answer
536 views

CoreDNS pods in AWS EKS Fargate unable to pull image

I created a PRIVATE EKS Cluster using AWS Console. Then, followed the documentation to configure Fargate. After I finished, I can see my Fargate nodes under Compute tab in my cluster in AWS Console, ...
432i's user avatar
  • 1
0 votes
2 answers
201 views

Nginx Failed to load resource: the server responded with a status of 443

This store using WooCommerce has been set up for years. Today I got the complain from customers about this error. I checked it and found out that the css/js/images couldn't be loaded. Does anyone know ...
Kevin Nguyen's user avatar
0 votes
0 answers
428 views

Understanding CPU Utilisation Graph for a task running AWS Fargate

I have a task defined with 0.5vCPU. It has two containers with 0.25vCPU Can someone explain to me what the below CPU Utilization graph represents? The above graph is from Health and Metrics section ...
tuk's user avatar
  • 353
2 votes
0 answers
794 views

Why can't my ECS Fargate cluster write to my mounted EFS volume, all deployed with Terraform?

I've got a Terraform deployment that deploys a Docker image into ECS Fargate. It attaches an EFS volume to the container. When I SSH into the container, I see the volume mounted, but I am unable to ...
CryptoFool's user avatar
0 votes
1 answer
346 views

Will aws elb address change over time?

I have created a load balancer pointing at my api instances. I got an automatically generated url which looks something like this: xxx-xx-xxxxxxxxxx.us-east-2.elb.amazonaws.com I want to connect it to ...
April Henig's user avatar
1 vote
1 answer
2k views

How to pass arguments into scheduled task on AWS Fargate?

I have a docker container (derived from PHP-CLI) that may be launched like this locally: docker run php-cli-container php public/index.php argument1 argument2 I uploaded the container to Amazon AWS ...
andreas's user avatar
  • 231
1 vote
2 answers
3k views

How to make my ECS Task pull my ECR image

I am trying to create a ECS task and be able to access and pull from ECR, but I am getting an error. How can I resolve this issue? Raw error: Cannotpullcontainererror: pull image manifest has been ...
Arthur Luiz's user avatar
0 votes
1 answer
761 views

Is it impossible to access rds and elasticache redis in AWS fargate only by setting a role?

I tried to access the aws service rds and elasticache redis through fargate's task role. I connected the full access of the service to the task role, but it was not connected, so I allowed the subnet ...
john_smith's user avatar
1 vote
0 answers
393 views

How can I make sure that AWS does not kill tasks before auto scaling kicks in?

I work on an AWS Fargate service which has a health check configured as well as an autoscaling policy set. The application needs about 30 - 45 seconds to start. The application does receive traffic ...
sbrattla's user avatar
  • 1,630
0 votes
1 answer
798 views

ECS/Fargate CPU peaks only to 60%

We have created an ECS/Fargate container with 2 VCPU and 4 GB RAM, running a NodeJS server in it. When we do the load testing using JMeter the VCPU reaches a maximum of 60% and flats out with the ...
Praveen Sripati's user avatar
2 votes
1 answer
467 views

Inconsistency between CloudWatch alert and Container Insights

I am running a .NET 6 container in ECS Fargate. My task definition defines the task size: Task Memory: 1024 Task CPU: 512 The task has 2 containers running - the service and the envoy proxy. The ...
Anthony's user avatar
  • 113
1 vote
2 answers
861 views

How to configure service discovery in aws ecs using the new console

In the classic AWS console it was possible to configure service discovery. It looks like this has been dropped in the new console. How does it then need to be done in the new console? Thanks
Jan's user avatar
  • 11
1 vote
1 answer
1k views

Fargate task from service with Public IP disabled can't download env file from S3

We have a Fargate service that should be exposed to the internet via a load balancer, and since for tests we had used so far the random Public IP of the task, we decided to disable the Public IP, so ...
Ncifra's user avatar
  • 111
1 vote
0 answers
147 views

How to reduce the time it takes a request to pass from a ALB to the actual Fargate Server?

I have a webhook endpoint where our service provider send a payload which I have to respond to within 2 seconds. I've been getting way too many timeout errors from the service provider, meaning I wasn'...
Sahil's user avatar
  • 133
1 vote
0 answers
127 views

ECS task to VPC endpoint/NAT Gateway routing

we have an ECS task that makes Rest API calls of two types: /path1 and /path2 in a Private subnet. We route the requests to Internet Gateway through a NAT gateway present in a public subnet. Flow: ECS ...
pds's user avatar
  • 11
6 votes
3 answers
9k views

Getting "Fargate requires task definition to have execution role ARN to support ECR images." when creating Fargate task but the role is defined

I am trying to deploy a very simple web application to AWS Fargate. I have pushed a docker image of the backend of the application to ECR and I am trying to setup a Fargate task definition for the ...
Brandon's user avatar
  • 181
0 votes
1 answer
713 views

AWS Fargate Load Balancer timing out

I'm setting up an AWS ECS/Fargate cluster/service/task with a load balancer for the first time. I believe the task is good since I can go to the task's (public) IP directly in a browser and see the ...
ScottyB's user avatar
  • 113
3 votes
1 answer
3k views

Deploying an AWS Load Balancer Controller for EKS Fargate API service

Context I'm trying to deploy a containerised API service to an EKS Fargate cluster and have it service requests from external internet addresses as an over-engineered POC/learning experience. I'm ...
Declan's user avatar
  • 31
1 vote
1 answer
2k views

ECS restarts due to health_check failure when multiple other requests are slow to return

We noticed that our ECS Fargate backend services restart due to a health check response timeout: (service our-site-com-stack-BackendApiServiceStack...) (port 8000) is unhealthy in (target-group arn:...
Zev's user avatar
  • 111
0 votes
0 answers
671 views

AWS Fargate is slow when calling system commands. How do I debug it and what can be wrong?

I've been running my PoC on Fargate without many problems. It's a Micronaut Java app with not much happening on its own. I'm using the smallest 256mb/0.25CPU Fargate deployment. I'm running a simple ...
Serge Kuharev's user avatar
2 votes
1 answer
7k views

Is AWS Fargate included in their "first year for free" plan?

I'm working for a cash-strapped not-yet-startup :D. We want to use Amazon for free to deploy a simple Python REST API endpoint. I was told that Amazon has a "1 year for free" tier. I've ...
Axonn's user avatar
  • 123
0 votes
2 answers
2k views

Selecting subnets for a Service in Fargate

As we can see in the picture above, I can select as many subnets as I want. Does it mean, the tasks in the service are created across these two subnets? Suppose I have one task running, in which ...
MrRobot9's user avatar
  • 123
0 votes
1 answer
616 views

How to share directory with Fargate container

I have a fargate container running which needs access to files present on an EC2 instance. Both are in the same network and security groups do not restrict traffic. I tried using sshfs as well as ...
Rohini's user avatar
  • 55
0 votes
0 answers
3k views

I cannot start an AWS task: CannotPullContainerError

My own image public.ecr.aws/f6q1r4v8/amazonlinuxwithshell:latest fails to start on AWS (FARGATE) in a very weird way: Last status Stopped Stopped reason CannotPullContainerError: inspect image has ...
porton's user avatar
  • 312
1 vote
1 answer
2k views

coredns deployment fails looking for nodes even after fargate profile patch

Problem with installing fargate profiles and coreddns addon; I'm using terraform for some parts and kubetctl for others, the fargate profiles are created via terraform: fargate_profiles = { kube-...
Anadi Misra's user avatar
0 votes
1 answer
608 views

ECS Fargate Network Interface with src/dest Check disabled

When creating an AWS ECS Fargate Service is there a way to set the generated Network Interface's Source/dest check field to false? The service is set-up following the ECS Fargate getting started guide....
Jethro's user avatar
  • 169
1 vote
1 answer
2k views

AWS ECS Fargate, container to container communication

I'm having trouble exposing ports on my ECS Fargate containers. I have applied port mapping on container level for my task definition, like so: On the containers themselves, it looks like there is no ...
Roger Johansson's user avatar
1 vote
1 answer
2k views

Dockerized Laravel application with volume on AWS Fargate issue

this is my scenario, I have a Laravel 8 application that I'm trying to deploy using AWS ECS through AWS Fargate. This is the useful part of my dockerfile: ### ... Previous composer and npm stages ...
SamDroid's user avatar
  • 111
0 votes
0 answers
472 views

How to migrate to Fargate from EC2 in ECS cluster?

I am planning to migrate to Fargate for autoscaling purposes. I already have task definitions for both my staging and production environments which are currently live. There's two ways I thought I can ...
Sahil's user avatar
  • 133
3 votes
1 answer
3k views

AWS ECS Fargate Target Group Failing HealthChecks

The SpringBoot application is running as an ECS Task in a ECS Service of an AWS Fargate Cluster. The ECS Service is LoadBalanced as such the Tasks spawned by the Services are automatically registered ...
Wei Minn's user avatar
  • 151
0 votes
0 answers
644 views

Terminating AWS ECS services and tasks automatically

We have created a ECS cluster with Fargate and have created few tasks in service to be used in a CI/CD pipeline. Service has desired count of 1. So if we terminate any task, new task comes up ...
Meghana B Srinath's user avatar
1 vote
2 answers
550 views

Is AWS Fargate EKS Container to Container communication encrypted at the network level?

I see that ephemeral drives are now encrypted but is network communications between containers encrypted, say for HIPAA compliance. Looking specifically at Serverless Fargate with Kubernetes pods. A ...
xenoterracide's user avatar
0 votes
1 answer
183 views

How can I run a containerized task in the cloud 24/7 [closed]

I have just begun to play around with various cloud vendors (AWS, GCP, etc) to get a better understanding of what they have to offer. This is what I am looking to do: I have a task that runs 24/7 that ...
KED's user avatar
  • 113
-1 votes
1 answer
125 views

Suggestions for AWS setup wanted

For my next project, I'm giving AWS and server-less a go, but I'm not sure how to reason about the different AWS services. So here's hoping that someone here has a good feel for it. The project ...
LostInAws's user avatar
2 votes
1 answer
2k views

AWS: How do I restrict deployment to ECS clusters using IAM

I have multiple Fargate clusters in a single AWS account. I wish to ensure that a given service account (used by the build pipeline) can only update Services within a given Fargate clusters. The IAM ...
Alastair Irvine's user avatar
3 votes
1 answer
1k views

Why would AWS Fargate task containers report wildly incorrect memory limits?

Our task definition sets Task Memory to 8192MiB. Its sole docker container running Debian is configured with no memory limits. In the bootstrap, we call cat /proc/meminfo and get a report that shows: ...
hemp's user avatar
  • 361
3 votes
1 answer
2k views

How do I resolve a private DNS address from within an AWS Fargate task

I'm trying to setup a connection to a MongoDB Atlas database from an AWS Fargate container. The VPC peering is setup and works and I can successfully connect to the MongoDB Atlas cluster from a ...
Fergal Dearle's user avatar
1 vote
0 answers
281 views

AWS Fargate: The OPENCART_DATABASE_PASSWORD environment variable is empty or not set. Set the environment variable ALLOW_EMPTY_PASSWORD=yes

I am trying to run Open cart on AWS Fargate, i am using native bitnami release, following is my docker-compose.yml version: '2' services: mariadb: image: 'docker.io/bitnami/mariadb:10.3-debian-...
noobie-php's user avatar
1 vote
1 answer
333 views

How to assign which user to execute commands inside the container in AWS FARGATE

i'm trying to launch a nodejs container using AWS FARGATE, the problem i'm facing is that fargate gives me this error : cannot find this module "/path/to/file/webrtc.js" And when i execute ...
logax's user avatar
  • 139