Se ha denunciado esta presentación.
Utilizamos tu perfil de LinkedIn y tus datos de actividad para personalizar los anuncios y mostrarte publicidad más relevante. Puedes cambiar tus preferencias de publicidad en cualquier momento.

Cloud Migration from VPS to Google Cloud

667 visualizaciones

Publicado el

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

Publicado en: Tecnología
  • Sé el primero en comentar

  • Sé el primero en recomendar esto

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

×