Self-hosted Mender - Config for Amazon CloudFront?

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

I have S3 setup OK with
I can upload artifacts via the UI no problem.

However I would like deployments to download from a CloudFront URL like

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

Is there any way to do this?


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: ),