Questions tagged [aws-fargate]
66 questions
1
vote
0 answers
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 task -> NAT Gateway -> Internet Gateway.
Now, we…

pds
- 11
- 1
1
vote
1 answer
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…

Zev
- 111
- 6
1
vote
1 answer
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 built my docker, put it on DockerHub and have successfully…

Axonn
- 113
- 1
- 5
1
vote
1 answer
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-system-profile = {
name = "kube-system-profile"
…

Anadi Misra
- 527
- 2
- 9
- 23
1
vote
1 answer
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 specific mapping enabled, or am I reading this…

Roger Johansson
- 131
- 4
1
vote
1 answer
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
FROM php:8.0-cli-alpine
# Concatenated RUN…

SamDroid
- 111
- 2
1
vote
2 answers
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 google of "fargate kubernetes network encryption"…

xenoterracide
- 1,496
- 2
- 13
- 26
1
vote
0 answers
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-10'
environment:
-…

noobie-php
- 133
- 5
1
vote
1 answer
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 npm install from the command section when launching the…

logax
- 129
- 3
- 14
1
vote
1 answer
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 ALB terminates the SSL connection, the traffic…

cabz
- 11
- 2
1
vote
0 answers
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 platfrom 1.4.0 that provides a minimum of 20GB of…

w-01
- 215
- 2
- 12
1
vote
1 answer
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 to be running 24/7 for this to work? Is it…

matthewatabet
- 113
- 4
0
votes
1 answer
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
static_resources:
listeners:
- address:
…

Ashish Sharma
- 233
- 1
- 9
0
votes
0 answers
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 from the group the Fargate task belongs to and…
0
votes
0 answers
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.yml file:
version: '3'
services:
wordpress:
…

dlanced
- 247
- 1
- 4
- 13