warrify
How to Build a Startup 🚀
with Serverless Technologies
⚡
warrify
Hello World
👋
linkedin.com/in/pichler-matthias
m.pichler@warrify.com
Matthias Pichler
Co-Founder & CTO @ warrify
warrify
warrify
...enables retailers to provide a
personalized shopping
experience 🛒
more announced soon
Our Customers
warrify
Agenda
What is Serverless?
How we build on AWS
Infrastructure as Code
Preview Environments
Local Development
Testing
warrify
What is Serverless?
warrify
Serverless > FaaS
warrify
Serverless is an operational model
No Server Management Usage based Scaling
Built-in High-Availability
Pay as you go
warrify
How WE build Serverless
Applications on AWS ☁
warrify
Infrastructure as Code (IaC)
Get out of the console!
Infrastructure changes more often
We use the AWS CDK
● TypeScript support
● Extensible
● Testable infrastructure
● Tag policies
© Amazon Web Services (https://aws.amazon.com/blogs/devops/developing-application-patterns-cdk/)
warrify
CI & CD
Faster deployments
Separate accounts
● Development
● Staging
● Production
Run integration/E2E tests
© Mislav Cimperšak (https://xkcd-excuse.com) and Randall Munroe (https://xkcd.com/303)
warrify
Preview Environments
Deploy every branch as an environment
Identical to production
Feasible due to scale-to-zero
Teardown when work is done
© Ben Ellerby (https://medium.com/serverless-transformation/serverless-flow-a-ci-cd-branching-workflow-optimized-for-speed-and-quality-6b98c5a4e489)
warrify
Local Development
Many tools try to do it
All do it poorly IMO
Hardly match real cloud
Biggest drawback of Serverless today
© StackLift Inc. (https://localstack.cloud/)
© Amazon Web Services (https://aws.amazon.com/serverless/sam/)
warrify
Testing
Err on unit tests
Unit test whole Lambda Function
Less moving parts in code
Integration test deployed APIs
© Joao Sousa (https://medium.com/feedzaitech/how-to-take-the-most-out-of-your-unit-tests-c80c88aa26cf)
warrify
Q&A
linkedin.com/in/pichler-matthias
m.pichler@warrify.com
Matthias Pichler
Co-Founder & CTO @ warrify

How to Build a Startup with Serverless Technologies