![Page 1: How Serverless Computing Enables Microservices and Micropayment](https://reader033.vdocuments.site/reader033/viewer/2022051006/589ae0c81a28abee708b4ecf/html5/thumbnails/1.jpg)
Mitoc Group IncAWS Technology Partner
How Serverless Computing Enables Microservices and
MicropaymentsAWS Pop-up Loft NYC
September 2016
![Page 2: How Serverless Computing Enables Microservices and Micropayment](https://reader033.vdocuments.site/reader033/viewer/2022051006/589ae0c81a28abee708b4ecf/html5/thumbnails/2.jpg)
Mitoc Group IncAWS Technology Partner
The Challenge
![Page 3: How Serverless Computing Enables Microservices and Micropayment](https://reader033.vdocuments.site/reader033/viewer/2022051006/589ae0c81a28abee708b4ecf/html5/thumbnails/3.jpg)
Mitoc Group IncAWS Technology Partner
Werner Vogels, CTO @ Amazon.com
![Page 4: How Serverless Computing Enables Microservices and Micropayment](https://reader033.vdocuments.site/reader033/viewer/2022051006/589ae0c81a28abee708b4ecf/html5/thumbnails/4.jpg)
Mitoc Group IncAWS Technology Partner
Werner Vogels, CTO @ Amazon.com
• on weekends, when you’re having couple of drinks with friends
• on vacation, when you’re enjoying quality time with entire family
![Page 5: How Serverless Computing Enables Microservices and Micropayment](https://reader033.vdocuments.site/reader033/viewer/2022051006/589ae0c81a28abee708b4ecf/html5/thumbnails/5.jpg)
Mitoc Group IncAWS Technology Partner
About
• Eugene Istrati
• Partner @ Mitoc Group Inc
• 15+ years in IT; 7+ years on AWS
• AWS Certified Solutions Architect
• Companies: Hearst, Amazon, GrubHub, Tenaris (Europe)
• Mitoc Group Inc
• www.mitocgroup.com
• Technology Company focusing on Innovative Enterprise Solutions
• AWS Technology Partner
• Featured AWS Lambda Partner
• Media and Entertainment Industry
![Page 6: How Serverless Computing Enables Microservices and Micropayment](https://reader033.vdocuments.site/reader033/viewer/2022051006/589ae0c81a28abee708b4ecf/html5/thumbnails/6.jpg)
Mitoc Group IncAWS Technology Partner
Agenda• Serverless Infrastructure
• Transform any Web App to use Serverless
• Microservices Architecture
• Micropayments Platform
• Q&A
![Page 7: How Serverless Computing Enables Microservices and Micropayment](https://reader033.vdocuments.site/reader033/viewer/2022051006/589ae0c81a28abee708b4ecf/html5/thumbnails/7.jpg)
Mitoc Group IncAWS Technology Partner
Not involving a server; composed only of clients.http://www.wordsense.eu/serverless
Serverless doesn’t mean servers are no longer involved. It simply means that developers no longer have to think “that much” about them.
Computing resources get used as services without having to manage physical capacities or limits.
https://www.quora.com/What-is-Serverless-Computing
What is “Serverless”?
![Page 8: How Serverless Computing Enables Microservices and Micropayment](https://reader033.vdocuments.site/reader033/viewer/2022051006/589ae0c81a28abee708b4ecf/html5/thumbnails/8.jpg)
Mitoc Group IncAWS Technology Partner
@adrianco
![Page 9: How Serverless Computing Enables Microservices and Micropayment](https://reader033.vdocuments.site/reader033/viewer/2022051006/589ae0c81a28abee708b4ecf/html5/thumbnails/9.jpg)
Mitoc Group IncAWS Technology Partner
AWS Serverless Options
Storage DatabaseNetwork
Compute Content DeliveryMessaging and QueuesSecurity
Gateways
User Management Monitoring & Logging
Internet of Things
Machine Learning
Streaming Analytics
![Page 10: How Serverless Computing Enables Microservices and Micropayment](https://reader033.vdocuments.site/reader033/viewer/2022051006/589ae0c81a28abee708b4ecf/html5/thumbnails/10.jpg)
Mitoc Group IncAWS Technology Partner
Do It Yourself on AWS
https://blog.mitocgroup.com/how-to-create-serverless-environments-on-aws-8485ae039765
andhttps://www.youtube.com/playlist?list=PLPGfD-tGOl7sr6R9fZjNp3-qwWIxiShT5
![Page 11: How Serverless Computing Enables Microservices and Micropayment](https://reader033.vdocuments.site/reader033/viewer/2022051006/589ae0c81a28abee708b4ecf/html5/thumbnails/11.jpg)
Mitoc Group IncAWS Technology Partner
Agenda• Serverless Infrastructure
• Transform any Web App to use Serverless
• Microservices Architecture
• Micropayments Platform
• Q&A
![Page 12: How Serverless Computing Enables Microservices and Micropayment](https://reader033.vdocuments.site/reader033/viewer/2022051006/589ae0c81a28abee708b4ecf/html5/thumbnails/12.jpg)
Mitoc Group IncAWS Technology Partner
Serverless Infrastructure
Availability Zone A Availability Zone B
Auto Scaling Group
Auto Scaling Group
www.example.com
static.example.com
webservers
webservers
appservers
appservers
S3 bucket
CloudFrontdistributio
n
Web Tier
CognitoIdentity DB Tier
SQS DynamoDB
LambdaCloudFrontlogs
API Gateway
www.example.comstatic.example.com
App Tier
AWS Region RDS Aurora
![Page 13: How Serverless Computing Enables Microservices and Micropayment](https://reader033.vdocuments.site/reader033/viewer/2022051006/589ae0c81a28abee708b4ecf/html5/thumbnails/13.jpg)
Mitoc Group IncAWS Technology Partner
Serverless Infrastructure: Web Tier
S3 bucket
CloudFrontdistribution
Web Tier
CognitoIdentity
CloudFrontlogs
www.example.comstatic.example.com
Availability Zone A Availability Zone B
Auto Scaling Group
www.example.com
static.example.com
webservers
webservers
![Page 14: How Serverless Computing Enables Microservices and Micropayment](https://reader033.vdocuments.site/reader033/viewer/2022051006/589ae0c81a28abee708b4ecf/html5/thumbnails/14.jpg)
Mitoc Group IncAWS Technology Partner
Serverless Infrastructure: Web Tier
S3 bucket
CloudFrontdistribution
Web Tier
CognitoIdentity
CloudFrontlogs
www.example.comstatic.example.com
• Static Assets– Same as in reference architecture– css, js, docs, images, videos + html
• Dynamic Functionality– Use JS framework (e.g. Angular)– SEO-friendly (Custom Error Response
+ HTML5 History API)
• Completely Serverless– Pre-scaled– Low-cost– Low-maintenance
![Page 15: How Serverless Computing Enables Microservices and Micropayment](https://reader033.vdocuments.site/reader033/viewer/2022051006/589ae0c81a28abee708b4ecf/html5/thumbnails/15.jpg)
Mitoc Group IncAWS Technology Partner
Serverless Infrastructure: Web Tier
S3 bucket
CloudFrontdistribution
Web Tier
CognitoIdentity
CloudFrontlogs
www.example.comstatic.example.com
• Static Assets– Same as in reference architecture– css, js, docs, images, videos + html
• Dynamic Functionality– Use JS framework (e.g. Angular)– SEO-friendly (Custom Error Response
+ HTML5 History API)
• Completely Serverless– Pre-scaled– Low-cost– Low-maintenance
![Page 16: How Serverless Computing Enables Microservices and Micropayment](https://reader033.vdocuments.site/reader033/viewer/2022051006/589ae0c81a28abee708b4ecf/html5/thumbnails/16.jpg)
Mitoc Group IncAWS Technology Partner
Serverless Infrastructure: Web Tier
S3 bucket
CloudFrontdistribution
Web Tier
CognitoIdentity
CloudFrontlogs
www.example.comstatic.example.com
• Static Assets– Same as in reference architecture– css, js, docs, images, videos + html
• Dynamic Functionality– Use JS framework (e.g. Angular)– SEO-friendly (Custom Error Response
+ HTML5 History API)
• Completely Serverless– Pre-scaled– Low-cost– Low-maintenance
![Page 17: How Serverless Computing Enables Microservices and Micropayment](https://reader033.vdocuments.site/reader033/viewer/2022051006/589ae0c81a28abee708b4ecf/html5/thumbnails/17.jpg)
Mitoc Group IncAWS Technology Partner
Serverless Infrastructure: App Tier
CognitoIdentity
SQS
Lambda
API Gateway
App Tier
Availability Zone A Availability Zone B
Auto Scaling Group
appservers
appservers
![Page 18: How Serverless Computing Enables Microservices and Micropayment](https://reader033.vdocuments.site/reader033/viewer/2022051006/589ae0c81a28abee708b4ecf/html5/thumbnails/18.jpg)
Mitoc Group IncAWS Technology Partner
CognitoIdentity
SQS
Lambda
API Gateway
App Tier • Accelerated Backend– Write node.js functions and load into
Lambda– Power up Lambda with RESTful
endpoints on API Gateway– Cache, throttle, meter, version, etc.
• Completely Serverless– Pre-scaled– Low-cost– Low-maintenance
Serverless Infrastructure: App Tier
![Page 19: How Serverless Computing Enables Microservices and Micropayment](https://reader033.vdocuments.site/reader033/viewer/2022051006/589ae0c81a28abee708b4ecf/html5/thumbnails/19.jpg)
Mitoc Group IncAWS Technology Partner
• Accelerated Backend– Write node.js functions and load into
Lambda– Power up Lambda with RESTful
endpoints on API Gateway– Cache, throttle, meter, version, etc.
• Completely Serverless– Pre-scaled– Low-cost– Low-maintenance
Serverless Infrastructure: App Tier
CognitoIdentity
SQS
Lambda
API Gateway
App Tier
![Page 20: How Serverless Computing Enables Microservices and Micropayment](https://reader033.vdocuments.site/reader033/viewer/2022051006/589ae0c81a28abee708b4ecf/html5/thumbnails/20.jpg)
Mitoc Group IncAWS Technology Partner
Availability Zone A Availability Zone B
Serverless Infrastructure: Data TierDB Tier
SQS DynamoDB
RDS Aurora
![Page 21: How Serverless Computing Enables Microservices and Micropayment](https://reader033.vdocuments.site/reader033/viewer/2022051006/589ae0c81a28abee708b4ecf/html5/thumbnails/21.jpg)
Mitoc Group IncAWS Technology Partner
DB Tier
SQS DynamoDB
RDS Aurora
Serverless Infrastructure: Data Tier• First choice – DynamoDB + SQS
– Schema-free– Scale only reads and writes
• Completely Serverless– Pre-scaled– Low-cost– Low-maintenance
• Next choice – RDS Aurora– Relational– MySQL-like approach, but 5x better
![Page 22: How Serverless Computing Enables Microservices and Micropayment](https://reader033.vdocuments.site/reader033/viewer/2022051006/589ae0c81a28abee708b4ecf/html5/thumbnails/22.jpg)
Mitoc Group IncAWS Technology Partner
Serverless Infrastructure: Data Tier• First choice – DynamoDB + SQS
– Schema-free– Scale only reads and writes
• Completely Serverless– Pre-scaled– Low-cost– Low-maintenance
• Next choice – RDS Aurora– Relational– MySQL-like approach, but 5x better
DB Tier
SQS DynamoDB
RDS Aurora
![Page 23: How Serverless Computing Enables Microservices and Micropayment](https://reader033.vdocuments.site/reader033/viewer/2022051006/589ae0c81a28abee708b4ecf/html5/thumbnails/23.jpg)
Mitoc Group IncAWS Technology Partner
Serverless Infrastructure: Data Tier• First choice – DynamoDB + SQS
– Schema-free– Scale only reads and writes
• Completely Serverless– Pre-scaled– Low-cost– Low-maintenance
• Next choice – RDS Aurora– Relational– MySQL-compatible, but MUCH better
DB Tier
SQS DynamoDB
RDS Aurora
![Page 24: How Serverless Computing Enables Microservices and Micropayment](https://reader033.vdocuments.site/reader033/viewer/2022051006/589ae0c81a28abee708b4ecf/html5/thumbnails/24.jpg)
Mitoc Group IncAWS Technology Partner
Agenda• Serverless Infrastructure
• Transform any Web App to use Serverless
• Microservices Architecture
• Micropayments Platform
• Q&A
![Page 25: How Serverless Computing Enables Microservices and Micropayment](https://reader033.vdocuments.site/reader033/viewer/2022051006/589ae0c81a28abee708b4ecf/html5/thumbnails/25.jpg)
Mitoc Group IncAWS Technology Partner
What are “Microservices”?
In computing, microservices is a software architecture style in which complex applications are composed of small, independent processes communicating with each other using language-agnostic APIs. These services are small, highly
decoupled and focus on doing a small task, facilitating a modular approach to system-building.
https://en.wikipedia.org/wiki/Microservices
![Page 26: How Serverless Computing Enables Microservices and Micropayment](https://reader033.vdocuments.site/reader033/viewer/2022051006/589ae0c81a28abee708b4ecf/html5/thumbnails/26.jpg)
Mitoc Group IncAWS Technology Partner
Google Trends: Microservices
![Page 27: How Serverless Computing Enables Microservices and Micropayment](https://reader033.vdocuments.site/reader033/viewer/2022051006/589ae0c81a28abee708b4ecf/html5/thumbnails/27.jpg)
Mitoc Group IncAWS Technology Partner
First Demo of the Day
![Page 28: How Serverless Computing Enables Microservices and Micropayment](https://reader033.vdocuments.site/reader033/viewer/2022051006/589ae0c81a28abee708b4ecf/html5/thumbnails/28.jpg)
Mitoc Group IncAWS Technology Partner
Agenda• Serverless Infrastructure
• Transform any Web App to use Serverless
• Microservices Architecture
• Micropayments Platform
• Q&A
![Page 29: How Serverless Computing Enables Microservices and Micropayment](https://reader033.vdocuments.site/reader033/viewer/2022051006/589ae0c81a28abee708b4ecf/html5/thumbnails/29.jpg)
Mitoc Group IncAWS Technology Partner
Second Demo of the Day
![Page 30: How Serverless Computing Enables Microservices and Micropayment](https://reader033.vdocuments.site/reader033/viewer/2022051006/589ae0c81a28abee708b4ecf/html5/thumbnails/30.jpg)
Mitoc Group IncAWS Technology Partner
Agenda• Serverless Infrastructure
• Transform any Web App to use Serverless
• Microservices Architecture
• Micropayments Platform
• Q&A
![Page 31: How Serverless Computing Enables Microservices and Micropayment](https://reader033.vdocuments.site/reader033/viewer/2022051006/589ae0c81a28abee708b4ecf/html5/thumbnails/31.jpg)
Mitoc Group IncAWS Technology Partner
Q&A + Next Steps
github.com/MitocGroup blog.mitocgroup.com slideshare.net/MitocGroup
![Page 32: How Serverless Computing Enables Microservices and Micropayment](https://reader033.vdocuments.site/reader033/viewer/2022051006/589ae0c81a28abee708b4ecf/html5/thumbnails/32.jpg)
Mitoc Group IncAWS Technology Partner
Compute Evolved | AWS Loft Architecture Week
Thank You!
Special Thanks to Bryan & Leilani from