本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。
建置環境運算模式和類型
在 CodeBuild 中,您可以指定 CodeBuild 用來執行建置的運算和執行期環境映像。運算是指由 CodeBuild 管理和維護的運算引擎 (CPU、記憶體和作業系統)。執行期環境映像是在您選擇的運算平台之上執行的容器映像,並包含建置可能需要的額外工具,例如 AWS CLI。
關於運算
CodeBuild 提供 EC2 和 AWS Lambda 運算模式。EC2 在建置期間提供最佳化的彈性,並提供 AWS Lambda 最佳化的啟動速度。 AWS Lambda 支援更快的建置,因為啟動延遲較低。 AWS Lambda 也會自動擴展,因此建置不會在佇列中等待執行。如需詳細資訊,請參閱在 AWS Lambda 運算上執行建置。
使用 EC2 運算模式,您可以使用隨需或預留容量機群來執行建置。對於隨需機群,您可以選擇預先定義的運算類型,BUILD_GENERAL1_SMALL
例如 或 BUILD_GENERAL1_LARGE
。如需詳細資訊,請參閱關於隨需環境類型。對於預留容量機群,您可以選擇運算組態,包括 vCPU、記憶體和磁碟空間。指定組態後,CodeBuild 會選擇符合您需求的支援運算類型。如需詳細資訊,請參閱關於預留容量環境類型。
關於預留容量環境類型
AWS CodeBuild 為預留容量機群提供 Linux x86、Arm、GPU、Windows 和 macOS 環境類型。下表顯示依區域排序的可用機器類型、記憶體、vCPUs和磁碟空間:
- US East (N. Virginia)
-
環境類型 vCPU 記憶體 磁碟空間 機器類型 運算執行個體類型 ARM 2 4 GiB 64 GB GENERAL
reserved.arm.2cpu.4gib
ARM 4 8 GiB 128 GB GENERAL
reserved.arm.4cpu.8gib
ARM 8 16 GiB 128 GB GENERAL
reserved.arm.8cpu.16gib
ARM 16 32 GiB 256 GB GENERAL
reserved.arm.16cpu.32gib
ARM 32 64 GiB 256 GB GENERAL
reserved.arm.32cpu.64gib
ARM 48 96 GiB 512 GB GENERAL
reserved.arm.48cpu.96gib
ARM 64 128 GiB 824 GB GENERAL
reserved.arm.64cpu.128gib
ARM EC2 2 4 GiB 64 GB GENERAL
reserved.arm.2cpu.4gib
ARM EC2 4 8 GiB 128 GB GENERAL
reserved.arm.4cpu.8gib
ARM EC2 8 16 GiB 128 GB GENERAL
reserved.arm.8cpu.16gib
Linux 2 4 GiB 64 GB GENERAL
reserved.x86-64.2cpu.4gib
Linux 4 8 GiB 128 GB GENERAL
reserved.x86-64.4cpu.8gib
Linux 8 16 GiB 128 GB GENERAL
reserved.x86-64.8cpu.16gib
Linux 16 32 GiB 256 GB GENERAL
reserved.x86-64.16cpu.32gib
Linux 36 72 GiB 256 GB GENERAL
reserved.x86-64.36cpu.72gib
Linux 48 96 GiB 512 GB GENERAL
reserved.x86-64.48cpu.96gib
Linux 72 144 GiB 824 GB GENERAL
reserved.x86-64.72cpu.144gib
Linux 96 192 GiB 824 GB GENERAL
reserved.x86-64.96cpu.192gib
Linux 48 96 GiB 824 GB (SSD) NVME
reserved.x86-64.48cpu.96gib.nvme
Linux 72 144 GiB 824 GB (SSD) NVME
reserved.x86-64.72cpu.144gib.nvme
Linux EC2 2 4 GiB 64 GB GENERAL
reserved.x86-64.2cpu.4gib
Linux EC2 4 8 GiB 128 GB GENERAL
reserved.x86-64.4cpu.8gib
Linux EC2 8 16 GiB 128 GB GENERAL
reserved.x86-64.8cpu.16gib
Linux GPU 4 16 GiB 235 GB (SSD) NVME
reserved.gpu.4cpu.16gib.nvme
Linux GPU 8 32 GiB 435 GB (SSD) NVME
reserved.gpu.8cpu.32gib.nvme
Linux GPU 16 64 GiB 585 GB (SSD) NVME
reserved.gpu.16cpu.64gib.nvme
Linux GPU 32 128 GiB 885 GB (SSD) NVME
reserved.gpu.32cpu.128gib.nvme
Linux GPU 48 192 GiB 3785 GB (SSD) NVME
reserved.gpu.48cpu.192gib.nvme
Linux GPU 64 256 GiB 1885 GB (SSD) NVME
reserved.gpu.64cpu.256gib.nvme
Linux GPU 96 384 GiB 3785 GB (SSD) NVME
reserved.gpu.96cpu.384gib.nvme
macOS 8 24 GiB 128 GB GENERAL
reserved.arm.m2.8cpu.24gib
macOS 12 32 GiB 256 GB GENERAL
reserved.arm.m2.12cpu.32gib
Windows 2 4 GiB 64 GB GENERAL
reserved.x86-64.2cpu.4gib
Windows 4 8 GiB 128 GB GENERAL
reserved.x86-64.4cpu.8gib
Windows 8 16 GiB 128 GB GENERAL
reserved.x86-64.8cpu.16gib
Windows 16 32 GiB 256 GB GENERAL
reserved.x86-64.16cpu.32gib
Windows 36 72 GiB 256 GB GENERAL
reserved.x86-64.36cpu.72gib
Windows 48 96 GiB 512 GB GENERAL
reserved.x86-64.48cpu.96gib
Windows 72 144 GiB 824 GB GENERAL
reserved.x86-64.72cpu.144gib
Windows 96 192 GiB 824 GB GENERAL
reserved.x86-64.96cpu.192gib
Windows EC2 4 8 GiB 128 GB GENERAL
reserved.x86-64.4cpu.8gib
Windows EC2 8 16 GiB 128 GB GENERAL
reserved.x86-64.8cpu.16gib
如需定價識別符的詳細資訊,請參閱 https://https://aws.amazon.com/codebuild/pricing/
。 - US East (Ohio)
-
環境類型 vCPU 記憶體 磁碟空間 機器類型 運算執行個體類型 ARM 2 4 GiB 64 GB GENERAL
reserved.arm.2cpu.4gib
ARM 4 8 GiB 128 GB GENERAL
reserved.arm.4cpu.8gib
ARM 8 16 GiB 128 GB GENERAL
reserved.arm.8cpu.16gib
ARM 16 32 GiB 256 GB GENERAL
reserved.arm.16cpu.32gib
ARM 32 64 GiB 256 GB GENERAL
reserved.arm.32cpu.64gib
ARM 48 96 GiB 512 GB GENERAL
reserved.arm.48cpu.96gib
ARM 64 128 GiB 824 GB GENERAL
reserved.arm.64cpu.128gib
ARM EC2 2 4 GiB 64 GB GENERAL
reserved.arm.2cpu.4gib
ARM EC2 4 8 GiB 128 GB GENERAL
reserved.arm.4cpu.8gib
ARM EC2 8 16 GiB 128 GB GENERAL
reserved.arm.8cpu.16gib
Linux 2 4 GiB 64 GB GENERAL
reserved.x86-64.2cpu.4gib
Linux 4 8 GiB 128 GB GENERAL
reserved.x86-64.4cpu.8gib
Linux 8 16 GiB 128 GB GENERAL
reserved.x86-64.8cpu.16gib
Linux 16 32 GiB 256 GB GENERAL
reserved.x86-64.16cpu.32gib
Linux 36 72 GiB 256 GB GENERAL
reserved.x86-64.36cpu.72gib
Linux 48 96 GiB 512 GB GENERAL
reserved.x86-64.48cpu.96gib
Linux 48 96 GiB 824 GB (SSD) NVME
reserved.x86-64.48cpu.96gib.nvme
Linux 72 144 GiB 824 GB (SSD) NVME
reserved.x86-64.72cpu.144gib.nvme
Linux EC2 2 4 GiB 64 GB GENERAL
reserved.x86-64.2cpu.4gib
Linux EC2 4 8 GiB 128 GB GENERAL
reserved.x86-64.4cpu.8gib
Linux EC2 8 16 GiB 128 GB GENERAL
reserved.x86-64.8cpu.16gib
Linux GPU 4 16 GiB 235 GB (SSD) NVME
reserved.gpu.4cpu.16gib.nvme
Linux GPU 8 32 GiB 435 GB (SSD) NVME
reserved.gpu.8cpu.32gib.nvme
Linux GPU 16 64 GiB 585 GB (SSD) NVME
reserved.gpu.16cpu.64gib.nvme
Linux GPU 32 128 GiB 885 GB (SSD) NVME
reserved.gpu.32cpu.128gib.nvme
Linux GPU 48 192 GiB 3785 GB (SSD) NVME
reserved.gpu.48cpu.192gib.nvme
macOS 8 24 GiB 128 GB GENERAL
reserved.arm.m2.8cpu.24gib
macOS 12 32 GiB 256 GB GENERAL
reserved.arm.m2.12cpu.32gib
Windows 2 4 GiB 64 GB GENERAL
reserved.x86-64.2cpu.4gib
Windows 4 8 GiB 128 GB GENERAL
reserved.x86-64.4cpu.8gib
Windows 8 16 GiB 128 GB GENERAL
reserved.x86-64.8cpu.16gib
Windows 16 32 GiB 256 GB GENERAL
reserved.x86-64.16cpu.32gib
Windows 36 72 GiB 256 GB GENERAL
reserved.x86-64.36cpu.72gib
Windows 48 96 GiB 512 GB GENERAL
reserved.x86-64.48cpu.96gib
Windows EC2 4 8 GiB 128 GB GENERAL
reserved.x86-64.4cpu.8gib
Windows EC2 8 16 GiB 128 GB GENERAL
reserved.x86-64.8cpu.16gib
如需定價識別符的詳細資訊,請參閱 https://https://aws.amazon.com/codebuild/pricing/
。 - US West (Oregon)
-
環境類型 vCPU 記憶體 磁碟空間 機器類型 運算執行個體類型 ARM 2 4 GiB 64 GB GENERAL
reserved.arm.2cpu.4gib
ARM 4 8 GiB 128 GB GENERAL
reserved.arm.4cpu.8gib
ARM 8 16 GiB 128 GB GENERAL
reserved.arm.8cpu.16gib
ARM 16 32 GiB 256 GB GENERAL
reserved.arm.16cpu.32gib
ARM 32 64 GiB 256 GB GENERAL
reserved.arm.32cpu.64gib
ARM 48 96 GiB 512 GB GENERAL
reserved.arm.48cpu.96gib
ARM 64 128 GiB 824 GB GENERAL
reserved.arm.64cpu.128gib
ARM EC2 2 4 GiB 64 GB GENERAL
reserved.arm.2cpu.4gib
ARM EC2 4 8 GiB 128 GB GENERAL
reserved.arm.4cpu.8gib
ARM EC2 8 16 GiB 128 GB GENERAL
reserved.arm.8cpu.16gib
Linux 2 4 GiB 64 GB GENERAL
reserved.x86-64.2cpu.4gib
Linux 4 8 GiB 128 GB GENERAL
reserved.x86-64.4cpu.8gib
Linux 8 16 GiB 128 GB GENERAL
reserved.x86-64.8cpu.16gib
Linux 16 32 GiB 256 GB GENERAL
reserved.x86-64.16cpu.32gib
Linux 36 72 GiB 256 GB GENERAL
reserved.x86-64.36cpu.72gib
Linux 48 96 GiB 512 GB GENERAL
reserved.x86-64.48cpu.96gib
Linux 72 144 GiB 824 GB GENERAL
reserved.x86-64.72cpu.144gib
Linux 96 192 GiB 824 GB GENERAL
reserved.x86-64.96cpu.192gib
Linux 48 96 GiB 824 GB (SSD) NVME
reserved.x86-64.48cpu.96gib.nvme
Linux 72 144 GiB 824 GB (SSD) NVME
reserved.x86-64.72cpu.144gib.nvme
Linux EC2 2 4 GiB 64 GB GENERAL
reserved.x86-64.2cpu.4gib
Linux EC2 4 8 GiB 128 GB GENERAL
reserved.x86-64.4cpu.8gib
Linux EC2 8 16 GiB 128 GB GENERAL
reserved.x86-64.8cpu.16gib
Linux GPU 4 16 GiB 235 GB (SSD) NVME
reserved.gpu.4cpu.16gib.nvme
Linux GPU 8 32 GiB 435 GB (SSD) NVME
reserved.gpu.8cpu.32gib.nvme
Linux GPU 16 64 GiB 585 GB (SSD) NVME
reserved.gpu.16cpu.64gib.nvme
Linux GPU 32 128 GiB 885 GB (SSD) NVME
reserved.gpu.32cpu.128gib.nvme
Linux GPU 48 192 GiB 3785 GB (SSD) NVME
reserved.gpu.48cpu.192gib.nvme
Linux GPU 64 256 GiB 1885 GB (SSD) NVME
reserved.gpu.64cpu.256gib.nvme
macOS 8 24 GiB 128 GB GENERAL
reserved.arm.m2.8cpu.24gib
macOS 12 32 GiB 256 GB GENERAL
reserved.arm.m2.12cpu.32gib
Windows 2 4 GiB 64 GB GENERAL
reserved.x86-64.2cpu.4gib
Windows 4 8 GiB 128 GB GENERAL
reserved.x86-64.4cpu.8gib
Windows 8 16 GiB 128 GB GENERAL
reserved.x86-64.8cpu.16gib
Windows 16 32 GiB 256 GB GENERAL
reserved.x86-64.16cpu.32gib
Windows 36 72 GiB 256 GB GENERAL
reserved.x86-64.36cpu.72gib
Windows 48 96 GiB 512 GB GENERAL
reserved.x86-64.48cpu.96gib
Windows 72 144 GiB 824 GB GENERAL
reserved.x86-64.72cpu.144gib
Windows 96 192 GiB 824 GB GENERAL
reserved.x86-64.96cpu.192gib
Windows EC2 4 8 GiB 128 GB GENERAL
reserved.x86-64.4cpu.8gib
Windows EC2 8 16 GiB 128 GB GENERAL
reserved.x86-64.8cpu.16gib
如需定價識別符的詳細資訊,請參閱 https://https://aws.amazon.com/codebuild/pricing/
。 - Asia Pacific (Tokyo)
-
環境類型 vCPU 記憶體 磁碟空間 機器類型 運算執行個體類型 ARM 2 4 GiB 64 GB GENERAL
reserved.arm.2cpu.4gib
ARM 4 8 GiB 128 GB GENERAL
reserved.arm.4cpu.8gib
ARM 8 16 GiB 128 GB GENERAL
reserved.arm.8cpu.16gib
ARM 16 32 GiB 256 GB GENERAL
reserved.arm.16cpu.32gib
ARM 32 64 GiB 256 GB GENERAL
reserved.arm.32cpu.64gib
ARM 48 96 GiB 512 GB GENERAL
reserved.arm.48cpu.96gib
ARM 64 128 GiB 824 GB GENERAL
reserved.arm.64cpu.128gib
ARM EC2 2 4 GiB 64 GB GENERAL
reserved.arm.2cpu.4gib
ARM EC2 4 8 GiB 128 GB GENERAL
reserved.arm.4cpu.8gib
ARM EC2 8 16 GiB 128 GB GENERAL
reserved.arm.8cpu.16gib
Linux 2 4 GiB 64 GB GENERAL
reserved.x86-64.2cpu.4gib
Linux 4 8 GiB 128 GB GENERAL
reserved.x86-64.4cpu.8gib
Linux 8 16 GiB 128 GB GENERAL
reserved.x86-64.8cpu.16gib
Linux 16 32 GiB 256 GB GENERAL
reserved.x86-64.16cpu.32gib
Linux 36 72 GiB 256 GB GENERAL
reserved.x86-64.36cpu.72gib
Linux 48 96 GiB 512 GB GENERAL
reserved.x86-64.48cpu.96gib
Linux 72 144 GiB 824 GB GENERAL
reserved.x86-64.72cpu.144gib
Linux 96 192 GiB 824 GB GENERAL
reserved.x86-64.96cpu.192gib
Linux 72 144 GiB 824 GB (SSD) NVME
reserved.x86-64.72cpu.144gib.nvme
Linux EC2 2 4 GiB 64 GB GENERAL
reserved.x86-64.2cpu.4gib
Linux EC2 4 8 GiB 128 GB GENERAL
reserved.x86-64.4cpu.8gib
Linux EC2 8 16 GiB 128 GB GENERAL
reserved.x86-64.8cpu.16gib
Linux GPU 4 16 GiB 235 GB (SSD) NVME
reserved.gpu.4cpu.16gib.nvme
Linux GPU 8 32 GiB 435 GB (SSD) NVME
reserved.gpu.8cpu.32gib.nvme
Linux GPU 48 192 GiB 3785 GB (SSD) NVME
reserved.gpu.48cpu.192gib.nvme
Windows 2 4 GiB 64 GB GENERAL
reserved.x86-64.2cpu.4gib
Windows 4 8 GiB 128 GB GENERAL
reserved.x86-64.4cpu.8gib
Windows 8 16 GiB 128 GB GENERAL
reserved.x86-64.8cpu.16gib
Windows 16 32 GiB 256 GB GENERAL
reserved.x86-64.16cpu.32gib
Windows 36 72 GiB 256 GB GENERAL
reserved.x86-64.36cpu.72gib
Windows 48 96 GiB 512 GB GENERAL
reserved.x86-64.48cpu.96gib
Windows 72 144 GiB 824 GB GENERAL
reserved.x86-64.72cpu.144gib
Windows 96 192 GiB 824 GB GENERAL
reserved.x86-64.96cpu.192gib
Windows EC2 4 8 GiB 128 GB GENERAL
reserved.x86-64.4cpu.8gib
Windows EC2 8 16 GiB 128 GB GENERAL
reserved.x86-64.8cpu.16gib
如需定價識別符的詳細資訊,請參閱 https://https://aws.amazon.com/codebuild/pricing/
。 - Asia Pacific (Mumbai)
-
環境類型 vCPU 記憶體 磁碟空間 機器類型 運算執行個體類型 ARM 2 4 GiB 64 GB GENERAL
reserved.arm.2cpu.4gib
ARM 4 8 GiB 128 GB GENERAL
reserved.arm.4cpu.8gib
ARM 8 16 GiB 128 GB GENERAL
reserved.arm.8cpu.16gib
ARM 16 32 GiB 256 GB GENERAL
reserved.arm.16cpu.32gib
ARM 32 64 GiB 256 GB GENERAL
reserved.arm.32cpu.64gib
ARM 48 96 GiB 512 GB GENERAL
reserved.arm.48cpu.96gib
ARM 64 128 GiB 824 GB GENERAL
reserved.arm.64cpu.128gib
ARM EC2 2 4 GiB 64 GB GENERAL
reserved.arm.2cpu.4gib
ARM EC2 4 8 GiB 128 GB GENERAL
reserved.arm.4cpu.8gib
ARM EC2 8 16 GiB 128 GB GENERAL
reserved.arm.8cpu.16gib
Linux 2 4 GiB 64 GB GENERAL
reserved.x86-64.2cpu.4gib
Linux 4 8 GiB 128 GB GENERAL
reserved.x86-64.4cpu.8gib
Linux 8 16 GiB 128 GB GENERAL
reserved.x86-64.8cpu.16gib
Linux 16 32 GiB 256 GB GENERAL
reserved.x86-64.16cpu.32gib
Linux 36 72 GiB 256 GB GENERAL
reserved.x86-64.36cpu.72gib
Linux 48 96 GiB 512 GB GENERAL
reserved.x86-64.48cpu.96gib
Linux 72 144 GiB 824 GB GENERAL
reserved.x86-64.72cpu.144gib
Linux 96 192 GiB 824 GB GENERAL
reserved.x86-64.96cpu.192gib
Linux 72 144 GiB 824 GB (SSD) NVME
reserved.x86-64.72cpu.144gib.nvme
Linux EC2 2 4 GiB 64 GB GENERAL
reserved.x86-64.2cpu.4gib
Linux EC2 4 8 GiB 128 GB GENERAL
reserved.x86-64.4cpu.8gib
Linux EC2 8 16 GiB 128 GB GENERAL
reserved.x86-64.8cpu.16gib
Linux GPU 4 16 GiB 235 GB (SSD) NVME
reserved.gpu.4cpu.16gib.nvme
Linux GPU 8 32 GiB 435 GB (SSD) NVME
reserved.gpu.8cpu.32gib.nvme
Linux GPU 16 64 GiB 585 GB (SSD) NVME
reserved.gpu.16cpu.64gib.nvme
Windows 2 4 GiB 64 GB GENERAL
reserved.x86-64.2cpu.4gib
Windows 4 8 GiB 128 GB GENERAL
reserved.x86-64.4cpu.8gib
Windows 8 16 GiB 128 GB GENERAL
reserved.x86-64.8cpu.16gib
Windows 16 32 GiB 256 GB GENERAL
reserved.x86-64.16cpu.32gib
Windows 36 72 GiB 256 GB GENERAL
reserved.x86-64.36cpu.72gib
Windows 48 96 GiB 512 GB GENERAL
reserved.x86-64.48cpu.96gib
Windows 72 144 GiB 824 GB GENERAL
reserved.x86-64.72cpu.144gib
Windows 96 192 GiB 824 GB GENERAL
reserved.x86-64.96cpu.192gib
Windows EC2 4 8 GiB 128 GB GENERAL
reserved.x86-64.4cpu.8gib
Windows EC2 8 16 GiB 128 GB GENERAL
reserved.x86-64.8cpu.16gib
如需定價識別符的詳細資訊,請參閱 https://https://aws.amazon.com/codebuild/pricing/
。 - Asia Pacific (Singapore)
-
環境類型 vCPU 記憶體 磁碟空間 機器類型 運算執行個體類型 ARM 2 4 GiB 64 GB GENERAL
reserved.arm.2cpu.4gib
ARM 4 8 GiB 128 GB GENERAL
reserved.arm.4cpu.8gib
ARM 8 16 GiB 128 GB GENERAL
reserved.arm.8cpu.16gib
ARM 16 32 GiB 256 GB GENERAL
reserved.arm.16cpu.32gib
ARM 32 64 GiB 256 GB GENERAL
reserved.arm.32cpu.64gib
ARM 48 96 GiB 512 GB GENERAL
reserved.arm.48cpu.96gib
ARM 64 128 GiB 824 GB GENERAL
reserved.arm.64cpu.128gib
ARM EC2 2 4 GiB 64 GB GENERAL
reserved.arm.2cpu.4gib
ARM EC2 4 8 GiB 128 GB GENERAL
reserved.arm.4cpu.8gib
ARM EC2 8 16 GiB 128 GB GENERAL
reserved.arm.8cpu.16gib
Linux 2 4 GiB 64 GB GENERAL
reserved.x86-64.2cpu.4gib
Linux 4 8 GiB 128 GB GENERAL
reserved.x86-64.4cpu.8gib
Linux 8 16 GiB 128 GB GENERAL
reserved.x86-64.8cpu.16gib
Linux 16 32 GiB 256 GB GENERAL
reserved.x86-64.16cpu.32gib
Linux 36 72 GiB 256 GB GENERAL
reserved.x86-64.36cpu.72gib
Linux 48 96 GiB 512 GB GENERAL
reserved.x86-64.48cpu.96gib
Linux 72 144 GiB 824 GB GENERAL
reserved.x86-64.72cpu.144gib
Linux 96 192 GiB 824 GB GENERAL
reserved.x86-64.96cpu.192gib
Linux 48 96 GiB 824 GB (SSD) NVME
reserved.x86-64.48cpu.96gib.nvme
Linux 72 144 GiB 824 GB (SSD) NVME
reserved.x86-64.72cpu.144gib.nvme
Linux EC2 2 4 GiB 64 GB GENERAL
reserved.x86-64.2cpu.4gib
Linux EC2 4 8 GiB 128 GB GENERAL
reserved.x86-64.4cpu.8gib
Linux EC2 8 16 GiB 128 GB GENERAL
reserved.x86-64.8cpu.16gib
Windows 2 4 GiB 64 GB GENERAL
reserved.x86-64.2cpu.4gib
Windows 4 8 GiB 128 GB GENERAL
reserved.x86-64.4cpu.8gib
Windows 8 16 GiB 128 GB GENERAL
reserved.x86-64.8cpu.16gib
Windows 16 32 GiB 256 GB GENERAL
reserved.x86-64.16cpu.32gib
Windows 36 72 GiB 256 GB GENERAL
reserved.x86-64.36cpu.72gib
Windows 48 96 GiB 512 GB GENERAL
reserved.x86-64.48cpu.96gib
Windows 72 144 GiB 824 GB GENERAL
reserved.x86-64.72cpu.144gib
Windows 96 192 GiB 824 GB GENERAL
reserved.x86-64.96cpu.192gib
Windows EC2 4 8 GiB 128 GB GENERAL
reserved.x86-64.4cpu.8gib
Windows EC2 8 16 GiB 128 GB GENERAL
reserved.x86-64.8cpu.16gib
如需定價識別符的詳細資訊,請參閱 https://https://aws.amazon.com/codebuild/pricing/
。 - Asia Pacific (Sydney)
-
環境類型 vCPU 記憶體 磁碟空間 機器類型 運算執行個體類型 ARM 2 4 GiB 64 GB GENERAL
reserved.arm.2cpu.4gib
ARM 4 8 GiB 128 GB GENERAL
reserved.arm.4cpu.8gib
ARM 8 16 GiB 128 GB GENERAL
reserved.arm.8cpu.16gib
ARM 16 32 GiB 256 GB GENERAL
reserved.arm.16cpu.32gib
ARM 32 64 GiB 256 GB GENERAL
reserved.arm.32cpu.64gib
ARM 48 96 GiB 512 GB GENERAL
reserved.arm.48cpu.96gib
ARM 64 128 GiB 824 GB GENERAL
reserved.arm.64cpu.128gib
ARM EC2 2 4 GiB 64 GB GENERAL
reserved.arm.2cpu.4gib
ARM EC2 4 8 GiB 128 GB GENERAL
reserved.arm.4cpu.8gib
ARM EC2 8 16 GiB 128 GB GENERAL
reserved.arm.8cpu.16gib
Linux 2 4 GiB 64 GB GENERAL
reserved.x86-64.2cpu.4gib
Linux 4 8 GiB 128 GB GENERAL
reserved.x86-64.4cpu.8gib
Linux 8 16 GiB 128 GB GENERAL
reserved.x86-64.8cpu.16gib
Linux 16 32 GiB 256 GB GENERAL
reserved.x86-64.16cpu.32gib
Linux 36 72 GiB 256 GB GENERAL
reserved.x86-64.36cpu.72gib
Linux 48 96 GiB 512 GB GENERAL
reserved.x86-64.48cpu.96gib
Linux 72 144 GiB 824 GB GENERAL
reserved.x86-64.72cpu.144gib
Linux 96 192 GiB 824 GB GENERAL
reserved.x86-64.96cpu.192gib
Linux 72 144 GiB 824 GB (SSD) NVME
reserved.x86-64.72cpu.144gib.nvme
Linux EC2 2 4 GiB 64 GB GENERAL
reserved.x86-64.2cpu.4gib
Linux EC2 4 8 GiB 128 GB GENERAL
reserved.x86-64.4cpu.8gib
Linux EC2 8 16 GiB 128 GB GENERAL
reserved.x86-64.8cpu.16gib
Linux GPU 4 16 GiB 235 GB (SSD) NVME
reserved.gpu.4cpu.16gib.nvme
Linux GPU 8 32 GiB 435 GB (SSD) NVME
reserved.gpu.8cpu.32gib.nvme
Linux GPU 16 64 GiB 585 GB (SSD) NVME
reserved.gpu.16cpu.64gib.nvme
Linux GPU 48 192 GiB 3785 GB (SSD) NVME
reserved.gpu.48cpu.192gib.nvme
macOS 8 24 GiB 128 GB GENERAL
reserved.arm.m2.8cpu.24gib
macOS 12 32 GiB 256 GB GENERAL
reserved.arm.m2.12cpu.32gib
Windows 2 4 GiB 64 GB GENERAL
reserved.x86-64.2cpu.4gib
Windows 4 8 GiB 128 GB GENERAL
reserved.x86-64.4cpu.8gib
Windows 8 16 GiB 128 GB GENERAL
reserved.x86-64.8cpu.16gib
Windows 16 32 GiB 256 GB GENERAL
reserved.x86-64.16cpu.32gib
Windows 36 72 GiB 256 GB GENERAL
reserved.x86-64.36cpu.72gib
Windows 48 96 GiB 512 GB GENERAL
reserved.x86-64.48cpu.96gib
Windows 72 144 GiB 824 GB GENERAL
reserved.x86-64.72cpu.144gib
Windows 96 192 GiB 824 GB GENERAL
reserved.x86-64.96cpu.192gib
Windows EC2 4 8 GiB 128 GB GENERAL
reserved.x86-64.4cpu.8gib
Windows EC2 8 16 GiB 128 GB GENERAL
reserved.x86-64.8cpu.16gib
如需定價識別符的詳細資訊,請參閱 https://https://aws.amazon.com/codebuild/pricing/
。 - Europe (Frankfurt)
-
環境類型 vCPU 記憶體 磁碟空間 機器類型 運算執行個體類型 ARM 2 4 GiB 64 GB GENERAL
reserved.arm.2cpu.4gib
ARM 4 8 GiB 128 GB GENERAL
reserved.arm.4cpu.8gib
ARM 8 16 GiB 128 GB GENERAL
reserved.arm.8cpu.16gib
ARM 16 32 GiB 256 GB GENERAL
reserved.arm.16cpu.32gib
ARM 32 64 GiB 256 GB GENERAL
reserved.arm.32cpu.64gib
ARM 48 96 GiB 512 GB GENERAL
reserved.arm.48cpu.96gib
ARM 64 128 GiB 824 GB GENERAL
reserved.arm.64cpu.128gib
ARM EC2 2 4 GiB 64 GB GENERAL
reserved.arm.2cpu.4gib
ARM EC2 4 8 GiB 128 GB GENERAL
reserved.arm.4cpu.8gib
ARM EC2 8 16 GiB 128 GB GENERAL
reserved.arm.8cpu.16gib
Linux 2 4 GiB 64 GB GENERAL
reserved.x86-64.2cpu.4gib
Linux 4 8 GiB 128 GB GENERAL
reserved.x86-64.4cpu.8gib
Linux 8 16 GiB 128 GB GENERAL
reserved.x86-64.8cpu.16gib
Linux 16 32 GiB 256 GB GENERAL
reserved.x86-64.16cpu.32gib
Linux 36 72 GiB 256 GB GENERAL
reserved.x86-64.36cpu.72gib
Linux 48 96 GiB 512 GB GENERAL
reserved.x86-64.48cpu.96gib
Linux 72 144 GiB 824 GB GENERAL
reserved.x86-64.72cpu.144gib
Linux 96 192 GiB 824 GB GENERAL
reserved.x86-64.96cpu.192gib
Linux 72 144 GiB 824 GB (SSD) NVME
reserved.x86-64.72cpu.144gib.nvme
Linux EC2 2 4 GiB 64 GB GENERAL
reserved.x86-64.2cpu.4gib
Linux EC2 4 8 GiB 128 GB GENERAL
reserved.x86-64.4cpu.8gib
Linux EC2 8 16 GiB 128 GB GENERAL
reserved.x86-64.8cpu.16gib
Linux GPU 4 16 GiB 235 GB (SSD) NVME
reserved.gpu.4cpu.16gib.nvme
Linux GPU 8 32 GiB 435 GB (SSD) NVME
reserved.gpu.8cpu.32gib.nvme
Linux GPU 16 64 GiB 585 GB (SSD) NVME
reserved.gpu.16cpu.64gib.nvme
Linux GPU 32 128 GiB 885 GB (SSD) NVME
reserved.gpu.32cpu.128gib.nvme
Linux GPU 48 192 GiB 3785 GB (SSD) NVME
reserved.gpu.48cpu.192gib.nvme
macOS 8 24 GiB 128 GB GENERAL
reserved.arm.m2.8cpu.24gib
Windows 2 4 GiB 64 GB GENERAL
reserved.x86-64.2cpu.4gib
Windows 4 8 GiB 128 GB GENERAL
reserved.x86-64.4cpu.8gib
Windows 8 16 GiB 128 GB GENERAL
reserved.x86-64.8cpu.16gib
Windows 16 32 GiB 256 GB GENERAL
reserved.x86-64.16cpu.32gib
Windows 36 72 GiB 256 GB GENERAL
reserved.x86-64.36cpu.72gib
Windows 48 96 GiB 512 GB GENERAL
reserved.x86-64.48cpu.96gib
Windows 72 144 GiB 824 GB GENERAL
reserved.x86-64.72cpu.144gib
Windows 96 192 GiB 824 GB GENERAL
reserved.x86-64.96cpu.192gib
Windows EC2 4 8 GiB 128 GB GENERAL
reserved.x86-64.4cpu.8gib
Windows EC2 8 16 GiB 128 GB GENERAL
reserved.x86-64.8cpu.16gib
如需定價識別符的詳細資訊,請參閱 https://https://aws.amazon.com/codebuild/pricing/
。 - Europe (Ireland)
-
環境類型 vCPU 記憶體 磁碟空間 機器類型 運算執行個體類型 ARM 2 4 GiB 64 GB GENERAL
reserved.arm.2cpu.4gib
ARM 4 8 GiB 128 GB GENERAL
reserved.arm.4cpu.8gib
ARM 8 16 GiB 128 GB GENERAL
reserved.arm.8cpu.16gib
ARM 16 32 GiB 256 GB GENERAL
reserved.arm.16cpu.32gib
ARM 32 64 GiB 256 GB GENERAL
reserved.arm.32cpu.64gib
ARM 48 96 GiB 512 GB GENERAL
reserved.arm.48cpu.96gib
ARM 64 128 GiB 824 GB GENERAL
reserved.arm.64cpu.128gib
ARM EC2 2 4 GiB 64 GB GENERAL
reserved.arm.2cpu.4gib
ARM EC2 4 8 GiB 128 GB GENERAL
reserved.arm.4cpu.8gib
ARM EC2 8 16 GiB 128 GB GENERAL
reserved.arm.8cpu.16gib
Linux 2 4 GiB 64 GB GENERAL
reserved.x86-64.2cpu.4gib
Linux 4 8 GiB 128 GB GENERAL
reserved.x86-64.4cpu.8gib
Linux 8 16 GiB 128 GB GENERAL
reserved.x86-64.8cpu.16gib
Linux 16 32 GiB 256 GB GENERAL
reserved.x86-64.16cpu.32gib
Linux 36 72 GiB 256 GB GENERAL
reserved.x86-64.36cpu.72gib
Linux 48 96 GiB 512 GB GENERAL
reserved.x86-64.48cpu.96gib
Linux 72 144 GiB 824 GB GENERAL
reserved.x86-64.72cpu.144gib
Linux 96 192 GiB 824 GB GENERAL
reserved.x86-64.96cpu.192gib
Linux 48 96 GiB 824 GB (SSD) NVME
reserved.x86-64.48cpu.96gib.nvme
Linux 72 144 GiB 824 GB (SSD) NVME
reserved.x86-64.72cpu.144gib.nvme
Linux EC2 2 4 GiB 64 GB GENERAL
reserved.x86-64.2cpu.4gib
Linux EC2 4 8 GiB 128 GB GENERAL
reserved.x86-64.4cpu.8gib
Linux EC2 8 16 GiB 128 GB GENERAL
reserved.x86-64.8cpu.16gib
Linux GPU 4 16 GiB 235 GB (SSD) NVME
reserved.gpu.4cpu.16gib.nvme
Linux GPU 8 32 GiB 435 GB (SSD) NVME
reserved.gpu.8cpu.32gib.nvme
Linux GPU 16 64 GiB 585 GB (SSD) NVME
reserved.gpu.16cpu.64gib.nvme
Linux GPU 32 128 GiB 885 GB (SSD) NVME
reserved.gpu.32cpu.128gib.nvme
Linux GPU 48 192 GiB 3785 GB (SSD) NVME
reserved.gpu.48cpu.192gib.nvme
Windows 2 4 GiB 64 GB GENERAL
reserved.x86-64.2cpu.4gib
Windows 4 8 GiB 128 GB GENERAL
reserved.x86-64.4cpu.8gib
Windows 8 16 GiB 128 GB GENERAL
reserved.x86-64.8cpu.16gib
Windows 16 32 GiB 256 GB GENERAL
reserved.x86-64.16cpu.32gib
Windows 36 72 GiB 256 GB GENERAL
reserved.x86-64.36cpu.72gib
Windows 48 96 GiB 512 GB GENERAL
reserved.x86-64.48cpu.96gib
Windows 72 144 GiB 824 GB GENERAL
reserved.x86-64.72cpu.144gib
Windows 96 192 GiB 824 GB GENERAL
reserved.x86-64.96cpu.192gib
Windows EC2 4 8 GiB 128 GB GENERAL
reserved.x86-64.4cpu.8gib
Windows EC2 8 16 GiB 128 GB GENERAL
reserved.x86-64.8cpu.16gib
如需定價識別符的詳細資訊,請參閱 https://https://aws.amazon.com/codebuild/pricing/
。 - South America (São Paulo)
-
環境類型 vCPU 記憶體 磁碟空間 機器類型 運算執行個體類型 ARM 2 4 GiB 64 GB GENERAL
reserved.arm.2cpu.4gib
ARM 4 8 GiB 128 GB GENERAL
reserved.arm.4cpu.8gib
ARM 8 16 GiB 128 GB GENERAL
reserved.arm.8cpu.16gib
ARM 16 32 GiB 256 GB GENERAL
reserved.arm.16cpu.32gib
ARM 32 64 GiB 256 GB GENERAL
reserved.arm.32cpu.64gib
ARM 48 96 GiB 512 GB GENERAL
reserved.arm.48cpu.96gib
ARM EC2 2 4 GiB 64 GB GENERAL
reserved.arm.2cpu.4gib
ARM EC2 4 8 GiB 128 GB GENERAL
reserved.arm.4cpu.8gib
ARM EC2 8 16 GiB 128 GB GENERAL
reserved.arm.8cpu.16gib
Linux 2 4 GiB 64 GB GENERAL
reserved.x86-64.2cpu.4gib
Linux 4 8 GiB 128 GB GENERAL
reserved.x86-64.4cpu.8gib
Linux 8 16 GiB 128 GB GENERAL
reserved.x86-64.8cpu.16gib
Linux 16 32 GiB 256 GB GENERAL
reserved.x86-64.16cpu.32gib
Linux 36 72 GiB 256 GB GENERAL
reserved.x86-64.36cpu.72gib
Linux 48 96 GiB 512 GB GENERAL
reserved.x86-64.48cpu.96gib
Linux 72 144 GiB 824 GB GENERAL
reserved.x86-64.72cpu.144gib
Linux 72 144 GiB 824 GB (SSD) NVME
reserved.x86-64.72cpu.144gib.nvme
Linux EC2 2 4 GiB 64 GB GENERAL
reserved.x86-64.2cpu.4gib
Linux EC2 4 8 GiB 128 GB GENERAL
reserved.x86-64.4cpu.8gib
Linux EC2 8 16 GiB 128 GB GENERAL
reserved.x86-64.8cpu.16gib
Windows 2 4 GiB 64 GB GENERAL
reserved.x86-64.2cpu.4gib
Windows 4 8 GiB 128 GB GENERAL
reserved.x86-64.4cpu.8gib
Windows 8 16 GiB 128 GB GENERAL
reserved.x86-64.8cpu.16gib
Windows 16 32 GiB 256 GB GENERAL
reserved.x86-64.16cpu.32gib
Windows 36 72 GiB 256 GB GENERAL
reserved.x86-64.36cpu.72gib
Windows 48 96 GiB 512 GB GENERAL
reserved.x86-64.48cpu.96gib
Windows 72 144 GiB 824 GB GENERAL
reserved.x86-64.72cpu.144gib
Windows EC2 4 8 GiB 128 GB GENERAL
reserved.x86-64.4cpu.8gib
Windows EC2 8 16 GiB 128 GB GENERAL
reserved.x86-64.8cpu.16gib
如需定價識別符的詳細資訊,請參閱 https://https://aws.amazon.com/codebuild/pricing/
。
若要選擇運算類型:
-
在 CodeBuild 主控台的運算機群組態頁面中,從 vCPUs、記憶體和磁碟中選擇其中一個選項。如需詳細資訊,請參閱建立預留容量機群。
-
對於 AWS CLI,執行
create-fleet
或update-fleet
命令,將 的值指定computeType
為ATTRIBUTE_BASED_COMPUTE
。如需詳細資訊,請參閱 create-fleet 或 update-fleet。 -
對於 AWS SDKs,請呼叫目標程式設計語言的同等
CreateFleet
或UpdateFleet
操作,將 的值指定computeType
為ATTRIBUTE_BASED_COMPUTE
。如需詳細資訊,請參閱 AWS 開發套件和工具參考。
注意
對於 AWS CLI 和 AWS SDKs,您仍然可以使用 等computeType
輸入BUILD_GENERAL1_SMALL
來選擇運算類型,而不是 ATTRIBUTE_BASED_COMPUTE
。如需詳細資訊,請參閱關於隨需環境類型。
關於隨需環境類型
AWS CodeBuild 為 EC2 運算模式提供具有下列可用記憶體、vCPUs和磁碟空間的建置環境:
運算類型 | 環境 computeType 值 | 環境類型值 | 記憶體 | vCPU | 磁碟空間 |
---|---|---|---|---|---|
ARM 小型 1 | BUILD_GENERAL1_SMALL |
ARM_CONTAINER |
4 GiB | 2 | 64 GB |
ARM Medium 1 | BUILD_GENERAL1_MEDIUM |
ARM_CONTAINER |
8 GiB | 4 | 128 GB |
ARM Large 1 | BUILD_GENERAL1_LARGE |
ARM_CONTAINER |
16 GiB | 8 | 128 GB |
ARMXLarge 1 | BUILD_GENERAL1_XLARGE |
ARM_CONTAINER |
64 GiB | 32 | 256 GB |
ARM2XLarge 1 | BUILD_GENERAL1_2XLARGE |
ARM_CONTAINER |
96 GiB | 48 | 824 GB |
Linux 小型 1 | BUILD_GENERAL1_SMALL |
LINUX_CONTAINER |
4 GiB | 2 | 64 GB |
Linux Medium 1 | BUILD_GENERAL1_MEDIUM |
LINUX_CONTAINER |
8 GiB | 4 | 128 GB |
Linux 大型 1 | BUILD_GENERAL1_LARGE |
LINUX_CONTAINER |
16 GiB | 8 | 128 GB |
LinuxXLarge 1 | BUILD_GENERAL1_XLARGE |
LINUX_CONTAINER |
72 GiB | 36 | 256 GB |
Linux2XLarge | BUILD_GENERAL1_2XLARGE |
LINUX_CONTAINER |
144 GiB | 72 | 824 GB (SSD) |
Linux GPU 小型 | BUILD_GENERAL1_SMALL |
LINUX_GPU_CONTAINER |
16 GiB | 4 | 235 GB (SSD) |
Linux GPU 大型 | BUILD_GENERAL1_LARGE |
LINUX_GPU_CONTAINER |
255 GiB | 32 | 50 GB |
macOSMedium | BUILD_GENERAL1_MEDIUM |
MAC_ARM |
24 GiB | 8 | 128 GB |
macOSLarge | BUILD_GENERAL1_LARGE |
MAC_ARM |
32 GiB | 12 | 256 GB |
Windows Medium 1 | BUILD_GENERAL1_MEDIUM |
WINDOWS_SERVER_2019_CONTAINER |
8 GiB | 4 | 128 GB |
Windows Large 1 | BUILD_GENERAL1_LARGE |
WINDOWS_SERVER_2019_CONTAINER |
16 GiB | 8 | 128 GB |
1 此影像類型的最新版本會快取。如果您指定更特定的版本,則 CodeBuild 會佈建該版本,而不是快取的版本。這可能會導致建置時間更長。例如,若要從快取中受益,請指定 aws/codebuild/amazonlinux-x86_64-standard:5.0
,而非更精細的版本,例如 aws/codebuild/amazonlinux-x86_64-standard:5.0-1.0.0
。
AWS CodeBuild 提供具有下列可用記憶體和磁碟空間的建置環境以供 AWS Lambda 運算模式使用:
運算類型 | 環境 computeType 值 | 環境類型值 | 記憶體 | 磁碟空間 |
---|---|---|---|---|
ARM Lambda1GB | BUILD_LAMBDA_1GB |
ARM_LAMBDA_CONTAINER |
1 GiB | 10 GB |
ARM Lambda2GB | BUILD_LAMBDA_2GB |
ARM_LAMBDA_CONTAINER |
2 GiB | 10 GB |
ARM Lambda4GB | BUILD_LAMBDA_4GB |
ARM_LAMBDA_CONTAINER |
4 GiB | 10 GB |
ARM Lambda8GB | BUILD_LAMBDA_8GB |
ARM_LAMBDA_CONTAINER |
8 GiB | 10 GB |
ARM Lambda10GB | BUILD_LAMBDA_10GB |
ARM_LAMBDA_CONTAINER |
10 GiB | 10 GB |
Linux Lambda1GB | BUILD_LAMBDA_1GB |
LINUX_LAMBDA_CONTAINER |
1 GiB | 10 GB |
Linux Lambda2GB | BUILD_LAMBDA_2GB |
LINUX_LAMBDA_CONTAINER |
2 GiB | 10 GB |
Linux Lambda4GB | BUILD_LAMBDA_4GB |
LINUX_LAMBDA_CONTAINER |
4 GiB | 10 GB |
Linux Lambda8GB | BUILD_LAMBDA_8GB |
LINUX_LAMBDA_CONTAINER |
8 GiB | 10 GB |
Linux Lambda10GB | BUILD_LAMBDA_10GB |
LINUX_LAMBDA_CONTAINER |
10 GiB | 10 GB |
使用其他環境類型時,建議您使用快取的映像來縮短建置時間。
每個建置環境列出的磁碟空間只可在 CODEBUILD_SRC_DIR
環境變數指定的目錄中使用。
若要選擇運算類型:
-
在 CodeBuild 主控台的建立建置專案精靈或編輯建置專案頁面中,在環境展開其他組態,然後從運算類型中選擇其中一個選項。如需詳細資訊,請參閱 建立組建專案 (主控台) 或 變更建置專案的設定 (主控台)。
-
對於 AWS CLI,執行
create-project
或update-project
命令,指定environment
物件computeType
的值。如需詳細資訊,請參閱 建立建置專案 (AWS CLI) 或 變更建置專案的設定 (AWS CLI)。 -
對於 AWS SDKs,請呼叫目標程式設計語言的對等
CreateProject
或UpdateProject
操作,指定environment
物件的對等computeType
值。如需詳細資訊,請參閱 AWS 開發套件和工具參考。
有些環境和運算類型具有區域可用性限制:
-
運算類型 Linux GPU Small (
LINUX_GPU_CONTAINER
) 僅適用於下列區域:-
美國東部 (維吉尼亞北部)
-
美國西部 (奧勒岡)
-
亞太區域 (東京)
-
加拿大 (中部)
-
歐洲 (法蘭克福)
-
歐洲 (愛爾蘭)
-
歐洲 (倫敦)
-
-
運算類型 Linux GPU Large (
LINUX_GPU_CONTAINER
) 僅適用於下列區域:-
美國東部 (俄亥俄)
-
美國東部 (維吉尼亞北部)
-
美國西部 (奧勒岡)
-
亞太區域 (首爾)
-
亞太區域 (新加坡)
-
亞太區域 (雪梨)
-
亞太區域 (東京)
-
加拿大 (中部)
-
中國 (北京)
-
中國 (寧夏)
-
歐洲 (法蘭克福)
-
歐洲 (愛爾蘭)
-
歐洲 (倫敦)
-
-
環境類型
ARM_CONTAINER
僅適用於這些區域:-
美國東部 (俄亥俄)
-
美國東部 (維吉尼亞北部)
-
美國西部 (加利佛尼亞北部)
-
美國西部 (奧勒岡)
-
亞太區域 (香港)
-
亞太區域 (雅加達)
-
亞太區域 (海德拉巴)
-
亞太區域 (孟買)
-
亞太區域 (大阪)
-
亞太區域 (首爾)
-
亞太區域 (新加坡)
-
亞太區域 (雪梨)
-
亞太區域 (東京)
-
加拿大 (中部)
-
中國 (北京)
-
中國 (寧夏)
-
歐洲 (法蘭克福)
-
歐洲 (愛爾蘭)
-
歐洲 (倫敦)
-
歐洲 (米蘭)
-
Europe (Paris)
-
歐洲 (西班牙)
-
歐洲 (斯德哥爾摩)
-
以色列 (特拉維夫)
-
Middle East (Bahrain)
-
中東 (阿拉伯聯合大公國)
-
南美洲 (聖保羅)
-
-
運算類型
BUILD_GENERAL1_2XLARGE
僅適用於這些區域:-
美國東部 (俄亥俄)
-
美國東部 (維吉尼亞北部)
-
美國西部 (加利佛尼亞北部)
-
美國西部 (奧勒岡)
-
亞太區域 (海德拉巴)
-
亞太區域 (香港)
-
亞太區域 (雅加達)
-
亞太區域 (墨爾本)
-
亞太區域 (孟買)
-
亞太區域 (首爾)
-
亞太區域 (新加坡)
-
亞太區域 (雪梨)
-
亞太區域 (東京)
-
加拿大 (中部)
-
中國 (北京)
-
中國 (寧夏)
-
歐洲 (法蘭克福)
-
歐洲 (愛爾蘭)
-
歐洲 (倫敦)
-
Europe (Paris)
-
歐洲 (西班牙)
-
歐洲 (斯德哥爾摩)
-
歐洲 (蘇黎世)
-
以色列 (特拉維夫)
-
Middle East (Bahrain)
-
中東 (阿拉伯聯合大公國)
-
南美洲 (聖保羅)
-
-
運算模式 AWS Lambda (
ARM_LAMBDA_CONTAINER
和LINUX_LAMBDA_CONTAINER
) 僅適用於下列區域:-
美國東部 (維吉尼亞北部)
-
美國東部 (俄亥俄)
-
美國西部 (奧勒岡)
-
亞太區域 (孟買)
-
亞太區域 (新加坡)
-
亞太區域 (雪梨)
-
亞太區域 (東京)
-
歐洲 (法蘭克福)
-
歐洲 (愛爾蘭)
-
南美洲 (聖保羅)
-
-
運算模式
MAC_ARM
僅適用於下列區域:-
美國東部 (維吉尼亞北部)
-
美國東部 (俄亥俄)
-
美國西部 (奧勒岡)
-
亞太區域 (悉尼)
-
歐洲 (法蘭克福)
-
對於運算類型 BUILD_GENERAL1_2XLARGE
,最多可支援 100 GB 未壓縮的 Docker 影像。
注意
對於自訂建置環境映像,CodeBuild 支援在 Linux 和 Windows 中未壓縮高達 50 GB 的 Docker 映像,無論運算類型為何。若要查看您的建置映像的大小,請使用 Docker 執行 docker images
命令。REPOSITORY
:TAG
您可以使用 Amazon EFS 來存取建置容器中的更多空間。如需詳細資訊,請參閱的 Amazon Elastic File System 範例 AWS CodeBuild。如果您希望在建置期間操作容器的磁碟空間,則必須使用授權模式來執行組建。
注意
Docker 協助程式預設為針對非 VPC 建置啟用。如果您想要使用 Docker 容器進行 VPC 建置,請參閱 Docker Docs 網站上的執行期權限和 Linux 功能