Hot answers tagged

5 votes
Accepted

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

Underlying reason: The ECS service's network access security group did not have permission to access EFS. Solution: Add an inbound rule for type NFS in the security group as described in this ...
stoft's user avatar
  • 273
4 votes
Accepted

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

This is by design because AWS have yet to upgrade LATEST to point to v1.4.0 (as per 2020-06-23, see AWS ECS Developer Guide). Set the service platform version explicitly to 1.4.0 (instead of LATEST).
stoft's user avatar
  • 273
4 votes

Configure VPC for ECR access

This error CannotPullContainerError usually occurs when you have no access to the Internet from ECS and thus it doesn't able to pull an image from registry. Make sure you have networking configured ...
Most Wanted's user avatar
2 votes

RDS DB migrations using ECS and Fargate

If you already have the script/tool in place to execute the database migrations then what you might need is to run the tool/script once. AWS ECS allows to schedule the executions of tasks (containers),...
Dennis Ruiz's user avatar
2 votes

A service by AWS that routes traffic based on simple logic

You can use AWS APP MESH to route traffic between OSM and GDM. First, all traffic will be sent to OSM using App Mesh's VirtualRouter. VirtualRouter is an object to route traffic between K8S services. ...
again's user avatar
  • 189
2 votes

AWS ECS Fargate, auto scaling and load balancer

Load balancing will route the requests across tasks while autoscaling will increase or decrease the number of tasks based on the traffic. starting new tasks when cpu threshold exceed is autoscaling, ...
astroanu's user avatar
  • 123
2 votes
Accepted

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

Yes, you can start ECS Fargate tasks from Step Functions in the way you've described. Step Functions allows you to pass Parameters to the underlying service API. https://docs.aws.amazon.com/step-...
Woodland's user avatar
  • 1,318
2 votes
Accepted

How to use ecs service dicovery

The goal can be achieved via several solutions. We can use service with awsvpc as network mode, so your service can get a real "A" DNS record and ENI interface, you must pay attention with this ...
Mohamed's user avatar
  • 61
1 vote

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

The image versions are defined in task definition, so you'll have to create a new task definition (or update the existing one) changing the Docker image tag. See AWS docs for a task definition ...
Sathyajith Bhat's user avatar
1 vote

How to communicate between AWS ECS containers

Understanding 1 is not correct, localhost is only for internal containers not other can access on localhost, if they share same network name can be used, nodeapp:3000 will work on local. For different ...
Siddique Ahmad's user avatar
1 vote
Accepted

Use Sqlite database on ECS

Seems like EFS is now supported on Fargate Blog post Reference
Most Wanted's user avatar
1 vote

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

It doesn't tell the exact error message, however in my case, I was using firelens log driver with S3 configuration type. Since Fargate only supports local file at this point, I got the same error ...
karthikeayan's user avatar
1 vote

Configure VPC for ECR access

ECR needs authentication and authorization before you can pull an image. In your ansible ecs_taskdefinition, please make sure you have parameter task_role_arn or execution_role_arn pointing to a role ...
Flo's user avatar
  • 11
1 vote

AWS permissions for Fargate and SSM

IAM Role for Fargate has two policies: The first one describes which service can assume the role and its permissions. In this case it will be the ecs-tasks.amazonaws.com service (= Fargate) that can ...
MLu's user avatar
  • 991

Only top scored, non community-wiki answers of a minimum length are eligible