Accenture / adop-doa-materials

Collection of cartridges and platform extensions to be used on ADOP for the purposes of DevOps Academy
Apache License 2.0
48 stars 90 forks source link

Update EC2 Instance type to m5.xlarge #41

Open uptownaravi opened 6 years ago

uptownaravi commented 6 years ago

Issue to update instance type in https://github.com/Accenture/adop-doa-materials/blob/master/Standing_Up_Tools/doa_stack.json

New M5 instances have faster performance at reduced cost.

Below Blog has more details on the same. https://aws.amazon.com/ec2/instance-types/m5

M5 instances are powered by 2.5 GHz Intel Xeon Scalable processors, and deliver up to 14% improvement in price/performance compared to M4 instances.

Pricing for N.Virginia comparision m5.xlarge | 4 | 16 | 16 GiB | EBS Only | $0.192 per Hour m4.xlarge | 4 | 13 | 16 GiB | EBS Only | $0.20 per Hour

dsingh07 commented 6 years ago

Hi @uptownaravi Thanks for raising the issue!

Would it be possible for you to make a PR for this change to this file? https://github.com/Accenture/adop-doa-materials/blob/master/Standing_Up_Tools/doa_stack.json#L116

Thanks!

uptownaravi commented 6 years ago

Hi @dsingh07

Had tested with m5.xlarge but there is failure in cloudformation saying the AMI is not ENA enabled

Enhanced networking with the Elastic Network Adapter (ENA) is required for the 'm5.xlarge' instance type. Ensure that you are using an AMI that is enabled for ENA.

This needs to be fixed a AMI level as per blog https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enhanced-networking-ena.html

dsingh07 commented 6 years ago

Hi @uptownaravi

Is it possible to find the latest equivalent of our Centos 7 AMIs that we currently have which may support enhanced networking? If that works, we can include that in the PR.