Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Google Cloud Platform Administration
  • Toc
  • feedback
Google Cloud Platform Administration

Google Cloud Platform Administration

By : Ranjit Singh Thakurratan
close
Google Cloud Platform Administration

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)
close

Logging

Let's look at the logging feature for Stackdriver. If you recall from the earlier section, we installed the logging agent as part of our Stackdriver account setup. Click on Logging on the side bar tab to open a new window. You can select different resources, which include GCE Project, a GCE Firewall Rule, or even a GCE VM Instance:

Click on Load older logs to review these logs:

You can also filter using the Any log level option, or using the time frame:

Let's select our virtual machine instance and review its logs:

I intentionally stopped the Apache2 web server and noticed these new logs at the bottom:

Let's start the Apache2 web server and see whether the logs reflect this event. Click on the Jump to now button on top of the page to load the latest logs:

Now we'd like the logs to auto-populate. For this to happen, enable Log streaming:

This...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete