bluelhf / greeting-as-a-service

Greeting with the power of Rust :crab: on AWS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GaaS

Greeting-as-a-service (GaaS) implements a Rust 🦀 AWS Lambda Server Function that greets the user.

Features

  • Friendly errors for invalid data
  • High performance, meaning low costs
  • Convention over configuration
  • Easy set-up for existing AWS users

Set-up

Dependencies

Instructions

  1. Clone the project
  2. Compile it with cargo lambda build --release -o zip
  3. Create a new Lambda Function in the AWS Console
    1. Select Author from Scratch
    2. Enter some function name, like greetingFunction.
    3. For a runtime, open the drop-down menu and select Custom runtime > Provide your own bootstrap on Amazon Linux 2.
    4. Check Advanced Settings > Enable Function URL.
    5. Click Create Function.
  4. In your Lambda Function, click Code > Upload from > .zip file > Upload
  5. Select bootstrap.zip from the target/lambda directory
  6. Congratulations, your lambda function is now set up!

About

Greeting with the power of Rust :crab: on AWS


Languages

Language:Rust 100.0%