Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Learn to Program The Cloud with Ruby & AWS Lambda

Learn to Program The Cloud with Ruby & AWS Lambda

A curated set of resources and guides on how to use Ruby & Rails as your entry point to learning native AWS cloud architectures. Presented to DC Ruby User Group. https://www.meetup.com/dcruby/events/wzqbvpybcjbxb/

Ken Collins

June 18, 2020
Tweet

More Decks by Ken Collins

Other Decks in Technology

Transcript

  1. • Think of app.rb as config.ru for API Gateway. •

    Rails is in good company! Express, Flask, etc all do the same thing. • Think of Lambda as a cheaper PAYGO on Heroku. Rails & Lambda (inside out)
  2. • AWS Resource Specification Language. • CLI Interface to Develop

    & Deploy Apps. • Lamby Uses Cutters Templates. • Super fast Squirrel on GitHub. Keep Up! • Bookmark These Resources… Serverless Application Model
  3. AWS Serverless Application Model (AWS SAM) Specification https://github.com/awslabs/serverless-application-model https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-specification.html Intrinsic

    Function Reference https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference.html AWS Resource and Property Types Reference https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html AWS SAM CLI GitHub Release Notes https://github.com/awslabs/aws-sam-cli/releases
  4. • Node & Webpacker • Compiled & Served Assets •

    Dotenv Integration • Encrypted Credentials with SSM Parameter Store Dig In & Explore https://github.com/customink/lamby-cookiecutter • CloudWatch Logging & Lograge • API Gateway HTTP API v2 Default • Custom Domain Names, SSL, & CloudFront • https://lamby.custominktech.com
  5. • Native MySQL & PostgreSQL using AWS RDS Proxy. Migrations?

    • Best Practices for Background Tasks & Event-Driven architecture using EventBridge, Asynchronous Invocations, and SNS/SQS. ActiveJob? Coming Soon…