Giter Site home page Giter Site logo

mathieu-benoit / hello-humanitec Goto Github PK

View Code? Open in Web Editor NEW
3.0 4.0 0.0 8.2 MB

My playground with Humanitec.

HCL 100.00%
gcp humanitec gke google-cloud google-kubernetes-engine memorystore nginx-ingress-controller redis spanner platform-engineering

hello-humanitec's Introduction

Repo now archived, not maintained, and content now splitted:

hello-humanitec

2 personas:

  • Platform Engineer (PE) interacting with either Google Cloud (PE-GCP), Azure (PE-AZ) or Humanitec (PE-HUM)
  • Developer (DE) interacting with Humanitec (DE-HUM)

personas

Agenda:

  • Humanitec default setup in Development
    • [PE-HUM] Create Online Boutique App
    • [PE-HUM] Create an in-cluster Redis database
    • [DE-HUM] Deploy Online Boutique Workloads in the Development Environment
  • Common setup
    • [PE-HUM] Create staging and production Environment types
    • [PE-HUM] Create custom name Namespace
    • [PE-HUM] Create custom ServiceAccount
    • [PE-HUM] Create custom unprivileged Workload
  • GKE basic setup in Staging
    • [PE-GCP] Create basic GKE setup
    • [PE-GCP] Deploy a simple Nginx Ingress controller
    • [PE-HUM] Create Staging Environment
    • [PE-GCP] Create a Memorystore (Redis) database
    • [PE-HUM] Deploy the Staging Environment
  • AKS basic setup in Staging
    • [PE-AZ] Create basic AKS setup
    • [PE-AZ] Deploy a simple Nginx Ingress controller
    • [PE-HUM] Create Staging Environment
    • [PE-AZ] Create a Memorystore (Redis) database
    • [PE-HUM] Deploy the Staging Environment
  • GKE advanced setup in Production
    • [PE-GCP] Create advanced and secured GKE setup
    • [PE-GCP] Deploy an Nginx Ingress controller
    • [PE-GCP] Protect the Nginx Ingress controller behind a Global Cloud Load Balancer (GCLB) and Cloud Armor (WAF)
    • [PE-GCP] Use Cloud Logging for Workload's logs
    • [PE-HUM] Create Production Environment
    • [PE-GCP] Create a Spanner database
    • [PE-GCP] Create Kubernetes and Google Service Accounts to access Spanner via Workload Identity
    • [DE-HUM] Deploy cartservice Workload connected to the Spanner database in the Production Environment

Backlog and future considerations:

  • Azure advanced setup
  • Sample Apps with PostreSQL
  • Istio Service Mesh
  • Dynamic infra (databases) provisioning via Humanitec and Terraform
  • NetworkPolicies
  • Terraform snippets in addition to the existing CLI commands

hello-humanitec's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

hello-humanitec's Issues

Doc fix for MacOS users

Section: https://github.com/mathieu-benoit/hello-humanitec/tree/main/samples/onlineboutique#all-in-once

Issue:
Not sure if its tied to running the commands on mac.
WORKLOADS="cartservice checkoutservice currencyservice emailservice frontend loadgenerator paymentservice productcatalogservice recommendationservice" does not work as expected on mac.Had to change it to
WORKLOADS=(cartservice checkoutservice currencyservice emailservice frontend loadgenerator paymentservice productcatalogservice recommendationservice)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.