bat
Cloud Batch
Compute & WebGCP
General
General information about the service.
Description
Cloud Batch is a fully managed service for scheduling, queuing, and executing batch processing workloads on Compute Engine VMs. It handles provisioning and autoscaling automatically.
Service ID
batch.googleapis.comResource Pattern
projects/{project}/locations/{location}/jobs/{job}References
Chat
Powered by AITalk to this service to learn more about it.
Suggested questions:
Naming
The conventions, rules, and restrictions for naming this service.
Naming Convention
bat-{workload}-{env}Length
4-63
Valid Characters
Lowercase letters, numbers, hyphens
Scope
regional
Code
Deploy your infrastructure as code using your preferred tooling.
Official Documentation
terraform
1resource "google_cloud_batch_job" "main" {2 parent = "projects/${var.project_id}/locations/${var.region}"3 job_id = "bat-${var.workload}-${var.environment}"4 task_groups {5 task_spec {6 runnables {7 script {8 text = "echo Hello World"9 }10 }11 }12 task_count = 313 }14}
Utilities
Utilities to support app deployment or configuration.