This article outlines the steps required to set up a Google Cloud Storage bucket for use with centralised logging in Migrate Self-Hosted.
Creating the service account
Follow the steps in the below article to set up a service account.
Creating the bucket
- Log in to the Google Cloud Platform.
- Click the hamburger menu in the top-left corner, then navigate to Cloud Storage > Buckets.
- Click the "Create Bucket" button.
- Enter a name for your bucket and click "Continue".
- Choose the region where you want your bucket to be located and click "Continue".
- Select the desired storage class and click "Continue".
- Standard is recommended if you plan to access the logs frequently.
- You can find more detail on storage costs in the below Google documentation.
- Scroll down and click "Create". All other settings can be left as default.
Once the bucket is created:
- Return to the bucket list, click the three dots to the right of your newly created bucket, and select Edit Access.
- Click Add Member. In the New Members field, paste the service account email address you created earlier.
- Click Select a Role and assign Storage Admin permissions.