Google Cloud Study Jam | GDSC NCU

Google Cloud Study Jam
GDSC NCU
SepĞ
ember - OcĞ
ober 2023
Lakshay Yadav
Cloud Facilitator
So, What’s the Cloud
Anyway?
On-
demand
self-service
Broad network
access
Resourc
e
pooling
Rapid
elasticity
Measured
service
No human
intervention needed
to get resources
Access from
anywhere
Provider shares
resources to
consumers
Get more resources
quickly as needed
Pay only for what
you consume
Cloud computing has five fundamental
characteristics
Infrastructure as a service
(IaaS)
Platform as a service
(PaaS)
Software as a service
(SaaS)
● CPU, memory, storage, and
networking is provided as a
service.
● The user needs to manage
the OS and the application.
● The platform is a managed
service.
● All the user provides is the
application.
● The platform and software
is provided as a service to
the user.
● The user supplies the data.
IaaS versus PaaS versus SaaS (threeCloud ServiceModels)
Google Cloud
PoPs and
Network Edge
Point of
presence
Equiano
(PT,NG, ZA)
2021
Dunant
(US, FR)
2020
SJC
(JP,HK, SG)
2013
JGA-S
(GU,AU)
2019
Indigo
(SG, ID,AU)
2019
2019
Monet
(US, BR)
2017
Junior
(Rio, Santos)
2018
Tannat
(BR, UY,AR)
2018
Curie
(CL, US)
2019
Faster
(US, JP,TW)
2016
PLCN
(US, TW)
2020
Unity
(US, JP)
2010
Grace Hopper Havfrue
(US, UK, ES) (US, IE, DK)
2022
Network
Compute
App Engine
Google
Kubernetes
Engine (GKE)
Compute
Engine
(Iaas)
Cloud
Functions
Cloud
Run
Google Cloud offers a range of compute services
Storage
Cloud SQL
Cloud
Storage
Cloud
Bigtable
Cloud
Spanner
Datastore
Google Cloud also offers a range of storage services
Vision API Speech-to-T
ext
API
Cloud
T
ranslation API
AI Platform
Big data
Pub/Sub Dataflow Dataproc
BigQuery AI Platform
Notebooks
Machine learning
AutoML
Google Cloud offers services to get value from data
Start with a Solid
Platform
Google Cloud
Console
Web user
interface
>_
Cloud SDK and
Cloud Shell
Command-line
interface
Cloud Console
mobile app
For iOS
and
Android
REST-based
API
For custom
applications
REST:
Representational
State Transfer
There are four ways to interact with Google Cloud
The Cloud Console provides a web-based GUI for
you to manage Google Cloud projects and resources
● Centralized console for all project data.
● Execute common tasks using simple
mouse clicks.
● Manage and create projects.
● Access developer tools:
○ Cloud Source Repositories
○ Cloud SDK
○ Cloud Shell
● Access to product APIs.
Logging in to the Cloud Console
Interacting with the Cloud Console
Every Google Cloud service you use is associated
with a project
● Enable services and APIs.
● Enable billing.
● Manage permissions and credentials.
● Track resource and quota usage.
● Programmatically manage your
projects in Google Cloud.
Project ID Project name Project number
Globally unique Need not be unique Globally unique
Assigned by Google Cloud
but mutable during creation
Chosen by you Assigned by Google Cloud
Immutable after creation Mutable Immutable
Projects have three identifying attributes
http://www.console.google.com
Creating a project
Creating a project
Billing account pays for project
resources.
A billing account is linked to zero or
more projects.
Accounts are charged automatically,
invoiced monthly, or invoiced at the
threshold limit.
Sub accounts can be used for
separate billing for projects.
BigQuery Cloud
Storage
VMs Cloud
APIs
Cloud
Network
How billing works
● gcloud
● Gsutil (py app)
● bq
The Cloud SDK is a command-line interface for
Google Cloud products and services
● Browser-based CLI access to resources
● No need to install the Cloud SDK or
other tools locally
● Runs on an ephemeral Compute Engine
VM at no cost to you
● 5 GB of persistent disk storage
● Web preview functionality and built-in
authorization for project/resource
access
Cloud Shell
Cloud Console
console.cloud.google.com
Cloud SDK
Cloud Shell is an alternative to the Cloud SDK
Starting Cloud Shell
The Cloud Console and Cloud Shell
The Cloud Shell code editor is a tool for editing files
inside your Cloud Shell environment
Manage Google Cloud services from your Android
or iOS device
GCP Compute Services
Compute Engine App Engine Cloud Functions
Google
Kubernetes Engine
IaaS PaaS Serverless logic Hybrid
Virtual machines with A flexible, zero ops A lightweight fully Cluster manager and
industry-leading platform for building managed serverless orchestration engine built
price/performance highly available apps execution environment for on Google’s container
building and connecting experience
cloud services
Google Cloud offers a variety of compute services
spanning different usage options
Introducing Compute Engine
General purpose
and optimized VMs
Committed
and sustained
use discounts
PreemptibleVMs,
BYOL and sole tenants
Right sizing
recommendations
Live migration
Customand
predefined
machine types
Compute Engine lets you create and run virtual
machines on Google infrastructure.
Get access to a variety of predefined and
customizable VM families coupled with consumption
and pricing models, as well as functionality for all of
your application and workload requirements.
Proprietary +Confidential
Application
Developmen
t
Performanc
e
Monitoring
Scaling
VM
Provisioning
Ops &
Security
Management
Internet
Connectivity
Physica
l
Servers
Network
Hardwar
e
Physica
l
Securit
y
28
Serverless
The Responsibility
Pyramid
Managed by
customer
Fully Managed
by Google
Serverless
Compute
Deploy and scale applications fast and
securely in a fully managed environment
No Infra
Management
Speed to
Market
Auto-scaling
29
Proprietary +Confidential
Google Cloud Serverless Compute
Product Portfolio
App Engine
Cloud Run
Cloud Functions Event-driven Functions-as-a-Service
Run containers on a fully managed
environment
Run source-based web applications on a
fully managed environment
App Engine is a platform-centric solution
● Type of PaaS
● No need to buy, build, or operate
hardware/infrastructure
● No managing servers or configuring
deployments
● Focus on app development instead
of operations
● Use a range of languages and tools
● Automatic scaling
Connect and extend
cloud services
Events and triggers Serverless
The components that make Cloud Functions work
Cloud services Other APIs
Cloud Functions
Responds to events
Emit events
Writes back
Invokes other
services
How Cloud Functions works
Containers
• Any Language
• Any Library
• Any Binary
• Ecosystem of base images
.js .r
b
.g
o
.p
y
.s
h
…
0 1 0
1 0 0
1 1 1
Proprietary +Confidential
Cloud Run
Deploy in seconds
Automatic HTTPS, Custom domains
Any language, any library
Portability
No cluster management
Run containers on a fully managed environment
Deploying containers at scale is different!
A fundamentally different way of
managing applications requires different
tooling and abstractions
● Deployment
● Management, monitoring
● Isolation
● Updates
● Discovery
● Scaling, replication, sets
Scheduling:
Decide what pods(exe unit) to run on
which nodes
Lifecycle and health:
Keep my containers running despite failures
Scaling:
Make sets of containers bigger or smaller
Naming and discovery:
Find where my containers are now
Load balancing:
Distribute traffic across a set of containers
Kubernetes handles...
Storage volumes:
Provide data to containers
Logging and monitoring:
T
rack what’s happening with my containers
Debugging and introspection:
Enter or attach to containers
Identity and authorization:
Control who can do things to my containers
GCP Storage Services
Which storage type?
Cloud
Storage
Cloud
Bigtable
Firestore
Cloud
SQL
Memorystore
Cloud
Spanner
Filestore
Persistent
Disk
BigQuery
In Memory Relational NoSQL Analytical Object Block File
Managed
Redis &
Memcached
Managed
MySQL and
PostgreSQL
, and SQL
Server
Scalable
relational
database
Serverless,
scalable,
document
store
Low-latency,
scalable
key-value and
wide-column
store
Enterprise DW
Unstructured
data, objects
or blobs
Local VM file
storage
Lift/shift apps
requiring file
There are three common use cases for cloud storage
1 Content storage and delivery
2
3 Backup and archival storage
Storage for data analytics and
general compute
Structured data
Unstructured data
First_Name Last_Name Address City Age
Sherlock Holmes 12 Main St Mesa 60
James Bond 23 Old St Napa 43
Scarlett O’Hara 34 New St Derby 23
Marge Simpson 56 West St Cody 36
Transactions
Online
communities
Notes & text
fields
Email
Social
media
Ratings &
reviews
Voice
transcriptions
Surveys
Call center
Chat
Structured versus unstructured data
Cloud SQL
Cloud
Spanner
Datastore
Cloud
Bigtable
BigQuery
Cloud
Storage
Is your data structured?
?
No
Is your workload analytics?
?
No
No
Is your data relational?
?
Yes
Do you need updates
or low latency?
?
Do you need horizontal
scalability?
?
No
Yes
Yes
Yes
No
Yes
What type of storage will meet my needs best?
GCP Security &IAM
Responsibility
On-
premises
IaaS PaaS Managed
services
Content
Access policies
Usage
Deployment
Web app security
Identity
Operations
Access and authentication
Network security
OS, data, and content
Audit logging
Network
Storage and encryption
Hardware
Customer-managed
Google-managed
With Google Cloud, security responsibility is shared
Data access is almost always the customer’s responsibility
Who can do what on which resource
Cloud Identity and Access Management lets admins
authorize who can take action on specific resources
Google account or Cloud Identity user
test@gmail.com test@example.com
Service account
test@project_id.iam.gserviceaccount.com
Google Groups
test@googlegroups.com
Cloud Identity or Google Workspace domain
example.com
Who: IAM policies can apply to any of four types
of user sources
Who
Basic Predefined Custom
There are three types of IAM(Identity & Access) roles
Who can do what
on Compute Engine
resources in this project,
or folder, or org
IAM predefined roles apply to a particular Google Cloud
service in a project
✔ compute.instances.delete
✔ compute.instances.get
✔ compute.instances.list
✔ compute.instances.setMachineType
✔ compute.instances.start
✔ compute.instances.stop
. . .
InstanceAdmin
role
project_a
Google
Group
IAM predefined roles offer more fine-grained permissions on
particular services
✔ compute.instances.get
✔ compute.instances.list
✔ compute.instances.start
✔ compute.instances.stop
. . .
InstanceOperator
role
project_a
Google
Group
IAM custom roles let you define a precise set
of permissions
Provide an identity for carrying out server-to-server interactions in a project.
Used to authenticate from one service to another.
Used to control privileges used by resources so that applications can
perform actions on behalf of authenticated end users.
Identified with an email address:
PROJECT_NUMBER-compute@developer.gserviceaccount.com
PROJECT_ID@appspot.gserviceaccount.com
Service accounts control server-to-server interactions
Proprietary +Confidential
Learn more about Generative AI at
http://bit.ly/3ZbrF4n
Thank You
1 de 54

