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
Unable to set up an Envoy Front Proxy on Amazon ECS
I am trying to set up an envoy front proxy using envoy sidecar containers on Amazon Elastic Container Service (ECS) referring to this link.
The envoy sidecar configuration is :
#service-envoy.yaml
static_resources:
listeners:
- address:
…

Ashish Sharma
- 233
- 1
- 9
0
votes
1 answer
AWS ECS service time period for checking and placing task in a container instance?
I scaled down my EC2 instance count to zero in ECS Container for testing purpose and task count mentioned in the ECS service is still 3 unchanged. Now i can see events happening in event tab, the service will try to place 3 task in containers and…

Sreeraju V
- 501
- 4
- 17
0
votes
2 answers
Network Load Balancer to Fargate/ECS Cluster - how to map multiple ports/target groups to one service?
Here is my setup:
Route53 Alias Record -> Network Load Balancer -> Fargate/ECS Cluster
The containers in the cluster have their own TLS certificates and have ports 80 and 443 open. The http server in the container sends a 302 redirect to port 443 if…

tunecrew
- 101
- 2
0
votes
2 answers
Is persisting data in Fargate containers recommended?
My application - a Postgres/Nginx/Django application powered by docker-compose. 3 separate containers.
My production setup - Nginx/Django containers hosted on Amazon ECR. Deployment to a single cluster/service on AWS Fargate.
My confusion - should…

user1787531
- 103
- 1
- 2
0
votes
1 answer
Error creating new cluster in AWS with ecs-cli
I'm running this command ecs-cli up --keypair aws-keypair-brickpile --capability-iam --size 1 --instance-type t3.medium --spot-price 0.02 with my default region eu-north-1 but it exits with this error. I can't figure out what the problem…

marcus
- 101
0
votes
1 answer
Can we make AWS ALB forward request from a single user to the same target always?
I'm new to AWS ALB and I have set up an AWS Application Load Balancer along with ECS cluster with 2 EC2 instances. The entire architecture works fine. But later I find that the API calls from a single user are going to different targets (EC2…

Neron Joseph
- 287
- 1
- 5
- 10
0
votes
1 answer
Gerrit ssh users on EC2/ECS
I'm trying to deploy gerrit code review to AWS and am running into problems with trying to ssh in once it's deployed. When I've created a new user, what does work is SSH tunneling in like
ssh -fNL 29418::29418 ec2-user@
then…

w125
- 101
- 1
0
votes
1 answer
Why do I get an "empty reply from server" from AWS ECS?
I have a web service in a Docker image to which I am trying to upload two files: a 6MB file and an 18MB file.
When running in my local Docker service, both files upload fine.
With the same image in ECS, only the 6MB file successfully…

ladenedge
- 146
- 1
- 10
0
votes
1 answer
Routing HTTP traffic to user specific Docker containers dynamically
I am attempting to architect a service which would run user specific java processes within Docker containers in AWS (ECS most likely). One java process per container per user. The only exception to this might be when spinning up a replacement…

Stimp
- 1
- 2
0
votes
1 answer
How do AWS ECS Task Definition updates work?
I have an ECS Service running a task definition. Whenever I push a new task definition out, I know there is some blue-green logic to drain the previous task before rerouting to the new task.
What happens if you push a new task definition but your…
0
votes
1 answer
AWS ECS: Service + autoscaling vs User Data launching Task
Trying to wrap my head around ECS using EC2 launch (not Fargate, at least for now).
Assume a single long-running task that I want to launch with every container instance. The intended mechanism for this appears to be a Service, which will launch as…

sq33G
- 121
- 6
0
votes
3 answers
AWS ECS Cannot start task
I am trying run a task definition I have in AWS ECS. I have a default cluster, and I've got a Container Instance launched on it, and I'm trying to run a task definition I've got on the instance. The task goes straight from PENDING status to STOPPED,…

Nick Rolando
- 123
- 2
- 7
0
votes
1 answer
Low req/s ratio on EC2 machine on PHP Hello World
I’m having a problem with AWS. Im using Elastic Container Service that is created as on link https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_container_instance.html
Instance type is t2.xlarge…

Ante Braovic
- 101
- 1
0
votes
0 answers
No network connection on Multiple docker container in Elastic Beanstalk
I'm trying to deploy a multiple docker container to Elastic Beanstalk. There is two containers, one for the supervisor+uwsgi+django application and one for the JavaScript frontend.
Using docker-compose it works fine locally
My docker-compose…

dfranca
- 135
- 8
0
votes
1 answer
How to set different destination ('region') of an aws cloudwatch logging agent inside a docker image?
Here is my dockerfile.
FROM 796678920264.dkr.ecr.us-west-1.amazonaws.com/myproject/base:latest
COPY /* /
RUN python awslogs-agent-setup.py --non-interactive -c /aws-log.myservice.cfg --region us-west-2
CMD ["/start.sh"]
I use the dockerfile…

Anthony Kong
- 3,288
- 11
- 57
- 96