Casey Lee
DevOps Engineer
Software Development Lifecycle
http://www.slideshare.net/AmazonWebServices/devops-at-amazon-a-look-at-our-tools-and-processes-50364582
http://www.slideshare.net/AmazonWebServices/devops-at-amazon-a-look-at-our-tools-and-processes-50364582
“DevOps = Efficiencies that speed up this lifecycle”
-Rob Brigham, Product Manager, AWS Developer Tools
Realizing continuous delivery
fundamentals by utilizing
serverless platforms
Continuous
Delivery?
Continuous =
Every change triggers the feedback process
Continuous Delivery Fundamentals
“If it hurts, do it more often!”
-Martin Fowler, ThoughtWorks
Continuous Delivery Fundamentals
Quality = Build it into the product
“Cease dependence on mass inspection to achieve quality.
Improve the process and build quality into the product in the first
place”
-W. Edwards Deming
Continuous Delivery Fundamentals
Automated = Releasing software should be
repeatable and reliable
“Let’s make deployments a boring, push-button
experience!”
-Anonymous Lazy Developer
Pipeline
http://xebia.github.io/cd-with-docker/#/2
Serverless?
Just show up with some code and the platform handles:
● Operating System – no need to select, secure, configure,
administer or patch the OS
● Servers – no cost risk of over-provisioning and no
performance risk of under-provisioning
● Capacity – no need to monitor utilization and scale capacity
based on load
● High Availability – compute resources are available across
multiple AZs
Serverless Platform
Realizing continuous delivery
fundamentals by utilizing
serverless platforms
lambda-express
lambda-express
S3 Bucket
Route53 Resource Record
Lambda Function
API Gateway Custom Resource
API Gateway - Method
API Gateway - Stages
CloudFormation Status
CodePipeline Status
To the code!
Watch The App
Source Stage
Build Stage - Gulp
Build Stage - InputArtifact
Acceptance Stage - Deploy & Test
Continuation Token
Production Stage
Did it work?!
Blue/Green?
● Route53 Weighted Routing + Ephemeral API Gateways
● Lambda Versions + API Gateway Deployments
Swagger?
GitHub Repos
● stelligent/dromedary - Sample application
● stelligent/dromedary-serverless - Serverless CloudFormation templates
● stelligent/lambda-express - Lamba to Express adapter
Blog
● http://www.stelligent.com/blog
● @Stelligent
Casey Lee
@nektos

Serverless Delivery