Google Cloud Storage
Google Cloud Storage can be used through its S3-compatible interface (the XML API with HMAC keys). Easy Chat Room talks to every cloud provider with the same S3 connection, so it works with Google Cloud Storage the same way. Read Storage and uploads first.
Prepare the bucket
- In the Google Cloud console, create a bucket, for example
mysite-chat. - Make the files publicly readable: under Permissions, grant the role Storage Object Viewer to
allUsers. Public access prevention must be off for this bucket. - Open Cloud Storage > Settings > Interoperability and create an HMAC key for a service account that may write to the bucket. Copy the Access key and the Secret.
Set up in Easy Chat Room
Go to Settings > Cloud Storage:
| Field | Value |
|---|---|
| Enable Cloud Storage | Yes |
| Cloud Storage Type | Google Cloud Storage |
| Cloud Storage Endpoint | https://storage.googleapis.com |
| Cloud Storage Region | The bucket location, for example europe-west1 |
| Cloud Storage Access Key and Cloud Storage Secret Key | The HMAC access key and secret |
| Cloud Storage Bucket Name | mysite-chat |
| Cloud Storage Access URL | https://storage.googleapis.com/mysite-chat, without a slash at the end |
| Cloud Storage SSL Verification | Yes |
Click Update.
Copy your current media folder to the bucket before you turn it on, with the same folders.
Easy Chat Room does not use Google's own storage API or service account JSON files for this. Only HMAC keys work.
Costs and privacy
Google bills storage and downloads. Your members' files are stored with Google: mention it in your privacy policy.