InstanceClass
- class aws_cdk.aws_ec2.InstanceClass(value)
Bases:
Enum
What class and generation of instance to use.
We have both symbolic and concrete enums for every type.
The first are for people that want to specify by purpose, the second one are for people who already know exactly what ‘R4’ means.
- ExampleMetadata:
infused
Example:
# vpc: ec2.Vpc # source_instance: rds.DatabaseInstance rds.DatabaseInstanceFromSnapshot(self, "Instance", snapshot_identifier="my-snapshot", engine=rds.DatabaseInstanceEngine.postgres(version=rds.PostgresEngineVersion.VER_12_3), # optional, defaults to m5.large instance_type=ec2.InstanceType.of(ec2.InstanceClass.BURSTABLE2, ec2.InstanceSize.LARGE), vpc=vpc ) rds.DatabaseInstanceReadReplica(self, "ReadReplica", source_database_instance=source_instance, instance_type=ec2.InstanceType.of(ec2.InstanceClass.BURSTABLE2, ec2.InstanceSize.LARGE), vpc=vpc )
Attributes
- A1
Arm processor based instances, 1st generation.
- ARM1
Arm processor based instances, 1st generation.
- BURSTABLE2
Burstable instances, 2nd generation.
- BURSTABLE3
Burstable instances, 3rd generation.
- BURSTABLE3_AMD
Burstable instances based on AMD EPYC, 3rd generation.
- BURSTABLE4_GRAVITON
Burstable instances, 4th generation with Graviton2 processors.
- C3
Compute optimized instances, 3rd generation.
- C4
Compute optimized instances, 4th generation.
- C5
Compute optimized instances, 5th generation.
- C5A
Compute optimized instances based on AMD EPYC, 5th generation.
- C5AD
Compute optimized instances with local NVME drive based on AMD EPYC, 5th generation.
- C5D
Compute optimized instances with local NVME drive, 5th generation.
- C5N
Compute optimized instances for high performance computing, 5th generation.
- C6A
Compute optimized instances based on AMD EPYC (codename Milan), 6th generation.
- C6G
Compute optimized instances for high performance computing, 6th generation with Graviton2 processors.
- C6GD
Compute optimized instances for high performance computing, 6th generation with Graviton2 processors and local NVME drive.
- C6GN
Compute optimized instances for high performance computing, 6th generation with Graviton2 processors and high network bandwidth capabilities.
- C6I
Compute optimized instances, 6th generation.
- COMPUTE3
Compute optimized instances, 3rd generation.
- COMPUTE4
Compute optimized instances, 4th generation.
- COMPUTE5
Compute optimized instances, 5th generation.
- COMPUTE5_AMD
Compute optimized instances based on AMD EPYC, 5th generation.
- COMPUTE5_AMD_NVME_DRIVE
Compute optimized instances with local NVME drive based on AMD EPYC, 5th generation.
- COMPUTE5_HIGH_PERFORMANCE
Compute optimized instances for high performance computing, 5th generation.
- COMPUTE5_NVME_DRIVE
Compute optimized instances with local NVME drive, 5th generation.
- COMPUTE6_AMD
Compute optimized instances based on AMD EPYC (codename Milan), 6th generation.
- COMPUTE6_GRAVITON2
Compute optimized instances for high performance computing, 6th generation with Graviton2 processors.
- COMPUTE6_GRAVITON2_HIGH_NETWORK_BANDWIDTH
Compute optimized instances for high performance computing, 6th generation with Graviton2 processors and high network bandwidth capabilities.
- COMPUTE6_GRAVITON2_HIGH_NETWORK_BANDWITH
Compute optimized instances for high performance computing, 6th generation with Graviton2 processors and high network bandwidth capabilities.
- COMPUTE6_GRAVITON2_NVME_DRIVE
Compute optimized instances for high performance computing, 6th generation with Graviton2 processors and local NVME drive.
- COMPUTE6_INTEL
Compute optimized instances, 6th generation.
- D2
Storage-optimized instances, 2nd generation.
- D3
Storage-optimized instances, 3rd generation.
- D3EN
Storage-optimized instances, 3rd generation.
- F1
Instances with customizable hardware acceleration, 1st generation.
- FPGA1
Instances with customizable hardware acceleration, 1st generation.
- G3
Graphics-optimized instances, 3rd generation.
- G4AD
Graphics-optimized instances based on AMD EPYC And Radeon Pro GPU (NAVI) with local NVME drive, 4th generation.
- G4DN
Graphics-optimized instances with NVME drive for high performance computing, 4th generation.
- G5
Graphics-optimized instances, 5th generation.
- G5G
Graphics-optimized instances powered by AWS Graviton2 Processors and NVIDIA T4G Tensor Core GPUs, 5th generation.
- GRAPHICS3
Graphics-optimized instances, 3rd generation.
- GRAPHICS4_AMD_NVME_DRIVE
Graphics-optimized instances based on AMD EPYC And Radeon Pro GPU (NAVI) with local NVME drive, 4th generation.
- GRAPHICS4_NVME_DRIVE_HIGH_PERFORMANCE
Graphics-optimized instances with NVME drive for high performance computing, 4th generation.
- GRAPHICS5
Graphics-optimized instances, 5th generation.
- GRAPHICS5_GRAVITON2
Graphics-optimized instances powered by AWS Graviton2 Processors and NVIDIA T4G Tensor Core GPUs, 5th generation.
- H1
Storage/compute balanced instances, 1st generation.
- HIGH_COMPUTE_MEMORY1
High memory and compute capacity instances, 1st generation.
- HIGH_MEMORY_12TB_1
High memory instances (12TB) based on Intel Xeon Platinum 8176M (Skylake) processors, 1st generation.
- HIGH_MEMORY_18TB_1
High memory instances (18TB) based on Intel Xeon Scalable (Cascade Lake) processors, 1st generation.
- HIGH_MEMORY_24TB_1
High memory instances (24TB) based on Intel Xeon Scalable (Cascade Lake) processors, 1st generation.
- HIGH_MEMORY_6TB_1
High memory instances (6TB) based on Intel Xeon Platinum 8176M (Skylake) processors, 1st generation.
- HIGH_MEMORY_9TB_1
High memory instances (9TB) based on Intel Xeon Platinum 8176M (Skylake) processors, 1st generation.
- HIGH_PERFORMANCE_COMPUTING6_AMD
High performance computing based on AMD EPYC, 6th generation.
- HPC6A
High performance computing based on AMD EPYC, 6th generation.
- I3
I/O-optimized instances, 3rd generation.
- I3EN
I/O-optimized instances with local NVME drive, 3rd generation.
- I4I
I/O-optimized instances with local NVME drive powered by Intel Xeon Scalable processors (code named Ice Lake), 4th generation.
- IM4GN
Storage optimized instances powered by Graviton2 processor, 4th generation.
- INF1
Inferentia Chips based instances for machine learning inference applications, 1st generation.
- INFERENCE1
Inferentia Chips based instances for machine learning inference applications, 1st generation.
- IO3
I/O-optimized instances, 3rd generation.
- IO3_DENSE_NVME_DRIVE
I/O-optimized instances with local NVME drive, 3rd generation.
- IO4_INTEL
I/O-optimized instances with local NVME drive powered by Intel Xeon Scalable processors (code named Ice Lake), 4th generation.
- IS4GEN
Storage optimized instances powered by Graviton2 processor, 4th generation.
- M3
Standard instances, 3rd generation.
- M4
Standard instances, 4th generation.
- M5
Standard instances, 5th generation.
- M5A
Standard instances based on AMD EPYC, 5th generation.
- M5AD
Standard instances based on AMD EPYC with local NVME drive, 5th generation.
- M5D
Standard instances with local NVME drive, 5th generation.
- M5DN
Standard instances with local NVME drive for high performance computing, 5th generation.
- M5N
Standard instances for high performance computing, 5th generation.
- M5ZN
Standard instances with high memory and compute capacity based on Intel Xeon Scalable (Cascade Lake) processors, 5nd generation.
- M6A
Standard instances based on 3rd Gen AMD EPYC processors, 6th generation.
- M6G
Arm processor based instances, 2nd generation.
- M6GD
Standard instances, 6th generation with Graviton2 processors and local NVME drive.
- M6I
Standard instances based on Intel (Ice Lake), 6th generation.
- MAC1
Macintosh instances built on Apple Mac mini computers, 1st generation with Intel procesors.
- MACINTOSH1_INTEL
Macintosh instances built on Apple Mac mini computers, 1st generation with Intel procesors.
- MEMORY3
Memory optimized instances, 3rd generation.
- MEMORY4
Memory optimized instances, 4th generation.
- MEMORY5
Memory optimized instances, 5th generation.
- MEMORY5_AMD
Memory optimized instances based on AMD EPYC, 5th generation.
- MEMORY5_AMD_NVME_DRIVE
Memory optimized instances based on AMD EPYC with local NVME drive, 5th generation.
- MEMORY5_EBS_OPTIMIZED
Memory optimized instances that are also EBS-optimized, 5th generation.
- MEMORY5_HIGH_PERFORMANCE
Memory optimized instances for high performance computing, 5th generation.
- MEMORY5_NVME_DRIVE
Memory optimized instances with local NVME drive, 5th generation.
- MEMORY5_NVME_DRIVE_HIGH_PERFORMANCE
Memory optimized instances with local NVME drive for high performance computing, 5th generation.
- MEMORY6_GRAVITON
Memory optimized instances, 6th generation with Graviton2 processors.
- MEMORY6_GRAVITON2_NVME_DRIVE
Memory optimized instances, 6th generation with Graviton2 processors and local NVME drive.
- MEMORY6_INTEL
Memory optimized instances, 6th generation with Intel Xeon Scalable processors (3rd generation processors code named Ice Lake).
- MEMORY_INTENSIVE_1
Memory-intensive instances, 1st generation.
- MEMORY_INTENSIVE_1_EXTENDED
Memory-intensive instances, extended, 1st generation.
- MEMORY_INTENSIVE_2_GRAVITON2
Memory-intensive instances, 2nd generation with Graviton2 processors.
This instance type can be used only in RDS. It is not supported in EC2.
- MEMORY_INTENSIVE_2_GRAVITON2_NVME_DRIVE
Memory-intensive instances, 2nd generation with Graviton2 processors and local NVME drive.
- MEMORY_INTENSIVE_2_INTEL
Memory-intensive instances with higher network bandwith and local NVME drive, Intel Xeon Scalable (Ice Lake) processors.
- MEMORY_INTENSIVE_2_XTZ_INTEL
Memory-intensive instances with higher network bandwith and single-threaded performance, Intel Xeon Scalable (Cascade Lake) processors.
- MEMORY_INTENSIVE_2_XT_INTEL
Memory-intensive instances with higher network bandwith, local NVME drive, and extended memory.
Intel Xeon Scalable (Ice Lake) processors
- P2
Parallel-processing optimized instances, 2nd generation.
- P3
Parallel-processing optimized instances, 3rd generation.
- P4D
Parallel-processing optimized instances, 4th generation.
- PARALLEL2
Parallel-processing optimized instances, 2nd generation.
- PARALLEL3
Parallel-processing optimized instances, 3nd generation.
- PARALLEL4
Parallel-processing optimized instances, 4th generation.
- R3
Memory optimized instances, 3rd generation.
- R4
Memory optimized instances, 4th generation.
- R5
Memory optimized instances, 5th generation.
- R5A
Memory optimized instances based on AMD EPYC, 5th generation.
- R5AD
Memory optimized instances based on AMD EPYC with local NVME drive, 5th generation.
- R5B
Memory optimized instances that are also EBS-optimized, 5th generation.
- R5D
Memory optimized instances with local NVME drive, 5th generation.
- R5DN
Memory optimized instances with local NVME drive for high performance computing, 5th generation.
- R5N
Memory optimized instances for high performance computing, 5th generation.
- R6G
Memory optimized instances, 6th generation with Graviton2 processors.
- R6GD
Memory optimized instances, 6th generation with Graviton2 processors and local NVME drive.
- R6I
Memory optimized instances, 6th generation with Intel Xeon Scalable processors (3rd generation processors code named Ice Lake).
- STANDARD3
Standard instances, 3rd generation.
- STANDARD4
Standard instances, 4th generation.
- STANDARD5
Standard instances, 5th generation.
- STANDARD5_AMD
Standard instances based on AMD EPYC, 5th generation.
- STANDARD5_AMD_NVME_DRIVE
Standard instances based on AMD EPYC with local NVME drive, 5th generation.
- STANDARD5_HIGH_COMPUTE
Standard instances with high memory and compute capacity based on Intel Xeon Scalable (Cascade Lake) processors, 5nd generation.
- STANDARD5_HIGH_PERFORMANCE
Standard instances for high performance computing, 5th generation.
- STANDARD5_NVME_DRIVE
Standard instances with local NVME drive, 5th generation.
- STANDARD5_NVME_DRIVE_HIGH_PERFORMANCE
Standard instances with local NVME drive for high performance computing, 5th generation.
- STANDARD6_AMD
Standard instances based on 3rd Gen AMD EPYC processors, 6th generation.
- STANDARD6_GRAVITON
Arm processor based instances, 2nd generation.
- STANDARD6_GRAVITON2_NVME_DRIVE
Standard instances, 6th generation with Graviton2 processors and local NVME drive.
- STANDARD6_INTEL
Standard instances based on Intel (Ice Lake), 6th generation.
- STORAGE2
Storage-optimized instances, 2nd generation.
- STORAGE3
Storage-optimized instances, 3rd generation.
- STORAGE3_ENHANCED_NETWORK
Storage-optimized instances, 3rd generation.
- STORAGE4_GRAVITON_NETWORK_OPTIMIZED
Storage optimized instances powered by Graviton2 processor, 4th generation.
- STORAGE4_GRAVITON_NETWORK_STORAGE_OPTIMIZED
Storage optimized instances powered by Graviton2 processor, 4th generation.
- STORAGE_COMPUTE_1
Storage/compute balanced instances, 1st generation.
- T2
Burstable instances, 2nd generation.
- T3
Burstable instances, 3rd generation.
- T3A
Burstable instances based on AMD EPYC, 3rd generation.
- T4G
Burstable instances, 4th generation with Graviton2 processors.
- U_12TB1
High memory instances (12TB) based on Intel Xeon Platinum 8176M (Skylake) processors, 1st generation.
- U_18TB1
High memory instances (18TB) based on Intel Xeon Scalable (Cascade Lake) processors, 1st generation.
- U_24TB1
High memory instances (24TB) based on Intel Xeon Scalable (Cascade Lake) processors, 1st generation.
- U_6TB1
High memory instances (6TB) based on Intel Xeon Platinum 8176M (Skylake) processors, 1st generation.
- U_9TB1
High memory instances (9TB) based on Intel Xeon Platinum 8176M (Skylake) processors, 1st generation.
- VIDEO_TRANSCODING1
Multi-stream video transcoding instances for resolutions up to 4K UHD, 1st generation.
- VT1
Multi-stream video transcoding instances for resolutions up to 4K UHD, 1st generation.
- X1
Memory-intensive instances, 1st generation.
- X1E
Memory-intensive instances, 1st generation.
- X2G
Memory-intensive instances, 2nd generation with Graviton2 processors.
This instance type can be used only in RDS. It is not supported in EC2.
- X2GD
Memory-intensive instances, 2nd generation with Graviton2 processors and local NVME drive.
- X2IDN
Memory-intensive instances with higher network bandwith and local NVME drive, Intel Xeon Scalable (Ice Lake) processors.
- X2IEDN
Memory-intensive instances with higher network bandwith, local NVME drive, and extended memory.
Intel Xeon Scalable (Ice Lake) processors
- X2IEZN
Memory-intensive instances with higher network bandwith and single-threaded performance, Intel Xeon Scalable (Cascade Lake) processors.
- Z1D
High memory and compute capacity instances, 1st generation.