Mobycast

{{ show.title }}Trailer Bonus Episode {{ selectedEpisode.number }}
{{ selectedEpisode.title }}
|
{{ displaySpeed }}x
{{ selectedEpisode.title }}
By {{ selectedEpisode.author }}
Broadcast by

Summary

In episode #109 of Mobycast, we started our discussion on how to build a massively scalable image hosting service. We talked about the general architecture and then dove deep on how to handle image uploads.

But uploading is only half the solution. We also need to allow downloads of the images. Turns out, downloading is a totally different game.

In this episode of Mobycast, Jon and Chris finish their two-part series on building an image hosting solution. We discuss in detail how to enable downloads of files with the help of CloudFront, a global network of edge locations that makes it easy to achieve massive scale.

Show Notes

In this episode, we cover the following topics:
  • We discuss the features and limitations of serving files directly from S3.
  • We then talk about how CloudFront can address many of S3's limitations. In particular, CloudFront is performant, inexpensive and allows us to use custom CNAMEs with TLS encryption.
  • How to create a secure CloudFront distribution for files hosted in S3.
  • What is OAI (Origin Access Identity), why we need it and how to set it up.
  • We show how you can configure your CloudFront distribution to use TLS and redirect HTTP to HTTPS.
  • We finish up by discussing "byte-range requests" and how to enable them for our image hosting solution.
Detailed Show Notes
Want the complete episode outline with detailed notes? Sign up here: https://mobycast.fm/show-notes/
End Song
Beauty in Rhythm by Roy England
More Info
For a full transcription of this episode, please visit the episode webpage.
We'd love to hear from you! You can reach us at:

What is Mobycast?

A Podcast About Cloud Native Software Development, AWS, and Distributed Systems