Recomendados

Building what's next with google cloud's powerful infrastructure por
Building what's next with google cloud's powerful infrastructureBuilding what's next with google cloud's powerful infrastructure
Building what's next with google cloud's powerful infrastructureMediaAgility
782 visualizações58 slides
GDSC Study Jam Session 1 por
GDSC Study Jam Session 1GDSC Study Jam Session 1
GDSC Study Jam Session 1SahithiGurlinka
31 visualizações31 slides
Azure Overview Csco por
Azure Overview CscoAzure Overview Csco
Azure Overview Cscorajramab
670 visualizações29 slides
An Overview of Windows Azure por
An Overview of Windows AzureAn Overview of Windows Azure
An Overview of Windows AzureMicrosoft Private Cloud
1.7K visualizações28 slides
Cloud Computing – Opportunities, Definitions, Options, and Risks (Part-1) por
Cloud Computing – Opportunities, Definitions, Options, and Risks (Part-1)Cloud Computing – Opportunities, Definitions, Options, and Risks (Part-1)
Cloud Computing – Opportunities, Definitions, Options, and Risks (Part-1)Manoj Kumar
1.2K visualizações40 slides
Why Cloud-Native Kafka Matters: 4 Reasons to Stop Managing it Yourself por
Why Cloud-Native Kafka Matters: 4 Reasons to Stop Managing it YourselfWhy Cloud-Native Kafka Matters: 4 Reasons to Stop Managing it Yourself
Why Cloud-Native Kafka Matters: 4 Reasons to Stop Managing it YourselfDATAVERSITY
522 visualizações32 slides

