what's better than microservices? serverless microservices
TRANSCRIPT
Alan Williams @alanwill alanwill What's better than Microservices? Serverless Microservices
2016 Autodesk
1
Definitions
Sample Architecture
Demo
Decision Making ConsiderationsAgenda
"Microservicesis asoftware architecture stylein which complex applications are composed ofsmall, independent processescommunicating with each other using language-agnostic APIs."
fromWikipediaWhat is a Microservice?
Event basedAPIDiscreet tasks/services/processesIndependently scalable
Microservice Attributes
"serverless computing is a cloud computing code execution model in which the cloud provider fully manages starting and stopping virtual machines as necessary to serve requests, and requests are billed by an abstract measure of the resources required to satisfy the request, rather than per virtual machine, per hour."
from WikipediaWhat is Serverless?
Code focusedNo servers to manageNo EC2 No manual scaling or server provisioningNo idle resourcesNo SSH (or RDP)
Serverless AttributesEC2
SSH
Serveless Microservice Architecture
Server Architecture
Swagger Code Snippet
Swagger Controller
Support for Node.jsAlso ServerlessFocused on connectors & light-weight API orchestrations
Apigee Limitations
Limited debugging & profilingNot polyglotNot recommended for complex business logicNot a generic event processor
Apigee Edge Proxies
Demohttps://github.com/alanwill/serverless-demo
12
Technology ToolkitSoftwareURLLanguagesAWS Lambdahttps://aws.amazon.com/lambda/Python/Node.js/JavaServerless Frameworkhttp://serverless.com/Python/Node.jsApigee a127https://github.com/apigee-127/a127Node.jsSwaggerhttp://swagger.io/JSON/YAML
Supports all AWS Lambda languagesOther public cloud providers coming soonLocal function testingView function logsResource dependencies via CloudformationComplete service encapsulationNode basedNever need the AWS Management Console or CLIServerless Framework
ServerlessContainersCode DeploymentsNo ServersPersistent WorkloadsEvent Based Workloads3rd Party Applications
Considerations
Application Development Evolution
18
Amazon API GatewayApigee EdgeAPI proxySeamless integration with AWS servicesShort Learning CurveOauth ProviderRequest TracingCachingRate LimitingSwagger SupportAuto-scaling FeaturesServerless Friendly
Considerations
Learn a programming language (Node.js/Python/Java)Check out Serverless Framework Start small, start simpleFocus on value addKeys to success
Autodesk and the Autodesk logo are registered trademarks or trademarks of Autodesk, Inc., and/or its subsidiaries and/or affiliates in the USA and/or other countries. All other brand names, product names, or trademarks belong to their respective holders. Autodesk reserves the right to alter product and services offerings, and specifications and pricing at any time without notice, and is not responsible for typographical or graphical errors that may appear in this document. 2016 Autodesk. All rights reserved.
21
Slideshareslideshare.com/apigeeApigee Communityhttps://community.apigee.com
YouTubeyoutube.com/apigee
2016 Apigee Corp. All Rights Reserved.
Questions?23
2016 Apigee Corp. All Rights Reserved.