Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Update node resources for new instance types #64

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

errm
Copy link
Owner

@errm errm commented Feb 9, 2020

No description provided.

@codecov
Copy link

codecov bot commented Feb 9, 2020

Codecov Report

Merging #64 into master will not change coverage by %.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #64   +/-   ##
=======================================
  Coverage   91.76%   91.76%           
=======================================
  Files           7        7           
  Lines         255      255           
=======================================
  Hits          234      234           
  Misses         13       13           
  Partials        8        8           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update efdbcd7...b41284f. Read the comment docs.

Copy link
Collaborator

@mtpereira mtpereira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feels weird that so many values are wrong. 🤔 Maybe my source is outdated. I couldn't find these numbers on the official docs though. 😞

@@ -29,7 +29,7 @@ var InstanceCores = map[string]int{
"c3.xlarge": 4,
"c3.2xlarge": 8,
"c3.4xlarge": 16,
"c3.8xlarge": 32,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that 32 is the correct number of cores: https://ec2instances.info/?selected=c3.8xlarge

@@ -43,13 +43,16 @@ var InstanceCores = map[string]int{
"c5.12xlarge": 48,
"c5.18xlarge": 72,
"c5.24xlarge": 96,
"c5.metal": 96,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -82,7 +85,7 @@ var InstanceCores = map[string]int{
"h1.4xlarge": 16,
"h1.8xlarge": 32,
"h1.16xlarge": 64,
"hs1.8xlarge": 17,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -430,7 +444,7 @@ var InstanceMemory = map[string]int{
"m5n.24xlarge": 393216,
"p2.xlarge": 62464,
"p2.8xlarge": 499712,
"p2.16xlarge": 786432,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@errm
Copy link
Owner Author

errm commented Feb 9, 2020

Feels weird that so many values are wrong. 🤔 Maybe my source is outdated. I couldn't find these numbers on the official docs though. 😞

yeah it's quite weird ... the API docs basically say it could be wrong... and the service pricing page is canonical ... so 🤷‍♂

https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/using-ppslong.html

I guess it might be better to get these numbers from somewhere else ...

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

Successfully merging this pull request may close these issues.

2 participants