Harsh Manvar
@Manvar_harsh
Containers with GCP
Cloud Run & Anthos
Agenda
● What is containers ? Why using containers ?
● Containers basics, concepts with Docker
● Getting started with Google kubernetes Engine
● Introduction to GCP Cloud Run (Serverless to containers)
● Hybrid, Multi-cloud config management with Anthos
Evolution of Computing
What is Containers ?
Why using a Container ?
Google & Containers
VM vs Containers
Containers tools & Docker
● Docker
● Containerd
● Rkt - Rocket
● Podman
Container Terminology
● Dockerfile
● Build
● Image
● Run
● Container
● Repository
Build Run
Demo / Q&A
Code,
build,
Run on Docker
What is Kubernetes ?
Why using a Kubernetes ?
Kubernetes & Terminology
● Kubernetes is an Open Source system for Container Orchestration
(Deployment/Management/Scaling)
● Focused around :
○ Scheduling
○ Scaling (Manual/Auto)
○ Self healing or Auto re-pair
○ …
● Terminology
○ Deployment (Manages POD/replicas)
○ Service
Single server
Multiple server
Kubernetes Architecture
Deployment
app: hello-rajkot
replicas: 1
Deployment
app: hello-rajkot
replicas: 3
Deployment
app: hello-rajkot
replicas: 3
Service & Deployment
Cloud Build Automation
Google Cloud Build
Source
code
Trigger
Docker hub
Google
Kubernetes
Engine
Code,
build,
Run on GKE
Demo / Q&A
GKE Pricing
● Pay as you Go - Worker node pricing hourly
○ Changes with Scale up / Scale down nodes
● GKE is managed service so Dashboard charges
Cons :
● Single container running on Node, you have to pay as per Worker
node size
What is Cloud Run (Truly serverless) ?
Why using a Cloud Run ?
Cloud Run
No server to manage Just ‘Deploy’
Focus on writing code Any language, any library
Scale up fast Any stateless container
Scale down to zero URL in seconds
Pay for exact usage (seconds)
Use Cases
Public
● Website
● API endpoint
● Mobile backend
● Webhook
Private
● Microservices
● Async task
Cloud Build Automation
Google Cloud Build
Source
code
Trigger
Docker hub
Cloud Run
Demo / Q&A
Code,
build,
Run on Cloud
Run
Cloud Run Pricing
● Pay as you Go
○ vCPU-second ($0.00002400) & GiB-second ($0.00000250)
○ $0.40/million requests
● No other managed service charges
Cons :
● GCR container registry only supported
What is Anthos ?
Why using a Anthos?
Emergence of Anthos
Every enterprise will need a multi-cloud solution to power their digital transformation
Enterprises Leverage an
average of
5 Clouds
94%
Of Enterprises use Cloud
in 2019
84%
Of Enterprises have a
Multi-cloud strategy
76%
Of Customers saying
multi-cloud management
is key challenge
Multi-Cloud is taking hold with SAAS, PAAS, and IAAS
across the entire Public & Private landscape
Multi-Cloud
And Hybrid are the Future
ANTHOS IS THE PLATFORM OF CHOICE
Customers leverage Anthos to modernize applications and enhance scalability
Migrating to Anthos transforms enterprises with existing on-prem
investments from VM or isolated Kubernetes cluster-based workloads
to node auto-scaling, auto-provisioning, Google managed Kubernetes
clusters. Anthos clusters running on- premises can be thought of as
an extension of the public cloud.
Anthos Config Management uses the GitOps style to manage cluster
resources. With cluster selector, multiple clusters can be managed by
a single git repo with different branches.
Anthos provides consistency in two ways, the Control Plane (CP) and
Anthos Config Management (ACM). The CP provides a consistent
interface for the delivery team to manage applications running in
complex environments. ACM listens for config changes and will
automatically sync them with specified resources.
Solution is an integrated Ecosystem
Modernize and manage across your landscape to achieve cloud benefits
Common control plane
Policy
Management
Anthos Config
Management
App Development/Deployment
GC marketplace, Cloud Run for Anthos
Service Management
Anthos Service Mesh, Traffic Director
Container Management
Anthos GKE
Operation
Management
Operation Suite -
Cloud Console
(Logging,
Monitoring, Trace,
Debugger, and
Profiler)
Config management architecture
Thank you!
Find me on :
LinkedIn - Harsh Manvar
Twitter - manvar_harsh
Medium - harsh.manvar111
GitHub - harsh4870

