SlideShare a Scribd company logo
1 of 67
Download to read offline
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Serverless: It All Started in Vegas
Martin Buberl
VP Engineering | AWS Community Hero
Trustpilot
D V C 3 0 6
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Martin Buberl
• VP Engineering at Trustpilot
• AWS Community Hero
• AWS User Group Leader
Copenhagen, Denmark
@martinbuberl
martinbuberl.com | trustpilot.com
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Agenda
• Back then ... and now
• What are all those AWS Lambda functions doing?
• Some ideas to take away and start building
• Fast track to serverless – how we did it
• Some ideas to take away to adopt serverless
• Looking back – any advice?
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Las Vegas, December 2016
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Tatonka challenge
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Serverless “FaaS” started to make sense
λ
λ λ
λ λ
λ λ
λ λ
λ λ
λ
λ
λ
λ
λ λ
λ
λ
λ λ
λλ λ
λ
λ
λ
λ
λ
λ
λ
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Serverless “FaaS” wasn’t a total stranger back then
• Couldn’t use Lambda before February 2016
Requirement to run them in VPCs
• Already had about 40 Lambda functions in production
Mostly tooling, data pipelines, and some experiments
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
8K Charity Fun Run
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Cloud compute with AWS
0
100
200
300
400
500
600
700
January-00 January-00 January-00 January-00
Virtual servers, containers, and serverless compute
Series1
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Cloud compute with AWS
0
100
200
300
400
500
600
700
January-00 January-00 January-00 January-00
Virtual servers, containers, and serverless compute
Series1 Series2 Series3
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Cloud compute with AWS
0
50
100
150
200
250
300
350
January-00 January-00 January-00 January-00
Virtual servers, containers, and serverless compute
Series1 Series2 Series3
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Cloud compute with AWS
December 2016
180 virtual servers
80 containers
40 Lambda functions
November 2018
95 virtual servers
283 containers
252 Lambda functions
-53%
+354%
+630%
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
+630%
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Trustpilot’s high-level architecture
• Cloud native
• Event-driven microservices
• REST APIs
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Trustpilot’s high-level architecture
Web clients & applications
Data
API management & orchestration
Pub/Sub messaging system
Compute
Third-party applications
Amazon API Gateway
REST APIs
trustpilot.com
Amazon Simple Notification Service (Amazon SNS)
Amazon Simple Queue Service (Amazon SQS)
Cloud compute
Amazon Relational Database
Service (Amazon RDS) NoSQL Amazon Simple Storage Service (Amazon S3)
Amazon CloudFront CDN
b2b.trustpilot.com
Amazon CloudFront CDN
widgets.trustpilot.com
Amazon CloudFront CDN
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Trustpilot’s high-level architecture
Web clients & applications
Data
API management & orchestration
Pub/Sub messaging system
Compute
Third-party applications
Amazon API Gateway
REST APIs
trustpilot.com
Amazon Simple Notification Service (Amazon SNS)
Amazon Simple Queue Service (Amazon SQS)
Cloud compute
NoSQL Amazon Simple Storage Service (Amazon S3)
Amazon CloudFront CDN
b2b.trustpilot.com
Amazon CloudFront CDN
widgets.trustpilot.com
Amazon CloudFront CDN
Amazon Relational Database
Service (Amazon RDS)
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Trustpilot’s high-level architecture
Web clients & applications
Data
API management & orchestration
Pub/Sub messaging system
Compute
Third-party applications
Amazon API Gateway
REST APIs
trustpilot.com
Amazon Simple Notification Service (Amazon SNS)
Amazon Simple Queue Service (Amazon SQS)
Cloud compute
NoSQL Amazon Simple Storage Service (Amazon S3)
Amazon CloudFront CDN
b2b.trustpilot.com
Amazon CloudFront CDN
widgets.trustpilot.com
Amazon CloudFront CDN
Amazon Relational Database
Service (Amazon RDS)
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Publish/Subscribe messaging pattern
Publisher
Subscriber
Publisher
Subscriber
Subscriber
Topic
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
“Traditional” auto scaling on queues
Queue
Auto Scaling group
Auto Scaling group
Containers
Instances
Queue
Message
Message
Amazon SQSAmazon SNS
Topic
Publisher
Publisher
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Instant scaling
Serverless “instant” scaling on topics
Message
Message
Amazon SNS
Topic
Publisher
Publisher
Lambda
function
Lambda
function
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Instant scaling
Serverless “instant” scaling on queues
Queue
Queue
Message
Message
Amazon SQSAmazon SNS
Topic
Publisher
Publisher
Lambda
function
Lambda
function
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
What are all those AWS Lambda functions doing?
Most of our Lambda functions in production ...
• Integrate with API Gateway
• Subscribe to topics from our pub/sub messaging system
Perfect for decoupled, event-driven microservices
Our next step is to ...
• Bring back queues for “auto-healing”
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Git webhook to Slack pub/sub
AWS Cloud
Webhook
Publish Subscribe
Incoming webhook(s)
developer.github.com/webhooks
HTTP POST
api.slack.com/incoming-webhooks
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Lambda for git security audit
• Ever accidentally committed a secret to source control?
For example, connection strings, tokens, API keys and secrets, private certificate keys
• Have a Lambda check for secrets and post to #secrets
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Lambda for git security audit – Version 2
• Send a message directly to the pull request in GitHub
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Lambda for git privacy audit
• Ever accidentally committed PII to source control?
For example, email addresses, usernames, social security numbers
• Have a Lambda check for PII and post to #privacy
• GDPR anybody?
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Lambda for naming discussions
• There are only two hard problems in computer science:
Cache invalidation, naming things, and off-by-one errors
• Have a Lambda post new repositories to #naming-things
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Lambda for Trello integration
• Have a Lambda automatically attach a PR to a Trello card
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Git webhook to SNS pub/sub
Subscribing Lambda functions for ...
• git security audit
• git privacy audit
• naming discussions
• Trello integration
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Engineering principle
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Engineering principle
github.com/trustpilot/principles
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Golden circle
WHY
“Start With Why”
by Simon Sinek
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Engineering principle
github.com/trustpilot/principles
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Why should I care?
Because we ...
• Have a vision and want to be part of the movement
• Acknowledge it’s not always right but start there
• Want to modernize our cloud compute stack
• See operational benefits
• Anticipate cost savings
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Engineering principle
Virtual servers are considered legacy and should be avoided.
github.com/trustpilot/principles
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Virtual servers are considered legacy
If that’s the case ...
• Amazon Elastic Compute Cloud (Amazon EC2) is legacy
Which means also ...
• .NET framework is legacy
As it’s not supported with Docker containers
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
+
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Hackathons
• Hackathons are great for serverless
Not just FaaS, all fully managed cloud services
• Serverless lets us ship prototypes that scale
Which we probably shouldn’t do
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Labs
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Trustmap
Node.js
Application
24h Cache
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Event “anomaly” detection
S3 event trigger
NotificationEvent logs
Analyze event
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
GTFO initiative
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
GTFO EC2
• Inventory of Amazon EC2s per team
• Weekly check-ins with tech leads
• Dedicated Slack channel
#gtfo-ec2
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
#gtfo-ec2
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
#gtfo-ec2
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
The cake alert
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS IoT to Slack
Incoming webhook
tech.trustpilot.com/the-cake-alert-28652f13607d
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
How did we fast track serverless?
• Serverless first
Engineering principle
• Hackathons and labs
• GTFO Amazon EC2
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Are AWS Lambda functions really cheaper?
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
!==
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Lambda functions
• Gutfeel is – for us – they are 10x cheaper
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Lambda functions
• Gutfeel is – for us – they are 10x cheaper
• Less ops heavy
• Faster development for services at scale
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Lambda functions
• Gutfeel is – for us – they are 10x cheaper
• Less ops heavy
• Faster development for services at scale
• Decrease of observability and traceability
We’re investing in this area
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Thank you!
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Martin Buberl
@martinbuberl
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.

