Questions tagged [aws-fargate]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
40 views

Do I need an internal Load Balancer for my ECS Services?

I have an ECS cluster with 3 services(FARGATE), the 3 services are in private subnets. 1 is the web app that is publicly accessible through an Internet-facing Load Balancer and the 2 others are only ...
0
votes
1answer
21 views

AWS Network Load Balancer for Fargate tasks with end to end encryption

We currently have a AWS Fargate service running Nginx behind a AWS Application Load Balancer. In front of this, we also use Cloudflare (hence having Cloudflare origin certificate in ACM). Since the ...
0
votes
2answers
31 views

How to get the value of ECS_CONTAINER_METADATA_URI_V4 in AWS ECS container?

The question is pretty straightforward but a little background always could be helpful. I need to get a container id from the container itself, and the value of it will be used as a logfile name. ...
0
votes
0answers
11 views

Only have 16GB of disk space available in Fargate 1.4

I'm using ECS with the Fargate run type and one of my tasks is running out of disk space. When I run df -f inside the container during the task execution It shows me that I only have 16GB of disk ...
1
vote
0answers
17 views

Fargate instance - what is utilizing disk space?

I have a fargate instance i'm running and need disk space (ephemeral storage) for some data processing. I'm running a modified ubuntu image which sits at about 700MBs I'm running the new fargate ...
0
votes
1answer
47 views

AWS- Build a Modern Web Application(Mythical Mysfits)-Error with Docker Image

I am new in the area of network and server management with zero experience. I am trying to learn from the tutorial "MythicalMysfits" from AWS. The other post helped and I updated pip to pip3, but now ...
3
votes
1answer
38 views

How to send HTTP requests between AWS ECS services

Currently, I'm trying to figure out how to configure communication between ECS services. I'm planning to have the following setup: Backend service Fronted service One application load balancer I ...
1
vote
1answer
109 views

AWS API Gateway to Fargate, only charge when request is running

From the following link, it seems possible to call a Fargate task from the API Gateway: https://aws.amazon.com/blogs/compute/introducing-amazon-api-gateway-private-endpoints/ But, does the task have ...
0
votes
1answer
24 views

How set a fixed private IP for ECS containers?

