+ All Categories
Home > Technology > Going Serverless: The Best Ops is NoOps.

Going Serverless: The Best Ops is NoOps.

Date post: 15-Apr-2017
Category:
Upload: darrell-king
View: 358 times
Download: 1 times
Share this document with a friend
39
Going serverless – NoOps is the best ops Steven Ringo AWS Meetup Sydney 2 March 2016
Transcript
Page 1: Going Serverless: The Best Ops is NoOps.

Going serverless –NoOps is the best opsSteven Ringo AWS Meetup Sydney 2 March 2016

Page 2: Going Serverless: The Best Ops is NoOps.

No Servers?

Wut?

Page 3: Going Serverless: The Best Ops is NoOps.
Page 4: Going Serverless: The Best Ops is NoOps.
Page 5: Going Serverless: The Best Ops is NoOps.

Bare Metal Deploy in months Lives for far too long!

Containers Deploy in seconds Lives for hours

AWS Lambda Deploy instantly Lives for seconds

Virtualisation Deploy in minutes Lives for weeks

Page 6: Going Serverless: The Best Ops is NoOps.

Gazillions of baby Lambdas

Page 7: Going Serverless: The Best Ops is NoOps.
Page 8: Going Serverless: The Best Ops is NoOps.

AWSLambda

A compute service where you can upload your code and it runs the it on your behalf using AWS infrastructure.

Page 9: Going Serverless: The Best Ops is NoOps.

AWSLambda

Code function that executes when triggered by an event.

Handler

Page 10: Going Serverless: The Best Ops is NoOps.

AWSLambda

Things that happen in AWS services:

Event source

API Gateway S3 SES SNS CloudWatch(logs, events & scheduled actions)

CloudFormation DynamoDB Kinesis Cognito

Page 11: Going Serverless: The Best Ops is NoOps.

AWSLambda

Trigger from custom REST API and endpoint using Amazon API Gateway

HTTPS only

API Gateway event source

Page 12: Going Serverless: The Best Ops is NoOps.

AWSLambda

RequestResponse type

Assumes response will be sent

Asynchronous type for other applications

Synchronous invocationfor API Gateway

Page 13: Going Serverless: The Best Ops is NoOps.

AWSLambda

Supported:

• Javascript (NodeJS) / Python / JVM

Unsupported:

• Ruby / Go / Haskell • (Actually anything)

Languages

Page 14: Going Serverless: The Best Ops is NoOps.

AWSLambda

Console for simple implementations with no external dependencies. or

Zip file with your code and dependencies. Upload directly or use S3

Deployment package

Page 15: Going Serverless: The Best Ops is NoOps.

AWSLambda

Only local state, and is limited to the current Lambda execution

Stateless

Page 16: Going Serverless: The Best Ops is NoOps.

Amazon API Gateway

A scalable, fully-managed service to publish, maintain, monitor, and secure APIs.

Page 17: Going Serverless: The Best Ops is NoOps.

Amazon API Gateway

Each resource within a REST API can support one or more of the standard HTTP methods

Define verbs supported for each resource (GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS) and their implementations

RESTful

Page 18: Going Serverless: The Best Ops is NoOps.

Amazon API Gateway

Built in staging multiple stages (e.g. dev, test, deploy)

Built-in versioning multiple versions simultaneously

Staging & versioning

Page 19: Going Serverless: The Best Ops is NoOps.

Amazon API Gateway

Works with Lambda or your own publicly accessible endpoints

Lambda- or custom-backed

Page 20: Going Serverless: The Best Ops is NoOps.

Amazon API Gateway

Custom authorisers, e.g. JWT, OAuth

Cognito integration

Authorisation & Authentication

Page 21: Going Serverless: The Best Ops is NoOps.

Amazon API Gateway

Allows resources on a web page to be requested from another domain outside the domain from which the resource originated, e.g. calls to API Gateway endpoints

CORS support

Page 22: Going Serverless: The Best Ops is NoOps.

Amazon API Gateway

Android, iOS, or JavaScript boilerplate

SDK code generation

Page 23: Going Serverless: The Best Ops is NoOps.

GET https://romanapi.com/v1/numeral/MCMLXIX

{ "result": 1969, "arabic": 1969, "roman": "MCMLXIX", "success": true, "original": "MCMLXIX" }

Page 24: Going Serverless: The Best Ops is NoOps.

AmazonS3

Host static websites

Massively redundant & scalable

Great for assets(css/images/javascripts)

Custom domain names

TLS supported

Page 25: Going Serverless: The Best Ops is NoOps.

Amazon CloudFront

A global content delivery network (CDN) service

Page 26: Going Serverless: The Best Ops is NoOps.

Amazon CloudFront

Improve performance of your web-facing assets

Page 27: Going Serverless: The Best Ops is NoOps.

Amazon CloudFront

Additional layer of security, esp when coupled with WAF

Page 28: Going Serverless: The Best Ops is NoOps.

AWS WAF Web Application Firewall

A web application firewall that helps protect your web applications from common web exploits

Page 29: Going Serverless: The Best Ops is NoOps.

Fully managed, scalable, fast NoSQL database

Amazon DynamoDB

Page 30: Going Serverless: The Best Ops is NoOps.
Page 31: Going Serverless: The Best Ops is NoOps.
Page 32: Going Serverless: The Best Ops is NoOps.

middlemanapp.com

Page 33: Going Serverless: The Best Ops is NoOps.

jekyllrb.com

Page 34: Going Serverless: The Best Ops is NoOps.
Page 35: Going Serverless: The Best Ops is NoOps.
Page 36: Going Serverless: The Best Ops is NoOps.

apex.run

Page 37: Going Serverless: The Best Ops is NoOps.

Serverless should be

considered as part of your cloud strategy

Page 38: Going Serverless: The Best Ops is NoOps.

Serverless is just another tool

in your cloud toolset

Page 39: Going Serverless: The Best Ops is NoOps.

[email protected]

Need a job?


Recommended