Marton Kodok Google Cloud Platform Solutions For DevOp Engineers Min
Marton Kodok Google Cloud Platform Solutions For DevOp Engineers Min
StackOverflow: pentium10
GitHub: pentium10
Slideshare: martonkodok
Twitter: @martonkodok
Networking Storage
Dev OS User
Setup Logging
Container
Orchestration
Compute App Kubernetes Cloud Cloud Cloud Cloud Resource Cloud Security Key
Engine Engine Engine BigQuery Cloud IAM
Dataflow Dataproc Dataprep Manager Scanner Management
Service
Cloud Container- Cloud Cloud Data Data Loss Identity-Aware Security Key
GPU Genomics BeyondCorp
Functions Optimized OS Datalab Pub/Sub Studio Prevention API Proxy Enforcement
Cloud IoT Cloud Machine Cloud Cloud Cloud Video Cloud Cloud Cloud Transfer
Core Learning Vision API Speech API Intelligence Storage Bigtable Datastore Appliance
API
Developer Tools
Dev Ops $
API 1
● Scale your applications seamlessly from
Multiple
Clients
App Engine zero to planet scale
API Requests Split App Versions
● Automatically scales depending on your
application traffic
API 2
Cloud Load Compute Engine ● Traffic Splitting (app versions, A/B tests,
Balancing
Virtual Machines incremental rollouts)
API 3
Container Engine
Kubernetes Services
Best used:
● For HTTP services
● For existing applications
Application
Service Service
Java 8 1.11
Static Content
Cloud Storage
Dynamic Content
Front End App Cloud SQL Batch App
Cloud Load App Engine App Engine
Balancing
Autoscaling
Dynamic Content Autoscaling
Cloud Datastore
Memcache
Cloud
DNS
Workers
Workers
Cloud Compute Engine
Compute Engine
Tasks
Autoscaling
Pull queues
● Ability to “tag”
● Lease multiple eg: gameboard
updated, game id as tag.
Slides: https://www.slideshare.net/martonkodok
Title: Architectural Patterns - Message Queues
GCP Solutions for DevOps Engineers @martonkodok
Reduce request latency
Triggered Code
Frontend
Platform Services
Event Cloud
Event Sourcing Application Result
Triggered Functions
Metrics / Logs/
Streaming
Unit: Function
Trigger: Events and HTTP
Best used:
● For Events & Async workloads
● For single-purpose microservices
Services
Cloud Cloud Cloud Cloud
BigQuery
Pub/Sub Storage Bigtable Datastore
Archive Autoscaler
Set Labels
Let’s be honest:
● Not enough time
● Small environment
● More important work to do
● Everyone else is doing it
Frontend
Platform Services
Pipelines
BigQuery
Metrics / Logs/
Streaming
Analysis
Stackdriver
Processing
Firebase
Cloud
Dataflow ML
Cloud
Storage
BI Interface
Database Data Studio 360
SQL
Frontend
Platform Services Report & Share
Business Analysis
Real-Time Events
Multiple Platforms
Google
Marketing
Platform
Frontend BigQuery
Platform Services
Stream
Batch
Metrics / Logs/
Streaming
Cloud Storage
Cloud
Pipelines Functions Tools
Tableau
FluentD
QlikView
Analytics Backend
Application Database BigQuery Data Studio
Servers
Servers SQL
Internal
Dashboard
1. Transform a record
2. Copy event to multiple outputs
3. Store event data in File (for backup/log purposes)
4. Stream to BigQuery (for immediate analyses)
<match frontend.user.*> The copy output plugin copies events to multiple outputs.
@type copy 2 File(s), multiple databases, DB engines.
<store> Great to ship same event to multiple subsystems.
@type forest
subtype file 3
</store>
<store> The Bigquery output plugin on the fly streams the event to
@type bigquery 4 the BigQuery warehouse. No need to write integration.
</store> Data is available immediately for querying.
…
Whenever needed other output plugins can be wired in:
</match> Kafka, Google Cloud Storage output plugin.
<match frontend.user.*>
@type copy
<store>
@type forest
subtype file
<template>
path /tank/storage/${tag}.*.log
time_slice_format %Y%m%d
</template>
</store>
</match>
Introductory Enroll in the Baseline: Infrastructure Enroll in the Baseline: Data, ML, AI Quest. Enroll in the Cloud Architecture Quest.
Quest. 1. Cloud ML Engine: Qwik Start (lab) 1. Stackdriver Qwik Start: Web UI (lab)
For GCP
1. Kubernetes Engine: Qwik Start (lab) (video) - Train and deploy a TensorFlow What’s up with your VM? Learn to install
newcomers (video) - Deploy a containerized model to Cloud ML Engine. monitoring and logging agents to collect
1 hour duration, application with Kubernetes Engine. 2. Cloud Natural Language API: Qwik info about your GCP resources.
2 labs 2. IoT: Qwik Start (lab) - Learn about Start (lab) - Perform sentiment analysis on 2. Getting Started with Cloud KMS (lab) -
GCP’s Cloud IoT Core service, where a block of text. For fun, paste in the last Create your first KeyRing and CryptoKey
almost any IoThing is possible! email you sent! with GCP.
Experienced Enroll in the Kubernetes Quest. Enroll in the Machine Learning APIs Quest. Enroll in the Cloud Architecture Quest.
1. Kubernetes Engine: Qwik Start (lab) 1. Cloud ML Engine: Qwik Start (lab) 1. Stackdriver Qwik Start: Web UI (lab) -
Qwiklabs
(video) - Deploy a containerized (video) - Train and deploy a TensorFlow What’s up with your VM? Learn to install
alumni application with Kubernetes Engine. model to Cloud ML Engine. monitoring and logging agents to collect
1 hour, 2 labs 2. Intro to Docker (lab) 2. Detect Labels, Faces, and Landmarks info about your GCP resources.
Are your containers running? Create, in Images with the Cloud Vision API (lab) 2. Application Performance Management
run, and debug containers, then pull and - How do you feel about self-driving cars? (APM) with Stackdriver (lab) - Dig deeper
push images to and from Google Learn what’s behind the AI making the into Stackdriver with a problematic
Container Registry. future possible. environment - can you identify the issues?