Hello !
Thank you for your wonderful work !
Why do you want this feature?
If I run eksctl create cluster, I have no idea how much it will cost me. What I suggest is to have the possibility to estimate the cost before running any command. We all know that it's not possible to have an exact value, but we can have the minimum
What feature/behavior/change do you want?
for example
eksctl estimate --usage=hour --nodes-min=2 --nodes-max=3 --node-type=t3.small --node-volume-size=5 --auto-kubeconfig --region=eu-west-1 --version=1.11
Result:
Region EU (Ireland):
EKS Cluster: $0.20 per hour
EC2 t3.small: $0.0228 per instance per hour
EBS volume: $0,00 per hour
Total: $0,2228 minimum per hour
[..]
Thank you for dedicating your time and energy into reading the issue.
This sounds like an interesting feature, would you be willing to help?
Glad you liked it!
I am a beginner in Golang. But If you challenge me, I can create a PR next week ʕ•ᴥ•ʔ (based on CONTRIBUTING.md)
Perhaps you could start with a detailed proposal PR, and jot down how this
can be designed. What do you think?
On Tue, 29 Jan 2019, 7:18 pm Chabane R. <[email protected] wrote:
Glad you liked it!
I am a beginner in Golang. But If you challenge me, I can create a PR next
week ʕ•ᴥ•ʔ—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/weaveworks/eksctl/issues/474#issuecomment-458670584,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPWS_1XH9NIcxOLP-armlxXFzCsT0mIks5vIJ6FgaJpZM4aUrdN
.
You are right
The same idea as https://calculator.s3.amazonaws.com/index.html (+AWS TCO) but in automated manner. The estimation is limited to the pricing induced by a eksctl create/scale command + addons.
Services involved:
API Used:
New command:
eksctl estimate (or whatever you want) --usage-type --usage-value --free-tier --support
Parameters:
Usage:
--usage-type=demo --usage-value=3--usage-type=utilization --usage-value=100 (default)--usage-type=day --usage-value=24--usage-type=week --usage-value=--usage-type=month --usage-value=Free Tier:
--free-tier=noSupport
--support=basic+all existing eksctl create eksctl scale parameters.
We can also add a parameter --usecase. For example: eksctl estimate --usecase=free-website. And we detail the recommanded configuration. I'm having fun calling that Cost driven development 👍
Please feel free to correct or complete the design.
@Chabane this sounds excellent! Would you mind opening a PR (akin to #303), and we can collaborate there?
Good idea 👍 I'll do that
I'll open a PR basing on my fork https://github.com/Chabane/eksctl/blob/master/docs/proposal-003_cost-estimation.md
Please do! You will need to bump the number by one, as 003 was taken by #545.
PR #548
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.