Skip to content

can not find codes in ECS

0

Fragate is billing in east-region-2 but ECS, Lambda, ECR, and App Runner do not show any visible services, images or cluster.

asked 10 months ago62 views
2 Answers
0

It sounds like you're experiencing a situation where you're being billed for AWS Fargate in the US East (Ohio) region (us-east-2), but you can't find any corresponding ECS resources like clusters, services, or tasks.

This could happen for a few reasons:

  1. Region mismatch: You might be looking in a different AWS region than where your resources are deployed. Make sure you're checking the US East (Ohio) region specifically in the AWS console.

  2. Hidden resources: ECS tasks that have completed or failed may not be visible in the default console view, but could still have generated charges.

  3. Task definition usage: Even if you don't see active clusters, there might be task definitions that were used by Fargate tasks. You can check which task definitions are in use by examining the list of task definitions in the ECS console.

  4. Deployment failures: If you had failed deployments, the resources might not be visible but could have generated charges. Failed deployments can occur due to issues like container image pull failures, networking problems, or insufficient permissions.

To troubleshoot:

  1. Verify you're in the correct region (us-east-2) when checking the ECS console.

  2. Check CloudWatch Logs for any ECS-related log groups that might indicate activity.

  3. Review your AWS Cost Explorer or billing details to see exactly what Fargate resources you're being charged for.

  4. Look for stopped tasks or services that might have run briefly.

  5. Check if there are any VPC endpoints for ECS, ECR, or related services that might indicate where your Fargate tasks were running.

If you still can't locate the resources, you might want to contact AWS Support for help identifying the specific Fargate resources generating charges in your account.
Sources
Check whether ECS uses a task definiton | AWS re:Post
Supported Regions for Amazon ECS on AWS Fargate - Amazon Elastic Container Service

answered 10 months ago
0

Do you have a single account or is this account part of an AWS Organisation. if it is part of AWS Organisation, then it's possible that the Fargate and related service are actually deployed in a different account. The easiest way to find this is via Cost Explorer - search for ECS service and filter by AWS account.

EXPERT
answered 10 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.