More Related Content

What's hot

A Chronicle of Airbnb Architecture Evolution (ARC407) - AWS re:Invent 2018
A Chronicle of Airbnb Architecture Evolution (ARC407) - AWS re:Invent 2018A Chronicle of Airbnb Architecture Evolution (ARC407) - AWS re:Invent 2018
A Chronicle of Airbnb Architecture Evolution (ARC407) - AWS re:Invent 2018Amazon Web Services
 
Develop Cross-Platform Mobile Apps with React Native, GraphQL, & AWS (MOB324)...
Develop Cross-Platform Mobile Apps with React Native, GraphQL, & AWS (MOB324)...Develop Cross-Platform Mobile Apps with React Native, GraphQL, & AWS (MOB324)...
Develop Cross-Platform Mobile Apps with React Native, GraphQL, & AWS (MOB324)...Amazon Web Services
 
CI/CD for Serverless and Containerized Applications (DEV309-R1) - AWS re:Inve...
CI/CD for Serverless and Containerized Applications (DEV309-R1) - AWS re:Inve...CI/CD for Serverless and Containerized Applications (DEV309-R1) - AWS re:Inve...
CI/CD for Serverless and Containerized Applications (DEV309-R1) - AWS re:Inve...Amazon Web Services
 
Enterprise DevOps: Patterns of Efficiency (ENT311-R1) - AWS re:Invent 2018
Enterprise DevOps: Patterns of Efficiency (ENT311-R1) - AWS re:Invent 2018Enterprise DevOps: Patterns of Efficiency (ENT311-R1) - AWS re:Invent 2018
Enterprise DevOps: Patterns of Efficiency (ENT311-R1) - AWS re:Invent 2018Amazon Web Services
 
Leadership Session: Learn about 10 Years' of Windows and .NET Innovation on A...
Leadership Session: Learn about 10 Years' of Windows and .NET Innovation on A...Leadership Session: Learn about 10 Years' of Windows and .NET Innovation on A...
Leadership Session: Learn about 10 Years' of Windows and .NET Innovation on A...Amazon Web Services
 
Building Fraud Detection Systems with AWS Batch and Containers (DVC301) - AWS...
Building Fraud Detection Systems with AWS Batch and Containers (DVC301) - AWS...Building Fraud Detection Systems with AWS Batch and Containers (DVC301) - AWS...
Building Fraud Detection Systems with AWS Batch and Containers (DVC301) - AWS...Amazon Web Services
 
ProTips for Scaling AWS Training to Accelerate Adoption (DVC203) - AWS re:Inv...
ProTips for Scaling AWS Training to Accelerate Adoption (DVC203) - AWS re:Inv...ProTips for Scaling AWS Training to Accelerate Adoption (DVC203) - AWS re:Inv...
ProTips for Scaling AWS Training to Accelerate Adoption (DVC203) - AWS re:Inv...Amazon Web Services
 
