Skip to content

Infracost reports that aws/eks-private-cluster would costs whopping $438/m for just control plane due to old 1.25 k8s version #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
telecomprofi opened this issue May 17, 2025 · 0 comments

Comments

@telecomprofi
Copy link

telecomprofi commented May 17, 2025

/aws/eks-private-cluster [main] $ infracost breakdown --path=.
INFO Autodetected 1 Terraform project across 1 root module
INFO Found Terraform project main at directory .

Project: main

 Name                                                  Monthly Qty  Unit   Monthly Cost

 aws_eks_cluster.k8squickstart-eks
 └─ EKS cluster (extended support)                             730  hours       $438.00

 aws_eks_node_group.worker-node-group
 ├─ Instance usage (Linux/UNIX, on-demand, t3.xlarge)          730  hours       $121.47
 └─ Storage (general purpose SSD, gp2)                          20  GB            $2.00

 OVERALL TOTAL                                                                 $561.47

*Usage costs can be estimated by updating Infracost Cloud settings, see docs for other options.

──────────────────────────────────
13 cloud resources were detected:
∙ 2 were estimated
∙ 11 were free

┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Project                                            ┃ Baseline cost ┃ Usage cost* ┃ Total cost ┃
┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━╋━━━━━━━━━━━━┫
┃ main                                               ┃          $561 ┃           - ┃       $561 ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━┻━━━━━━━━━━━━┛

comparing to the ./eks/ cluster that uses more recent 1.31

/aws/eks [main] $ infracost breakdown --path=.
INFO Autodetected 1 Terraform project across 1 root module
INFO Found Terraform project main at directory .

Project: main

 Name                                            Monthly Qty  Unit   Monthly Cost

 aws_eks_cluster.k8squickstart-eks
 └─ EKS cluster                                          730  hours        $73.00

 aws_eks_node_group.worker-node-group
 ├─ Instance usage (Linux/UNIX, spot, t3.small)        2,190  hours        $17.52
 └─ Storage (general purpose SSD, gp2)                    60  GB            $6.00

 OVERALL TOTAL                                                            $96.52

*Usage costs can be estimated by updating Infracost Cloud settings, see docs for other options.

──────────────────────────────────
13 cloud resources were detected:
∙ 2 were estimated
∙ 11 were free

┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Project                                            ┃ Baseline cost ┃ Usage cost* ┃ Total cost ┃
┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━╋━━━━━━━━━━━━┫
┃ main                                               ┃           $97 ┃           - ┃        $97 ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━┻━━━━━━━━━━━━┛

so that stack might benefit from adding k8s version variable or just hardcoding newer 1.31 one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant