Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [amazon-ecs]

Amazon Elastic Container Service (ECS) is a highly scalable, high performance container management service that supports Docker containers and allows you to easily run distributed applications on a managed cluster of Amazon EC2 instances.

amazon-ecs
0 votes
1 answer
24 views

AWS ECS auto scale up causing temporary ALB 504 timeouts

we have a service which is a ECS + EC2 setup. With the ECS, we configured service auto scaling. We noticed when auto scaling policy trying to scale up more tasks, we sometimes see transient 504 ...
Erin's user avatar
  • 11
0 votes
0 answers
13 views

My ECS task mapped with portMapping = 9200 but the application end point is running only in port 8080

I am fairly new to AWS and docker. What I have done is -- I have created a sample spring-boot get endpoint Created a docker image from it and pushed the same to DockerHub Created an ECS cluster and ...
akash89's user avatar
  • 891
0 votes
0 answers
26 views

How do I hot switch images in my AWS Task Definition now that there is 'ECS software version consistency'?

Background: I run a large number of ECS Fargate services via Cloudformation. There are 3 Cloudformation stacks for our different environments (Dev, Staging, Prod). In prod and staging, we follow the ...
Drew Aschenbrener's user avatar
0 votes
0 answers
15 views

ECS container instance metrics in CloudWatch

In AWS ECS I have a cluster called demo-cluster which contains 2 services test-service-1 and test-service-2. Inside test-service-1 there are 4 tasks running task1, task2, task3 and task4. Inside task1 ...
Jiya Arora's user avatar
0 votes
0 answers
22 views

ECS Fargate Tasks Stopping Randomly and Concurrently

I am experiencing an issue with one of my services where the health check response time becomes problematic after a period of operation. Initially, when I start the service, it responds correctly and ...
sheetal shevalkar's user avatar
0 votes
1 answer
20 views

Terraform cloudwatch_log_group_retention_in_days in ECS module doesn't work for CloudWatch retention setup

Target: Set the retention of CloudWatch Group to 7 days Problem: I'm using the terraform-aws-modules/ecs and the service submodule. When I set up the retention of cloudwatch log group with setting ...
Chris Kao's user avatar
  • 478
0 votes
0 answers
15 views

How configure nginx.conf with AWS ECS Service connect(each services on same cluster)?

In my cluster, I have two services: one for nginx and one for the Next.js client. The Next.js service is on a private subnet, while the nginx service is on a public subnet. In the AWS console, I ...
taste kim's user avatar
0 votes
0 answers
22 views

Failed to send SQS message for ECS container without any error description

I have code running inside ECS container, with the following code to send SQS message: import { SQSClient, SendMessageCommand } from "@aws-sdk/client-sqs"; import { MAX_ATTEMPTS } from &...
Tal Rofe's user avatar
0 votes
0 answers
14 views

ECS task creating non ephemeral port mapping on ALB

I got a setup where my ECS service is using a target group. The same target group is also used by an ALB. The ECS task definition is configured to use Bridge networkmode. When the ecs service starts ...
Kevin Alexander's user avatar
0 votes
0 answers
15 views

API Gateway POST Request is not getting request body

I have an ECS Fargate task written in Java. Within, I'm trying to make a POST request to an API Gateway endpoint. API Gateway logs show me that it is receiving the request but it shows an empty ...
10110's user avatar
  • 2,575
0 votes
0 answers
15 views

AWS Fargate caching ECR tags?

I use the "latest" tag when pushing an image to ECR. I stop the task in the UI, expecting that when the Task is automatically restarted by Fargate that this "latest" image will be ...
Dan's user avatar
  • 880
0 votes
1 answer
14 views

Aws code deploy when deployment is considered successful for ecs fargate

I wonder when when deployment is considered successful for ecs fargate. I use code deploy events with my lambda, i receive event on successful deploy. I could not find any information about the ...
Rofler's user avatar
  • 25
1 vote
0 answers
27 views

How to connect lambda job with event bridge to trigger an ecs task?

How to connect lambda job with event bridge to trigger an ecs task? I am not sure whether there is a direct integration and if so how to add input and credentials? I have check the aws docs but I am ...
Israel Anonymous's user avatar
0 votes
1 answer
17 views

How can I know if an AWS ECS service is idle?

Is there an easy way to know if an ECS service is idle? We have a good number of legacy ECS services running in AWS that use almost 0 cpu/memory.
Edgar Peixoto's user avatar
0 votes
1 answer
25 views

Instances scaling (by ASG) but no new tasks being created

I have created an ECS cluster, and deployed a 2-container task using a Service (during Service create I associate the Application Load Balancer - using target group of type IP - to it), this works ...
gvanto's user avatar
  • 2,042

15 30 50 per page
1
2 3 4 5
363