DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» is a community of 968,873 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
Mathis Van Eetvelde
Mathis Van Eetvelde

Posted on

Serving images from S3 using AWS Lambda and Golang!

In this video I go over how to serve images straight from an S3 bucket without having to expose/publicize the S3 link using AWS Lambda and Golang.

Alt Text

As you will see it's not per-se straight forward due to API Gateway's & Lambda's weird issues which force you to Base64Encode your images before you can send them off. Once you understand this it's smooth sailing, we even implement caching inside the lambda function while making use of Lambda's pseudo statelessness.

Top comments (0)

DEV has this feature:

Settings

Go to your customization settings to nudge your home feed to show content more relevant to your developer experience level. πŸ›