Moving to DevOps the Amazon Way (DEV210-R1) - AWS re:Invent 2018
Moving to DevOps the Amazon Way (DEV210-R1) - AWS re:Invent 2018Moving to DevOps the Amazon Way (DEV210-R1) - AWS re:Invent 2018
Moving to DevOps the Amazon Way (DEV210-R1) - AWS re:Invent 2018Amazon Web Services
 
High Velocity DevOps: Four Ways to Leverage CloudFront in Faster DevOps Workf...
High Velocity DevOps: Four Ways to Leverage CloudFront in Faster DevOps Workf...High Velocity DevOps: Four Ways to Leverage CloudFront in Faster DevOps Workf...
High Velocity DevOps: Four Ways to Leverage CloudFront in Faster DevOps Workf...Amazon Web Services
 
Best Practices for Securing an Amazon VPC (NET318) - AWS re:Invent 2018
Best Practices for Securing an Amazon VPC (NET318) - AWS re:Invent 2018Best Practices for Securing an Amazon VPC (NET318) - AWS re:Invent 2018
Best Practices for Securing an Amazon VPC (NET318) - AWS re:Invent 2018Amazon Web Services
 
Shift-Left SRE: Self-Healing with AWS Lambda Functions (DEV313-S) - AWS re:In...
Shift-Left SRE: Self-Healing with AWS Lambda Functions (DEV313-S) - AWS re:In...Shift-Left SRE: Self-Healing with AWS Lambda Functions (DEV313-S) - AWS re:In...
Shift-Left SRE: Self-Healing with AWS Lambda Functions (DEV313-S) - AWS re:In...Amazon Web Services
 
Building Microservices with Containers (CON308-R1) - AWS re:Invent 2018
Building Microservices with Containers (CON308-R1) - AWS re:Invent 2018Building Microservices with Containers (CON308-R1) - AWS re:Invent 2018
Building Microservices with Containers (CON308-R1) - AWS re:Invent 2018Amazon Web Services
 
Build a Searchable Media Library & Moderate Content at Scale Using Machine Le...
Build a Searchable Media Library & Moderate Content at Scale Using Machine Le...Build a Searchable Media Library & Moderate Content at Scale Using Machine Le...
Build a Searchable Media Library & Moderate Content at Scale Using Machine Le...Amazon Web Services
 
The Future of Enterprise Applications is Serverless (ENT314-R1) - AWS re:Inve...
The Future of Enterprise Applications is Serverless (ENT314-R1) - AWS re:Inve...The Future of Enterprise Applications is Serverless (ENT314-R1) - AWS re:Inve...
The Future of Enterprise Applications is Serverless (ENT314-R1) - AWS re:Inve...Amazon Web Services
 
Driving Machine Learning and Analytics Use Cases with AWS Storage (STG302) - ...
Driving Machine Learning and Analytics Use Cases with AWS Storage (STG302) - ...Driving Machine Learning and Analytics Use Cases with AWS Storage (STG302) - ...
Driving Machine Learning and Analytics Use Cases with AWS Storage (STG302) - ...Amazon Web Services
 
Save Money and Migrate Faster with Rapid Discovery and Analysis (ENT331) - AW...
Save Money and Migrate Faster with Rapid Discovery and Analysis (ENT331) - AW...Save Money and Migrate Faster with Rapid Discovery and Analysis (ENT331) - AW...
Save Money and Migrate Faster with Rapid Discovery and Analysis (ENT331) - AW...Amazon Web Services
 
AWS VPN Solutions (NET304) - AWS re:Invent 2018
AWS VPN Solutions (NET304) - AWS re:Invent 2018AWS VPN Solutions (NET304) - AWS re:Invent 2018
AWS VPN Solutions (NET304) - AWS re:Invent 2018Amazon Web Services
 
Industrialize Machine Learning Using CI/CD Techniques (FSV304-i) - AWS re:Inv...
Industrialize Machine Learning Using CI/CD Techniques (FSV304-i) - AWS re:Inv...Industrialize Machine Learning Using CI/CD Techniques (FSV304-i) - AWS re:Inv...
Industrialize Machine Learning Using CI/CD Techniques (FSV304-i) - AWS re:Inv...Amazon Web Services
 
From One to Many: Evolving VPC Design (ARC309-R1) - AWS re:Invent 2018
From One to Many: Evolving VPC Design (ARC309-R1) - AWS re:Invent 2018From One to Many: Evolving VPC Design (ARC309-R1) - AWS re:Invent 2018
From One to Many: Evolving VPC Design (ARC309-R1) - AWS re:Invent 2018Amazon Web Services
 
What's New in AR & VR: State of the World Report (ARV203) - AWS re:Invent 2018
What's New in AR & VR: State of the World Report (ARV203) - AWS re:Invent 2018What's New in AR & VR: State of the World Report (ARV203) - AWS re:Invent 2018
What's New in AR & VR: State of the World Report (ARV203) - AWS re:Invent 2018Amazon Web Services
 

What's hot (20)

A Chronicle of Airbnb Architecture Evolution (ARC407) - AWS re:Invent 2018
A Chronicle of Airbnb Architecture Evolution (ARC407) - AWS re:Invent 2018A Chronicle of Airbnb Architecture Evolution (ARC407) - AWS re:Invent 2018
A Chronicle of Airbnb Architecture Evolution (ARC407) - AWS re:Invent 2018
 
