Google Cloud Notes
Google Cloud Notes
Google Cloud Notes
○ Private Cloud
■ Total Control
■ Have to build it yourself
○ Public Cloud
■ Multiple accounts
■ Crowdsourcing
● Money spent by other companies to help build infrastructure
○ AI built can be used by multiple
○ Larger space
○ Hybrid Cloud
■ Uses both Private and Public
● Benefits
○ TOTAL COST OF OWNERSHIP (TCO)
■ Cloud removes operating expenses
○ Scalability
○ Strategic Balue
■ Higher ROI
■ Innovate new ideas
○ Flexibility
○ Cost Effective
○ Agelity
○ Security
● Bandwidth
○ How much you can do
● Latency
○ How long it takes to get there
● Region
○ Geographical location
● Zone
○ A specific server in the region
● Service models
○ Infrastructure as a service (IaaS)
■ Sells use of hardware
■ Most flexible
○ Platform as a service (PaaS)
■ Engines (cloud run, app engine)
○ Software as a service (SaaS)
■ Programs we use
● Shared responsibility Model
○ Depending on service responsibility is given to user
● Types of Data
○ Structured
■ Organized and sorted
○ Semistructured
■ Organized but does not have formal structure
○ Unstructured
■ No predefined data model
■ Isnt organized
● API can extract value from unstructured data
● Cloud database products
○ Cloud SQL
○ Bigtable
○ Cloudspanner
● Data Warehouse
○ Analytics using BigQuery or Bigtable
■ Realtime - Bigtable
■ Analytics SQL - BigQuery
● Data lake
○ Unlimited types of storage
● Cloud Storage
○ Blob (Binary Large OBjects)
■ Not file storage
■ Not
● 4 primary classes
○ Costs are reduced but access
○ Types
■ Standard
● Hot Data all the time
■ Nearline
● Once per month
■ Coldline
● 90 days
■ Archive
● Once a year
● Relational databases
○ Cloud SQL
■ Regional
● Can only write in one region
■ 64 Terrabyes Only
■ Benefits
● Trusted by everyone
● Fully managed
● Encrypted
○ Cloud Spanner
■ Same as SQL but unlimited scale
○ BigQuery
■ Provides Storage
■ Analytics using SQL
● Firestore
○ noSQL
○ Offline sync
○ Data storage in documents (Row)
○ Documents stored in collections (table)
● Bigtable
○ Real Time Analytics
○ No SQL
○ Transactional
● Which Storage product
○ Firestore
■ Structured or Semi Structured data.
■ Transactional workloads accessed without SQL
○ Cloud Spanner
■ Structured or Semi Structured data.
■ Transactional workloads accessed without SQL
■ Global Scalability
○ Cloud Bigtable
■ Structured or Semi Structured data.
■ Analytical workloads access without SQL
○ Cloud SQL
■ Analytical workloads access with SQL
■ Structured or Semi Structured data.
■ Local Regional Scalability
○ Big Query
■ Structured or Semi Structured data.
■ Analytical workloads access with SQL
○ Cloud Storage
■ UnStructured data
● Access is per gig of data
● Lift and Shift
○ Move SQL to Cloud
○ Warnings
■ Is it fully compatible
■ Might be moved
○ Data
● Managed database migration services
○ DMS
■ Migrate your da
○ Datastream
■ Synchronize data across databases, storage, systems, and apps
● Looker
○ Interactive dash
○ Used for creating Reports for endusers
○ Supports bigquery and 60+ SQL databases
● Sources of streaming data
● Cloud streaming analytics products
○ Pub/sub
■ Messaging
■ Sends info
○ Dataflow
■ Unifies streaming and batch data analysis and builds data pipelines
■ Starts with source
● Transforms
● Machine Learning / AI
○ Classification
○ Prediction
○ Generation
■ New stuff
○ Understanding
● Bigquery ML empowers analytics
○ Creates machine learning
○ SQL only
● AI Solutions
○ Contact Center Ai
○ Document AI
○ Discovery AI for Retail
○ Cloud Talent Solutions
● Auto ML
○ All gui no code
● Speed
○ AI take 3-36 months
● Running compute workloads on Cloud
● Virtual Machines
○ Called computer engine
■ No upfront investments
■ Specified CPU, Memory, OS
○ IaaS
○ Sustained-use discount
■ The more time used unlocks discount
● Save $ after the X-th hour
○ Committed-use discount
■ Guaranteed contract for discount for 1-3 year promise
○ Preemptive and Spot VM
■ 60-90% discount
■ Spike work that can be interrupted
■ Control can be removed
○ Containers run in VM (Microservices)
■ Start faster
■ Holds the application
■ Can be launched individually or together
■ Isolated from other VM
○ Kubernetes
■ Opensource
■ Full control
○ Cloudrun
■ Needs containers
■ Launches web app in seconds
■ Configures for you
■ Auto scale
○ Kubernetes vs Cloudrun
■ Kubernetes
● Control
● Complex
■ Cloudrun
● Simple
● Quick
● Serverless
○ Serverless Computing
■ Business provides code
■ Provider handles everything else
■ Example
● Function
○ Trigger
○ App Engine
■ VM
■ Service to build deploy web apps
○ Cloud App Development
■ Flexible
■ Scalable
■ Up to date
■ Pay as you go
■ Drawbacks
● Vendor lock in
● Risk
● Complexity
● API
○ Every Service
● Apigee
○ Manages all api
● Security
○ Least privilege
■ Only need to perform task
○ Encrypter by defaul is also decrypted by default
○ Needs
■ Integrity
● Keep data accurate and trustworthy
● Redundancy
○ No single point of failure
● High availability
○ Keep running
● Disaster recovery plan
○ Remain or recover fast
■ Confidentiality
● Only the people we need to see
○ Multilayer security
■ Authentication
● Login
■ Authorization
● Checking permission
○ Admin
○ Standard User
■ Auditing
● Tracks user actions
■ Firewall
■ Cloud Armor
● Stops DDoS protection
■ Data sovereignty
● Storahe
■ Organization policy constraints and IM can help prevent accident storage
in wrong region
○ Access methods
■ Cloud VPN
● Starts at 50mb/s
■ Cloud interconnect
● Starts at 10g/s
● Hierarchy
○ Organization
■ Folder
● Project 1
○ Resources
● Project 2
● Ops Suite
○ Cloud Monitoring
■ Collects log, metrics, and traces
■ Can create tracking for metrics
○ Cloud Trace
■ Identify bottlenecks
■ Collects data from apps and provides insights into how they perform
○ Profiler
■ Tracks resource usage
○ Error Recording
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Add reminder to check exam a week before
10 attempts in one year
Voucher = 1 freebie