AWS Fargate is a serverless compute engine for containers provided by Amazon Web Services (AWS).
Questions tagged [fargate]
14 questions
4
votes
1 answer
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 discovery create a simple SRV DNS record, that's…
Mohamed
- 61
- 5
4
votes
2 answers
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 not satisfy the task definition’s required…
stoft
- 273
- 2
- 8
4
votes
1 answer
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 with 32: failed to execute command to invoke EFS…
stoft
- 273
- 2
- 8
2
votes
1 answer
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't work correctly, maybe because of communication…
Omori
- 21
- 1
- 2
2
votes
1 answer
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 dozen independent parallel processes that use the…
Brad Davis
- 123
- 5
2
votes
2 answers
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 pull the Image from the ECR.
STOPPED…
Kyu96
- 145
- 3
- 17
1
vote
1 answer
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 OpenStreetMap (OSM) as an alternative. Now we have…
abbood
- 473
- 4
- 13
1
vote
1 answer
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? (I cannot use EBS as my launch type is Fargate).…
Most Wanted
- 691
- 8
- 18
1
vote
1 answer
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 by going into the container. I have some…
ajyvardan
- 11
- 2
0
votes
0 answers
Best Approach for Managing ECS Clusters and IP Address Allocation for Batch Job Workflows in a VPC with Step Functions
We are orchestrating batch jobs as workflows using AWS Step Functions with Fargate ECS Clusters for container execution. The containers are deployed in a VPC with 3 public subnets. In addition to the containers used for workflows, there are other…
Amith Koujalgi
- 101
- 1
0
votes
1 answer
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 this in private subnet with NAT gateway?
If so,…
Dekishigrash
- 101
0
votes
1 answer
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 run aws ecr --profile staging --region us-east-1 …
Mike Pennington
- 103
- 4
0
votes
1 answer
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 work together.
My example
I define a task, and set the…
user1383029
- 101
- 1
0
votes
2 answers
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 permissions for Fargate as well as additional…
Ertai87
- 141
- 4