View a markdown version of this page

Bangun mode dan tipe komputasi lingkungan - AWS CodeBuild

Terjemahan disediakan oleh mesin penerjemah. Jika konten terjemahan yang diberikan bertentangan dengan versi bahasa Inggris aslinya, utamakan versi bahasa Inggris.

Bangun mode dan tipe komputasi lingkungan

Di CodeBuild, Anda dapat menentukan image lingkungan komputasi dan runtime yang CodeBuild digunakan untuk menjalankan build Anda. Compute mengacu pada mesin komputasi (CPU, memori, dan sistem operasi) yang dikelola dan dikelola oleh CodeBuild. Gambar lingkungan runtime adalah image kontainer yang berjalan di atas platform komputasi yang Anda pilih, dan menyertakan alat tambahan yang mungkin dibutuhkan build Anda, seperti file. AWS CLI

Tentang komputasi

CodeBuild menawarkan EC2 dan mode AWS Lambda komputasi. EC2 menawarkan fleksibilitas yang dioptimalkan selama pembuatan Anda dan AWS Lambda menawarkan kecepatan start-up yang dioptimalkan. AWS Lambda mendukung build yang lebih cepat karena latensi start-up yang lebih rendah. AWS Lambda juga secara otomatis menskalakan, jadi build tidak menunggu dalam antrian untuk dijalankan. Untuk informasi selengkapnya, lihat Jalankan build pada komputasi AWS Lambda.

Dengan mode komputasi EC2, Anda dapat menjalankan build dengan armada berkapasitas sesuai permintaan atau cadangan. Untuk armada sesuai permintaan, Anda dapat memilih jenis komputasi yang telah ditentukan sebelumnya seperti atau. BUILD_GENERAL1_SMALL BUILD_GENERAL1_LARGE Untuk informasi selengkapnya, lihat Tentang jenis lingkungan sesuai permintaan. Untuk armada kapasitas cadangan, Anda dapat memilih konfigurasi komputasi Anda termasuk vCPU, memori, dan ruang disk. Setelah menentukan konfigurasi, CodeBuild akan memilih jenis komputasi yang didukung yang sesuai dengan kebutuhan Anda. Untuk informasi selengkapnya, lihat Tentang jenis lingkungan kapasitas cadangan.

Tentang jenis lingkungan kapasitas cadangan

AWS CodeBuild menyediakan tipe lingkungan Linux x86, Arm, GPU, Windows dan macOS untuk armada kapasitas cadangan. Tabel berikut menunjukkan jenis mesin yang tersedia, memori, vCPU, dan ruang disk yang diurutkan berdasarkan wilayah:

US East (N. Virginia)
Tipe lingkungan vCPUs Memori Ruang disk Jenis mesin Jenis contoh komputasi
LENGAN 2 4 GiB 64 GB GENERAL reserved.arm.2cpu.4gib
LENGAN 4 8 GiB 128 GB GENERAL reserved.arm.4cpu.8gib
LENGAN 8 16 GiB 128 GB GENERAL reserved.arm.8cpu.16gib
LENGAN 16 32 GiB 256 GB GENERAL reserved.arm.16cpu.32gib
LENGAN 32 64 GiB 256 GB GENERAL reserved.arm.32cpu.64gib
LENGAN 48 96 GiB 512 GB GENERAL reserved.arm.48cpu.96gib
LENGAN 64 128 GiB 824 GB GENERAL reserved.arm.64cpu.128gib
LENGAN EC2 2 4 GiB 64 GB GENERAL reserved.arm.2cpu.4gib
LENGAN EC2 4 8 GiB 128 GB GENERAL reserved.arm.4cpu.8gib
LENGAN 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
GPU Linux 4 16 GiB 235 GB (SSD) NVME reserved.gpu.4cpu.16gib.nvme
GPU Linux 8 32 GiB 435 GB (SSD) NVME reserved.gpu.8cpu.32gib.nvme
GPU Linux 16 64 GiB 585 GB (SSD) NVME reserved.gpu.16cpu.64gib.nvme
GPU Linux 32 128 GiB 885 GB (SSD) NVME reserved.gpu.32cpu.128gib.nvme
GPU Linux 48 192 GiB 3785 GB (SSD) NVME reserved.gpu.48cpu.192gib.nvme
GPU Linux 64 256 GiB 1885 GB (SSD) NVME reserved.gpu.64cpu.256gib.nvme
GPU Linux 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

Untuk informasi selengkapnya tentang pengenal harga, lihat https://aws.amazon.com/codebuild/pricing/.

