Skip to content

Instantly share code, notes, and snippets.

@bohford
Created June 28, 2015 21:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bohford/3f1250aff2acd3193ed2 to your computer and use it in GitHub Desktop.
Save bohford/3f1250aff2acd3193ed2 to your computer and use it in GitHub Desktop.
Add t2, m4, c4, d2 instances to Asgard config
customInstanceTypes = [
new InstanceTypeData(linuxOnDemandPrice: 5.520, hardwareProfile:
new HardwareProfile(instanceType: 'd2.8xlarge',
family: 'Storage Optimized', group: 'd2',
size: 'Octuple Extra Large', arch: '64-bit', vCpu: '36', ecu: '116',
mem: '244.0', storage: '24 x 2000', ebsOptim: 'Yes',
netPerf: '10 Gigabit'
)
),
new InstanceTypeData(linuxOnDemandPrice: 2.760, hardwareProfile:
new HardwareProfile(instanceType: 'd2.4xlarge',
family: 'Storage Optimized', group: 'd2',
size: 'Quadruple Extra Large', arch: '64-bit', vCpu: '16', ecu: '56',
mem: '122.0', storage: '12 x 2000', ebsOptim: 'Yes',
netPerf: 'High'
)
),
new InstanceTypeData(linuxOnDemandPrice: 1.380, hardwareProfile:
new HardwareProfile(instanceType: 'd2.2xlarge',
family: 'Storage Optimized', group: 'd2',
size: 'Double Extra Large', arch: '64-bit', vCpu: '8', ecu: '28',
mem: '61.0', storage: '6 x 2000', ebsOptim: 'Yes',
netPerf: 'High'
)
),
new InstanceTypeData(linuxOnDemandPrice: 0.690, hardwareProfile:
new HardwareProfile(instanceType: 'd2.xlarge',
family: 'Storage Optimized', group: 'd2',
size: 'Extra Large', arch: '64-bit', vCpu: '4', ecu: '14',
mem: '30.5', storage: '3 x 2000', ebsOptim: 'Yes',
netPerf: 'Moderate'
)
),
new InstanceTypeData(linuxOnDemandPrice: 1.763, hardwareProfile:
new HardwareProfile(instanceType: 'c4.8xlarge',
family: 'Compute Optimized', group: 'c4',
size: 'Octuple Extra Large', arch: '64-bit', vCpu: '36', ecu: '132',
mem: '60.00', storage: 'EBS only', ebsOptim: 'Yes',
netPerf: '10 Gigabit'
)
),
new InstanceTypeData(linuxOnDemandPrice: 0.882, hardwareProfile:
new HardwareProfile(instanceType: 'c4.4xlarge',
family: 'Compute Optimized', group: 'c4',
size: 'Quadruple Extra Large', arch: '64-bit', vCpu: '16', ecu: '62',
mem: '30.00', storage: 'EBS only', ebsOptim: 'Yes',
netPerf: 'High'
)
),
new InstanceTypeData(linuxOnDemandPrice: 0.441, hardwareProfile:
new HardwareProfile(instanceType: 'c4.2xlarge',
family: 'Compute Optimized', group: 'c4',
size: 'Double Extra Large', arch: '64-bit', vCpu: '8', ecu: '31',
mem: '15.00', storage: 'EBS only', ebsOptim: 'Yes',
netPerf: 'High'
)
),
new InstanceTypeData(linuxOnDemandPrice: 0.220, hardwareProfile:
new HardwareProfile(instanceType: 'c4.xlarge',
family: 'Compute Optimized', group: 'c4',
size: 'Extra Large', arch: '64-bit', vCpu: '4', ecu: '16',
mem: '7.50', storage: 'EBS only', ebsOptim: 'Yes',
netPerf: 'High'
)
),
new InstanceTypeData(linuxOnDemandPrice: 0.110, hardwareProfile:
new HardwareProfile(instanceType: 'c4.large',
family: 'Compute Optimized', group: 'c4',
size: 'Large', arch: '64-bit', vCpu: '2', ecu: '8',
mem: '3.75', storage: 'EBS only', ebsOptim: 'Yes',
netPerf: 'Medium'
)
),
new InstanceTypeData(linuxOnDemandPrice: 2.520, hardwareProfile:
new HardwareProfile(instanceType: 'm4.10xlarge',
family: 'General Purpose', group: 'm4',
size: 'Ten Extra Large', arch: '64-bit', vCpu: '40', ecu: '124.5',
mem: '160.00', storage: 'EBS only', ebsOptim: 'Yes',
netPerf: '10 Gigabit'
)
),
new InstanceTypeData(linuxOnDemandPrice: 1.008, hardwareProfile:
new HardwareProfile(instanceType: 'm4.4xlarge',
family: 'General Purpose', group: 'm4',
size: 'Quadruple Extra Large', arch: '64-bit', vCpu: '16', ecu: '53.5',
mem: '64.00', storage: 'EBS only', ebsOptim: 'Yes',
netPerf: 'High'
)
),
new InstanceTypeData(linuxOnDemandPrice: 0.504, hardwareProfile:
new HardwareProfile(instanceType: 'm4.2xlarge',
family: 'General Purpose', group: 'm4',
size: 'Double Extra Large', arch: '64-bit', vCpu: '8', ecu: '26',
mem: '32.00', storage: 'EBS only', ebsOptim: 'Yes',
netPerf: 'High'
)
),
new InstanceTypeData(linuxOnDemandPrice: 0.252, hardwareProfile:
new HardwareProfile(instanceType: 'm4.xlarge',
family: 'General Purpose', group: 'm4',
size: 'Extra Large', arch: '64-bit', vCpu: '4', ecu: '13',
mem: '16.00', storage: 'EBS only', ebsOptim: 'Yes',
netPerf: 'High'
)
),
new InstanceTypeData(linuxOnDemandPrice: 0.126, hardwareProfile:
new HardwareProfile(instanceType: 'm4.large',
family: 'General Purpose', group: 'm4',
size: 'Large', arch: '64-bit', vCpu: '2', ecu: '6.5',
mem: '8.00', storage: 'EBS only', ebsOptim: 'Yes',
netPerf: 'Moderate'
)
),
new InstanceTypeData(linuxOnDemandPrice: 0.104, hardwareProfile:
new HardwareProfile(instanceType: 't2.large',
family: 'General Purpose', group: 't2',
size: 'Large', arch: '64-bit', vCpu: '2', ecu: '?',
mem: '8.00', storage: 'EBS only', ebsOptim: '-',
netPerf: 'Low'
)
),
new InstanceTypeData(linuxOnDemandPrice: 0.052, hardwareProfile:
new HardwareProfile(instanceType: 't2.medium',
family: 'General Purpose', group: 't2',
size: 'Medium', arch: '64-bit', vCpu: '2', ecu: '?',
mem: '4.00', storage: 'EBS only', ebsOptim: '-',
netPerf: 'Low'
)
),
new InstanceTypeData(linuxOnDemandPrice: 0.026, hardwareProfile:
new HardwareProfile(instanceType: 't2.small',
family: 'General Purpose', group: 't2',
size: 'Small', arch: '64-bit', vCpu: '1', ecu: '?',
mem: '2.00', storage: 'EBS only', ebsOptim: '-',
netPerf: 'Low'
)
),
new InstanceTypeData(linuxOnDemandPrice: 0.013, hardwareProfile:
new HardwareProfile(instanceType: 't2.micro',
family: 'General Purpose', group: 't2',
size: 'Micro', arch: '64-bit', vCpu: '1', ecu: '?',
mem: '1.00', storage: 'EBS only', ebsOptim: '-',
netPerf: 'Low'
)
)
]
@rossettistone
Copy link

Thanks for this! Looking forward to when this actually makes it into the next version of Asgard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment