Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 1.31 KB

File metadata and controls

34 lines (22 loc) · 1.31 KB

Serverless large messages architecture

This repository contains the source code for this tutorial: Create a serverless architecture that manage large messages, with Scaleway Messaging and Queuing NATS, Serverless Functions and Object Storage.

Requirements

This example assumes that you are familiar with:

  • how messaging and queuing works. You can find out more in the Scaleway official documentation
  • how serverless functions work. If needed, you can check this page.
  • how S3 object storage works, and especially how to create a bucket and upload files within a bucket. Please refer to Scaleway's documentation here.

Context

This example shows how to handle large messages using NATS, Object Storage and Serverless Functions.

Setup

Once you have cloned this repository you can run:

terraform init
terraform plan
terraform apply

Running

To run the example, you can execute:

./upload_img.sh path/to/your/image

Once the script has finished, you should see your image and a pdf with the same name in the bucket you've created.