US East (Ohio)
Tipe lingkungan vCPUs Memori Ruang disk Jenis mesin Jenis contoh komputasi
LENGAN 2 4 GiB 64 GB GENERAL reserved.arm.2cpu.4gib
LENGAN 4 8 GiB 128 GB GENERAL reserved.arm.4cpu.8gib
LENGAN 8 16 GiB 128 GB GENERAL reserved.arm.8cpu.16gib
LENGAN 16 32 GiB 256 GB GENERAL reserved.arm.16cpu.32gib
LENGAN 32 64 GiB 256 GB GENERAL reserved.arm.32cpu.64gib
LENGAN 48 96 GiB 512 GB GENERAL reserved.arm.48cpu.96gib
LENGAN 64 128 GiB 824 GB GENERAL reserved.arm.64cpu.128gib
LENGAN EC2 2 4 GiB 64 GB GENERAL reserved.arm.2cpu.4gib
LENGAN EC2 4 8 GiB 128 GB GENERAL reserved.arm.4cpu.8gib
LENGAN 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
GPU Linux 4 16 GiB 235 GB (SSD) NVME reserved.gpu.4cpu.16gib.nvme
GPU Linux 8 32 GiB 435 GB (SSD) NVME reserved.gpu.8cpu.32gib.nvme
GPU Linux 16 64 GiB 585 GB (SSD) NVME reserved.gpu.16cpu.64gib.nvme
GPU Linux 32 128 GiB 885 GB (SSD) NVME reserved.gpu.32cpu.128gib.nvme
GPU Linux 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

Untuk informasi selengkapnya tentang pengenal harga, lihat https://aws.amazon.com/codebuild/pricing/.

US West (Oregon)
Tipe lingkungan vCPUs Memori Ruang disk Jenis mesin Jenis contoh komputasi
LENGAN 2 4 GiB 64 GB GENERAL reserved.arm.2cpu.4gib
LENGAN 4 8 GiB 128 GB GENERAL reserved.arm.4cpu.8gib
LENGAN 8 16 GiB 128 GB GENERAL reserved.arm.8cpu.16gib
LENGAN 16 32 GiB 256 GB GENERAL reserved.arm.16cpu.32gib
LENGAN 32 64 GiB 256 GB GENERAL reserved.arm.32cpu.64gib
LENGAN 48 96 GiB 512 GB GENERAL reserved.arm.48cpu.96gib
LENGAN 64 128 GiB 824 GB GENERAL reserved.arm.64cpu.128gib
LENGAN EC2 2 4 GiB 64 GB GENERAL reserved.arm.2cpu.4gib
LENGAN EC2 4 8 GiB 128 GB GENERAL reserved.arm.4cpu.8gib
LENGAN 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
GPU Linux 4 16 GiB 235 GB (SSD) NVME reserved.gpu.4cpu.16gib.nvme
GPU Linux 8 32 GiB 435 GB (SSD) NVME reserved.gpu.8cpu.32gib.nvme
GPU Linux 16 64 GiB 585 GB (SSD) NVME reserved.gpu.16cpu.64gib.nvme
GPU Linux 32 128 GiB 885 GB (SSD) NVME reserved.gpu.32cpu.128gib.nvme
GPU Linux 48 192 GiB 3785 GB (SSD) NVME reserved.gpu.48cpu.192gib.nvme
GPU Linux 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

Untuk informasi selengkapnya tentang pengenal harga, lihat https://aws.amazon.com/codebuild/pricing/.

Asia Pacific (Tokyo)
Tipe lingkungan vCPUs Memori Ruang disk Jenis mesin Jenis contoh komputasi
LENGAN 2 4 GiB 64 GB GENERAL reserved.arm.2cpu.4gib
LENGAN 4 8 GiB 128 GB GENERAL reserved.arm.4cpu.8gib
LENGAN 8 16 GiB 128 GB GENERAL reserved.arm.8cpu.16gib
LENGAN 16 32 GiB 256 GB GENERAL reserved.arm.16cpu.32gib
LENGAN 32 64 GiB 256 GB GENERAL reserved.arm.32cpu.64gib
LENGAN 48 96 GiB 512 GB GENERAL reserved.arm.48cpu.96gib
LENGAN 64 128 GiB 824 GB GENERAL reserved.arm.64cpu.128gib
LENGAN EC2 2 4 GiB 64 GB GENERAL reserved.arm.2cpu.4gib
LENGAN EC2 4 8 GiB 128 GB GENERAL reserved.arm.4cpu.8gib
LENGAN 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
GPU Linux 4 16 GiB 235 GB (SSD) NVME reserved.gpu.4cpu.16gib.nvme
GPU Linux 8 32 GiB 435 GB (SSD) NVME reserved.gpu.8cpu.32gib.nvme
GPU Linux 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

