Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Rules for specifying CPU options for an Amazon EC2 instance

Focus mode
Rules for specifying CPU options for an Amazon EC2 instance - Amazon Elastic Compute Cloud

To specify the CPU options for your instance, be aware of the following rules:

  • You can't specify CPU options for bare metal instances.

  • You can specify CPU options both during and after instance launch.

  • To configure CPU options, you must specify both the number of CPU cores and threads per core in the request. For example requests, see Specify CPU options for an Amazon EC2 instance.

  • The number of vCPUs for the instance is the number of CPU cores multiplied by the threads per core. To specify a custom number of vCPUs, you must specify a valid number of CPU cores and threads per core for the instance type. You cannot exceed the default number of vCPUs for the instance. For more information, see Supported CPU options for Amazon EC2 instance types.

  • To disable simultaneous multithreading (SMT), also referred to as hyper-threading, specify one thread per core.

  • In the console, when you change the instance type of an existing instance, Amazon EC2 applies the CPU option settings from the existing instance to the new instance, if possible. If the new instance type doesn't support those settings, the CPU options are reset to None. This option uses the default number of vCPUs for the new instance type.

    To update settings for the new instance, select Specify CPU options under Advanced details in the Change instance type view.

  • The specified CPU options persist after you stop, start, or reboot an instance.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.