Preparing your environment for developing applications on Google Cloud
Before you start any development process, it is necessary to prepare your local environment with the tools needed to manage Google Cloud Platform (GCP) resources.
In this section, we will review how to emulate GCP services in the local development environment, create a project to organize all our resources, install and configure the Cloud SDK, and use the developer tools to facilitate our development work.
Emulating Google Cloud services for local application development
Some GCP resources allow you to execute and test locally to facilitate development, and thus avoid the need to constantly deploy your application to the cloud to perform tests.
With the Functions Framework, it is possible to develop serverless applications that run both in our local environment and in GCP, without the need for us to make changes.
The Functions Framework defines a PORT
to specify functions triggered by HTTP calls,...