Mais conteúdo relacionado

Similar a Google Cloud Study Jam | GDSC NCU

Google Cloud Fundamentals por
Google Cloud Fundamentals Google Cloud Fundamentals
Google Cloud Fundamentals Omar Fathy
60 visualizações34 slides
Azure Overview Business Model Overview por
Azure Overview Business Model OverviewAzure Overview Business Model Overview
Azure Overview Business Model Overviewrramabad
5.2K visualizações22 slides
[Cloud OnAir] Talks by DevRel Vol.4 データ管理とデータ ベース 2020年8月27日 放送 por
[Cloud OnAir] Talks by DevRel Vol.4 データ管理とデータ ベース 2020年8月27日 放送[Cloud OnAir] Talks by DevRel Vol.4 データ管理とデータ ベース 2020年8月27日 放送
[Cloud OnAir] Talks by DevRel Vol.4 データ管理とデータ ベース 2020年8月27日 放送Google Cloud Platform - Japan
381 visualizações70 slides
Solving enterprise challenges through scale out storage & big compute final por
Solving enterprise challenges through scale out storage & big compute finalSolving enterprise challenges through scale out storage & big compute final
Solving enterprise challenges through scale out storage & big compute finalAvere Systems
578 visualizações52 slides
GCCP-Session 2 por
GCCP-Session 2GCCP-Session 2
GCCP-Session 2GDSCIIITDHARWAD
21 visualizações36 slides
A fresh look at Google’s Cloud by Mandy Waite por
A fresh look at Google’s Cloud by Mandy Waite A fresh look at Google’s Cloud by Mandy Waite
A fresh look at Google’s Cloud by Mandy Waite Codemotion
1.9K visualizações41 slides

