Skip to content

natasjja/3-serverless-patterns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS Serverless Community Day


Getting started with Serverless - 3 Easy Patterns

There's a project directory for each pattern:

Simple Web Service

  • Once deployed, copy the GET and POST methods to an API client like Postman.

Data Processing

  • Once deployed, go to S3 in the AWS console and upload an image to the upload-image-bucket

  • Check the resized-image-bucket for the processed and resized image.

Fan-Out

  • Create a .env file for this service and add an email for the sender's email address, set to SENDER_EMAIL_ADDRESS.

  • You'll then need to go to SES in the AWS console and verify the address you're sending the email from and to due to the sandbox restrictions.

  • Deploy the service

 

Deploying a service

  • Sign in to AWS via AWS CLI

  • cd into a service

  • Run npm install

  • Run sls deploy to deploy the service

  • Watch your stack come to life in the AWS console! 🎉

 

Each service was created with a Serverless Framework template.

Run serverless create --template aws-nodejs in a new direcrtory to create your own service!

Video

The video for the talk can now be viewed here:

Serverless Patterns

About

Demo code for "Starting out in Serverless: 3 easy patterns" talk

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published