Google Cloud Professional Architect Tutorial — Part 5 Of 6

Joseph Holbrook
Oct 29 · 6 min read
Image for post
Image for post

This section is focused designing solutions that meet the business and technical requirements of stakeholders.

It is important to go into the exam appreciating that Google defines best practices somewhat clearly and that the exam will reference existing industry best practices for design and migrations

Here is the complete list of Free Tutorials provided by TechCommanders.

This section is focused on implementation aspects around Google Cloud Services and migrating to Google Cloud.

It is important to go into the exam appreciating that Google defines best practices somewhat clearly and that the exam will reference existing industry best practices for design and migrations

Below I have summarized the objectives as efficiently as I could to provide you an efficient study resource.

5.1 Advising development/operation team(s) to ensure successful deployment of the solution.

Objectives of 5.1 and the areas of coverage are.

  • Application development — Modern application development support far better usability for cloud-native applications.
  • Some common themes are
  • Event-Driven
  • Microservices
  • API Gateways

Agile development is widely used and can be credited with lowering risk in cloud application development. Some common benefits of Agile are

  • Business Value
  • Higher Quality
  • Reduce Time to Market (TTM)
  • Cost Efficiency
  • Better Stakeholder engagement

gRPC is a modern open-source high-performance RPC framework that can run in any environment. It can efficiently connect services in and across data centers with pluggable support for load balancing, tracing, health checking, and authentication. It is also applicable in the last mile of distributed computing to connect devices, mobile applications, and browsers to backend services.

Cloud Endpoints

Cloud Endpoints is a solution from Google Cloud to help create a Public API for your App Engine applications. Cloud Endpoints also provides facilities to generate client libraries for Android and iOS, thus easing your task to integrate your backend application functionality into your mobile applications on Android and iOS.

Cloud Endpoints supports protocol transcoding so that clients can access your gRPC API by using HTTP/JSON. The Extensible Service Proxy (ESP) transcodes HTTP/JSON to gRPC.

Cloud Endpoints use Google Protocol RPC for HTTP service calls. The steps that are needed are

  1. Configure your Application
  2. Define Message classes
  3. Write your endpoint code
  4. Run and test API

Performance testing measures the specified points of measurements. (Throughput, Response Time. Latency, Usage)

Load testing is a form of performance testing that focuses on the variables of the load. It validates load as compared to performance metrics such as latency or TPS. Validates limits and thresholds and most importantly it helps us isolate bottlenecks.

Unit Testing is commonly referred to as component testing. In unit testing, we generally test a single component which is commonly decoupled from the dependencies.

Integration testing is used to validate the components of our applications work together. It is commonly used for testing multiple components and/or multiple systems. This form of testing is used to validate the quality of the software components.

The Google Cloud Adoption Framework was developed to serve both as a map for determining where your business information technology capabilities are now, and as a guide to where you want to be.

You can use this framework to assess your organization’s readiness for Google Cloud.

You may want to review the framework here.

The framework has four specific themes to address cloud adoption.

  • Learn. — You will want to review the quality and scale of your learning programs.
  • Lead. — You will want to understand the extent to which your IT departments are supported by a mandate from leadership to migrate to Google Cloud.
  • Scale. — You need to review the true extent to which you use cloud-native services.
  • Secure. — Understand the capability to secure the environment. Migrating your VM and Container workloads to Google cloud Moving you’re your VMS.

There are two ways to move your Virtual Machines.

When preparing to move your VMs don’t use on a VM with a local SSD. The local SSD data cannot be backed up and will just be discarded. Persistent disks have to be attached to only the VM you are going to move. (Multiple not supported) Note that a sufficient quota must exist for all the resources copied during duplication, or the process will fail.

Migration Types

There are three major types of migrations according to Google:

  • Lift and shift effectively move workloads from a source environment to a target environment with minor or no modifications or refactoring.
  • Improve and move effectively modernizes the workload while migrating it. In this type of migration, you modify the workloads to take advantage of cloud-native capabilities, and not just to make them work in the new environment.
  • Rip and replace will decommission an existing app and completely redesign and rewrite it as a cloud-native app. This type of migration allows you to use any Google Cloud capabilities.

There are several ways to migrate from Cloud Provider to GCP

  1. Importing Virtual Disks — Use import tool supports most virtual disk file formats, including VMDK, VHD, and RAW.
  2. Migrate for Compute Engine has effectively provided all the features of Velostrata. There are some really awesome features such as in-place upgrade, and more recently the possibility of migrating into a container rather than a VM.

Migrate for Compute Engine supports migration from an on-premise VMware environment or from other cloud providers.

At the time of writing these operating systems are supported:

  • Windows 2003 and newer
  • Linux with kernel 2.6+ for offline migrations
  • Linux with kernel 3.13+ for online migrations

5.2 Interacting with Google Cloud using GCP SDK

Objectives of 5.2 and the areas of coverage are.

The Cloud SDK is a set of tools for the Cloud Platform.

It contains gcloud, gsutil, and command-line tools, which you can use to access Google Compute Engine, Google Cloud Storage, Google BigQuery, and other products and services from the command-line.

You can run these tools interactively or in your automated scripts.

Local installation

To download and install locally we first need to select our runtime:

The following are the steps to start locally installing on Linux.

  • Extract file
  • Setup paths/reporting: ./google-cloud-sdk/ (or .bat)
  • Initialize the SDK: gcloud init
  • Authorization — gcloud auth activate-service-account -key-file [KEY_FILE]

Google Cloud Shell has the following components.

Google Cloud Emulators and Components are meant to support testing and development.

There is support for Bigtable, Datastore, Firestore and Pub/Sub Emulators and support for components such as Bigquery, Kubernetes, etc

To install components.

gcloud components — list, install, update, or remove Google Cloud SDK components

To install “kubectl” we need to install the component with the following syntax.

Figure 1 shows the SDK CLI with installed components

Figure 1 Kubectl

Image for post
Image for post

FREE Practice Exams

Joe Holbrook


Image for post
Image for post

👋 Join FAUN today and receive similar stories each week in your inbox! Get your weekly dose of the must-read tech stories, news, and tutorials.

Follow us on Twitter 🐦 and Facebook 👥 and Instagram 📷 and join our Facebook and Linkedin Groups 💬

Image for post
Image for post

If this post was helpful, please click the clap 👏 button below a few times to show your support for the author! ⬇


The Must-Read Publication for Creative Developers & DevOps Enthusiasts

Sign up for FAUN


Medium’s largest and most followed independent DevOps publication. Join thousands of aspiring developers and DevOps enthusiasts Take a look

By signing up, you will create a Medium account if you don’t already have one. Review our Privacy Policy for more information about our privacy practices.

Check your inbox
Medium sent you an email at to complete your subscription.

Joseph Holbrook

Written by

Blockchain and Cloud Evangelist Blogger, Author and Conference Speaker. I speak, write & teach blockchain.



The Must-Read Publication for Creative Developers & DevOps Enthusiasts. Medium’s largest DevOps publication.

Joseph Holbrook

Written by

Blockchain and Cloud Evangelist Blogger, Author and Conference Speaker. I speak, write & teach blockchain.



The Must-Read Publication for Creative Developers & DevOps Enthusiasts. Medium’s largest DevOps publication.

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

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