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 ...
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).
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 ...
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),...
2
votes
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 ...
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. ...
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, ...
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-...
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 ...
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 ...
1
vote
Accepted
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 ...
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 ...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
fargate × 15amazon-ecs × 9
amazon-web-services × 8
docker × 5
amazon-efs × 2
ecs × 2
ansible × 1
docker-compose × 1
containers × 1
amazon-ec2 × 1
python × 1
databases × 1
aws-cli × 1
load-balance × 1
aws-iam × 1
aws-vpc × 1
grafana × 1
aws-ecr × 1
api-gateway × 1
step-functions × 1
aws-subnets × 1