All Products
Search
Document Center

Elastic Compute Service:CPU options for general-purpose instance families

Last Updated:Apr 21, 2026

View valid physical CPU core counts and threads-per-core values for general-purpose instance families to customize vCPU allocation.

g9i instance types

Instance type

Default number of vCPUs

Valid values for the number of physical CPU cores

Default number of threads per core

Valid values for the number of threads per core

ecs.g9i.large

2

1

2

1 and 2

ecs.g9i.xlarge

4

2

2

1 and 2

ecs.g9i.2xlarge

8

2 and 4

2

1 and 2

ecs.g9i.3xlarge

12

2, 4, and 6

2

1 and 2

ecs.g9i.4xlarge

16

2, 4, 6, and 8

2

1 and 2

ecs.g9i.6xlarge

24

2, 4, 6, 8, 10, and 12

2

1 and 2

ecs.g9i.8xlarge

32

2, 4, 6, 8, 10, 12, 14, and 16

2

1 and 2

ecs.g9i.12xlarge

48

2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, and 24

2

1 and 2

ecs.g9i.16xlarge

64

2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, and 32

2

1 and 2

ecs.g9i.24xlarge

96

2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, and 48

2

1 and 2

ecs.g9i.32xlarge

128

2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, and 64

2

1 and 2

ecs.g9i.48xlarge

192

2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, and 96

2

1 and 2

g8a instance types

Instance type

Default number of vCPUs

Valid values for the number of physical CPU cores

Default number of threads per core

Valid values for the number of threads per core

ecs.g8a.large

2

1

2

1 and 2

ecs.g8a.xlarge

4

2

2

1 and 2

ecs.g8a.2xlarge

8

2 and 4

2

1 and 2

ecs.g8a.4xlarge

16

2, 4, 6, and 8

2

1 and 2

ecs.g8a.8xlarge

32

2, 4, 6, 8, 10, 12, 14, and 16

2

1 and 2

ecs.g8a.12xlarge

48

2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, and 24

2

1 and 2

ecs.g8a.16xlarge

64

2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, and 32

2

1 and 2

ecs.g8a.24xlarge

96

2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, and 48

2

1 and 2

ecs.g8a.32xlarge

128

2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, and 64

2

1 and 2

ecs.g8a.48xlarge

192

2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, and 96

2

1 and 2

g8ae instance types

Instance type

Default number of vCPUs

Valid values for the number of physical CPU cores

Default number of threads per core

Valid values for the number of threads per core

ecs.g8ae.large

2

1

2

1 and 2

ecs.g8ae.xlarge

4

2

2

1 and 2

ecs.g8ae.2xlarge

8

2 and 4

2

1 and 2

ecs.g8ae.4xlarge

16

2, 4, 6, and 8

2

1 and 2

ecs.g8ae.8xlarge

32

2, 4, 6, 8, 10, 12, 14, and 16

2

1 and 2

ecs.g8ae.16xlarge

64

2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, and 32

2

1 and 2

ecs.g8ae.32xlarge

128

2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, and 64

2

1 and 2

g8i instance types

Instance type

Default number of vCPUs

Valid values for the number of physical CPU cores

Default number of threads per core

Valid values for the number of threads per core

ecs.g8i.large

2

1

2

1 and 2

ecs.g8i.xlarge

4

2

2

1 and 2

ecs.g8i.2xlarge

8

2 and 4

2

1 and 2

ecs.g8i.3xlarge

12

2, 4, and 6

2

1 and 2

ecs.g8i.4xlarge

16

2, 4, 6, and 8

2

1 and 2

ecs.g8i.6xlarge

24

2, 4, 6, 8, 10, and 12

2

1 and 2

ecs.g8i.8xlarge

32

2, 4, 6, 8, 10, 12, 14, and 16

2

1 and 2

ecs.g8i.12xlarge

48

2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, and 24

2

1 and 2

ecs.g8i.16xlarge

64

2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, and 32

2

1 and 2

ecs.g8i.24xlarge

96

2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, and 48

2

1 and 2

ecs.g8i.48xlarge

192

2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, and 64

2

1 and 2

g7a instance types

Instance type

Default number of vCPUs

Valid values for the number of physical CPU cores

Default number of threads per core

Valid values for the number of threads per core

ecs.g7a.large

2

1

2

1 and 2

ecs.g7a.xlarge

4

2

2

1 and 2

ecs.g7a.2xlarge

8

2 and 4

2

1 and 2

ecs.g7a.4xlarge

16

2, 4, 6, and 8

2

1 and 2

ecs.g7a.8xlarge

32

2, 4, 6, 8, 10, 12, 14, and 16

2

1 and 2

ecs.g7a.16xlarge

64

2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, and 32

2

1 and 2

ecs.g7a.32xlarge

128

2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, and 64

2

1 and 2

g7 instance types

Instance type

Default number of vCPUs

Valid values for the number of physical CPU cores

Default number of threads per core

Valid values for the number of threads per core

ecs.g7.large

2

1

2

1 and 2

ecs.g7.xlarge

4

2

2

1 and 2

ecs.g7.2xlarge

8

2 and 4

2

1 and 2

ecs.g7.3xlarge

12

2, 4, and 6

2

1 and 2

ecs.g7.4xlarge

16

2, 4, 6, and 8

2

1 and 2

ecs.g7.6xlarge

24

2, 4, 6, 8, 10, and 12

2

1 and 2

ecs.g7.8xlarge

32

2, 4, 6, 8, 10, 12, 14, and 16

2

1 and 2

ecs.g7.16xlarge

64

2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, and 32

2

1 and 2

ecs.g7.32xlarge

128

2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, and 64

2

1 and 2

g6a instance types

Instance type

Default number of vCPUs

Valid values for the number of physical CPU cores

Default number of threads per core

Valid values for the number of threads per core

ecs.g6a.large

2

1

2

1 and 2

ecs.g6a.xlarge

4

2

2

1 and 2

ecs.g6a.2xlarge

8

2 and 4

2

1 and 2

ecs.g6a.4xlarge

16

2, 4, 6, and 8

2

1 and 2

ecs.g6a.8xlarge

32

2, 4, 6, 8, 10, 12, 14, and 16

2

1 and 2

ecs.g6a.16xlarge

64

2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, and 32

2

1 and 2

ecs.g6a.32xlarge

128

2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, and 64

2

1 and 2

g6 instance types

Instance type

Default number of vCPUs

Valid values for the number of physical CPU cores

Default number of threads per core

Valid values for the number of threads per core

ecs.g6.large

2

1

2

1 and 2

ecs.g6.xlarge

4

2

2

1 and 2

ecs.g6.2xlarge

8

2 and 4

2

1 and 2

ecs.g6.3xlarge

12

2, 4, and 6

2

1 and 2

ecs.g6.4xlarge

16

2, 4, 6, and 8

2

1 and 2

ecs.g6.6xlarge

24

2, 4, 6, 8, 10, and 12

2

1 and 2

ecs.g6.8xlarge

32

2, 4, 6, 8, 10, 12, 14, and 16

2

1 and 2

ecs.g6.13xlarge

52

2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, and 26

2

1 and 2

ecs.g6.26xlarge

104

2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, and 52

2

1 and 2

References

  • Change CPU options for an instance type based on the valid physical CPU core counts and threads-per-core values listed in this topic.

  • Hyper-threading (HT) runs two threads on a single physical CPU core as vCPUs. To use only physical cores, disable HT when specifying CPU options.