Untuk informasi selengkapnya tentang pengenal harga, lihat https://aws.amazon.com/codebuild/pricing/.

Asia Pacific (Mumbai)
Tipe lingkungan vCPUs Memori Ruang disk Jenis mesin Jenis contoh komputasi
LENGAN 2 4 GiB 64 GB GENERAL reserved.arm.2cpu.4gib
LENGAN 4 8 GiB 128 GB GENERAL reserved.arm.4cpu.8gib
LENGAN 8 16 GiB 128 GB GENERAL reserved.arm.8cpu.16gib
LENGAN 16 32 GiB 256 GB GENERAL reserved.arm.16cpu.32gib
LENGAN 32 64 GiB 256 GB GENERAL reserved.arm.32cpu.64gib
LENGAN 48 96 GiB 512 GB GENERAL reserved.arm.48cpu.96gib
LENGAN 64 128 GiB 824 GB GENERAL reserved.arm.64cpu.128gib
LENGAN EC2 2 4 GiB 64 GB GENERAL reserved.arm.2cpu.4gib
LENGAN EC2 4 8 GiB 128 GB GENERAL reserved.arm.4cpu.8gib
LENGAN 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
GPU Linux 4 16 GiB 235 GB (SSD) NVME reserved.gpu.4cpu.16gib.nvme
GPU Linux 8 32 GiB 435 GB (SSD) NVME reserved.gpu.8cpu.32gib.nvme
GPU Linux 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

Untuk informasi selengkapnya tentang pengenal harga, lihat https://aws.amazon.com/codebuild/pricing/.

Asia Pacific (Singapore)
Tipe lingkungan vCPUs Memori Ruang disk Jenis mesin Jenis contoh komputasi
LENGAN 2 4 GiB 64 GB GENERAL reserved.arm.2cpu.4gib
LENGAN 4 8 GiB 128 GB GENERAL reserved.arm.4cpu.8gib
LENGAN 8 16 GiB 128 GB GENERAL reserved.arm.8cpu.16gib
LENGAN 16 32 GiB 256 GB GENERAL reserved.arm.16cpu.32gib
LENGAN 32 64 GiB 256 GB GENERAL reserved.arm.32cpu.64gib
LENGAN 48 96 GiB 512 GB GENERAL reserved.arm.48cpu.96gib
LENGAN 64 128 GiB 824 GB GENERAL reserved.arm.64cpu.128gib
LENGAN EC2 2 4 GiB 64 GB GENERAL reserved.arm.2cpu.4gib
LENGAN EC2 4 8 GiB 128 GB GENERAL reserved.arm.4cpu.8gib
LENGAN 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

Untuk informasi selengkapnya tentang pengenal harga, lihat https://aws.amazon.com/codebuild/pricing/.

Asia Pacific (Sydney)
Tipe lingkungan vCPUs Memori Ruang disk Jenis mesin Jenis contoh komputasi
LENGAN 2 4 GiB 64 GB GENERAL reserved.arm.2cpu.4gib
LENGAN 4 8 GiB 128 GB GENERAL reserved.arm.4cpu.8gib
LENGAN 8 16 GiB 128 GB GENERAL reserved.arm.8cpu.16gib
LENGAN 16 32 GiB 256 GB GENERAL reserved.arm.16cpu.32gib
LENGAN 32 64 GiB 256 GB GENERAL reserved.arm.32cpu.64gib
LENGAN 48 96 GiB 512 GB GENERAL reserved.arm.48cpu.96gib
LENGAN 64 128 GiB 824 GB GENERAL reserved.arm.64cpu.128gib
LENGAN EC2 2 4 GiB 64 GB GENERAL reserved.arm.2cpu.4gib
LENGAN EC2 4 8 GiB 128 GB GENERAL reserved.arm.4cpu.8gib
LENGAN 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
GPU Linux 4 16 GiB 235 GB (SSD) NVME reserved.gpu.4cpu.16gib.nvme
GPU Linux 8 32 GiB 435 GB (SSD) NVME reserved.gpu.8cpu.32gib.nvme
GPU Linux 16 64 GiB 585 GB (SSD) NVME reserved.gpu.16cpu.64gib.nvme
GPU Linux 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

Untuk informasi selengkapnya tentang pengenal harga, lihat https://aws.amazon.com/codebuild/pricing/.

