High network bandwidth usage by eks fargate

0

We have an EKS cluster and we are deploying cronjobs using fargate. The cronjobs runs every 15 minutes. My NAT gateway costs skyrocketed because every 15 minutes it was an amount of 1GB BytesOutToSource. Previously we had this cronjobs running in EC2 instances and never used this amount of internet. What could be causing this? For example, I would think that downloading the image from ECR has no costs (They are even in the same region)

1回答
0
承認された回答

Hello.

If you are using Fargate, pulling the container image in ECR will require communication to the NAT Gateway, which should increase costs.
The blog below is for ECS, but I believe the same situation will occur even for EKS.
https://andrew-larse514.medium.com/aws-nat-gateway-ecr-cost-gotcha-a0865d0edd4
https://pierreraffa.medium.com/cost-reduction-using-ecr-vpc-endpoints-ff87316f36a8

profile picture
エキスパート
回答済み 5ヶ月前
profile picture
エキスパート
レビュー済み 2ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