I have a Task Definition called kafka-zookeeper, it has an Apache Kafka broker and a Zookeeper node in it. Those containers need to communicate with each other (that's easy) and with the kafka and ...
0
votes
1answer
188 views

Can't retrieve instance metadata on AWS Fargate tasks

I have a docker compose configuration that I'm deploying in an ECS Fargate cluster. The tasks are configured with assign_public_ip: ENABLED, and they seem to be getting a public IP, but I'm struggling ...
0
votes
1answer
23 views

Troubleshooting fargate autoscaling

I've set up an AWS Fargate cluster to run a service and autoscale its tasks based on the SQS queue. All great so far. The service has got a desired tasks of 1, but then it never actually launches the ...
3
votes
1answer
46 views

Autoscaling and connection routing on AWS ECS for services with a one-to-one client/server relation

I want to deploy an interactive rendering service that uses the WebSocket protocol. The service is containerized and can serve up to N (let's say 1 <= N <= 10) clients. The reason for the small ...
0
votes
1answer
203 views

Does Amazon manage time synchronization on ECS/Fargate containers?

I'm trying to use NTP to synchronize local time in ECS containers using the ntpdate command, but it gives me this error: ntpdate[770]: Can't adjust the time of day: Operation not permitted ...
1
vote
1answer
168 views

Does SES free tier extend to AWS Fargate?

Amazon SES offers a free tier that is eligible for applications running on EC2 instaces or in Elastic Beanstalk containers. However, am I also eligible for the free tier if I am using AWS Fargate? As ...
0
votes
0answers
27 views

Use Fargate with EKS Worker nodes to scale on demand

Is it possible to use a Fargate profile in EKS to scale if the worker nodes reach their limit? Assuming we run our application to EKS with a node group (managed or not) how could we use Fargate to ...
0
votes
0answers
76 views

Fargate with Managed AWS Batch?

Is it possible to have AWS Batch use a Fargate ECS cluster? AWS Batch creates a Managed ECS cluster and then runs jobs in containers on that cluster. The clusters it creates all seem to be EC2 ...
0
votes
0answers
84 views

AWS Fargate fails health check while instance

I am a similar question to some posts I listed below, but none of the specific issues relate as far as I can tell. I will post my stack later in this post. I have: ALB----->Listener->target ...
5
votes
2answers
3k views

Amazon ECS Task fails with STOPPED (CannotPullContainerError: Error response from daem)

I have set up an AWS VPC and am trying to deploy a functional container in ECS on a Fargate launch type but the task always fails with: STOPPED (CannotPullContainerError: Error response from daem) ...
0
votes
1answer
395 views

A Fargate service keeps on restarting - why?

I have a simple web service running on AWS Fargate. It works just fine locally but on Fargate it keeps on restarting every few minutes, i.e. stopping and creating new tasks. There is nothing in the ...
0
votes
0answers
30 views

Start ECS before Lambda schedule

I have an AWS lambda function that needs to connect to a headless chrome instance running in a container on ECS. As the AWS lambda function is executed every hour with execution times around 2 ...
0
votes
0answers
119 views

assign a public ip to aws container task

I am using aws cluster with EC2 launch type where I an launching the tasks. In FARAGATE cluster we have auto assign public ip option enabled, but in EC2 launch type cluster this option is disabled. I ...
2
votes
1answer
434 views

How 2 services can talk to each other on AWS Fargate?

I setup a Fargate cluster on AWS. My cluster has the following services: server-A (port 3000) server-B (port 4000) Each service is in the same VPC and have the same security group (any ports, any ...
0
votes
1answer
245 views

Unable to set up an Envoy Front Proxy on Amazon ECS

I am trying to set up an envoy front proxy using envoy sidecar containers on Amazon Elastic Container Service (ECS) referring to this link. The envoy sidecar configuration is : #service-envoy.yaml ...
0
votes
0answers
204 views

Fargate task losing connection to MySQL running on AWS RDS when this is set to publicly accessible

So we have a Fargate task running in a private subnet. It connects to a MySQL instance running on AWS RDS in a different VPC that is linked. So far so good, the RDS security group allows communication ...
1
vote
1answer
435 views

How to configure an AWS ECS health check for a non web app container

I understand that usually for web app containers there needs to be an HTTP endpoint which responds with 200 for a succesful healthcheck. However, in my case I would have a non web app (a python ...
0
votes
0answers
135 views

Unable to pass the root MySQL password into an AWS ECS Fargate launch type WordPress deployment

I'm trying to figure out how to pass the root MySQL password into an ECS Fargate luanch type WordPress deployment. I'm working with this official AWS tutorial which provides this sample docker-compose....
0
votes
2answers
827 views

Network Load Balancer to Fargate/ECS Cluster - how to map multiple ports/target groups to one service?

Here is my setup: Route53 Alias Record -> Network Load Balancer -> Fargate/ECS Cluster The containers in the cluster have their own TLS certificates and have ports 80 and 443 open. The http server ...
5
votes
1answer
2k views

Using AWS Fargate as web server

Using AWS Fargate, the process to get a custom Docker container running on AWS ECS is relatively straightforward. I was able to successfully test my container over the public IP assigned to the ...
0
votes
0answers
1k views

Setting up a Laravel project on AWS Fargate

I am trying to run a Laravel Docker Project on AWS Fargate. The project builds and runs successfully on local machine. I am able to browse to http://localhost:8000 and it works just fine. However, ...
0
votes
0answers
1k views

AWS Application Load Balancer 502 Bad Gateway

I am using AWS ECS Fargate and have an application load balancer to forward all the connections to the correct instance. I did already manage to get up a cluster and a service up and running ...
0
votes
2answers
757 views

Is persisting data in Fargate containers recommended?

My application - a Postgres/Nginx/Django application powered by docker-compose. 3 separate containers. My production setup - Nginx/Django containers hosted on Amazon ECR. Deployment to a single ...
8
votes
2answers
5k views

AWS Fargate service: scale to zero?

I've recently migrated a small web application to AWS using Fargate and Aurora Serverless. The application doesn't get much traffic so my goal is to save cost while no one is using it. Aurora ...
4
votes
2answers
4k views

AWS Fargate task fails ELB health checks

How can I troubleshoot it further? I am trying to run a simple nginx container but the load balancer complains that health checks are failed and the task does not respond on its ip number, likely ...
0
votes
0answers
85 views

How are load balancers, health checks, and autoscalers supposed to handle surges?

I have a service which looks like: Internet -> Load Balancer -> Instances What seems to be happening in my service is the following scenario: A large surge of user traffic comes in, more than the ...
4
votes
0answers
932 views

Why does AWS Lambda need to pass ecsTaskExecutionRole to ECS task

I am writing an AWS Lambda function to trigger an ECS Fargate task. I am following the example provided at Run tasks with AWS Fargate and Lambda. While my setup works, there is one of the parts ...
3
votes
2answers
928 views

Is Fargate a good fit for independent containers that have low resource utilization?

I'm new to docker and ECS, so I might not use the right terms. Please let me know if I need to clarify. My Scenario: I have a number of independent containers. Each container represents a web site. ...