Pushing Recordings to Google Cloud Storage
Cloud Storage is Google's solution for unified object storage which works very similar to the way Amazon S3 does.
The storage cost is based on a combination between the storage class you choose and the region availability. At the time of writing these are the prices:
You will get $300 worth of credits when you sign up for the Google Cloud trial which can be spent in 365 days.
Google's solution is compatible with Amazon's S3 API so you can configure Pipe to push your recordings to Google's Cloud Storage through the S3 push feature.
Here are the steps you need to take so that your recordings will be pushed to Google Cloud Storage.
I. Create a Google Cloud account:
- Go to https://cloud.google.com/storage/ and click the [Try It Free] button. You will be asked to login with your Google account or create one if you don't have one.
- Once you're account has been created you will be automatically redirected to the Google Cloud Storage console.
II. Create a new Google Cloud Storage bucket
- Log in to your cloud console at https://console.cloud.google.com/storage if your are not already logged in.
- At the top click the [Create Bucket] button
- Give the bucket a name
- Choose the default storage class and the location
- Set how to control access to objects. Important to note that if you select Uniform access control, this means ACLs will be disabled and you will have to specify the None option when configuring Pipe
- Set how to protect object data
- Click [Create]
III. Enable Interoperability and generate a new key for access
- Once the bucket is created go to project settings located on the left menu
- Go to the interoperability tab within Project Settings and enable it
- Once enabled a request endpoint will be shown along with other new options. We will need this later on
- Scroll down a bit and click [Create a key] to generate a new access key pair
IV. Configure Pipe to push recordings to Google Cloud Storage
- Sign in to your Pipe account and go to the S3 storage section https://addpipe.com/s3
- Copy the Google Cloud Storage Key (generated above) and paste it into the Access Key ID field
- Copy the Google Cloud Storage Secret (generated above) and paste it into the Secret Access Key field
- Type your bucket name into the Bucket name field
- Leave Bucket folder empty
- Select Custom endpoint... for Bucket region or custom endpoint
- In the Custom endpoint field that shows up copy the endpoint shown in interoperability settings page: storage.googleapis.com
- Select any of the canned ACLs. Google Cloud Storage supports all of the options. If when setting up your Google Cloud Storage bucket, you choose Uniform access control, here you must select the None option.
- Click [Save S3 Credentials]
All the existing files associated with a new recording (transcoded .mp4 files, original file, snapshot and filmstrip) will now be pushed to your Google Cloud Storage bucket. The links to all the files will be provided via the video_copied_s3
webhook and they will be also shown in the Pipe S3 logs section.
You can also view the files and all the details about them in your Google Cloud Storage console.
For more information on Google Cloud Storage check out https://cloud.google.com/storage/ .