To offload your WordPress media and serve them from Google Cloud Storage, you have to do the following:
If you already have these two set up, then ignore this document and move to the following tutorial:
Otherwise, follow the simple steps below to set up your Google Cloud Platform account.
Login to your GCP Console using your Google Account.
Now, you’ll be creating a Service Account on your Google Cloud Platform.
On GGP home, click on the Navigation Menu.
Go to APIs & Services option and click on Credentials.
Now click on +CREATE CREDENTIALS.
Choose the option Service account.
Select New Service Account from the Service Account drop-down section.
Enter a name for the account. Select the Storage Admin role on the Storage Section.
Set the default Key Type as JSON.
Now click on the Create Button to finish creating a new service account.
A key file will be downloaded. This file will contain the JSON key which you will need to connect Media Storage to Cloud with your Google Cloud Storage.
Next, its time to create a new bucket on your GCP account.
Go to the Navigation Menu > Storage > Browser.
**You can also choose from one of your existing buckets to authorize with Media Storage To Cloud.
Click on Create Bucket to create a new bucket.
Name your new bucket, and fill up the necessary information.
Click on Create and your new bucket will be created.
You can see your bucket details on this page.
Now you are ready with the necessary data required to connect Media Storage to Cloud with your Google Cloud Storage. Move on to the next document to get a guide to go through the authentication process.