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)