Europe (Frankfurt)
Tipe lingkungan vCPUs Memori Ruang disk Jenis mesin Jenis contoh komputasi
LENGAN 2 4 GiB 64 GB GENERAL reserved.arm.2cpu.4gib
LENGAN 4 8 GiB 128 GB GENERAL reserved.arm.4cpu.8gib
LENGAN 8 16 GiB 128 GB GENERAL reserved.arm.8cpu.16gib
LENGAN 16 32 GiB 256 GB GENERAL reserved.arm.16cpu.32gib
LENGAN 32 64 GiB 256 GB GENERAL reserved.arm.32cpu.64gib
LENGAN 48 96 GiB 512 GB GENERAL reserved.arm.48cpu.96gib
LENGAN 64 128 GiB 824 GB GENERAL reserved.arm.64cpu.128gib
LENGAN EC2 2 4 GiB 64 GB GENERAL reserved.arm.2cpu.4gib
LENGAN EC2 4 8 GiB 128 GB GENERAL reserved.arm.4cpu.8gib
LENGAN 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
GPU Linux 4 16 GiB 235 GB (SSD) NVME reserved.gpu.4cpu.16gib.nvme
GPU Linux 8 32 GiB 435 GB (SSD) NVME reserved.gpu.8cpu.32gib.nvme
GPU Linux 16 64 GiB 585 GB (SSD) NVME reserved.gpu.16cpu.64gib.nvme
GPU Linux 32 128 GiB 885 GB (SSD) NVME reserved.gpu.32cpu.128gib.nvme
GPU Linux 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

Untuk informasi selengkapnya tentang pengenal harga, lihat https://aws.amazon.com/codebuild/pricing/.

Europe (Ireland)
Tipe lingkungan vCPUs Memori Ruang disk Jenis mesin Jenis contoh komputasi
LENGAN 2 4 GiB 64 GB GENERAL reserved.arm.2cpu.4gib
LENGAN 4 8 GiB 128 GB GENERAL reserved.arm.4cpu.8gib
LENGAN 8 16 GiB 128 GB GENERAL reserved.arm.8cpu.16gib
LENGAN 16 32 GiB 256 GB GENERAL reserved.arm.16cpu.32gib
LENGAN 32 64 GiB 256 GB GENERAL reserved.arm.32cpu.64gib
LENGAN 48 96 GiB 512 GB GENERAL reserved.arm.48cpu.96gib
LENGAN 64 128 GiB 824 GB GENERAL reserved.arm.64cpu.128gib
LENGAN EC2 2 4 GiB 64 GB GENERAL reserved.arm.2cpu.4gib
LENGAN EC2 4 8 GiB 128 GB GENERAL reserved.arm.4cpu.8gib
LENGAN 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
GPU Linux 4 16 GiB 235 GB (SSD) NVME reserved.gpu.4cpu.16gib.nvme
GPU Linux 8 32 GiB 435 GB (SSD) NVME reserved.gpu.8cpu.32gib.nvme
GPU Linux 16 64 GiB 585 GB (SSD) NVME reserved.gpu.16cpu.64gib.nvme
GPU Linux 32 128 GiB 885 GB (SSD) NVME reserved.gpu.32cpu.128gib.nvme
GPU Linux 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

Untuk informasi selengkapnya tentang pengenal harga, lihat https://aws.amazon.com/codebuild/pricing/.

South America (São Paulo)
Tipe lingkungan vCPUs Memori Ruang disk Jenis mesin Jenis contoh komputasi
LENGAN 2 4 GiB 64 GB GENERAL reserved.arm.2cpu.4gib
LENGAN 4 8 GiB 128 GB GENERAL reserved.arm.4cpu.8gib
LENGAN 8 16 GiB 128 GB GENERAL reserved.arm.8cpu.16gib
LENGAN 16 32 GiB 256 GB GENERAL reserved.arm.16cpu.32gib
LENGAN 32 64 GiB 256 GB GENERAL reserved.arm.32cpu.64gib
LENGAN 48 96 GiB 512 GB GENERAL reserved.arm.48cpu.96gib
LENGAN EC2 2 4 GiB 64 GB GENERAL reserved.arm.2cpu.4gib
LENGAN EC2 4 8 GiB 128 GB GENERAL reserved.arm.4cpu.8gib
LENGAN 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

Untuk informasi selengkapnya tentang pengenal harga, lihat https://aws.amazon.com/codebuild/pricing/.

