Going Serverless: The Best Ops is NoOps.
-
Upload
darrell-king -
Category
Technology
-
view
357 -
download
1
Transcript of Going Serverless: The Best Ops is NoOps.
![Page 1: Going Serverless: The Best Ops is NoOps.](https://reader031.fdocuments.in/reader031/viewer/2022030315/587b85b61a28ab9d448b6043/html5/thumbnails/1.jpg)
Going serverless –NoOps is the best opsSteven Ringo AWS Meetup Sydney 2 March 2016
![Page 2: Going Serverless: The Best Ops is NoOps.](https://reader031.fdocuments.in/reader031/viewer/2022030315/587b85b61a28ab9d448b6043/html5/thumbnails/2.jpg)
No Servers?
Wut?
![Page 3: Going Serverless: The Best Ops is NoOps.](https://reader031.fdocuments.in/reader031/viewer/2022030315/587b85b61a28ab9d448b6043/html5/thumbnails/3.jpg)
![Page 4: Going Serverless: The Best Ops is NoOps.](https://reader031.fdocuments.in/reader031/viewer/2022030315/587b85b61a28ab9d448b6043/html5/thumbnails/4.jpg)
![Page 5: Going Serverless: The Best Ops is NoOps.](https://reader031.fdocuments.in/reader031/viewer/2022030315/587b85b61a28ab9d448b6043/html5/thumbnails/5.jpg)
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.](https://reader031.fdocuments.in/reader031/viewer/2022030315/587b85b61a28ab9d448b6043/html5/thumbnails/6.jpg)
Gazillions of baby Lambdas
![Page 7: Going Serverless: The Best Ops is NoOps.](https://reader031.fdocuments.in/reader031/viewer/2022030315/587b85b61a28ab9d448b6043/html5/thumbnails/7.jpg)
![Page 8: Going Serverless: The Best Ops is NoOps.](https://reader031.fdocuments.in/reader031/viewer/2022030315/587b85b61a28ab9d448b6043/html5/thumbnails/8.jpg)
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.](https://reader031.fdocuments.in/reader031/viewer/2022030315/587b85b61a28ab9d448b6043/html5/thumbnails/9.jpg)
AWSLambda
Code function that executes when triggered by an event.
Handler
![Page 10: Going Serverless: The Best Ops is NoOps.](https://reader031.fdocuments.in/reader031/viewer/2022030315/587b85b61a28ab9d448b6043/html5/thumbnails/10.jpg)
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.](https://reader031.fdocuments.in/reader031/viewer/2022030315/587b85b61a28ab9d448b6043/html5/thumbnails/11.jpg)
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.](https://reader031.fdocuments.in/reader031/viewer/2022030315/587b85b61a28ab9d448b6043/html5/thumbnails/12.jpg)
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.](https://reader031.fdocuments.in/reader031/viewer/2022030315/587b85b61a28ab9d448b6043/html5/thumbnails/13.jpg)
AWSLambda
Supported:
• Javascript (NodeJS) / Python / JVM
Unsupported:
• Ruby / Go / Haskell • (Actually anything)
Languages
![Page 14: Going Serverless: The Best Ops is NoOps.](https://reader031.fdocuments.in/reader031/viewer/2022030315/587b85b61a28ab9d448b6043/html5/thumbnails/14.jpg)
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.](https://reader031.fdocuments.in/reader031/viewer/2022030315/587b85b61a28ab9d448b6043/html5/thumbnails/15.jpg)
AWSLambda
Only local state, and is limited to the current Lambda execution
Stateless
![Page 16: Going Serverless: The Best Ops is NoOps.](https://reader031.fdocuments.in/reader031/viewer/2022030315/587b85b61a28ab9d448b6043/html5/thumbnails/16.jpg)
Amazon API Gateway
A scalable, fully-managed service to publish, maintain, monitor, and secure APIs.
![Page 17: Going Serverless: The Best Ops is NoOps.](https://reader031.fdocuments.in/reader031/viewer/2022030315/587b85b61a28ab9d448b6043/html5/thumbnails/17.jpg)
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.](https://reader031.fdocuments.in/reader031/viewer/2022030315/587b85b61a28ab9d448b6043/html5/thumbnails/18.jpg)
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.](https://reader031.fdocuments.in/reader031/viewer/2022030315/587b85b61a28ab9d448b6043/html5/thumbnails/19.jpg)
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.](https://reader031.fdocuments.in/reader031/viewer/2022030315/587b85b61a28ab9d448b6043/html5/thumbnails/20.jpg)
Amazon API Gateway
Custom authorisers, e.g. JWT, OAuth
Cognito integration
Authorisation & Authentication
![Page 21: Going Serverless: The Best Ops is NoOps.](https://reader031.fdocuments.in/reader031/viewer/2022030315/587b85b61a28ab9d448b6043/html5/thumbnails/21.jpg)
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.](https://reader031.fdocuments.in/reader031/viewer/2022030315/587b85b61a28ab9d448b6043/html5/thumbnails/22.jpg)
Amazon API Gateway
Android, iOS, or JavaScript boilerplate
SDK code generation
![Page 23: Going Serverless: The Best Ops is NoOps.](https://reader031.fdocuments.in/reader031/viewer/2022030315/587b85b61a28ab9d448b6043/html5/thumbnails/23.jpg)
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.](https://reader031.fdocuments.in/reader031/viewer/2022030315/587b85b61a28ab9d448b6043/html5/thumbnails/24.jpg)
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.](https://reader031.fdocuments.in/reader031/viewer/2022030315/587b85b61a28ab9d448b6043/html5/thumbnails/25.jpg)
Amazon CloudFront
A global content delivery network (CDN) service
![Page 26: Going Serverless: The Best Ops is NoOps.](https://reader031.fdocuments.in/reader031/viewer/2022030315/587b85b61a28ab9d448b6043/html5/thumbnails/26.jpg)
Amazon CloudFront
Improve performance of your web-facing assets
![Page 27: Going Serverless: The Best Ops is NoOps.](https://reader031.fdocuments.in/reader031/viewer/2022030315/587b85b61a28ab9d448b6043/html5/thumbnails/27.jpg)
Amazon CloudFront
Additional layer of security, esp when coupled with WAF
![Page 28: Going Serverless: The Best Ops is NoOps.](https://reader031.fdocuments.in/reader031/viewer/2022030315/587b85b61a28ab9d448b6043/html5/thumbnails/28.jpg)
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.](https://reader031.fdocuments.in/reader031/viewer/2022030315/587b85b61a28ab9d448b6043/html5/thumbnails/29.jpg)
Fully managed, scalable, fast NoSQL database
Amazon DynamoDB
![Page 30: Going Serverless: The Best Ops is NoOps.](https://reader031.fdocuments.in/reader031/viewer/2022030315/587b85b61a28ab9d448b6043/html5/thumbnails/30.jpg)
![Page 31: Going Serverless: The Best Ops is NoOps.](https://reader031.fdocuments.in/reader031/viewer/2022030315/587b85b61a28ab9d448b6043/html5/thumbnails/31.jpg)
![Page 32: Going Serverless: The Best Ops is NoOps.](https://reader031.fdocuments.in/reader031/viewer/2022030315/587b85b61a28ab9d448b6043/html5/thumbnails/32.jpg)
middlemanapp.com
![Page 33: Going Serverless: The Best Ops is NoOps.](https://reader031.fdocuments.in/reader031/viewer/2022030315/587b85b61a28ab9d448b6043/html5/thumbnails/33.jpg)
jekyllrb.com
![Page 34: Going Serverless: The Best Ops is NoOps.](https://reader031.fdocuments.in/reader031/viewer/2022030315/587b85b61a28ab9d448b6043/html5/thumbnails/34.jpg)
![Page 35: Going Serverless: The Best Ops is NoOps.](https://reader031.fdocuments.in/reader031/viewer/2022030315/587b85b61a28ab9d448b6043/html5/thumbnails/35.jpg)
![Page 36: Going Serverless: The Best Ops is NoOps.](https://reader031.fdocuments.in/reader031/viewer/2022030315/587b85b61a28ab9d448b6043/html5/thumbnails/36.jpg)
apex.run
![Page 37: Going Serverless: The Best Ops is NoOps.](https://reader031.fdocuments.in/reader031/viewer/2022030315/587b85b61a28ab9d448b6043/html5/thumbnails/37.jpg)
Serverless should be
considered as part of your cloud strategy
![Page 38: Going Serverless: The Best Ops is NoOps.](https://reader031.fdocuments.in/reader031/viewer/2022030315/587b85b61a28ab9d448b6043/html5/thumbnails/38.jpg)
Serverless is just another tool
in your cloud toolset