Skip to content
This repository was archived by the owner on Jun 9, 2022. It is now read-only.
This repository was archived by the owner on Jun 9, 2022. It is now read-only.

Setup a Fastly service to serve audio #15

@sjparkinson

Description

@sjparkinson

Currently this app serves the audio content from S3 directly 😱.

return `https://s3-${process.env.AWS_REGION}.amazonaws.com/${process.env.AWS_AUDIO_BUCKET}/${uuid}.${process.env.SL_MEDIA_FORMAT}`;

This bucket is now the second most expensive in the company for S3 transfer costs, about $310 a month.

It'd be well worth setting up either CloudFront, or even better a Fastly service with segmented caching enabled to reduce the costs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions