What you're doing in this step
Most APIs, by default, are disabled for new projects. You typically enable APIs one at a time so that your project can then access other services. To use Apigee, you must enable the following APIs for your Cloud project:
||Provides communications between your project and other services and Cloud APIs.|
||Enables your managed services on internal IP addresses to connect to service consumers.|
||Used for managing your runtime (or cluster).|
|Cloud Key Management Service (KMS)||
Manages keys and performs cryptographic operations for direct use by other cloud resources.
When you use this API, you need to have a cert/key pair. You can create them now or create them later when you have to use them.
Perform the step
You cannot use the Apigee provisioning wizard to perform this step. However, you can use either the command line or the Cloud Console's UI. For more information, see Enabling APIs.
To enable the required APIs on the command line:
- Log in and initialize your Cloud project if you haven't done so already.
Enable the four required APIs listed above by executing the following command:
gcloud services enable apigee.googleapis.com \ servicenetworking.googleapis.com compute.googleapis.com \ cloudkms.googleapis.com --project=$PROJECT_ID
Note that this command uses the $PROJECT_ID variable that you created for your Cloud environment in Step 1: Define environment variables.
(Optional) To check your work, list all the enabled APIs by executing the following command:
gcloud services list
The response shows all enabled services, including the APIs that you just enabled (Apigee, Service Networking, Cloud KMS, and Compute Engine). The following example shows a possible list of APIs displayed by this command:
... ... analyticsreporting.googleapis.com Analytics Reporting API apigee.googleapis.com Apigee API appengineflex.googleapis.com Google App Engine Flexible Environment ... ... cloudkms.googleapis.com Cloud Key Management Service (KMS) API compute.googleapis.com Compute Engine API computescanning.googleapis.com Compute Scanning API ... ... resourceviews.googleapis.com Compute Engine Instance Groups API servicenetworking.googleapis.com Service Networking API ... ...
While your list of APIs might be different than those shown above, it must include the APIs you enabled in this step. If it doesn't, try executing the previous command for each API—one at a time—to enable them. Alternatively, try using the Console to enable APIs.
For more information, see gcloud services enable.
If you encounter errors during this part of the process, see Troubleshooting.