Amazon Elastic Container Service (ECS) is a highly scalable, high performance container management service that supports Docker containers and allows you to easily run applications on a managed cluster of Amazon EC2 instances.
Questions tagged [amazon-ecs]
239 questions
0
votes
1 answer
How to minimize ecs autoscaling reaction time from terraform?
When you create an ECS autoscaling policy, two alarms tag along with it: one for scaling up ("out"), one for scaling down ("in").
The scale-out ones I see created appear to sample CPU utilization (or the metric of interest) every minute, and only…

Jonas Kölker
- 103
- 3
0
votes
1 answer
Automatic task retirement in ECS services
Is there any to automatically refresh the tasks of a service on a schedule (every day, every week, etc..)? Semi-officially, it seems like there may not be (and maybe it's just up to the individual processes to shut themselves…

Dustin Oprea
- 560
- 2
- 8
- 19
0
votes
1 answer
ECS Cluster Service not Running Containers
Recently I created an ECS cluster. I used the wizard on the AWS console to create it using an existing VPC, subnets, keypair and a previously created IAM role (from another cluster creation operation). Then I proceeded to create a service using a…

Eddysanoli
- 101
- 1
0
votes
0 answers
How to migrate to Fargate from EC2 in ECS cluster?
I am planning to migrate to Fargate for autoscaling purposes. I already have task definitions for both my staging and production environments which are currently live. There's two ways I thought I can migrate to Fargate, either create a new Task…

Sahil
- 133
- 1
- 6
0
votes
0 answers
Terminating AWS ECS services and tasks automatically
We have created a ECS cluster with Fargate and have created few tasks in service to be used in a CI/CD pipeline. Service has desired count of 1. So if we terminate any task, new task comes up automatically. Is there a way in which we can make sure…

Meghana B Srinath
- 105
- 2
- 12
0
votes
1 answer
How can I prevent apache to log ELB Health Checks in Docker?
I have a dockerized web application deployed in ECS, and everything works just fine, logging in cloudwatch every request, including a HUGE number of health checks, which are configured to hit the page /health, a blank page.
I'd like to have a…

Ing. Luca Stucchi
- 101
- 3
0
votes
0 answers
How to prevent critical data leaks in Amazon ECS?
I am not sure whether my basic assumption for this question is correct, but as I understand, there is the following problem: A user who has the permission to create ECS task definitions can access all data of the instance at any time through docker…

eltitano
- 3
- 3
0
votes
1 answer
Laravel events behind load balancer - how to make the event visible to all the servers in the autoscale group
I have an application running Laravel 6.1. There are clients which connect to it via laravel websockets and listen for events. I have an external service which sends post requests to this server which will then raise an event, and the websocket…

Angelo
- 111
- 1
- 4
0
votes
0 answers
autoscaling php-fpm in AWS ECS
I have a t3.medium instance managed by ASG and used by ECS. My application requires approximately 25% of the capacity of this instance to operate at a minimum. will work in the standard nginx + php_fpm dockerized configuration. With that, I thought…

Julio
- 1
- 1
0
votes
1 answer
How set a fixed private IP for ECS containers?
I have a Task Definition called kafka-zookeeper, it has an Apache Kafka broker and a Zookeeper node in it. Those containers need to communicate with each other (that's easy) and with the kafka and zookeeper containers from other kafka-zookeeper…

ItsaMeTuni
- 161
- 1
- 5
0
votes
1 answer
Can't retrieve instance metadata on AWS Fargate tasks
I have a docker compose configuration that I'm deploying in an ECS Fargate cluster. The tasks are configured with assign_public_ip: ENABLED, and they seem to be getting a public IP, but I'm struggling to figure out how to retrieve the IP. The…

cayblood
- 101
- 3
0
votes
1 answer
Troubleshooting fargate autoscaling
I've set up an AWS Fargate cluster to run a service and autoscale its tasks based on the SQS queue. All great so far. The service has got a desired tasks of 1, but then it never actually launches the task from the task definition.
Does anyone have…
0
votes
1 answer
Setting IgnoredUID for AWS for AppMesh Envoy Sidecar in ECS
I'm configuring an ECS Task Definition to use AWS AppMesh for virtual networking. I'm using Envoy, which AWS recommends running as a sidecar; they have native support for it using the proxyConfiguration block in the ECS TaskDefinition configuration.…

Daniel Patrick
- 105
- 5
-2
votes
1 answer
Cost diff between manual docker on ec2 and ECS
I have two ways of running docker on AWS
Ec2 instance and manually installer docker there
use ECS
I tried using ECS and saw that it also defined many other services like vps, gateway subnet , cluster etc.
My Questions is what extra cost will be…

Karl
- 141
- 1
- 6