QuestionQ28

VerifiedBuilding and implementing CI/CD pipelines, including continuous testing, for application, infrastructure, and machine learning workloads

Your application runs on Google Cloud Platform (GCP), and you need to set up Jenkins to deploy application releases to GCP. Your goal is to streamline the release process, reduce operational toil, and keep user data secure. What should you do?

Explanation

Compute Engine is the platform Google Cloud officially supports and documents for hosting Jenkins. The Google Compute Engine plugin for Jenkins allows the Jenkins controller to automatically provision build-agent VMs from instance templates when jobs need to run, and automatically delete those instances when idle—directly reducing operational toil compared to manually managing on-premises infrastructure or local workstations. Compute Engine also integrates with GCP's native security controls (IAM, service accounts, VPC firewalls, encryption at rest and in transit), which keeps user data secure. In contrast, local workstations lack centralized security and scalability, on-premises Kubernetes keeps the deployment pipeline outside GCP's managed environment (increasing operational burden), and Cloud Functions cannot host a persistent, stateful process like the Jenkins controller due to its short-lived, stateless execution model.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!