Questions tagged [fargate]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4
votes
2answers
354 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 ...
4
votes
1answer
5k 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 ...
4
votes
1answer
310 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 ...
2
votes
2answers
904 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 ...
2
votes
1answer
911 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 ...
1
vote
1answer
26 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 ...
1
vote
1answer
84 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'...
1
vote
1answer
309 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? (...
1
vote
1answer
664 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 ...
1
vote
0answers
183 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 ...
0
votes
1answer
244 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 ...
0
votes
2answers
513 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 ...
0
votes
0answers
14 views
+100

Can an autoscaling group use both target tracking and scheduled policies?

I have an ECS cluster I'm deploying Docker images to using Fargate as the runtime. The containers run a process that consumes from a message broker queue. We'd like to define an autoscaling group that ...
0
votes
1answer
35 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 ...