Untuk memilih jenis komputasi:

  • Di CodeBuild konsol, di halaman konfigurasi armada Compute, pilih salah satu opsi dari vCPU, Memory, dan Disk. Untuk informasi selengkapnya, lihat Buat armada kapasitas cadangan.

  • Untuk AWS CLI, jalankan update-fleet perintah create-fleet or, tentukan nilai computeType toATTRIBUTE_BASED_COMPUTE. Untuk informasi selengkapnya, lihat create-fleet atau update-fleet.

  • Untuk AWS SDK, panggil yang setara dengan UpdateFleet operasi CreateFleet atau untuk bahasa pemrograman target Anda, dengan menentukan nilai computeType to. ATTRIBUTE_BASED_COMPUTE Untuk informasi selengkapnya, lihat AWS SDK dan referensi alat.

catatan

Untuk AWS SDK AWS CLI dan SDK, Anda masih dapat menggunakan computeType input sepertiBUILD_GENERAL1_SMALL, untuk memilih jenis komputasi, bukan. ATTRIBUTE_BASED_COMPUTE Untuk informasi selengkapnya, lihat Tentang jenis lingkungan sesuai permintaan.

Keluarga instans yang didukung

AWS CodeBuild mendukung contoh berikut untuk armada kapasitas cadangan. :

  • Tujuan umum: M5 | M5a | M5ad | M5d | M5dn | M5n | M5zn | M6a | M6g | M6gd | M6i | M6iD | M6idn | M6in | M7a | M7g | M7gd | M7i | | M8g | T3 | T3a | T4G M7i-flex

  • Komputasi dioptimalkan: C5 | C5a | C5ad | C5d | C5n | C6a | C6g | C6gD | C6gN | C6i | C6iD | C6in | C7a | C7g | C7gD | C7gN | C7i | | C8g C7i-flex

  • Memori dioptimalkan: R5 | R5a | R5ad | R5b | R5d | R5dn | R5n | R6a | R6g | R6gd | R6iDn | R6iDn | R6iD | R7a | R7g | R7gd | R7i | R7iZ | R8g | | | | | | | | | X1 | x1e | x2GD | x2idn | x2iEDN | x2IEZN | x8g | z1d U-3tb1 U-6tb1 U-9tb1 U-12tb1 U-18tb1 U-24tb1 U7i-6tb U7i-8tb U7i-12tb U7in-16tb U7in-24tb U7in-32tb

  • Penyimpanan dioptimalkan: D3 | D3en | I3 | i3en | i4G | i4i | i7ie | i8g | iM4gn | IS4gen

  • Komputasi yang dipercepat: DL1 | DL2q | F1 | F2 | G4ad | G4dn | G5 | G5g | G6 | G6e | Gr6 | Inf1 | Inf2 | P3 | P3dn | P4d | P5 | P5e | P5en | Trn1 | Trn1n | Trn2 | VT1

  • High-performance komputasi: HPC6a | hPC6id | hPC7a | hPC7g

  • Generasi sebelumnya: A1

Untuk membuat armada kapasitas cadangan dengan tipe instans tertentu:

  • Di CodeBuild konsol, di halaman konfigurasi armada komputasi, navigasikan ke bagian konfigurasi Kapasitas. Dalam mode pemilihan Komputasi, pilih Input manual dan dalam Jenis instans komputasi pilih salah satu jenis instance dari menu tarik-turun. Untuk informasi selengkapnya, lihat Buat armada kapasitas cadangan.

  • Untuk AWS CLI, jalankan update-fleet perintah create-fleet or, menentukan nilai computeType to CUSTOM_INSTANCE_TYPE dan ComputeConfiguration instanceType ke jenis instance tertentu. Untuk informasi selengkapnya, lihat create-fleet atau update-fleet.

  • Untuk AWS SDK, panggil yang setara dengan UpdateFleet operasi CreateFleet atau untuk bahasa pemrograman target Anda, tentukan nilai computeType to CUSTOM_INSTANCE_TYPE dan ke jenis instance yang ditentukan. ComputeConfigurationinstanceType Untuk informasi selengkapnya, lihat AWS SDK dan referensi alat.

Tentang jenis lingkungan sesuai permintaan

AWS CodeBuild menyediakan lingkungan build dengan memori, vCPU, dan ruang disk berikut yang tersedia untuk mode komputasi EC2:

Jenis komputasi Nilai ComputeType Lingkungan Nilai tipe lingkungan Memori vCPUs Ruang disk
ARM Kecil ¹ BUILD_GENERAL1_SMALL

ARM_CONTAINER

ARM_EC2

4 GiB 2 64 GB
ARM Sedang ¹ BUILD_GENERAL1_MEDIUM

ARM_CONTAINER

ARM_EC2

8 GiB 4 128 GB
ARM Besar ¹ BUILD_GENERAL1_LARGE

ARM_CONTAINER

ARM_EC2

