Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Secure Continuous Delivery on Google Cloud
  • Table Of Contents Toc
  • Feedback & Rating feedback
Secure Continuous Delivery on Google Cloud

Secure Continuous Delivery on Google Cloud

By : Galloro, Avery, Dorbin
5 (3)
close
close
Secure Continuous Delivery on Google Cloud

Secure Continuous Delivery on Google Cloud

5 (3)
By: Galloro, Avery, Dorbin

Overview of this book

Continuous delivery, a cornerstone of modern software engineering, facilitates quick and secure software delivery using a robust toolkit encompassing automated builds, testing, source code management, artifact storage, and deployment. Whether you integrate tools from different providers or use a set of managed services from a single cloud provider, the goal is to streamline setup, integration, and management. This book focuses on continuous delivery on Google Cloud. Starting with an introduction to continuous delivery and secure software supply chain concepts, this book uses hands-on exercises to demonstrate how to continuously test your application with Skaffold and Cloud Code, leverage AI-assisted code generation with Cloud Code and Cloud Workstations, and automate your continuous integration with Cloud Build. You’ll see how to store and scan your software artifacts on Artifact Registry, orchestrate deployments with Cloud Deploy, and release your software on GKE and Cloud Run, configured to admit only trusted code. Using an example application, you’ll implement tools for creating an end-to-end delivery pipeline using Google Cloud services. By the end of this book, you’ll be able to build a secure software delivery pipeline from development to production using Google Cloud managed services and best practices.
Table of Contents (19 chapters)
close
close
1
Part 1:Introduction and Code Your Application
6
Part 2: Build and Package Your Application
9
Part 3: Deploy and Run Your Application
13
Part 4: Hands-On Secure Pipeline Delivery and Looking Forward

Preparing your project

Before you can create a delivery pipeline, targets, and a release, you need to enable some APIs in Google Cloud and grant the necessary IAM roles and permissions.

Enabling the API

In Chapter 2, you enabled most of the APIs you need to use Cloud Deploy. Besides those APIs, you need to enable the Cloud Deploy API.

The following command assumes you still have your current Google Cloud project configured as the default project on your command line. Run this command to enable the Compute Engine API and the Cloud Deploy API:

gcloud services enable clouddeploy.googleapis.com \
   && gcloud services enable compute.googleapis.com

With these APIs enabled, you can now create your GKE clusters, as described in the next section.

Creating the GKE clusters

In this chapter, you will create two Cloud Deploy targets, each of which points to a GKE cluster that you will deploy to. Before you can do that, you need to create the two clusters...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY