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

Getting Serverless into Production Faster

Getting Serverless into Production Faster

Presentation from the SLIC Starter workshop at the AWS UG and Serverless UG Warsaw, Poland workshop, 19th September 2019.

Eoin Shanaghy

September 19, 2019
Tweet

More Decks by Eoin Shanaghy

Other Decks in Programming

Transcript

  1. Account Setup # Account credentials (AWS_...) cp slic-config.json.sample slic-config.json #

    1. Edit accountIds # 2. Remove nsDomain # 3. Configure siteBucketPrefix
  2. GitHub Personal Access Token aws codebuild import-source-credentials -- generate-cli-skeleton >

    /tmp/skeleton.json # Change serverType to GITHUB # Change authType to PERSONAL_ACCESS_TOKEN # Delete username aws codebuild import-source-credentials --cli- input-json file:///tmp/skeleton.json
  3. CI/CD Deployment cd cicd npm install npm run build npm

    run cdk –bootstrap npm run deploy
  4. The Solution 1. Put all best practices together 2. Make

    opinionated decisions 3. Starter, not a framework 4. Replicate production environment 5. Make it open source 6. Continuously deploy
  5. CDK

  6. CDK

  7. Trigger a build! # Edit README.md git add README.md git

    commit –m “Trigger a build!” git push
  8. Roadmap üQuick start local development üSingle account üBetter IAM story

    üMonitoring üFeature branch deployments üPermissions and access control üReal time event processing üAnalytics