16 GiB 8 128 GB
ARM xLarge ¹ BUILD_GENERAL1_XLARGE ARM_CONTAINER 64 GiB 32 256 GB
ARM 2xLarge ¹ BUILD_GENERAL1_2XLARGE ARM_CONTAINER 96 GiB 48 824 GB
Linux Kecil ¹ BUILD_GENERAL1_SMALL

LINUX_CONTAINER

LINUX_EC2

4 GiB 2 64 GB
Linux Sedang ¹ BUILD_GENERAL1_MEDIUM

LINUX_CONTAINER

LINUX_EC2

8 GiB 4 128 GB
Linux Besar ¹ BUILD_GENERAL1_LARGE

LINUX_CONTAINER

LINUX_EC2

16 GiB 8 128 GB
Linux xLarge ¹ BUILD_GENERAL1_XLARGE LINUX_CONTAINER 72 GiB 36 256 GB
Linux 2xBesar BUILD_GENERAL1_2XLARGE LINUX_CONTAINER 144 GiB 72 824 GB (SSD)
Linux GPU Kecil BUILD_GENERAL1_SMALL LINUX_GPU_CONTAINER 16 GiB 4 235 GB (SSD)
Linux GPU Besar BUILD_GENERAL1_LARGE LINUX_GPU_CONTAINER 255 GiB 32 50 GB
Windows Sedang ¹ BUILD_GENERAL1_MEDIUM

WINDOWS_SERVER_2019_CONTAINER

WINDOWS_SERVER_2022_CONTAINER

WINDOWS_EC2

8 GiB 4 128 GB
Windows Besar ¹ BUILD_GENERAL1_LARGE

WINDOWS_SERVER_2019_CONTAINER

WINDOWS_SERVER_2022_CONTAINER

WINDOWS_EC2

16 GiB 8 128 GB
Windows XLarge ¹ BUILD_GENERAL1_XLARGE

WINDOWS_SERVER_2022_CONTAINER

72 GiB 36 256 GB
Windows 2xLarge ¹ BUILD_GENERAL1_2XLARGE

WINDOWS_SERVER_2022_CONTAINER

144 GiB 72 824 GB

¹ Versi terbaru dari jenis gambar ini di-cache. Jika Anda menentukan versi yang lebih spesifik, CodeBuild maka berikan versi itu alih-alih versi cache. Ini dapat menghasilkan waktu pembuatan yang lebih lama. Misalnya, untuk mendapatkan manfaat dari caching, tentukan aws/codebuild/amazonlinux-x86_64-standard:5.0 alih-alih versi yang lebih terperinci, seperti. aws/codebuild/amazonlinux-x86_64-standard:5.0-1.0.0

AWS CodeBuild menyediakan lingkungan build dengan memori dan ruang disk berikut yang tersedia untuk mode AWS Lambda komputasi:

Jenis komputasi Nilai ComputeType Lingkungan Nilai tipe lingkungan Memori Ruang disk
Lambda Lambda 1GB BUILD_LAMBDA_1GB ARM_LAMBDA_CONTAINER 1 GiB 10 GB
Lambda ARM 2GB BUILD_LAMBDA_2GB ARM_LAMBDA_CONTAINER 2 GiB 10 GB
LENGAN Lambda 4GB BUILD_LAMBDA_4GB ARM_LAMBDA_CONTAINER 4 GiB 10 GB
Lambda Lambda 8GB BUILD_LAMBDA_8GB ARM_LAMBDA_CONTAINER 8 GiB 10 GB
LENGAN Lambda 10GB BUILD_LAMBDA_10GB ARM_LAMBDA_CONTAINER 10 GiB 10 GB
Linux Lambda 1GB BUILD_LAMBDA_1GB LINUX_LAMBDA_CONTAINER 1 GiB 10 GB
Linux Lambda 2GB BUILD_LAMBDA_2GB LINUX_LAMBDA_CONTAINER 2 GiB 10 GB
Linux Lambda 4GB BUILD_LAMBDA_4GB LINUX_LAMBDA_CONTAINER 4 GiB 10 GB
Linux Lambda 8GB BUILD_LAMBDA_8GB LINUX_LAMBDA_CONTAINER 8 GiB 10 GB
Linux Lambda 10GB BUILD_LAMBDA_10GB LINUX_LAMBDA_CONTAINER 10 GiB 10 GB

Saat menggunakan tipe lingkungan lain, Anda disarankan untuk menggunakan image yang di-cache untuk mengurangi waktu pembuatan.

Ruang disk yang terdaftar untuk setiap lingkungan build hanya tersedia di direktori yang ditentukan oleh variabel CODEBUILD_SRC_DIR lingkungan.

