Cloud servers (AWS, Google, Azure, …)

The CANedge2 can be used with multiple cloud servers for convenience and easy scalability.



Google cloud server

Google Cloud Storage supports S3 via ‘Interoperability’:

See also our video of how to set up your Google Cloud bucket and how to set up CORS.

  1. Sign up for a free account (this requires your card details, but no charges are made)
  2. Under Storage/Browser select “Create bucket” and select your preferred region
  3. Go to Settings/Interoperability, Enable Interoperability and “Create a new key”
  4. To enable CORS, start Google Cloud Shell via the >_ icon in the upper right corner
  5. Enter the following command:
echo '[{"maxAgeSeconds": 3600, "method": ["GET", "OPTIONS", "HEAD", "PUT", "POST"],
"origin": ["*"], "responseHeader": ["*"]}]' > cors-config.json
  1. Next, modify below with your bucket name and run it in the shell: gsutil cors set cors-config.json gs://[YOUR_OWN_BUCKET_NAME]

You can now configure your CANedge2 and log into CANcloud using the endpoint, http://storage.googleapis.com, your bucket name and the Interoperability storage access keys.

Note

Some S3 API calls are not supported via GCS Interoperability, incl. parts of CANcloud. If you need full support for the API, consider AWS or MinIO


Other S3 cloud servers (Wasabi, DigitalOcean)

You can also use other S3 cloud servers like Wasabi or DigitalOcean. The concept of setting these up is similar to e.g. AWS and hence not described in detail here. If questions, please contact us.


Microsoft Azure cloud server (using MinIO)

Azure does not directly support S3, but you can use MinIO to add the S3 object layer to Azure’s accounts & blobs structure[3].

  1. Sign up for a free account (this requires card details, but no charges are made)
  2. Go to “Storage accounts”, then “Add”. Provide a resource group and storage account name
  3. Click “Next: Advanced” and set “Secure transfer required” to disabled (for getting started)
  4. Click “Review + create”, then click on your storage account when it’s ready
  5. Go to “Access keys” and save your storage account name and one of the keys
  6. Next, go to Blobs and create a new private Container (this acts as your bucket)
  7. Download MinIO Server and open the command prompt in the folder
  8. Enter the below in the command prompt:
set MINIO_ACCESS_KEY=[your_azure_storage_account_name]
set MINIO_SECRET_KEY=[your_azure_storage_key]
minio gateway azure
  1. Login via CANcloud from another PC on the network and test that you can upload files

You can now configure your CANedge2 and log into CANcloud using the MinIO endpoint IP (see local/dedicated MinIO server sections), the above keys and your bucket name.


[1]Selecting a nearby region with low latency is key to ensuring fast data transfer rates.
[2]Amazon is migrating to ‘virtual hosted style’ URLs (rather than path-style) as of September 30, 2020. Buckets created after this date use the virtual hosted style and it is therefore recommended that you use this style.
[3]Note that Azure + MinIO is a higher-latency solution vs. the native S3 cloud servers. If your use case requires fast WiFi data transfer (e.g. for periodic uploads), consider one of the other server options. Note also that you can host MinIO on your Azure server directly.