Self-hosted Mender - Config for Amazon CloudFront?

Has anybody got self-hosted Mender working with Amazon CloudFront?

I have S3 setup OK with
DEPLOYMENTS_AWS_URI: https://s3.eu-central-1.amazonaws.com
I can upload artifacts via the UI no problem.

However I would like deployments to download from a CloudFront URL like
https://d2cj8bq76uwdq0.cloudfront.net

I could not find a config variable for setting the download url.

Is there any way to do this?

thanks
–Will

The Mender server utilizes S3 API to generate a presigned Object URL, and this URL is provided to the client.

As far as I know there is no configuration option to tell the client to use a cloudfrount URL, but it is also unclear to me if it even would work with presigned Object URLs if there was.

It seems that it would be possible (quick internet search :slight_smile: ),