Google Cloud Platform (GCP)
Introduction
Documented by: Navin Gupta
Email: navingcp11@gmail.com WhatsApp group: https://chat.whatsapp.com/CT6hN4r61hJLXevuyChBVJ
Introduction: Google Cloud Platform (GCP) is a suite of cloud computing services offered by Google. It provides a range of infrastructure and platform services include:
Management
:
Control costs, establish identity and access management and use APIs
|
S. No. |
Name |
Description |
|
1 |
API management for cloud services |
|
|
2 |
Assortment of billing and cost management tools |
|
|
3 |
Resource access control |
|
|
4 |
Set up and deploy a best-practice foundation |
|
|
5 |
Purchase and manage subscriptions in Google Cloud |
Compute:
Run scalable virtual machines and containers
|
S. No. |
Name |
Description |
|
1 |
VMs, GPUs, TPUs, disks |
|
|
2 |
Managed Kubernetes/containers |
|
|
3 |
VMware as a service |
|
|
4 |
Jobs as a service |
|
|
5 |
Enterprise workload deployment and operation |
Storage
:
Store long-term, short-term, VM and
Filestore
securely
|
S. No. |
Name |
Description |
|
1 |
Enterprise-ready object storage |
|
|
2 |
Fully managed NFS server |
|
|
3 |
Secure and flexible way to move data |
|
|
4 |
Cloud-native enterprise-grade file service |
|
|
5 |
Managed parallel file system |
|
|
6 |
Fully managed file storage |
Analytics
:
Collect, store, process and analyse large amounts of data
|
S. No. |
Name |
Description |
|
1 |
Data warehouse/analytics |
|
|
2 |
Global real-time messaging |
|
|
3 |
Streaming analytics service |
|
|
4 |
Managed workflow orchestration service |
|
|
5 |
Managed Apache Hadoop |
|
|
6 |
Visual data wrangling |
|
|
7 |
Data pipeline management |
|
|
8 |
Enterprise BI and Analytics |
|
|
9 |
Healthcare data storage and processing |
|
|
10 |
Revenue growth through the cloud |
|
|
11 |
Biomedical data at scale |
|
|
12 |
Data power to uncover actionable intelligence |
|
|
13 |
Platform for data, analytics and AI workloads |
|
|
14 |
Planetary-scale platform for Earth science |
|
|
15 |
An Apache Kafka service for all use cases |
|
|
16 |
Managed data-streaming platform built on Apache Kafka and Apache Flink |
|
|
17 |
A serverless engine for Apache Flink |
|
|
18 |
Metadata management service |
|
|
19 |
Intelligent data fabric |
|
|
20 |
Streaming ingestion and replication |
|
|
21 |
Scalable self-service BI |
Networking
:
Manage, connect, secure and scale your networks
|
S. No. |
Name |
Description |
|
1 |
Virtual private cloud |
|
|
2 |
Network management tools |
|
|
3 |
Network and hybrid connectivity options |
|
|
4 |
Tools that power safe networking |
|
|
5 |
Network monitoring and topology |
|
|
6 |
Price vs performance tiering |
|
|
7 |
Access to the shared CBRS band radio spectrum |
|
|
8 |
Automate telecom infrastructure and applications |
Distributed cloud
|
S. No. |
Name |
Description |
|
1 |
Managed edge infrastructure |
|
|
2 |
Devices for edge and transfer workloads |
Serverless
:
Build applications powered by serverless functions and containers
|
S. No. |
Name |
Description |
|
1 |
Serverless for containerised applications |
|
|
2 |
Event-driven serverless functions |
|
|
3 |
Managed app platform |
|
|
4 |
API development, deployment and management |
|
|
5 |
Cloud API gateway |
Databases
:
Create, manage and migrate relational and non-relational databases
|
S. No. |
Name |
Description |
|
1 |
Dashboard for database fleets across products. |
|
|
2 |
Enterprise-grade, PostgreSQL-compatible databases |
|
|
3 |
Managed MySQL, PostgreSQL, SQL Server |
|
|
4 |
Serverless NoSQL document DB |
|
|
5 |
NoSQL database for your web and mobile apps |
|
|
6 |
Horizontally scalable relational DB |
|
|
7 |
Petabyte-scale, low-latency, non-relational |
|
|
8 |
Managed Redis Cluster, Redis and Memcached |
|
|
9 |
Cloud SQL and AlloyDB migrations simplified |
|
|
10 |
JSON-like data models, querying and scaling |
|
|
11 |
Integrated, fully managed graph databases |
|
|
12 |
Robust in-memory database platform |
|
|
13 |
Oracle workloads on Google Cloud |
# Cloud Type: Cloud computing is typically categorized into several types, each serving different needs and deployment models:
Public Cloud:
Services and infrastructure are provided over the internet and shared among multiple organizations. Examples include Google Cloud Platform, Amazon Web Services (AWS), and Microsoft Azure.
Private Cloud:
Infrastructure is dedicated to a single organization, offering more control and security. Private clouds can be hosted on-premises or by third-party providers.
Hybrid Cloud:
A combination of public and private clouds, allowing data and applications to be shared between them. This setup provides flexibility and scalability while maintaining control over sensitive data.
Cloud Type
Public
HybridPrivate
Cloud Service Model or Type: IaaS, PaaS, and SaaS are different service models in cloud computing, each catering to specific needs:
1. Infrastructure as a Service (IaaS):
Description
:
A
ll infrastructure is virtualized and provided to consumers as a service. This is called IaaS
.
Use Case
: Suitable for businesses that want to manage and control their infrastructure without the physical hardware. Common examples include Amazon EC2 and Google Compute Engine.
2. Platform as a Service (PaaS):
Description
: Offers a platform allowing developers to build, deploy, and manage applications without worrying about underlying infrastructure. It provides development tools, middleware, and database management.
Use Case
: Ideal for developers who want to focus on application development without dealing with server management. Examples include Google App Engine and Heroku.
3. Software as a Service (SaaS):
Description
: Delivers software applications over the internet, usually on a subscription basis. Users access the software via a web browser, without needing to install or maintain it.
Use Case
: Great for end-users looking for ready-to-use applications. Common examples include Google Workspace (formerly G Suite), Microsoft 365, and Salesforce.
GCP Regions & Zones:
A region is a specific geographical location where you can host your resources. Regions have three or more zones. For example, the us-west1 region denotes a region on the west coast of the United States that has three zones: us-west1-a , us-west1-b , and us-west1-c.
Regions
are collections of zones
Each region has 3 zones except IOWA which has 4 zones.
Region
s
are independent from another region
A region ensures high availability of service.
Each region has different cost of services.
A zone is a specific physical data center within a region. Each region can have multiple zones, often referred to as "availability zones."
A
zone
is a deployment area within a region
Zone Name =
Region Identifier + Zone Identifier
As of June 2024, Google Cloud Platform (GCP) has over 40 regions and 121 zones worldwide.
Zones have high-bandwidth, low-latency network connections to other zones in the same region
The fully-qualified name for a zone is made up of <region>-<zone>. For example, the fully qualified name for zone a in region us-central1 is us-central1-a
Note: Mostly GCP services are globally means can be find across the region but few are region specific.
Resource hierarchy: The resource hierarchy is a structured way of organizing and managing resources. It helps in applying policies, managing permissions, and organizing projects and resources effectively. The hierarchy consists of several levels:
1. Organization
The highest level in the resource hierarchy. It represents your company or organization.
An organization can contain multiple projects, folders, and resources.
2. Folders
Used to group projects and manage them collectively.
Folders can be nested within other folders, allowing for a flexible organizational structure.
Useful for applying policies and permissions across multiple projects within a specific group or department.
3. Projects
A project is a container for resources such as virtual machines, storage buckets, and databases.
Each project has its own settings, permissions, and billing.
Projects are the primary way to organize resources, and they help manage access control and billing independently.
4. Resources
The individual components that you use within a project, such as Compute Engine instances, Cloud Storage buckets,
BigQuery
datasets, and more.
Resources are created and managed within the context of a project.
Note: If you have individual account then Organization and folder hierarchy will not be present. Directly you would be creating the resources under project.
Google Cloud Platform (GCP) billing:
It refers to the process of charging customers for the use of GCP services and resources. Each project must have the billing account.
#1. Report: You can generate the report of billed amount for each service which was enabled in your project. Report can be generated based on following filter criteria:
Usage Date: Here billing can be seen for current month as well.
Invoice Month: It will always be previous month or older than previous.
Group By
All Project: Billing can also be filtered based on the project
Services: Select if you are looking the billing for specific service or for all the
services
Locations: Select if you are looking the billing for specific location or for all the location
Labels
Credits: discount or spending based discounts
#2. Cost Table: You can download or view the cost details for a specific month, project, services or SKUs, locations, labels or credit
#3. Cost Breakdown: Cost breakdown shows your base usage cost and how that cost was affected by any credits, adjustments and taxes to arrive at your total cost.
Note: You can download this as CSV as well
#3. Budgets & alerts: It is more critical section of GCP. Budgets track expenses within a Google Cloud project or billing account. You can set alerts to notify billing admins and users when your costs exceed a budget. Your costs are usually recorded within 24 hours. Set your budget to a lower amount to account for the time to report your costs.
Name:
Meaning Name for
Budget and Alert.
Time Range:
Monthly,
Quarterly
, Yearly or custom date.
Project: All projects or any specific project
Services: All services or any specific service.
Credits: Discount or promotion
Amount: Set the budget. Budget type can be specific amount or based on previous month usage.
Target Amount
: Enter the amount which you forecasting.
Actions: Here you can notify to the users based on the amount spen
t.
Notifucation
can be set for admin and users, or you can connect Pub/Sub topic or
Link Monitoring email notification channels to this budget
.