Skip to content
This repository has been archived by the owner on Jul 25, 2024. It is now read-only.

Latest commit

 

History

History
41 lines (27 loc) · 1.56 KB

2021-05-gcloud-deploy.md

File metadata and controls

41 lines (27 loc) · 1.56 KB

Deploy code with gcloud

Context & Problem Statement

We have previously chosen to use terraform for infrastructure management. Terraform is not a CI/CD tool and is not well suited for code deployment.Serverless services are an interesting case, in how they blend some aspects of infrastructure with code.

Priorities & Constraints

  • Balance an effective hands-on experience for developers with formal resource management.
  • Serverless services include both code and infrastructure changes

Considered Options

  1. Terraform
  2. gcloud
  3. gcloud + Cloud Run service.yaml

Decision

Chosen option: "[option 2] gloud".

  • Keep infrastructure and software management separate, changing software doesn't necessarily disrupt infrastructure
  • Keep deployment operations familiar and help developers derive their own gcloud commands for research & troubleshooting

Expected Consequences

  • We are not applying an auditable, infrastructure-as-code approach to Serverless service infrastructure
  • New instance setup will require both Terraform & gcloud steps
  • Infrastructure that depends on Service deployment will require a separate terraform process

Links