GCP containers, Cloud Run & Anthos.pptx

  • 1.
  • 2.
    Agenda ● What iscontainers ? Why using containers ? ● Containers basics, concepts with Docker ● Getting started with Google kubernetes Engine ● Introduction to GCP Cloud Run (Serverless to containers) ● Hybrid, Multi-cloud config management with Anthos
  • 3.
  • 4.
    What is Containers? Why using a Container ?
  • 5.
  • 6.
  • 7.
    Containers tools &Docker ● Docker ● Containerd ● Rkt - Rocket ● Podman
  • 8.
    Container Terminology ● Dockerfile ●Build ● Image ● Run ● Container ● Repository Build Run
  • 9.
  • 10.
    What is Kubernetes? Why using a Kubernetes ?
  • 11.
    Kubernetes & Terminology ●Kubernetes is an Open Source system for Container Orchestration (Deployment/Management/Scaling) ● Focused around : ○ Scheduling ○ Scaling (Manual/Auto) ○ Self healing or Auto re-pair ○ … ● Terminology ○ Deployment (Manages POD/replicas) ○ Service
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
    Cloud Build Automation GoogleCloud Build Source code Trigger Docker hub Google Kubernetes Engine
  • 20.
  • 21.
    GKE Pricing ● Payas you Go - Worker node pricing hourly ○ Changes with Scale up / Scale down nodes ● GKE is managed service so Dashboard charges Cons : ● Single container running on Node, you have to pay as per Worker node size
  • 22.
    What is CloudRun (Truly serverless) ? Why using a Cloud Run ?
  • 23.
    Cloud Run No serverto manage Just ‘Deploy’ Focus on writing code Any language, any library Scale up fast Any stateless container Scale down to zero URL in seconds Pay for exact usage (seconds)
  • 24.
    Use Cases Public ● Website ●API endpoint ● Mobile backend ● Webhook Private ● Microservices ● Async task
  • 25.
    Cloud Build Automation GoogleCloud Build Source code Trigger Docker hub Cloud Run
  • 26.
  • 27.
    Cloud Run Pricing ●Pay as you Go ○ vCPU-second ($0.00002400) & GiB-second ($0.00000250) ○ $0.40/million requests ● No other managed service charges Cons : ● GCR container registry only supported
  • 28.
    What is Anthos? Why using a Anthos?
  • 29.
    Emergence of Anthos Everyenterprise will need a multi-cloud solution to power their digital transformation Enterprises Leverage an average of 5 Clouds 94% Of Enterprises use Cloud in 2019 84% Of Enterprises have a Multi-cloud strategy 76% Of Customers saying multi-cloud management is key challenge Multi-Cloud is taking hold with SAAS, PAAS, and IAAS across the entire Public & Private landscape Multi-Cloud And Hybrid are the Future
  • 30.
    ANTHOS IS THEPLATFORM OF CHOICE Customers leverage Anthos to modernize applications and enhance scalability Migrating to Anthos transforms enterprises with existing on-prem investments from VM or isolated Kubernetes cluster-based workloads to node auto-scaling, auto-provisioning, Google managed Kubernetes clusters. Anthos clusters running on- premises can be thought of as an extension of the public cloud. Anthos Config Management uses the GitOps style to manage cluster resources. With cluster selector, multiple clusters can be managed by a single git repo with different branches. Anthos provides consistency in two ways, the Control Plane (CP) and Anthos Config Management (ACM). The CP provides a consistent interface for the delivery team to manage applications running in complex environments. ACM listens for config changes and will automatically sync them with specified resources.
  • 31.
    Solution is anintegrated Ecosystem Modernize and manage across your landscape to achieve cloud benefits Common control plane Policy Management Anthos Config Management App Development/Deployment GC marketplace, Cloud Run for Anthos Service Management Anthos Service Mesh, Traffic Director Container Management Anthos GKE Operation Management Operation Suite - Cloud Console (Logging, Monitoring, Trace, Debugger, and Profiler)
  • 32.
  • 33.
    Thank you! Find meon : LinkedIn - Harsh Manvar Twitter - manvar_harsh Medium - harsh.manvar111 GitHub - harsh4870

Editor's Notes

  • #7 VMware hypervisor, Virtual box to create different VMs locally in which have to load different OS each time and create VM for us.
  • #22 GKE is managed service
  • #24 GKE is managed service
  • #25 GKE is managed service
  • #28 1 GB = 0.93 Gibibyte