Skip to content
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

improve cost efficiency for clusters-config #536

Open
enekofb opened this issue Oct 10, 2023 · 11 comments
Open

improve cost efficiency for clusters-config #536

enekofb opened this issue Oct 10, 2023 · 11 comments
Assignees

Comments

@enekofb
Copy link
Contributor

enekofb commented Oct 10, 2023

We are currently in about 3k month. this ticket to review and apply actions we could take to reduce costs.

@enekofb enekofb self-assigned this Oct 10, 2023
@enekofb
Copy link
Contributor Author

enekofb commented Oct 10, 2023

i guess that some very basic approach based on the factors in the picture:

Reduce kubernetes engine costs by:

  • delete unused clusters
  • merge used clusters

Reduce compute engine costs by:

  • downsize used clusters
  • schedule active hours for compute
  • delete unused instances or orphan

Networking:

  • identify paid networking flows
  • move them to free of charge or
  • delete the ones that we dont need

@enekofb
Copy link
Contributor Author

enekofb commented Oct 10, 2023

delete unused clusters

resources only in eu-north-1

Screenshot 2023-10-10 at 17 09 14

asked to clusters candidates to delete https://weaveworks.slack.com/archives/C045Z5FNHNE/p1696954046409449
but not many though
Screenshot 2023-10-10 at 17 10 47

@enekofb
Copy link
Contributor Author

enekofb commented Oct 10, 2023

merge used clusters

No clusters to merge

@enekofb
Copy link
Contributor Author

enekofb commented Oct 10, 2023

delete unused instances or orphan

we could see some -> deleting the ones without a cluster associated

Screenshot 2023-10-10 at 17 14 46

deleted

Screenshot 2023-10-10 at 17 16 55

@enekofb
Copy link
Contributor Author

enekofb commented Oct 10, 2023

Networking: delete the ones that we dont need
Seen elastics ips and natgateways ... sympthon of waste

Screenshot 2023-10-10 at 17 30 04

after clean up

Screenshot 2023-10-10 at 18 06 46

@enekofb
Copy link
Contributor Author

enekofb commented Oct 10, 2023

@morancj have just done a bunch of deletions that we should see impact in the next days ... however i cannot access to billing

Screenshot 2023-10-10 at 18 15 22

shout with the costs update when you see (tomorrow or after tomorrow)

@enekofb
Copy link
Contributor Author

enekofb commented Oct 11, 2023

Actions to do around Reduce compute engine costs by:

  • downsize used clusters -> reduce number of subnets to 2 for some availability
  • schedule active hours for compute -> set default schedule time

@morancj
Copy link
Member

morancj commented Oct 11, 2023

@morancj have just done a bunch of deletions that we should see impact in the next days ... however i cannot access to billing

Nor me with AdministratorAccess, likely the SCP´s in engineering_account.tf.

@morancj
Copy link
Member

morancj commented Oct 11, 2023

likely the SCP´s in engineering_account.tf.

Access should be fixed by https://github.com/weaveworks/corp-infra/pull/67. PTAL @enekofb and LMK if you now have access to:

@morancj
Copy link
Member

morancj commented Oct 11, 2023

Billing & Cost access confirmed fixed via Slack

@enekofb
Copy link
Contributor Author

enekofb commented Oct 12, 2023

Reduction of 2/3 -> no more actions just yet

Screenshot 2023-10-12 at 14 16 03

Next:

  • downsize used clusters -> 2 nodes
  • schedule active hours

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

2 participants