serverless architectures and continuous delivery

33
SERVERLESS ARCHITECTURES AND CONTINUOUS DELIVERY @robinweston

Upload: robin-weston

Post on 11-Apr-2017

134 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Serverless Architectures and Continuous Delivery

SERVERLESS ARCHITECTURES AND

CONTINUOUS DELIVERY

@robinweston

Page 2: Serverless Architectures and Continuous Delivery

AGENDA• What is a Serverless Architecture?

• Tales from a world without servers

• How does Serverless enable Continuous Delivery?

• Serverless starter tips

Page 3: Serverless Architectures and Continuous Delivery

WHAT IS A SERVERLESS ARCHITECTURE?

Page 4: Serverless Architectures and Continuous Delivery

Serverless architectures are internet-based systems where the application development does not

use the usual server process.

Instead they rely solely on a combination of third-party services, client-side logic, and service-hosted remote procedure calls (Functions

as a Service).

Page 5: Serverless Architectures and Continuous Delivery

TRADITIONAL VS. SERVERLESS

Page 6: Serverless Architectures and Continuous Delivery

FUNCTIONS AS A SERVICE (FaaS)• Independent server-side logic functions• Stateless• Ephemeral• Event-triggered• Scalable by default• Fully managed by 3rd party

Page 7: Serverless Architectures and Continuous Delivery

EVOLUTION OF CLOUD-HOSTED SOFTWARE

Server

Application

Function

Page 8: Serverless Architectures and Continuous Delivery
Page 9: Serverless Architectures and Continuous Delivery

AWS LAMBDA EVENT SOURCES

DynamoDB

SNS

S3

Scheduled Event

Lambda FunctionsAPI Gateway

Page 10: Serverless Architectures and Continuous Delivery

TALES FROM A WORLD WITHOUT SERVERS

Page 11: Serverless Architectures and Continuous Delivery

SCALABILITYλ λ

λ

λ

λ

λ

λ

λ

Page 12: Serverless Architectures and Continuous Delivery

COSTλλ

λ

λ λ

λλ

Page 13: Serverless Architectures and Continuous Delivery

TESTABILITY

Page 14: Serverless Architectures and Continuous Delivery

SECURITY

Page 15: Serverless Architectures and Continuous Delivery

OBSERVABILITY

Page 16: Serverless Architectures and Continuous Delivery

LOGGING

Page 17: Serverless Architectures and Continuous Delivery

MONITORING

Page 18: Serverless Architectures and Continuous Delivery

PIPELINES & DEPLOYMENTS

λ

Page 19: Serverless Architectures and Continuous Delivery

FRAMEWORKS

Page 20: Serverless Architectures and Continuous Delivery

HOW DOES SERVERLESS ENABLE CONTINUOUS DELIVERY?

Page 21: Serverless Architectures and Continuous Delivery

CONTINUOUS DELIVERY ENABLEMENT• Naturally small deployable units• Simple deployment model• No more “works on my machine”• Enables focus on business value

Page 22: Serverless Architectures and Continuous Delivery

SERVERLESS STARTER TIPS

Page 23: Serverless Architectures and Continuous Delivery

NIBBLE AT THE EDGES

Page 24: Serverless Architectures and Continuous Delivery

NIBBLING SUGGESTIONS• Scheduled jobs• Log streaming• Webhook processing• Chatbot• Proof of Concepts

Page 25: Serverless Architectures and Continuous Delivery

ABSEIL INTO THE PIT OF SUCCESS

Page 26: Serverless Architectures and Continuous Delivery

SERVERLESS ABSEILING TIPS• Know your traffic profile

• Don’t lift and shift

• Consider compliance

• Monitoring and logging from the start

• Safely replace existing systems

Page 27: Serverless Architectures and Continuous Delivery

#NOOPS? NO WAY!

Page 28: Serverless Architectures and Continuous Delivery

OPERATIONS• Log aggregation

• Monitoring

• Alerts

• Infrastructure as code

Page 29: Serverless Architectures and Continuous Delivery

SUMMARY• What is a Serverless Architecture?

• Tales from a world without servers

• How does Serverless enable Continuous Delivery?

• Serverless starter tips

Page 30: Serverless Architectures and Continuous Delivery

http://martinfowler.com/bliki/Serverless.html

Page 31: Serverless Architectures and Continuous Delivery

http://martinfowler.com/articles/serverless.html

Page 32: Serverless Architectures and Continuous Delivery

https://hackernoon.com/why-the-fuss-about-serverless-4370b1596da0

Page 33: Serverless Architectures and Continuous Delivery

THANK YOUFor questions or suggestions:

Robin Weston

@robinweston

[email protected]