Skip to main content
0 votes
1 answer
17 views

Insufficient data for cloudwatch alarm to detect running task count less than desired task count

I have the following terraform to configure a cloudwatch alert, which should trigger if the desired count of an ecs task is greater than the running count: resource "aws_cloudwatch_metric_alarm&...
Jordan Mackie's user avatar
0 votes
0 answers
24 views

AWS application load balancer and socket.io not working as intended

So I have an application load balancer which routes requests to my application ECS tasks. Basically the load balancer listens on port 80 and 443 and route the requests to my application port (5050). ...
Otunba's user avatar
  • 1
2 votes
0 answers
28 views

ECS CapacityProviderReservation Triggers Unnecessary EC2 Instance Launch in ASG Despite Low Task Load

I'm currently experiencing an issue where my Auto Scaling Group (ASG) is launching a second EC2 instance automatically, even though only one task is running, and CPU consumption is low. I need help ...
Hafsa tata's user avatar
0 votes
1 answer
47 views

The SFTP server connection fails from the Lambda function, while it works without issues from the ECS instance [ssh2-sftp-client]

Node: 16 ssh2-sftp-client: 9 Connecting using username&password Sample code const Client = require('ssh2-sftp-client'); module.exports = class SFTPClient { #sftpClient; constructor() { ...
Abdulla Al Mamun's user avatar
0 votes
0 answers
23 views

When pushing to ECS, Docker image errors out with module not found error

I am trying to get a a Docker image hosted on on AWS ECS. I am able to have a successful local build where the image is able to run without any issues. When I upload the image to ECS I keep getting ...
Zubair Amjad's user avatar
1 vote
1 answer
27 views

How can I get list of files from directory in ECS Fargate container

Ive tried everything I have seen online on how to make this happen. Basically I need to get a list of files from a specific directory on the container, everything Ive seen tells me I can do this with ...
zaidabuhijleh's user avatar
0 votes
0 answers
14 views

Export logs to S3 via AWS FireLens on AWS ECS without metadata and JSON format

Export logs to Amazon S3 using AWS FireLens on AWS ECS, ensuring that the logs are in plain text format without any JSON structure or additional metadata fields. These are my settings. 1,task define. {...
user7472559's user avatar
-2 votes
0 answers
35 views

How to Determine Optimal CPU and Memory for ECS Fargate Tasks Based on Parquet File Size

I'm running an ECS Fargate task in AWS that processes Parquet files from S3 using the Polars library in Python. My goal is to dynamically adjust CPU and memory allocation based on file size to avoid ...
Narendra Kamatham's user avatar
0 votes
1 answer
32 views

AWS LoadBalancer + TargetGroup cannot access Spring Boot App in ECS

Not sure where I am going wrong: Loadbalancer LoadBalancer has a listener on HTTPS / 443 And Forwards to a Target Group Target Group Target Group has protocol HTTP / 80 configured ECS ECS has Spring ...
Sachin's user avatar
  • 423
0 votes
1 answer
59 views

Use secret when defining task definition with AWS CDK

Is it possible to inject secrets into environment variables when building ECS containers using SecretString from SSM? I would like to do something like: taskDefinition.addContainer(`${id}-etcd`, { ...
0xBradock's user avatar
  • 287
0 votes
1 answer
61 views

Aspnet:8.0 Docker Image does not listen on port 8081 when deployed to Amazon ECS

We have a simple web project built using .Net 8.0 and using Docker. We have made no changes to the default Dockerfile that Visual Studio created FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base USER ...
Steve Borman's user avatar
0 votes
1 answer
34 views

How to create an aws event rule that listens on a server health check?

I want to listen on when my server is up to trigger an application. For the moment I'm simply testing to see if I can log an output as soon as my server is up. This is my task definition health check {...
chassy Dave's user avatar
1 vote
0 answers
54 views

Why Is S3 Traffic Routing Through NAT Gateway Despite S3 Gateway Endpoint?

Despite configuring both S3 Gateway and ECR Interface Endpoints in my AWS VPC to reduce NAT Gateway costs. I’m still seeing large amounts of traffic from S3 public IP addresses going through the NAT ...
Danny S's user avatar
  • 413
1 vote
1 answer
47 views

ECS nightly scale in of fargate services

To save on fargate costs I wanted to scale down our dev environment consisting of around 100 ECS services overnight and on weekends. I've setup auto scaling via Terraform to achieve this as so: ...
Omiron's user avatar
  • 375
0 votes
0 answers
53 views

How to correctly redirect logs from ECS fargate to fluentbit?

I have an ECS container with the following tasks: an application, the OpenTelemetry Collector, and Fluent Bit. I'm facing an issue with the application logs, which are currently being recorded as ...
onev's user avatar
  • 63

15 30 50 per page
1
2 3 4 5
366