Develop Cross-Platform Mobile Apps with React Native, GraphQL, & AWS (MOB324)...
Develop Cross-Platform Mobile Apps with React Native, GraphQL, & AWS (MOB324)...Develop Cross-Platform Mobile Apps with React Native, GraphQL, & AWS (MOB324)...
Develop Cross-Platform Mobile Apps with React Native, GraphQL, & AWS (MOB324)...
 
CI/CD for Serverless and Containerized Applications (DEV309-R1) - AWS re:Inve...
CI/CD for Serverless and Containerized Applications (DEV309-R1) - AWS re:Inve...CI/CD for Serverless and Containerized Applications (DEV309-R1) - AWS re:Inve...
CI/CD for Serverless and Containerized Applications (DEV309-R1) - AWS re:Inve...
 
Enterprise DevOps: Patterns of Efficiency (ENT311-R1) - AWS re:Invent 2018
Enterprise DevOps: Patterns of Efficiency (ENT311-R1) - AWS re:Invent 2018Enterprise DevOps: Patterns of Efficiency (ENT311-R1) - AWS re:Invent 2018
Enterprise DevOps: Patterns of Efficiency (ENT311-R1) - AWS re:Invent 2018
 
Leadership Session: Learn about 10 Years' of Windows and .NET Innovation on A...
Leadership Session: Learn about 10 Years' of Windows and .NET Innovation on A...Leadership Session: Learn about 10 Years' of Windows and .NET Innovation on A...
Leadership Session: Learn about 10 Years' of Windows and .NET Innovation on A...
 
Building Fraud Detection Systems with AWS Batch and Containers (DVC301) - AWS...
Building Fraud Detection Systems with AWS Batch and Containers (DVC301) - AWS...Building Fraud Detection Systems with AWS Batch and Containers (DVC301) - AWS...
Building Fraud Detection Systems with AWS Batch and Containers (DVC301) - AWS...
 
ProTips for Scaling AWS Training to Accelerate Adoption (DVC203) - AWS re:Inv...
ProTips for Scaling AWS Training to Accelerate Adoption (DVC203) - AWS re:Inv...ProTips for Scaling AWS Training to Accelerate Adoption (DVC203) - AWS re:Inv...
ProTips for Scaling AWS Training to Accelerate Adoption (DVC203) - AWS re:Inv...
 
Moving to DevOps the Amazon Way (DEV210-R1) - AWS re:Invent 2018
Moving to DevOps the Amazon Way (DEV210-R1) - AWS re:Invent 2018Moving to DevOps the Amazon Way (DEV210-R1) - AWS re:Invent 2018
Moving to DevOps the Amazon Way (DEV210-R1) - AWS re:Invent 2018
 
High Velocity DevOps: Four Ways to Leverage CloudFront in Faster DevOps Workf...
High Velocity DevOps: Four Ways to Leverage CloudFront in Faster DevOps Workf...High Velocity DevOps: Four Ways to Leverage CloudFront in Faster DevOps Workf...
High Velocity DevOps: Four Ways to Leverage CloudFront in Faster DevOps Workf...
 
Best Practices for Securing an Amazon VPC (NET318) - AWS re:Invent 2018
Best Practices for Securing an Amazon VPC (NET318) - AWS re:Invent 2018Best Practices for Securing an Amazon VPC (NET318) - AWS re:Invent 2018
Best Practices for Securing an Amazon VPC (NET318) - AWS re:Invent 2018
 
Shift-Left SRE: Self-Healing with AWS Lambda Functions (DEV313-S) - AWS re:In...
Shift-Left SRE: Self-Healing with AWS Lambda Functions (DEV313-S) - AWS re:In...Shift-Left SRE: Self-Healing with AWS Lambda Functions (DEV313-S) - AWS re:In...
Shift-Left SRE: Self-Healing with AWS Lambda Functions (DEV313-S) - AWS re:In...
 
Building Microservices with Containers (CON308-R1) - AWS re:Invent 2018
Building Microservices with Containers (CON308-R1) - AWS re:Invent 2018Building Microservices with Containers (CON308-R1) - AWS re:Invent 2018
Building Microservices with Containers (CON308-R1) - AWS re:Invent 2018
 
Build a Searchable Media Library & Moderate Content at Scale Using Machine Le...
Build a Searchable Media Library & Moderate Content at Scale Using Machine Le...Build a Searchable Media Library & Moderate Content at Scale Using Machine Le...
Build a Searchable Media Library & Moderate Content at Scale Using Machine Le...
 
The Future of Enterprise Applications is Serverless (ENT314-R1) - AWS re:Inve...
The Future of Enterprise Applications is Serverless (ENT314-R1) - AWS re:Inve...The Future of Enterprise Applications is Serverless (ENT314-R1) - AWS re:Inve...
The Future of Enterprise Applications is Serverless (ENT314-R1) - AWS re:Inve...
 
Driving Machine Learning and Analytics Use Cases with AWS Storage (STG302) - ...
Driving Machine Learning and Analytics Use Cases with AWS Storage (STG302) - ...Driving Machine Learning and Analytics Use Cases with AWS Storage (STG302) - ...
Driving Machine Learning and Analytics Use Cases with AWS Storage (STG302) - ...
 
