Day1 のメモ。
Keynote Building a Cloud for Everyone
- Istio 1.0
- Cloud Services Platform
- GKE on prem
- G Suite
- Auto ML
- Contact Center AI
CI/CD in a Serverless World
Serverless CI/CD
- git push で unit and integration tests が実行される
- テストが通り staging へ deploy される
- 人が承認して production へ
CI/CI spectrum
Manual, 一人で ./deploy.sh を実行するようなステージ
Baked-in automation, チームで CI/CD 処理を作あげり実行するステージ
Dev Centric CI/CD, レポジトリが source of truth であるだけ (このセッションでやる)
Ops Centric CI/CD, 単一コンソールで複数のサービス ( Spinnaker とか)
Demo
Cloud Build ソースコードの変更をトリガーに yaml で steps を定義して任意の Serverless への反映。
Serverless で全てが完結する。
Bringing You the Future of Cloud
Hybrid Cloud におけるトレードオフを克服。
- Consistent experience
- Centralized control
- GKE policy manager
- Agility with reliability
- Flexibility
Serverless on Google Cloud
see also Serverless Compute on Google Cloud: What's New
-
Cloud Functions
- Serverless containers
- App Engine
- gVisor
- GKE serverless add-on
- consistency
- Knative
Optimizing and Troubleshooting Your Application, the Google Way
Scenarios
- Scenario: Reducing latency
- Getting Notified
- alerts when SLOs are not met
- Triage
- analyzer? latency metrics for all RPCs
- cause? distributed tracing
- Getting Notified
- Scenario: Resolving errors in production
- Getting Notified
- alerts when error budget is not met
- Triage
- metrics
- logs
- distributed tracing
- Getting Notified
- Scenario: Reducing cost, optimizing code
- Deciding Where to Focus
- distributed tracing
- Deciding Where to Focus
Core concepts
- SLOs, Metrics
- Traces, Log Correlation
- Profiling, Debugging
Observability for everyone (instrumentation)
- Metrics
- OpenCensus, Prom
- Traces
- OpenCensus, Zipkin
- Profiles
- pprof
- Code
- Debugger
- Logs
- FluentD