Similar a Google Cloud Study Jam | GDSC NCU(20)

Google Cloud Fundamentals por Omar Fathy
Google Cloud Fundamentals Google Cloud Fundamentals
Google Cloud Fundamentals
Omar Fathy60 visualizações
Azure Overview Business Model Overview por rramabad
Azure Overview Business Model OverviewAzure Overview Business Model Overview
Azure Overview Business Model Overview
rramabad5.2K visualizações
[Cloud OnAir] Talks by DevRel Vol.4 データ管理とデータ ベース 2020年8月27日 放送 por Google Cloud Platform - Japan
[Cloud OnAir] Talks by DevRel Vol.4 データ管理とデータ ベース 2020年8月27日 放送[Cloud OnAir] Talks by DevRel Vol.4 データ管理とデータ ベース 2020年8月27日 放送
[Cloud OnAir] Talks by DevRel Vol.4 データ管理とデータ ベース 2020年8月27日 放送
Google Cloud Platform - Japan381 visualizações
Solving enterprise challenges through scale out storage & big compute final por Avere Systems
Solving enterprise challenges through scale out storage & big compute finalSolving enterprise challenges through scale out storage & big compute final
Solving enterprise challenges through scale out storage & big compute final
Avere Systems578 visualizações
GCCP-Session 2 por GDSCIIITDHARWAD
GCCP-Session 2GCCP-Session 2
GCCP-Session 2
GDSCIIITDHARWAD21 visualizações
A fresh look at Google’s Cloud by Mandy Waite por Codemotion
A fresh look at Google’s Cloud by Mandy Waite A fresh look at Google’s Cloud by Mandy Waite
A fresh look at Google’s Cloud by Mandy Waite
Codemotion1.9K visualizações
GCP.pptx por Harissh16
GCP.pptxGCP.pptx
GCP.pptx
Harissh1621 visualizações
Windowsazureplatform Overviewlatest por rajramab
Windowsazureplatform OverviewlatestWindowsazureplatform Overviewlatest
Windowsazureplatform Overviewlatest
rajramab654 visualizações
Benefits of the Azure cloud por James Serra
Benefits of the Azure cloudBenefits of the Azure cloud
Benefits of the Azure cloud
James Serra6.3K visualizações
Introduction to Google Cloud Services / Platforms por Nilanchal
Introduction to Google Cloud Services / PlatformsIntroduction to Google Cloud Services / Platforms
Introduction to Google Cloud Services / Platforms
Nilanchal 1.5K visualizações
3 Steps to Accelerate to Cloud por RightScale
3 Steps to Accelerate to Cloud3 Steps to Accelerate to Cloud
3 Steps to Accelerate to Cloud
RightScale2.1K visualizações
Benefits of the Azure Cloud por Caserta
Benefits of the Azure CloudBenefits of the Azure Cloud
Benefits of the Azure Cloud
Caserta 1.2K visualizações
Microsoft Azure For Solutions Architects por Roy Kim
Microsoft Azure For Solutions ArchitectsMicrosoft Azure For Solutions Architects
Microsoft Azure For Solutions Architects
Roy Kim1.2K visualizações
Introduction to GCP por Knoldus Inc.
Introduction to GCPIntroduction to GCP
Introduction to GCP
Knoldus Inc.146 visualizações
GCCP Presentation.pptx por Aman Singh Bhogal
GCCP Presentation.pptxGCCP Presentation.pptx
GCCP Presentation.pptx
Aman Singh Bhogal105 visualizações
Azure Overview Arc por rajramab
Azure Overview ArcAzure Overview Arc
Azure Overview Arc
rajramab1.1K visualizações
Understanding the Windows Azure Platform - Dec 2010 por DavidGristwood
Understanding the Windows Azure Platform - Dec 2010Understanding the Windows Azure Platform - Dec 2010
Understanding the Windows Azure Platform - Dec 2010
DavidGristwood5.2K visualizações
Introduction to GCP presentation por Mohit Kachhwani
Introduction to GCP presentationIntroduction to GCP presentation
Introduction to GCP presentation
Mohit Kachhwani6.9K visualizações
2023 - Google Cloud Study Jam for GDSC - Session 2 - Getting Started with Goo... por HarshDambhare1
2023 - Google Cloud Study Jam for GDSC - Session 2 - Getting Started with Goo...2023 - Google Cloud Study Jam for GDSC - Session 2 - Getting Started with Goo...
2023 - Google Cloud Study Jam for GDSC - Session 2 - Getting Started with Goo...
HarshDambhare1102 visualizações
Data & Analytics ReInvent Recap [AWS Basel Meetup - Jan 2023].pdf por Chris Bingham
Data & Analytics ReInvent Recap [AWS Basel Meetup - Jan 2023].pdfData & Analytics ReInvent Recap [AWS Basel Meetup - Jan 2023].pdf
Data & Analytics ReInvent Recap [AWS Basel Meetup - Jan 2023].pdf
Chris Bingham85 visualizações

