DEV Community

Karthik Sakthivel
Karthik Sakthivel

Posted on

Amazon EC2 now supports to Optimize CPUs post instance launch

What's new at AWS ๐Ÿ“ข

โ™€๏ธ #AmazonEC2 now supports to Optimize CPUs post instance launch

โ™€๏ธ With this feature customer can modify the number of vCPUs and/or disable the hyperthreading of a stopped EC2 instance to save on vCPU-based licensing costs.

โ™€๏ธ In addition to that, an instanceโ€™s CPU options are now maintained when changing its instance type.

โ™€๏ธ This feature allows customers to disable hyperthreading and reduce the number of vCPUs on an instance, resulting in a high memory to vCPU ratio helping customers save the vCPU-based licensing costs.

โ™€๏ธ This is particularly beneficial to customers who use BYOL for commercial database workloads, like Microsoft SQL Server.

โ™€๏ธ Amazon EC2 instances support simultaneous multithreading (SMT), which enables multiple threads to run concurrently on a single CPU core

โ™€๏ธ CPU options for Amazon EC2 instances:
1๏ธโƒฃ Number of CPU cores:
๐Ÿ”ฐ This option is suitable to customize the number of CPU cores for the instance to optimize licensing cost.
2๏ธโƒฃ Threads per core:
๐Ÿ”ฐ This option is suitable to disable SMT by specifying a single thread per CPU core.

โ™€๏ธ Rules for specifying CPU options:
๐Ÿ”ฐ Can't specify CPU options for bare metal instances.
๐Ÿ”ฐ Must specify both the no. of CPU cores and threads per core in the request.

โ™€๏ธ Key note for pricing:
๐Ÿ”ฐ There is no additional or reduced pricing for specifying CPU options.
๐Ÿ”ฐ Charged the same as instances that are launched with the default CPU options.

๐Ÿ“Œ Explore more about support EC2 Instance types:
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/cpu-options-supported-instances-values.html

๐Ÿ“Œ Explore more about CPU modification:
https://aws.amazon.com/blogs/compute/expanding-your-ec2-possibilities-by-utilizing-the-cpu-launch-options/

Top comments (0)