Questions tagged [fargate]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
7 views

Running execute-command on a Fargate task with env vars

I have a Fargate task that I'm spinning up from a CICD process in order to run a MySQL database import. The container spins up fine and, on the task container, I can access the environment variables ...
Rob Wilkerson's user avatar
0 votes
0 answers
148 views

Why can't I get past the credentials page when running Grafana in ECS?

I have been playing for a while with Grafana, installed in Docker on my Mac. That's been working great. My company has a set of Terraform code that lets one easily host an arbitrary Docker image/...
CryptoFool's user avatar
0 votes
1 answer
85 views

Best practice put nginx + django in AWS subnet private?public?

I want to put the fargate container which contains django + nginx However what subnet should be used for? At first I put this in public subnet, of course it works well. However, is it possible to put ...
Dekishigrash's user avatar
0 votes
1 answer
544 views

AWS FARGATE ECS - Exact steps to deploy new Docker images with aws CLI

We run services in AWS FARGATE... our Docker builds are tagged before we push them to AWS with a Makefile. I committed changes to a Docker service, ran make, and I see the new Docker image tag when I ...
Mike Pennington's user avatar
2 votes
1 answer
5k views

How to communicate between AWS ECS containers

Problem How do ECS containers communicate between each others? Situation I use docker compose ecs integration. In AWS docker context, docker compose up did a deploy correctly. But reverse proxy doesn'...
Omori's user avatar
  • 21
1 vote
1 answer
33 views

A service by AWS that routes traffic based on simple logic

Background we currently use google distance matrix (GDM) apis a lot to help in core business functions. As the cost of GDM went up, we worked on switching on cheaper alternatives. We decided to use ...
abbood's user avatar
  • 473
0 votes
1 answer
931 views

AWS ECS Fargate, auto scaling and load balancer

For a ECS service with launch type "fargate", it is possible to configure a load balancer and auto scaling. I don`t understand, how those two types of scaling work in this case, and how they ...
user1383029's user avatar
2 votes
1 answer
2k views

Can I use AWS Step Functions to launch many different fargate 'runs'?

I am building a service that has two independent steps. The first step is a data transformation step that has to happen and is common to all downstream processes, then the second is starting a few ...
Brad Davis's user avatar
1 vote
1 answer
1k views

Use Sqlite database on ECS

I have an application which uses SQLite database and want to migrate it to AWS ECS service. It's dockerized and have access to DB file via mounted volume. Is there a way to make this work with ECS? (...
Most Wanted's user avatar
4 votes
2 answers
483 views

In what way does a new ECS Fargate service not satisfy the task definition's required capabilities?

When creating a new AWS ECS service using a Fargate task, in the AWS Console wizard, it fails with the following error: Failed creation of Service Service creation failed: The specified platform does ...
stoft's user avatar
  • 273
4 votes
1 answer
9k views

Startup of ECS Fargate task fails with ResourceInitializationError mount.nfs4 Connection timed out

When starting up an Amazon ECS task with launch type FARGATE it fails with the following reason: ResourceInitializationError: failed to invoke EFS utils commands to set up EFS volumes: command failed ...
stoft's user avatar
  • 273
1 vote
1 answer
1k views

RDS DB migrations using ECS and Fargate

I run my app with Docker and ECS. How can I handle database migrations? With fargate there doesn’t seem to be a way to SSH into the container to run any commands so I can’t run my RDS MySQL migrations ...
ajyvardan's user avatar
2 votes
2 answers
1k views

Configure VPC for ECR access

I am creating my infrastructure with Ansible. I create a VPC and an ECS cluster where I use Fargate to run my docker containers. When the tasks are started I am prompted that the task was not able to ...
Kyu96's user avatar
  • 125
0 votes
2 answers
838 views

AWS permissions for Fargate and SSM

I'm trying to create some infrastructure for a service I am building on AWS using AWS Fargate. I'm using SSM as a value store for some of my application configuration, so I need both the regular ...
Ertai87's user avatar
  • 141
1 vote
0 answers
591 views

Docker image labels in fargate are not applied to containers [closed]

I'm running code in docker containers through AWS ECS on the fargate engine. The problem that I'm running into is that my docker image labels are not being applied to the docker container as I would ...
user2012688's user avatar
4 votes
1 answer
544 views

How to use ecs service dicovery

I'm trying to use amazon service discovery to register a Redis server in order to be reachable by other ECS services in the same cluster. I'm using EC2 to deploy my services not Fargate, so service ...
Mohamed's user avatar
  • 61