Untuk memilih jenis komputasi:

Beberapa jenis lingkungan dan komputasi memiliki keterbatasan ketersediaan Wilayah:

  • Jenis komputasi Linux GPU Small (LINUX_GPU_CONTAINER) hanya tersedia di Wilayah ini:

    • AS Timur (Virginia Utara)

    • AS Barat (Oregon)

    • Asia Pasifik (Tokyo)

    • Kanada (Pusat)

    • Eropa (Frankfurt)

    • Eropa (Irlandia)

    • Eropa (London)

  • Jenis komputasi Linux GPU Large (LINUX_GPU_CONTAINER) hanya tersedia di Wilayah ini:

    • AS Timur (Ohio)

    • AS Timur (Virginia Utara)

    • AS Barat (Oregon)

    • Asia Pasifik (Seoul)

    • Asia Pasifik (Sydney)

    • Asia Pasifik (Tokyo)

    • Kanada (Pusat)

    • Tiongkok (Beijing)

    • Tiongkok (Ningxia)

    • Eropa (Frankfurt)

    • Eropa (Irlandia)

    • Eropa (London)

  • Jenis komputasi hanya BUILD_GENERAL1_2XLARGE tersedia di Wilayah ini:

    • AS Timur (Ohio)

    • AS Timur (Virginia Utara)

    • AS Barat (California Utara)

    • AS Barat (Oregon)

    • Asia Pasifik (Hyderabad)

    • Asia Pasifik (Hong Kong)

    • Asia Pasifik (Jakarta)

    • Asia Pasifik (Melbourne)

    • Asia Pasifik (Mumbai)

    • Asia Pasifik (Seoul)

    • Asia Pasifik (Singapura)

    • Asia Pasifik (Sydney)

    • Asia Pasifik (Tokyo)

    • Kanada (Pusat)

    • Tiongkok (Beijing)

    • Tiongkok (Ningxia)

    • Eropa (Frankfurt)

    • Eropa (Irlandia)

    • Eropa (London)

    • Eropa (Paris)

    • Eropa (Spanyol)

    • Eropa (Stockholm)

    • Eropa (Zürich)

    • Israel (Tel Aviv)

    • Timur Tengah (Bahrain)

    • Timur Tengah (UEA)

    • Amerika Selatan (Sao Paulo)

  • Jenis lingkungan hanya ARM_CONTAINER tersedia di Wilayah ini:

    • AS Timur (Ohio)

    • AS Timur (Virginia Utara)

    • AS Barat (California Utara)

    • AS Barat (Oregon)

    • Asia Pasifik (Hong Kong)

    • Asia Pasifik (Jakarta)

    • Asia Pasifik (Hyderabad)

    • Asia Pasifik (Mumbai)

    • Asia Pasifik (Osaka)

    • Asia Pasifik (Seoul)

    • Asia Pasifik (Singapura)

    • Asia Pasifik (Sydney)

    • Asia Pasifik (Tokyo)

    • Kanada (Pusat)

    • Tiongkok (Beijing)

    • Tiongkok (Ningxia)

    • Eropa (Frankfurt)

    • Eropa (Irlandia)

    • Eropa (London)

    • Eropa (Milan)

    • Eropa (Paris)

    • Eropa (Spanyol)

    • Eropa (Stockholm)

    • Israel (Tel Aviv)

    • Timur Tengah (Bahrain)

    • Timur Tengah (UEA)

    • Amerika Selatan (Sao Paulo)

  • Jenis lingkungan hanya WINDOWS_SERVER_2022_CONTAINER tersedia di Wilayah ini:

    • AS Timur (Ohio)

    • AS Timur (Virginia Utara)

    • US West (Oregon)

    • Asia Pasifik (Sydney)

    • Asia Pasifik (Tokyo)

    • Eropa (Frankfurt)

    • Europe (Ireland)

    • Amerika Selatan (Sao Paulo)

  • Jenis lingkungan LINUX_EC2 (BUILD_GENERAL1_SMALL,BUILD_GENERAL1_MEDIUM,BUILD_GENERAL1_LARGE) hanya tersedia di Wilayah ini:

    • AS Timur (Ohio)

    • AS Timur (Virginia Utara)

    • AS Barat (California Utara)

    • AS Barat (Oregon)

    • Afrika (Cape Town)

    • Asia Pasifik (Hong Kong)

    • Asia Pasifik (Jakarta)

    • Asia Pacific (Melbourne)

    • Europe (Zurich)

    • Asia Pasifik (Hyderabad)

    • Asia Pasifik (Mumbai)

    • Asia Pasifik (Osaka)

    • Asia Pasifik (Seoul)

    • Asia Pasifik (Singapura)

    • Asia Pasifik (Sydney)

    • Asia Pasifik (Tokyo)

    • Kanada (Pusat)

    • Tiongkok (Beijing)

    • Tiongkok (Ningxia)

    • Eropa (Frankfurt)

    • Eropa (Irlandia)

    • Eropa (London)

    • Eropa (Milan)

    • Eropa (Paris)

    • Eropa (Spanyol)

    • Eropa (Stockholm)

    • Israel (Tel Aviv)

    • Timur Tengah (Bahrain)

    • Timur Tengah (UEA)

    • Amerika Selatan (Sao Paulo)

    • AWS GovCloud (US-West)

    • AWS GovCloud (US-East)

  • Jenis lingkungan ARM_EC2 (BUILD_GENERAL1_SMALL,BUILD_GENERAL1_MEDIUM,BUILD_GENERAL1_LARGE) hanya tersedia di Wilayah ini:

    • AS Timur (Ohio)

    • AS Timur (Virginia Utara)

    • AS Barat (California Utara)

    • AS Barat (Oregon)

    • Asia Pasifik (Hong Kong)

    • Asia Pasifik (Jakarta)

    • Europe (Zurich)

    • Asia Pasifik (Hyderabad)

    • Asia Pasifik (Mumbai)

    • Asia Pasifik (Osaka)

    • Asia Pasifik (Seoul)

    • Asia Pasifik (Singapura)

    • Asia Pasifik (Sydney)

    • Asia Pasifik (Tokyo)

    • Kanada (Pusat)

    • Tiongkok (Beijing)

    • Tiongkok (Ningxia)

    • Eropa (Frankfurt)

    • Eropa (Irlandia)

    • Eropa (London)

    • Eropa (Milan)

    • Eropa (Paris)

    • Eropa (Spanyol)

    • Eropa (Stockholm)

    • Israel (Tel Aviv)

    • Timur Tengah (Bahrain)

    • Amerika Selatan (Sao Paulo)

    • AWS GovCloud (US-West)

    • AWS GovCloud (US-East)

  • Jenis lingkungan WINDOWS_EC2 (BUILD_GENERAL1_MEDIUM,BUILD_GENERAL1_LARGE) hanya tersedia di Wilayah ini:

    • AS Timur (Ohio)

    • AS Timur (Virginia Utara)

    • US West (Oregon)

    • Asia Pasifik (Sydney)

    • Asia Pasifik (Tokyo)

    • Eropa (Frankfurt)

    • Europe (Ireland)

    • Amerika Selatan (Sao Paulo)

  • Mode komputasi AWS Lambda (ARM_LAMBDA_CONTAINERdanLINUX_LAMBDA_CONTAINER) hanya tersedia di Wilayah ini:

    • Timur AS (N. Virginia)

    • AS Timur (Ohio)

    • AS Barat (Oregon)

    • Asia Pasifik (Mumbai)

    • Asia Pasifik (Singapura)

    • Asia Pasifik (Sydney)

    • Asia Pasifik (Tokyo)

    • Eropa (Frankfurt)

    • Europe (Ireland)

    • Amerika Selatan (Sao Paulo)

  • Mode komputasi hanya MAC_ARM tersedia di Wilayah ini:

    • Timur AS (N. Virginia)

    • AS Timur (Ohio)

    • AS Barat (Oregon)

    • Asia Pacific (Sydney)

    • Eropa (Frankfurt)

Untuk jenis komputasiBUILD_GENERAL1_2XLARGE, gambar Docker hingga 100 GB tanpa kompresi didukung.

catatan

Untuk gambar lingkungan build kustom, CodeBuild mendukung gambar Docker hingga 50 GB tanpa kompresi di Linux dan Windows, terlepas dari jenis komputasi. Untuk memeriksa ukuran image build Anda, gunakan Docker untuk menjalankan docker images REPOSITORY:TAG perintah.

Anda dapat menggunakan Amazon EFS untuk mengakses lebih banyak ruang di container build Anda. Untuk informasi selengkapnya, lihat Sampel Amazon Elastic File System untuk AWS CodeBuild. Jika Anda ingin memanipulasi ruang disk kontainer selama pembuatan, maka build harus berjalan dalam mode istimewa.

catatan

Secara default, daemon Docker diaktifkan untuk build non-VPC. Jika Anda ingin menggunakan kontainer Docker untuk build VPC, lihat Runtime Privilege dan Kemampuan Linux di situs web Docker Docs dan aktifkan mode istimewa. Juga, Windows tidak mendukung mode istimewa.