Último

fakenews_DBDA_Mar23.pptx por
fakenews_DBDA_Mar23.pptxfakenews_DBDA_Mar23.pptx
fakenews_DBDA_Mar23.pptxdeepmitra8
12 visualizações34 slides
Thermal aware task assignment for multicore processors using genetic algorithm por
Thermal aware task assignment for multicore processors using genetic algorithm Thermal aware task assignment for multicore processors using genetic algorithm
Thermal aware task assignment for multicore processors using genetic algorithm IJECEIAES
31 visualizações12 slides
SNMPx por
SNMPxSNMPx
SNMPxAmatullahbutt
15 visualizações12 slides
802.11 Computer Networks por
802.11 Computer Networks802.11 Computer Networks
802.11 Computer NetworksTusharChoudhary72015
9 visualizações33 slides
MSA Website Slideshow (16).pdf por
MSA Website Slideshow (16).pdfMSA Website Slideshow (16).pdf
MSA Website Slideshow (16).pdfmsaucla
58 visualizações8 slides
zincalume water storage tank design.pdf por
zincalume water storage tank design.pdfzincalume water storage tank design.pdf
zincalume water storage tank design.pdf3D LABS
5 visualizações1 slide

Último(20)

fakenews_DBDA_Mar23.pptx por deepmitra8
fakenews_DBDA_Mar23.pptxfakenews_DBDA_Mar23.pptx
fakenews_DBDA_Mar23.pptx
deepmitra812 visualizações
Thermal aware task assignment for multicore processors using genetic algorithm por IJECEIAES
Thermal aware task assignment for multicore processors using genetic algorithm Thermal aware task assignment for multicore processors using genetic algorithm
Thermal aware task assignment for multicore processors using genetic algorithm
IJECEIAES31 visualizações
SNMPx por Amatullahbutt
SNMPxSNMPx
SNMPx
Amatullahbutt15 visualizações
MSA Website Slideshow (16).pdf por msaucla
MSA Website Slideshow (16).pdfMSA Website Slideshow (16).pdf
MSA Website Slideshow (16).pdf
msaucla58 visualizações
zincalume water storage tank design.pdf por 3D LABS
zincalume water storage tank design.pdfzincalume water storage tank design.pdf
zincalume water storage tank design.pdf
3D LABS5 visualizações
NEW SUPPLIERS SUPPLIES (copie).pdf por georgesradjou
NEW SUPPLIERS SUPPLIES (copie).pdfNEW SUPPLIERS SUPPLIES (copie).pdf
NEW SUPPLIERS SUPPLIES (copie).pdf
georgesradjou14 visualizações
Investor Presentation por eser sevinç
Investor PresentationInvestor Presentation
Investor Presentation
eser sevinç23 visualizações
Machine learning in drug supply chain management during disease outbreaks: a ... por IJECEIAES
Machine learning in drug supply chain management during disease outbreaks: a ...Machine learning in drug supply chain management during disease outbreaks: a ...
Machine learning in drug supply chain management during disease outbreaks: a ...
IJECEIAES10 visualizações
DevOps to DevSecOps: Enhancing Software Security Throughout The Development L... por Anowar Hossain
DevOps to DevSecOps: Enhancing Software Security Throughout The Development L...DevOps to DevSecOps: Enhancing Software Security Throughout The Development L...
DevOps to DevSecOps: Enhancing Software Security Throughout The Development L...
Anowar Hossain12 visualizações
Investigation of Physicochemical Changes of Soft Clay around Deep Geopolymer ... por AltinKaradagli
Investigation of Physicochemical Changes of Soft Clay around Deep Geopolymer ...Investigation of Physicochemical Changes of Soft Clay around Deep Geopolymer ...
Investigation of Physicochemical Changes of Soft Clay around Deep Geopolymer ...
AltinKaradagli6 visualizações
Instrumentation & Control Lab Manual.pdf por NTU Faisalabad
Instrumentation & Control Lab Manual.pdfInstrumentation & Control Lab Manual.pdf
Instrumentation & Control Lab Manual.pdf
NTU Faisalabad 5 visualizações
Codes and Conventions.pptx por IsabellaGraceAnkers
Codes and Conventions.pptxCodes and Conventions.pptx
Codes and Conventions.pptx
IsabellaGraceAnkers7 visualizações
Digital Watermarking Of Audio Signals.pptx por AyushJaiswal781174
Digital Watermarking Of Audio Signals.pptxDigital Watermarking Of Audio Signals.pptx
Digital Watermarking Of Audio Signals.pptx
AyushJaiswal7811748 visualizações
Taking out the Trash (And the Recyclables]: RFID and the Handling of Municipa... por ijseajournal
Taking out the Trash (And the Recyclables]: RFID and the Handling of Municipa...Taking out the Trash (And the Recyclables]: RFID and the Handling of Municipa...
Taking out the Trash (And the Recyclables]: RFID and the Handling of Municipa...
ijseajournal5 visualizações
Design of machine elements-UNIT 3.pptx por gopinathcreddy
Design of machine elements-UNIT 3.pptxDesign of machine elements-UNIT 3.pptx
Design of machine elements-UNIT 3.pptx
gopinathcreddy29 visualizações
Object Oriented Programming with JAVA por Demian Antony D'Mello
Object Oriented Programming with JAVAObject Oriented Programming with JAVA
Object Oriented Programming with JAVA
Demian Antony D'Mello107 visualizações
Dynamics of Hard-Magnetic Soft Materials por Shivendra Nandan
Dynamics of Hard-Magnetic Soft MaterialsDynamics of Hard-Magnetic Soft Materials
Dynamics of Hard-Magnetic Soft Materials
Shivendra Nandan14 visualizações
Update 42 models(Diode/General ) in SPICE PARK(DEC2023) por Tsuyoshi Horigome
Update 42 models(Diode/General ) in SPICE PARK(DEC2023)Update 42 models(Diode/General ) in SPICE PARK(DEC2023)
Update 42 models(Diode/General ) in SPICE PARK(DEC2023)
Tsuyoshi Horigome23 visualizações
An approach of ontology and knowledge base for railway maintenance por IJECEIAES
An approach of ontology and knowledge base for railway maintenanceAn approach of ontology and knowledge base for railway maintenance
An approach of ontology and knowledge base for railway maintenance
IJECEIAES12 visualizações

