Book Image

Google Cloud Platform Administration

By : Ranjit Singh Thakurratan
Book Image

Google Cloud Platform Administration

By: Ranjit Singh Thakurratan

Overview of this book

On-premise data centers are costly to manage. If you need a data center but don’t want to deal with a physical one, Google Cloud Platform (GCP) is the solution. With GCP, you can build, test, and deploy applications on Google’s infrastructure. Google Cloud Platform Administration begins with GCP fundamentals, with the help of which you will deploy your first app and gain an understanding of Google Cloud architecture and services. Furthermore, you will learn how to manage Compute, networking, and storage resources. As you make your way through the book, you will learn how to track and manage GCP’s usage, monitoring, and billing access control. You will also be able to manage your GCP's access and permissions. In the concluding chapters, you will explore a list of different developer tools for managing and interacting with the GCP platform. By the end of this book, you will have learned how to effectively deploy workloads on GCP.
Table of Contents (11 chapters)

Stackdriver profiler

The Stackdriver profiler helps gather CPU usage and memory allocation information from your applications. This is different than Stackdriver monitoring, because with the Stackdriver profiler, you can tie the CPU usage and memory allocation attributes back to your application's source code. This helps you identify parts of your application that consume the most resources and also allows you to check the performance of your code:

Let's go over a hands-on exercise to explore and understand the Stackdriver profiler. In this lab, we will download a sample Go program and run it with the profiler enabled. We will then explore and use the profiler interface to capture data.

Let's log into our GCP console and select a project. Go to the Stackdriver | Profiler tab on the side bar and click on it:

You will see the Stackdriver Profiler main page:

The...