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
5,418
questions
0
votes
1
answer
26
views
How to add --init parameter to AWS ECS Task
I have a Docker image that uses Playwright and xvfb. When I run it locally, I run docker run --init -it <image_id> (per this SO answer). Without the --init param, the container will run but will ...
0
votes
0
answers
8
views
Langchain function get_relevant_documents stops ECS Task Container
I have an application based on Langchain retriever and sometimes my ECS task stops giving an unhealthy check without any logs or errors, so I put some logs on my code and it stops right on calling ...
0
votes
0
answers
14
views
No instances created on cluster (even though min capacity=1)
I am trying to create a ECS cluster (fib-cluster-10) with min 1 instance, using the following settings under "infrastructure":
the ecsInstanceRole has the following policy JSON:
{
"...
0
votes
0
answers
17
views
After upgrading to Java 21 AWS ECS fargate tasks are shutting after a while
We have java application running on AWS ecs fargate on java 11 .
Now we have updated the java version to java 21 and updated the spring boot depedency version accordingly to 2.7.31 .
After deploying ...
1
vote
1
answer
19
views
Running NodeJS service in AWS Fargate
Currently I'm trying to convert a Lambda based service with AWS Api Gateway+Lambda to a dockerized version running in Fargate and now I'm struggle about how I handle AWS permissions. For the lambda I ...
0
votes
0
answers
27
views
AWS ECS with Django + Python + Alpine produce Segmentation Fault
we are currently having trouble with Alpine Linux, since the Update to Version>=17.
It seems that since alpine17 the openssl library in alpine was updated to openssl3.
The problem is that we have ...
0
votes
1
answer
19
views
AWS CLI: Authenticating Docker CLI to default registry
I am trying to upload an image using ECR, to do so I am following these steps.
But when doing so, I get this error message:
.Password was unexpected at this time.
Is there another command that can be ...
1
vote
1
answer
11
views
Amazon ECS service deployment state change events is not created nor sent to event bridge
When i deploy ecs service none of the Amazon ECS service deployment state change events are called
event bridge does not receive any events for this rule:
{ "source": [ "aws.ecs" ],...
0
votes
0
answers
20
views
Error Code 137 while using Elasticache Redis with ECS Fargate
I am running containers on ECS Fargate and everything is working as expected but there is one issue. When I have this redis code running in my server side, the server container is failing to reach a ...
1
vote
0
answers
15
views
Aws run lambda when task is healthy
I want my lambda to run once when the ecs task becomes healthy (the essential container becomes healthy). In my lambda i need to get the essential container ip and port and send a request to it, after ...
1
vote
1
answer
18
views
ECS Container Health Checks Failing
I'm having trouble with the container healthchecks in my ECS deployment.
I have a NextJS application with a /health route that returns an HTTP 200 response with some JSON. It works as expected locally ...
0
votes
1
answer
37
views
AWS ECS SpringBoot API with RDS PostgreSQL - all tables dissapear 3-4 minutes AFTER a succesful start up
MY ECS task connects over RDS's DB endpoint. I even ran my container locally to the RDS PostgreSQL DB and it worked without a problem.
As you can see all the tables are properly created an populated ...
0
votes
0
answers
15
views
Add links between traces via AWS XRay API (or SDK)
Context
We have an application composed of many Lambda functions connected via EventBridge and X-Ray has worked great so far. Recently, we added an ECS Fargate container running on NodeJS which is ...
0
votes
0
answers
12
views
Artifactory OSS error: Checksum input stream calculator does not support mark
I am attempting to setup artifactory in ECS using a dockerfile.
Version: Open source license 7.9.2 rev 70902900 undefined
I have it up and running, I created a generic repo through the ui.
As a test I ...
-1
votes
0
answers
23
views
Insufficient GPU resource available
When attempting to launch a Task via Service, I keep getting the following error:
During cluster create, I used a1.medium (arm64 - since I built the image locally on my mac M2 which is arm64)...
I ...