What we are going to build

We are going to build a Single Page Application (SPA) hosted in S3 that’s able to query a relational database using ActiveRecord and then use the AWS SDK for Ruby to work with DynamoDB. What Serverless applications lack in infrastructure they gain in complexity, but with this guide you will be able to navigate the various services and techniques required to build a complete application in AWS without servers and using Ruby!

What if you don’t want to use Ruby?

We think Ruby is the best thing since nunchuks, but we get it, maybe you don’t. The good news is that the concepts and service configurations will be practically be the same between languages. So if you want to use JavaScript for example, you should only have to swap out the code for the most part. If you run into some troubles, let us know in the comments if you have any issues or something specific you’d like to see and we’ll be happy to add it to the dojo.

What we will cover

We are going to build a real world example, so we are going to get into quite a few services on AWS:

  • Aurora Serverless
  • DynamoDB
  • Static Website Hosting using S3
  • AWS Lambda using the Ruby Runtime
  • API Gateway
  • AWS Serverless Application Model (AWS SAM)

Ready to get started? Lets get started!

Step 1: How to create an Aurora Serverless Cluster using the AWS Console

Step 2: Build, Package, and Deploy an AWS Lambda using the Ruby Runtime

Step 3: Build and Deploy a Vue.js Application using VueResource and AWS Lambda to S3

Coming Soon: Design Patterns for DynamoDB

Coming Soon: Build an AWS Lambda Function using Ruby and AWS SDK for Ruby