/ember-fastboot-lambda

Addon for deploying FastBoot apps to AWS Lambda

Primary LanguageJavaScriptMIT LicenseMIT

Ember FastBoot Lambda

This addon automates deploying your Ember application to AWS Lambda. Lambda is Amazon's platform for running JavaScript code without provisioning or managing servers.

Once deployed, your app will use FastBoot to render HTML on the server, as well as serving the JavaScript, CSS and other assets.

Required Steps

  1. Automate provisioning AWS
  2. Build browser build (default to production environment)
  3. Build FastBoot build (default to production environment)
  4. Upload browser assets to S3/CloudFront
  5. Create FastBoot package
  6. Create npm package
  7. Install ember-fastboot-server
  8. Build contextify/other native dependencies for Lambda (thaumaturgy?)
  9. Configure build w/ correct asset URLs

Open Questions

Best practices for storing AWS credentials? Handling environments/targets?

Installation

  • ember install ember-fastboot-lambda

Provisioning AWS

Provision AWS to run an Ember app via FastBoot by running:

ember lambda:provision

You will be prompted for more information.