Save Money and Migrate Faster with Rapid Discovery and Analysis (ENT331) - AW...
Save Money and Migrate Faster with Rapid Discovery and Analysis (ENT331) - AW...Save Money and Migrate Faster with Rapid Discovery and Analysis (ENT331) - AW...
Save Money and Migrate Faster with Rapid Discovery and Analysis (ENT331) - AW...
 
AWS VPN Solutions (NET304) - AWS re:Invent 2018
AWS VPN Solutions (NET304) - AWS re:Invent 2018AWS VPN Solutions (NET304) - AWS re:Invent 2018
AWS VPN Solutions (NET304) - AWS re:Invent 2018
 
Industrialize Machine Learning Using CI/CD Techniques (FSV304-i) - AWS re:Inv...
Industrialize Machine Learning Using CI/CD Techniques (FSV304-i) - AWS re:Inv...Industrialize Machine Learning Using CI/CD Techniques (FSV304-i) - AWS re:Inv...
Industrialize Machine Learning Using CI/CD Techniques (FSV304-i) - AWS re:Inv...
 
From One to Many: Evolving VPC Design (ARC309-R1) - AWS re:Invent 2018
From One to Many: Evolving VPC Design (ARC309-R1) - AWS re:Invent 2018From One to Many: Evolving VPC Design (ARC309-R1) - AWS re:Invent 2018
From One to Many: Evolving VPC Design (ARC309-R1) - AWS re:Invent 2018
 
What's New in AR & VR: State of the World Report (ARV203) - AWS re:Invent 2018
What's New in AR & VR: State of the World Report (ARV203) - AWS re:Invent 2018What's New in AR & VR: State of the World Report (ARV203) - AWS re:Invent 2018
What's New in AR & VR: State of the World Report (ARV203) - AWS re:Invent 2018
 

Similar to Serverless:It All Started in Vegas (DVC306) - AWS re:Invent 2018

Visualise and Voice-Enable Your Security
Visualise and Voice-Enable Your SecurityVisualise and Voice-Enable Your Security
Visualise and Voice-Enable Your SecurityAmazon Web Services
 
Serverless Architectural Patterns
Serverless Architectural PatternsServerless Architectural Patterns
Serverless Architectural PatternsAmazon Web Services
 
Serverless Architectural Patterns - GOTO Amsterdam
Serverless Architectural Patterns - GOTO AmsterdamServerless Architectural Patterns - GOTO Amsterdam
Serverless Architectural Patterns - GOTO AmsterdamBoaz Ziniman
 
Serverless Architectural Patterns - ServerlessDays TLV
Serverless Architectural Patterns - ServerlessDays TLVServerless Architectural Patterns - ServerlessDays TLV
Serverless Architectural Patterns - ServerlessDays TLVBoaz Ziniman
 
Gaining Visibility and Insight into Your Distributed Applications with AWS X-...
Gaining Visibility and Insight into Your Distributed Applications with AWS X-...Gaining Visibility and Insight into Your Distributed Applications with AWS X-...
Gaining Visibility and Insight into Your Distributed Applications with AWS X-...Amazon Web Services
 
Scaling from zero to millions of users
Scaling from zero to millions of usersScaling from zero to millions of users
Scaling from zero to millions of usersAmazon Web Services
 
Wildrydes Serverless Workshop Tel Aviv
Wildrydes Serverless Workshop Tel AvivWildrydes Serverless Workshop Tel Aviv
Wildrydes Serverless Workshop Tel AvivBoaz Ziniman
 
Getting Started with Serverless Architectures
Getting Started with Serverless ArchitecturesGetting Started with Serverless Architectures
Getting Started with Serverless ArchitecturesAmazon Web Services
 
How to Use AWS Lambda Layers and Lambda Runtime
How to Use AWS Lambda Layers and Lambda RuntimeHow to Use AWS Lambda Layers and Lambda Runtime
How to Use AWS Lambda Layers and Lambda RuntimeDonnie Prakoso
 
Building Serverless Applications with Amazon DynamoDB & AWS Lambda - Workshop...
Building Serverless Applications with Amazon DynamoDB & AWS Lambda - Workshop...Building Serverless Applications with Amazon DynamoDB & AWS Lambda - Workshop...
Building Serverless Applications with Amazon DynamoDB & AWS Lambda - Workshop...Amazon Web Services
 
Amazon SageMaker を中心とした持続的な ML システム
Amazon SageMaker を中心とした持続的な ML システムAmazon SageMaker を中心とした持続的な ML システム
Amazon SageMaker を中心とした持続的な ML システムAmazon Web Services Japan
 
The Serverless Tidal Wave - SwampUP 2018 Keynote
The Serverless Tidal Wave - SwampUP 2018 KeynoteThe Serverless Tidal Wave - SwampUP 2018 Keynote
The Serverless Tidal Wave - SwampUP 2018 KeynoteArun Gupta
 
Amazon SageMaker 推論エンドポイントを利用したアプリケーション開発
Amazon SageMaker 推論エンドポイントを利用したアプリケーション開発Amazon SageMaker 推論エンドポイントを利用したアプリケーション開発
Amazon SageMaker 推論エンドポイントを利用したアプリケーション開発Amazon Web Services Japan
 
Visualise and Voice-Enable Your Security - AWS Summit Sydney 2018
Visualise and Voice-Enable Your Security - AWS Summit Sydney 2018Visualise and Voice-Enable Your Security - AWS Summit Sydney 2018
Visualise and Voice-Enable Your Security - AWS Summit Sydney 2018Amazon Web Services
 
