Skip to main content

Google Cloud Platform

 The Google Cloud Platform is the infrastructure that powers the Google products you are familiar with including Gmail, Search, and Google Photos.

In April of 2008, Google announced its first service called App Engine, a cloud compute service for developing and hosting web applications in Google-managed data centers. Since then, Google has evolved and added more cloud services to its platform.

GCP lets developers build and host applications and websites, store data, and analyze data, all on Google’s scalable and reliable computing infrastructure.

It has hundreds of products and tools in categories like compute, storage, databases, networking, and machine learning that seamlessly integrates with each other.

Compute products help us deploy our applications in the cloud. For example, you may want to deploy a simple e-commerce web application in GCP, and for that, you might want to use App Engine or provision a Compute Engine instance to host your application.

Storage and database products help us store, retrieve, and query data in fully managed cloud environments. For example, you may want to store data from a physical fitness app and the requirement is to make sure that the relational databases are highly available, knowing this, you might want to use Cloud Spanner to accomplish this requirement.

Moreover, networking services like the Virtual Private Cloud, Cloud VPN, Cloud Router, and Cloud Interconnect helps us manage and scale our global network infrastructure seamlessly.

Google also offers machine learning and artificial intelligence (AI) products. You can build and deploy your machine learning models to AI platforms or leverage on easy-to-use pre-trained machine learning APIs like Vision and Natural Language.

Projects

Any Google cloud resources that you allocate and provision must belong to a project. Think of projects as the organizing entity for the things you will build in GCP.

A project is composed of settings, permissions, and other metadata that describe your applications. Resources within a single project can work together straightforward by communicating through an internal network, subject to region-and-zone rules. A project can’t access another project’s resources unless configured to do so using Shared VPC or VPC Network Peering.


Each Google Cloud project has the following information:

  • Project Name – which you will provide
  • Project ID – which you can provide or Google Cloud can provide for us
  • Project Number – which Google Cloud provides

A project ID is unique across Google Cloud. You can delete projects but the ID can never be used again.

A project serves as a namespace, which means that every resource within each project must have a unique name. Though you can generally reuse resource names if they are in separate projects, some resource names must be globally unique.

How do we interact with Google Cloud Platform services?

There are three different ways to interact with GCP services.

1. Cloud Console

The Google Cloud console provides a web-based graphical user interface that you can use to manage your Google Cloud projects. In using the Cloud Console, you start by creating a new project or by choosing an existing project. From there, you can configure the resources you created in the context of that project.

The two other ways to interact with Google Cloud services utilize the use of the command line interface and the gcloud tool. The gcloud tool lets us manage development workflow and Google cloud resources via a terminal window.

To run gcloud commands, you can use the following: Cloud SDK and Cloud Shell.

2. Cloud SDK

You can install Cloud SDK on your machine. The SDK includes the gcloud tool so you can open a terminal window on your own computer and run commands to manage Google Cloud services.

To install Cloud SDK on your computer, visit the Cloud SDK installation instructions page.

https://cloud.google.com/sdk/docs/downloads-versioned-archives

3. Cloud Shell

The cloud shell is a browser-based shell that you can open via Google Console.

Cloud Shell provides the following:

  • A temporary Compute Engine virtual machine instance running on Debian based Linux operating system.
  •  A built-in code editor.
  • 5 GB of persistent disk storage mounted as your $HOME directory on the virtual machine.
  • Pre-installed Cloud SDK and other tools.
  • Language support for Java, Go, Python, Node.js, PHP, Ruby and .NET.
  • Web preview functionality.
  • Built-in authorization for access to Cloud Console projects and resources.

The number of services that Google Cloud offers are growing. When you develop your website or application on Google Cloud, you mix and match these services into combinations that fit the requirements of the infrastructure you need.

Google Cloud Platform Cheat Sheet Reference:

https://cloud.google.com/docs/overview

Comments

Popular posts from this blog

Google Cloud Pub/Sub

  Cloud Pub/Sub is a fully-managed real-time messaging service for event driven systems that allows you to send and receive messages between independent applications. Features Capable of global message routing to simplify multi-region systems. Synchronous, cross-zone message replication and per-message receipt tracking ensure at-least-once delivery at any scale. Pub/Sub delivers each message at least once, so the Pub/Sub service might redeliver messages. You can declare independent quota and billing for publishers and subscribers. Cloud Pub/Sub doesn’t have shards or partitions. You just need to set your quota, publish, and consume. Key Concepts Topic It is a named resource to which publishers send messages. Subscription Is a named resource representing the stream of messages from a specific topic, to be sent to the subscribing application. Message The combination of data and attributes that a publisher sends to a topic and is eventually sent to subscribers. Message attribute A key...

Google Cloud Dataprep

  Cloud Dataprep by Trifacta is an intelligent data service for visually exploring, cleaning, and preparing structured and unstructured data for analysis, reporting, and machine learning. Features You can transform structured or unstructured datasets of any size — megabytes to petabytes — with equal ease and simplicity. Cloud Dataproc can transform datasets stored in CSV, JSON, or relational table formats. You can process data stored in Cloud Storage, BigQuery, or from your desktop, then export the refined data to BigQuery or Cloud Storage for storage, analysis, visualization, or machine learning. Uses a proprietary algorithm that interprets the data transformation intent of a user’s data selection. You can leverage hundreds of transformation functions readily available to turn your data into the asset you want. Cloud Dataprep enables users to collaborate on similar flow objects in real-time or to create copies for other team members to use for independent tasks. Explore your data ...

Google Cloud Identity and Access Management

  Create and manage permissions for your Google Cloud resources with Identity Access Management (IAM). Provides a unified view into your organization’s security policy with built-in auditing to ease compliance purposes. Features Lets you authorize who can take specific actions on resources to give you full control and visibility on your Google Cloud services centrally. Permissions are represented in the form of  service.resource.verb Can map job functions into groups and roles. With IAM, users only get access to what they need to get the job done. Cloud IAM enables you to grant access to cloud resources at fine-grained levels, well beyond project-level access. You can leverage Cloud Identity to easily create or sync user accounts across applications and projects. IAM lets you set policies at the following levels of the resource hierarchy: Organization level The organization resource represents your company. IAM roles granted at this level are inherited by all resources under t...