The course is part of this learning path
Google Cloud Platform (GCP) provides a suite of services that run on the same infrastructure that Google uses to host its own products, such as Google Search and YouTube. These services let you provision a variety of IT resources, such as virtual machines, storage, and networks.
GCP resources are grouped and deployed into projects. In this course, you will learn how to create and set up new GCP projects and how to give users permission to access project resources by assigning them to roles such as owner and editor.
Access to GCP services is provided via APIs that may be enabled on a per-project basis. You will learn how to enable APIs for a project as well as create budgets and configure monitoring for the resources and services allocated.
- Create new cloud projects
- Add users to projects and assign them to roles
- Enable GCP APIs and services for a project
- Provision Stackdriver accounts for monitoring project resources
- Add billing accounts and create project budgets
- Manage organization resources using the Cloud SDK
- People who would like to become GCP administrators
- People studying for the Google Associate Cloud Engineer exam
Next, we will learn how to enable APIs for our project. Google Cloud Platform provides several project building blocks in the form of APIs. APIs range from storage to machine learning. Many of the APIs needed for common tasks are enabled by default such as storage.
To extend the services enabled, you can enable additional APIs. For example, suppose you are writing an application that interacts with a user's Google Calendar. To add or schedule events on their Google Calendar programmatically, you would enable the Google Calendar API. You can find a complete list of GCP APIs at https://cloud.google.com/apis. When you enable an API, monitoring pages and billing properties, if billing is enabled, are added to your project.
To enable an API for your project using the console, open the APIs and services page by clicking the navigation menu then click APIs & Services. From the projects list, select your project. You will see the APIs that are already enabled for that project. Click the enable APIs and services link at the top of the page. Search for or browse to the API you want to add to your project, click on the API card then click the enable button.
As a note, some APIs have different processes for enabling them for your project. Some will ask you to accept their terms of service. Others may require additional signup. If you no longer have use for an API, you can disable it from the GCP console. To disable an API for your project using the console, click the disable link at the top of the page.
Now we will provision Stackdriver to monitor our GCP resources. Stackdriver is a monitoring service that allows you to view performance, uptime, and the health of the resources in your project. Stackdriver allows you to monitor GCP projects as well as AWS accounts in the same workspace.
First, we will create a new Stackdriver workspace for our project. To add a Stackdriver workspace to your project, open the Stackdriver monitoring page by clicking the navigation menu then scroll to Stackdriver then click Monitoring. From the projects list, select your project. Select create a new workspace. Select your project in the select workspace dialogue. Click the continue button. Skip AWS set up then click the continue button. Select your report interval and click continue. Then click the launch monitoring button.
Workspace settings allows you to: add new users to your workspace and manage monitored projects and accounts. To access workspace settings, from the project menu at the top of the page, click to select Workspace Settings.
Now that our project is all set up with users and monitoring, we are ready to move on to the next step.
About the Author
Joseph Cava is a full-stack web development veteran, fluent in all levels of the architecture, specializing in agile software development, product development, user experience, database design, testing, and documentation, focused on cloud deployments to Google Cloud Platform, Amazon Web Services, and Microsoft Azure.