Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mikouaj/cloud-deploy-demo
Google Cloud Deploy demo
https://github.com/mikouaj/cloud-deploy-demo
cicd cloud deployment gcp terraform
Last synced: about 1 month ago
JSON representation
Google Cloud Deploy demo
- Host: GitHub
- URL: https://github.com/mikouaj/cloud-deploy-demo
- Owner: mikouaj
- License: mit
- Created: 2022-02-08T09:51:30.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-11T13:55:58.000Z (almost 3 years ago)
- Last Synced: 2023-03-10T15:50:04.084Z (almost 2 years ago)
- Topics: cicd, cloud, deployment, gcp, terraform
- Language: HCL
- Homepage:
- Size: 167 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cloud-deploy-demo
The following repository contains code to demonstrate [Google Cloud Deploy](https://cloud.google.com/deploy).
The Google Cloud Deploy is a managed service that automates delivery of your applications to a series
of target environments in a defined promotion sequence. The Cloud Deploy supports [Google Kubernetes
Engine](https://cloud.google.com/kubernetes-engine) clusters as targets for deployments.## Contents
* [go-sample-service](./go-sample-service/) directory contains source code of a simple backend service
that will be deployed by Cloud Deploy on several GKE clusters
* [terraform](./terraform/) directory contains Terraform code for provisioning GCP infrastructure
used in this demo## Objectives
* source code of `go-sample-service` will be hosted in GCP Source Code repository
* push to the main branch will build `go-sample-service` and deploy on *dev cluster*
* push tag will promote release (if exists) and deploy on *stage cluster*
* manual promotion and approval will deploy on *prod cluster*
* there will be separate GCP projects for CI/CD infrastructure and GKE clusters
* private networking only
* least privilege principle## Usage
to be added
## Deployment pipeline
![pipeline-visualization](./images/cloudbuild-pipeline.png)
## High level infrastructure view
![high-level-infra-view](./images/high-level-infra-view.png)