O slideshow foi denunciado.
Utilizamos seu perfil e dados de atividades no LinkedIn para personalizar e exibir anúncios mais relevantes. Altere suas preferências de anúncios quando desejar.

Cloud Migration from VPS to Google Cloud

666 visualizações

Publicada em

What I encountered when moving to Google GCP using Terraform, GKE, GCE and Kubernetes to support Wordpress, Python and PHP services

Publicada em: Tecnologia
  • Seja o primeiro a comentar

  • Seja a primeira pessoa a gostar disto

Cloud Migration from VPS to Google Cloud

  1. 1. ZEN Software blogs, move to the cloud • Have all ZEN platform software running in the cloud • Containers • Wordpress • Python services • PHP app • Traefik as web router • Let’s Encrypt for automatic certificates • Kubernetes for container cluster management • Google Cloud Platform • Move to The Netherlands (europe-west4)
  2. 2. ‘Wordpress’ GKE: Google Kubernetes Engine Cloud v1: Wait for re-attach. Zone based Disk Workers: on demand nodes GCE Load Balancer TCP K8S: Service wordpress browse ‘GCE Disk’ PHP content Blogs database ‘GCE Disk’ Cert State Let’s Encrypt StaticIP Kubernetes Ingress Controller Kubernetes: traefik-ingress-lb
  3. 3. Crazy Side Cars • Needed to stitch together services • Needed for Buckets • Needed for Cloud SQL
  4. 4. Cloud v2: Buckets Cloud Storage Bucket: PHP + content Blogs database ‘Wordpress’ Workers: Preemptible nodes K8S: Service wordpress Bucket: Certificates Near Fuse/emptydir will not mount Cannot connect, too complex Let’s Encrypt GKE: Google Kubernetes Engine GCE Load Balancer TCP browse StaticIP Kubernetes Ingress Controller Kubernetes: traefik-ingress-lb
  5. 5. New Beta features • Google Filestore • Public BETA since June 26 2018
  6. 6. Cloud v3: Filestore (beta) Cloud Filestore blogs PVC NFS Blogs database ‘Wordpress’ Workers: Preemptible nodes K8S: Service wordpress Let’s Encrypt GKE: Google Kubernetes Engine GCE Load Balancer TCP browse StaticIP Kubernetes Ingress Controller Kubernetes: traefik-ingress-lb
  7. 7. Cloud Migration: Cost Version 1 Version 2 Version 3 Version 4
  8. 8. Cloud v4: Homegrown NFS G1-small node: Ubuntu 18.04 with NFS blogs PVC NFS Blogs database ‘Wordpress’ Workers: Preemptible nodes K8S: Service wordpress Let’s Encrypt GKE: Google Kubernetes Engine GCE Load Balancer TCP Kubernetes: traefik-ingress-lb browse StaticIP Kubernetes Ingress Controller

×