Lab Details:

  1. This lab walks you through Cloud Deployment Manager.
  2. You will be creating a Template and Deployment.

Lab Tasks:

  1. Login into GCP Console.
  2. Creating a Template file.
  3. Creating a Deployment to launch Compute Engine and Firewall Rule.

Creating a Deployment using CDM:

  1. Start the Cloud Shell from the top bar.
  2. Enter the command to create a template file.

Google Cloud Deployment Manager vs. Terraform


Lab Task

  • Learn the basics of Pub/Sub.
  • Create, delete, and list Pub/Sub topics.
  • Create, delete, and list Pub/Sub subscriptions.
  • Publish messages to a topic.
  • Use a pull subscriber to output individual topic messages.
  • Use a…


Lab Objective

  • Set up a topic to hold data.
  • Subscribe to a topic to access the data.
  • Publish and then consume messages with a pull subscriber.

Setting up Pub/Sub


  • Get started with Terraform in Google Cloud.
  • Install Terraform from installation binaries.
  • Create a VM instance infrastructure using Terraform.

What is Terraform?

Why use Terraform instead of Cloud Deployment Manager?

Lab Details:

  1. This lab walks you through GCP VPC Network creation using Terraform.
  2. The main agenda of this lab is to work on the automation of creating Infrastructure.
  3. This lab will use Terraform to create a VPC using a Custom subnet.

Lab Tasks:

  1. Starting Cloud Shell.
  2. Creating a VPC.
  3. Destroying the Infrastructure.

Creating a VPC Network:

  1. Click on the hamburger icon on the top left corner

What is BigTable?

When to choose BigTable and BigQuery?

  • For Interactive querying in an online analytical processing system use BigQuery.
  • BigQuery is a data warehouse application, and it stores data in structured tables.
  • BigQuery supports SQL queries whereas BigTable doesn’t support SQL queries.
  • BigTable is not a recommended solution for a small volume of data(< 1 TB).
  • BigTable is characteristic of a NoSQL system whereas BigQuery is somewhat of a hybrid…

What is Cloud Spanner?

  • Cloud Spanner is used to handle large amounts of data. It provides petabytes of capacity. Main use cases include financials and inventory applications.
  • Cloud Spanner can be considered a replacement for traditional SQL. For e.g. In a traditional database environment, when database query response times get close or even exceed the threshold limit due to an increase in the number of users or queries, you can bring response times down to acceptable levels through manual intervention.
  • Cloud Spanner can scale horizontally easily with minimal intervention. You can scale horizontally by just increasing the number of nodes (just change one digit).

What is BigQuery?

  • BigQuery is a fully managed big data tool for companies who need a cloud-based interactive query service for massive datasets.
  • BigQuery is not a database, it’s a query service.
  • BigQuery supports SQL queries, which makes it quite user-friendly. It can be accessed from Console, CLI, or using SDK. You can query billions of rows, it only takes seconds to write, and seconds to return.
  • You can use its REST APIs and get your work done by sending a JSON request.
  • Let’s understand with help of an example, Suppose you are a data analyst and you need to analyze tons of…

Lab Overview:

Lab Details:

  1. This lab walks you through Installing WordPress on Compute engine using Startup Script.
  2. Make sure, you have completed the Compute Engine lab and Cloud SQL lab. This lab will directly jump on to building WordPress, and not get into the detail of Compute Engine. …

Rajeev Ghosh

Artificial Intelligence | Machine Learning | DevOps enthusiast

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store