Google Cloud Study Jam | GDSC NCU

  • 1. Google Cloud Study Jam GDSC NCU SepĞ ember - OcĞ ober 2023 Lakshay Yadav Cloud Facilitator
  • 2. So, What’s the Cloud Anyway?
  • 3. On- demand self-service Broad network access Resourc e pooling Rapid elasticity Measured service No human intervention needed to get resources Access from anywhere Provider shares resources to consumers Get more resources quickly as needed Pay only for what you consume Cloud computing has five fundamental characteristics
  • 4. Infrastructure as a service (IaaS) Platform as a service (PaaS) Software as a service (SaaS) ● CPU, memory, storage, and networking is provided as a service. ● The user needs to manage the OS and the application. ● The platform is a managed service. ● All the user provides is the application. ● The platform and software is provided as a service to the user. ● The user supplies the data. IaaS versus PaaS versus SaaS (threeCloud ServiceModels)
  • 5. Google Cloud PoPs and Network Edge Point of presence Equiano (PT,NG, ZA) 2021 Dunant (US, FR) 2020 SJC (JP,HK, SG) 2013 JGA-S (GU,AU) 2019 Indigo (SG, ID,AU) 2019 2019 Monet (US, BR) 2017 Junior (Rio, Santos) 2018 Tannat (BR, UY,AR) 2018 Curie (CL, US) 2019 Faster (US, JP,TW) 2016 PLCN (US, TW) 2020 Unity (US, JP) 2010 Grace Hopper Havfrue (US, UK, ES) (US, IE, DK) 2022 Network
  • 8. Vision API Speech-to-T ext API Cloud T ranslation API AI Platform Big data Pub/Sub Dataflow Dataproc BigQuery AI Platform Notebooks Machine learning AutoML Google Cloud offers services to get value from data
  • 9. Start with a Solid Platform
  • 10. Google Cloud Console Web user interface >_ Cloud SDK and Cloud Shell Command-line interface Cloud Console mobile app For iOS and Android REST-based API For custom applications REST: Representational State Transfer There are four ways to interact with Google Cloud
  • 11. The Cloud Console provides a web-based GUI for you to manage Google Cloud projects and resources ● Centralized console for all project data. ● Execute common tasks using simple mouse clicks. ● Manage and create projects. ● Access developer tools: ○ Cloud Source Repositories ○ Cloud SDK ○ Cloud Shell ● Access to product APIs.
  • 12. Logging in to the Cloud Console
  • 13. Interacting with the Cloud Console
  • 14. Every Google Cloud service you use is associated with a project ● Enable services and APIs. ● Enable billing. ● Manage permissions and credentials. ● Track resource and quota usage. ● Programmatically manage your projects in Google Cloud.
  • 15. Project ID Project name Project number Globally unique Need not be unique Globally unique Assigned by Google Cloud but mutable during creation Chosen by you Assigned by Google Cloud Immutable after creation Mutable Immutable Projects have three identifying attributes
  • 18. Billing account pays for project resources. A billing account is linked to zero or more projects. Accounts are charged automatically, invoiced monthly, or invoiced at the threshold limit. Sub accounts can be used for separate billing for projects. BigQuery Cloud Storage VMs Cloud APIs Cloud Network How billing works
  • 19. ● gcloud ● Gsutil (py app) ● bq The Cloud SDK is a command-line interface for Google Cloud products and services
  • 20. ● Browser-based CLI access to resources ● No need to install the Cloud SDK or other tools locally ● Runs on an ephemeral Compute Engine VM at no cost to you ● 5 GB of persistent disk storage ● Web preview functionality and built-in authorization for project/resource access Cloud Shell Cloud Console console.cloud.google.com Cloud SDK Cloud Shell is an alternative to the Cloud SDK
  • 22. The Cloud Console and Cloud Shell
  • 23. The Cloud Shell code editor is a tool for editing files inside your Cloud Shell environment
  • 24. Manage Google Cloud services from your Android or iOS device
  • 26. Compute Engine App Engine Cloud Functions Google Kubernetes Engine IaaS PaaS Serverless logic Hybrid Virtual machines with A flexible, zero ops A lightweight fully Cluster manager and industry-leading platform for building managed serverless orchestration engine built price/performance highly available apps execution environment for on Google’s container building and connecting experience cloud services Google Cloud offers a variety of compute services spanning different usage options
  • 27. Introducing Compute Engine General purpose and optimized VMs Committed and sustained use discounts PreemptibleVMs, BYOL and sole tenants Right sizing recommendations Live migration Customand predefined machine types Compute Engine lets you create and run virtual machines on Google infrastructure. Get access to a variety of predefined and customizable VM families coupled with consumption and pricing models, as well as functionality for all of your application and workload requirements.
  • 29. Serverless Compute Deploy and scale applications fast and securely in a fully managed environment No Infra Management Speed to Market Auto-scaling 29
  • 30. Proprietary +Confidential Google Cloud Serverless Compute Product Portfolio App Engine Cloud Run Cloud Functions Event-driven Functions-as-a-Service Run containers on a fully managed environment Run source-based web applications on a fully managed environment
  • 31. App Engine is a platform-centric solution ● Type of PaaS ● No need to buy, build, or operate hardware/infrastructure ● No managing servers or configuring deployments ● Focus on app development instead of operations ● Use a range of languages and tools ● Automatic scaling
  • 32. Connect and extend cloud services Events and triggers Serverless The components that make Cloud Functions work
  • 33. Cloud services Other APIs Cloud Functions Responds to events Emit events Writes back Invokes other services How Cloud Functions works
  • 34. Containers • Any Language • Any Library • Any Binary • Ecosystem of base images .js .r b .g o .p y .s h … 0 1 0 1 0 0 1 1 1
  • 35. Proprietary +Confidential Cloud Run Deploy in seconds Automatic HTTPS, Custom domains Any language, any library Portability No cluster management Run containers on a fully managed environment
  • 36. Deploying containers at scale is different! A fundamentally different way of managing applications requires different tooling and abstractions ● Deployment ● Management, monitoring ● Isolation ● Updates ● Discovery ● Scaling, replication, sets
  • 37. Scheduling: Decide what pods(exe unit) to run on which nodes Lifecycle and health: Keep my containers running despite failures Scaling: Make sets of containers bigger or smaller Naming and discovery: Find where my containers are now Load balancing: Distribute traffic across a set of containers Kubernetes handles... Storage volumes: Provide data to containers Logging and monitoring: T rack what’s happening with my containers Debugging and introspection: Enter or attach to containers Identity and authorization: Control who can do things to my containers
  • 39. Which storage type? Cloud Storage Cloud Bigtable Firestore Cloud SQL Memorystore Cloud Spanner Filestore Persistent Disk BigQuery In Memory Relational NoSQL Analytical Object Block File Managed Redis & Memcached Managed MySQL and PostgreSQL , and SQL Server Scalable relational database Serverless, scalable, document store Low-latency, scalable key-value and wide-column store Enterprise DW Unstructured data, objects or blobs Local VM file storage Lift/shift apps requiring file
  • 40. There are three common use cases for cloud storage 1 Content storage and delivery 2 3 Backup and archival storage Storage for data analytics and general compute
  • 41. Structured data Unstructured data First_Name Last_Name Address City Age Sherlock Holmes 12 Main St Mesa 60 James Bond 23 Old St Napa 43 Scarlett O’Hara 34 New St Derby 23 Marge Simpson 56 West St Cody 36 Transactions Online communities Notes & text fields Email Social media Ratings & reviews Voice transcriptions Surveys Call center Chat Structured versus unstructured data
  • 42. Cloud SQL Cloud Spanner Datastore Cloud Bigtable BigQuery Cloud Storage Is your data structured? ? No Is your workload analytics? ? No No Is your data relational? ? Yes Do you need updates or low latency? ? Do you need horizontal scalability? ? No Yes Yes Yes No Yes What type of storage will meet my needs best?
  • 44. Responsibility On- premises IaaS PaaS Managed services Content Access policies Usage Deployment Web app security Identity Operations Access and authentication Network security OS, data, and content Audit logging Network Storage and encryption Hardware Customer-managed Google-managed With Google Cloud, security responsibility is shared
  • 45. Data access is almost always the customer’s responsibility
  • 46. Who can do what on which resource Cloud Identity and Access Management lets admins authorize who can take action on specific resources
  • 47. Google account or Cloud Identity user test@gmail.com test@example.com Service account test@project_id.iam.gserviceaccount.com Google Groups test@googlegroups.com Cloud Identity or Google Workspace domain example.com Who: IAM policies can apply to any of four types of user sources Who
  • 48. Basic Predefined Custom There are three types of IAM(Identity & Access) roles
  • 49. Who can do what on Compute Engine resources in this project, or folder, or org IAM predefined roles apply to a particular Google Cloud service in a project
  • 50. ✔ compute.instances.delete ✔ compute.instances.get ✔ compute.instances.list ✔ compute.instances.setMachineType ✔ compute.instances.start ✔ compute.instances.stop . . . InstanceAdmin role project_a Google Group IAM predefined roles offer more fine-grained permissions on particular services
  • 51. ✔ compute.instances.get ✔ compute.instances.list ✔ compute.instances.start ✔ compute.instances.stop . . . InstanceOperator role project_a Google Group IAM custom roles let you define a precise set of permissions
  • 52. Provide an identity for carrying out server-to-server interactions in a project. Used to authenticate from one service to another. Used to control privileges used by resources so that applications can perform actions on behalf of authenticated end users. Identified with an email address: PROJECT_NUMBER-compute@developer.gserviceaccount.com PROJECT_ID@appspot.gserviceaccount.com Service accounts control server-to-server interactions
  • 53. Proprietary +Confidential Learn more about Generative AI at http://bit.ly/3ZbrF4n