Build Your Own Log Analytics Solutions on AWS (ANT323-R) - AWS re:Invent 2018
Build Your Own Log Analytics Solutions on AWS (ANT323-R) - AWS re:Invent 2018Build Your Own Log Analytics Solutions on AWS (ANT323-R) - AWS re:Invent 2018
Build Your Own Log Analytics Solutions on AWS (ANT323-R) - AWS re:Invent 2018Amazon Web Services
 
Automate & Audit Cloud Governance & Compliance in Your Landing Zone (ENT315-R...
Automate & Audit Cloud Governance & Compliance in Your Landing Zone (ENT315-R...Automate & Audit Cloud Governance & Compliance in Your Landing Zone (ENT315-R...
Automate & Audit Cloud Governance & Compliance in Your Landing Zone (ENT315-R...Amazon Web Services
 
Modern Applications Web Day | Impress Your Friends with Your First Serverless...
Modern Applications Web Day | Impress Your Friends with Your First Serverless...Modern Applications Web Day | Impress Your Friends with Your First Serverless...
Modern Applications Web Day | Impress Your Friends with Your First Serverless...AWS Germany
 
New AI/ML Solutions with AWS DeepLens & Amazon SageMaker with ConocoPhillips ...
New AI/ML Solutions with AWS DeepLens & Amazon SageMaker with ConocoPhillips ...New AI/ML Solutions with AWS DeepLens & Amazon SageMaker with ConocoPhillips ...
New AI/ML Solutions with AWS DeepLens & Amazon SageMaker with ConocoPhillips ...Amazon Web Services
 
Modern Applications Web Day | Manage Your Infrastructure and Configuration on...
Modern Applications Web Day | Manage Your Infrastructure and Configuration on...Modern Applications Web Day | Manage Your Infrastructure and Configuration on...
Modern Applications Web Day | Manage Your Infrastructure and Configuration on...AWS Germany
 
Introduction to Serverless
Introduction to ServerlessIntroduction to Serverless
Introduction to ServerlessSteven Bryen
 

Similar to Serverless:It All Started in Vegas (DVC306) - AWS re:Invent 2018 (20)

Visualise and Voice-Enable Your Security
Visualise and Voice-Enable Your SecurityVisualise and Voice-Enable Your Security
Visualise and Voice-Enable Your Security
 
Serverless Architectural Patterns
Serverless Architectural PatternsServerless Architectural Patterns
Serverless Architectural Patterns
 
Serverless Architectural Patterns - GOTO Amsterdam
Serverless Architectural Patterns - GOTO AmsterdamServerless Architectural Patterns - GOTO Amsterdam
Serverless Architectural Patterns - GOTO Amsterdam
 
Serverless Architectural Patterns - ServerlessDays TLV
Serverless Architectural Patterns - ServerlessDays TLVServerless Architectural Patterns - ServerlessDays TLV
Serverless Architectural Patterns - ServerlessDays TLV
 
Gaining Visibility and Insight into Your Distributed Applications with AWS X-...
Gaining Visibility and Insight into Your Distributed Applications with AWS X-...Gaining Visibility and Insight into Your Distributed Applications with AWS X-...
Gaining Visibility and Insight into Your Distributed Applications with AWS X-...
 
Scaling from zero to millions of users
Scaling from zero to millions of usersScaling from zero to millions of users
Scaling from zero to millions of users
 
Wildrydes Serverless Workshop Tel Aviv
Wildrydes Serverless Workshop Tel AvivWildrydes Serverless Workshop Tel Aviv
Wildrydes Serverless Workshop Tel Aviv
 
Getting Started with Serverless Architectures
Getting Started with Serverless ArchitecturesGetting Started with Serverless Architectures
Getting Started with Serverless Architectures
 
How to Use AWS Lambda Layers and Lambda Runtime
How to Use AWS Lambda Layers and Lambda RuntimeHow to Use AWS Lambda Layers and Lambda Runtime
How to Use AWS Lambda Layers and Lambda Runtime
 
Building Serverless Applications with Amazon DynamoDB & AWS Lambda - Workshop...
Building Serverless Applications with Amazon DynamoDB & AWS Lambda - Workshop...Building Serverless Applications with Amazon DynamoDB & AWS Lambda - Workshop...
Building Serverless Applications with Amazon DynamoDB & AWS Lambda - Workshop...
 
Amazon SageMaker を中心とした持続的な ML システム
Amazon SageMaker を中心とした持続的な ML システムAmazon SageMaker を中心とした持続的な ML システム
Amazon SageMaker を中心とした持続的な ML システム
 
The Serverless Tidal Wave - SwampUP 2018 Keynote
The Serverless Tidal Wave - SwampUP 2018 KeynoteThe Serverless Tidal Wave - SwampUP 2018 Keynote
The Serverless Tidal Wave - SwampUP 2018 Keynote
 
Amazon SageMaker 推論エンドポイントを利用したアプリケーション開発
Amazon SageMaker 推論エンドポイントを利用したアプリケーション開発Amazon SageMaker 推論エンドポイントを利用したアプリケーション開発
Amazon SageMaker 推論エンドポイントを利用したアプリケーション開発
 
Visualise and Voice-Enable Your Security - AWS Summit Sydney 2018
Visualise and Voice-Enable Your Security - AWS Summit Sydney 2018Visualise and Voice-Enable Your Security - AWS Summit Sydney 2018
Visualise and Voice-Enable Your Security - AWS Summit Sydney 2018
 
Build Your Own Log Analytics Solutions on AWS (ANT323-R) - AWS re:Invent 2018
Build Your Own Log Analytics Solutions on AWS (ANT323-R) - AWS re:Invent 2018Build Your Own Log Analytics Solutions on AWS (ANT323-R) - AWS re:Invent 2018
Build Your Own Log Analytics Solutions on AWS (ANT323-R) - AWS re:Invent 2018
 
Automate & Audit Cloud Governance & Compliance in Your Landing Zone (ENT315-R...
Automate & Audit Cloud Governance & Compliance in Your Landing Zone (ENT315-R...Automate & Audit Cloud Governance & Compliance in Your Landing Zone (ENT315-R...
Automate & Audit Cloud Governance & Compliance in Your Landing Zone (ENT315-R...
 
Modern Applications Web Day | Impress Your Friends with Your First Serverless...
Modern Applications Web Day | Impress Your Friends with Your First Serverless...Modern Applications Web Day | Impress Your Friends with Your First Serverless...
Modern Applications Web Day | Impress Your Friends with Your First Serverless...
 
New AI/ML Solutions with AWS DeepLens & Amazon SageMaker with ConocoPhillips ...
New AI/ML Solutions with AWS DeepLens & Amazon SageMaker with ConocoPhillips ...New AI/ML Solutions with AWS DeepLens & Amazon SageMaker with ConocoPhillips ...
New AI/ML Solutions with AWS DeepLens & Amazon SageMaker with ConocoPhillips ...
 
Modern Applications Web Day | Manage Your Infrastructure and Configuration on...
Modern Applications Web Day | Manage Your Infrastructure and Configuration on...Modern Applications Web Day | Manage Your Infrastructure and Configuration on...
Modern Applications Web Day | Manage Your Infrastructure and Configuration on...
 
Introduction to Serverless
Introduction to ServerlessIntroduction to Serverless
Introduction to Serverless
 

More from Amazon Web Services

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Amazon Web Services
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Amazon Web Services
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateAmazon Web Services
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSAmazon Web Services
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Amazon Web Services
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Amazon Web Services
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...Amazon Web Services
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsAmazon Web Services
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareAmazon Web Services
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSAmazon Web Services
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAmazon Web Services
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareAmazon Web Services
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWSAmazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckAmazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without serversAmazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...Amazon Web Services
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceAmazon Web Services
 

More from Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

Serverless:It All Started in Vegas (DVC306) - AWS re:Invent 2018

  • 1. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Serverless: It All Started in Vegas Martin Buberl VP Engineering | AWS Community Hero Trustpilot D V C 3 0 6
  • 2. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Martin Buberl • VP Engineering at Trustpilot • AWS Community Hero • AWS User Group Leader Copenhagen, Denmark @martinbuberl martinbuberl.com | trustpilot.com
  • 3. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Agenda • Back then ... and now • What are all those AWS Lambda functions doing? • Some ideas to take away and start building • Fast track to serverless – how we did it • Some ideas to take away to adopt serverless • Looking back – any advice?
  • 4. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 5. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Las Vegas, December 2016
  • 6. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Tatonka challenge
  • 7. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Serverless “FaaS” started to make sense λ λ λ λ λ λ λ λ λ λ λ λ λ λ λ λ λ λ λ λ λ λλ λ λ λ λ λ λ λ λ
  • 8. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Serverless “FaaS” wasn’t a total stranger back then • Couldn’t use Lambda before February 2016 Requirement to run them in VPCs • Already had about 40 Lambda functions in production Mostly tooling, data pipelines, and some experiments
  • 9. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 10. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 11. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. 8K Charity Fun Run
  • 12. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Cloud compute with AWS 0 100 200 300 400 500 600 700 January-00 January-00 January-00 January-00 Virtual servers, containers, and serverless compute Series1
  • 13. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Cloud compute with AWS 0 100 200 300 400 500 600 700 January-00 January-00 January-00 January-00 Virtual servers, containers, and serverless compute Series1 Series2 Series3
  • 14. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Cloud compute with AWS 0 50 100 150 200 250 300 350 January-00 January-00 January-00 January-00 Virtual servers, containers, and serverless compute Series1 Series2 Series3
  • 15. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Cloud compute with AWS December 2016 180 virtual servers 80 containers 40 Lambda functions November 2018 95 virtual servers 283 containers 252 Lambda functions -53% +354% +630%
  • 16. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. +630%
  • 17. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 18. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Trustpilot’s high-level architecture • Cloud native • Event-driven microservices • REST APIs
  • 19. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Trustpilot’s high-level architecture Web clients & applications Data API management & orchestration Pub/Sub messaging system Compute Third-party applications Amazon API Gateway REST APIs trustpilot.com Amazon Simple Notification Service (Amazon SNS) Amazon Simple Queue Service (Amazon SQS) Cloud compute Amazon Relational Database Service (Amazon RDS) NoSQL Amazon Simple Storage Service (Amazon S3) Amazon CloudFront CDN b2b.trustpilot.com Amazon CloudFront CDN widgets.trustpilot.com Amazon CloudFront CDN
  • 20. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Trustpilot’s high-level architecture Web clients & applications Data API management & orchestration Pub/Sub messaging system Compute Third-party applications Amazon API Gateway REST APIs trustpilot.com Amazon Simple Notification Service (Amazon SNS) Amazon Simple Queue Service (Amazon SQS) Cloud compute NoSQL Amazon Simple Storage Service (Amazon S3) Amazon CloudFront CDN b2b.trustpilot.com Amazon CloudFront CDN widgets.trustpilot.com Amazon CloudFront CDN Amazon Relational Database Service (Amazon RDS)
  • 21. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Trustpilot’s high-level architecture Web clients & applications Data API management & orchestration Pub/Sub messaging system Compute Third-party applications Amazon API Gateway REST APIs trustpilot.com Amazon Simple Notification Service (Amazon SNS) Amazon Simple Queue Service (Amazon SQS) Cloud compute NoSQL Amazon Simple Storage Service (Amazon S3) Amazon CloudFront CDN b2b.trustpilot.com Amazon CloudFront CDN widgets.trustpilot.com Amazon CloudFront CDN Amazon Relational Database Service (Amazon RDS)
  • 22. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Publish/Subscribe messaging pattern Publisher Subscriber Publisher Subscriber Subscriber Topic
  • 23. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. “Traditional” auto scaling on queues Queue Auto Scaling group Auto Scaling group Containers Instances Queue Message Message Amazon SQSAmazon SNS Topic Publisher Publisher
  • 24. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Instant scaling Serverless “instant” scaling on topics Message Message Amazon SNS Topic Publisher Publisher Lambda function Lambda function
  • 25. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Instant scaling Serverless “instant” scaling on queues Queue Queue Message Message Amazon SQSAmazon SNS Topic Publisher Publisher Lambda function Lambda function
  • 26. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. What are all those AWS Lambda functions doing? Most of our Lambda functions in production ... • Integrate with API Gateway • Subscribe to topics from our pub/sub messaging system Perfect for decoupled, event-driven microservices Our next step is to ... • Bring back queues for “auto-healing”
  • 27. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 28. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Git webhook to Slack pub/sub AWS Cloud Webhook Publish Subscribe Incoming webhook(s) developer.github.com/webhooks HTTP POST api.slack.com/incoming-webhooks
  • 29. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS Lambda for git security audit • Ever accidentally committed a secret to source control? For example, connection strings, tokens, API keys and secrets, private certificate keys • Have a Lambda check for secrets and post to #secrets
  • 30. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS Lambda for git security audit – Version 2 • Send a message directly to the pull request in GitHub
  • 31. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS Lambda for git privacy audit • Ever accidentally committed PII to source control? For example, email addresses, usernames, social security numbers • Have a Lambda check for PII and post to #privacy • GDPR anybody?
  • 32. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS Lambda for naming discussions • There are only two hard problems in computer science: Cache invalidation, naming things, and off-by-one errors • Have a Lambda post new repositories to #naming-things
  • 33. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS Lambda for Trello integration • Have a Lambda automatically attach a PR to a Trello card
  • 34. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Git webhook to SNS pub/sub Subscribing Lambda functions for ... • git security audit • git privacy audit • naming discussions • Trello integration
  • 35. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 36. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Engineering principle
  • 37. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Engineering principle github.com/trustpilot/principles
  • 38. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 39. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Golden circle WHY “Start With Why” by Simon Sinek
  • 40. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Engineering principle github.com/trustpilot/principles
  • 41. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Why should I care? Because we ... • Have a vision and want to be part of the movement • Acknowledge it’s not always right but start there • Want to modernize our cloud compute stack • See operational benefits • Anticipate cost savings
  • 42. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 43. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Engineering principle Virtual servers are considered legacy and should be avoided. github.com/trustpilot/principles
  • 44. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Virtual servers are considered legacy If that’s the case ... • Amazon Elastic Compute Cloud (Amazon EC2) is legacy Which means also ... • .NET framework is legacy As it’s not supported with Docker containers
  • 45. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. +
  • 46. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 47. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 48. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Hackathons • Hackathons are great for serverless Not just FaaS, all fully managed cloud services • Serverless lets us ship prototypes that scale Which we probably shouldn’t do
  • 49. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Labs
  • 50. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Trustmap Node.js Application 24h Cache
  • 51. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Event “anomaly” detection S3 event trigger NotificationEvent logs Analyze event
  • 52. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. GTFO initiative
  • 53. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. GTFO EC2 • Inventory of Amazon EC2s per team • Weekly check-ins with tech leads • Dedicated Slack channel #gtfo-ec2
  • 54. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. #gtfo-ec2
  • 55. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. #gtfo-ec2
  • 56. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. The cake alert
  • 57. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS IoT to Slack Incoming webhook tech.trustpilot.com/the-cake-alert-28652f13607d
  • 58. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. How did we fast track serverless? • Serverless first Engineering principle • Hackathons and labs • GTFO Amazon EC2
  • 59. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 60. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Are AWS Lambda functions really cheaper?
  • 61. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. !==
  • 62. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS Lambda functions • Gutfeel is – for us – they are 10x cheaper
  • 63. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS Lambda functions • Gutfeel is – for us – they are 10x cheaper • Less ops heavy • Faster development for services at scale
  • 64. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS Lambda functions • Gutfeel is – for us – they are 10x cheaper • Less ops heavy • Faster development for services at scale • Decrease of observability and traceability We’re investing in this area
  • 65. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 66. Thank you! © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Martin Buberl @martinbuberl
  • 67. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.