SlideShare a Scribd company logo
Mitoc Group Inc
AWS Technology Partner
How Serverless Computing Enables
Microservices and Micropayments
#ServerlessConf, London UK
October 2016
Mitoc Group Inc
AWS Technology Partner
The Challenge
Mitoc Group Inc
AWS Technology Partner
Werner Vogels, CTO @ Amazon.com
Mitoc Group Inc
AWS 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
Mitoc Group Inc
AWS Technology Partner
About
• Eugene Istrati
• eugene@mitocgroup.com
• 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
• Creators of AdTechMedia product
Mitoc Group Inc
AWS Technology Partner
Agenda
• Serverless Infrastructure
• Transform any Web App to use Serverless Computing
• Microservices Architecture
• Micropayments Platform
• Q&A
Mitoc Group Inc
AWS 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”?
Mitoc Group Inc
AWS Technology Partner
@adrianco
Mitoc Group Inc
AWS Technology Partner
AWS Serverless Options
Storage DatabaseNetwork
Compute Content DeliveryMessaging and QueuesSecurity
Gateways
User Management Monitoring & Logging
Internet of Things
Machine Learning
Streaming Analytics
Mitoc Group Inc
AWS Technology Partner
Do It Yourself on AWS
https://blog.mitocgroup.com/how-to-create-
serverless-environments-on-aws-8485ae039765
and
https://www.youtube.com/playlist?list=PLPGfD-
tGOl7sr6R9fZjNp3-qwWIxiShT5
Mitoc Group Inc
AWS Technology Partner
Agenda
• Serverless Infrastructure
• Transform any Web App to use Serverless Computing
• Microservices Architecture
• Micropayments Platform
• Q&A
Mitoc Group Inc
AWS Technology Partner
Serverless Infrastructure
Availability Zone A Availability Zone B
Auto Scaling Group
Auto Scaling Group
www.example.com
static.example.com
web
servers
web
servers
app
servers
app
servers
S3 bucket
CloudFront
distribution
Web Tier
Cognito
Identity
DB Tier
SQS DynamoDB
LambdaCloudFront
logs
API Gateway
www.example.com
static.example.com
App Tier
AWS Region
RDS Aurora
Mitoc Group Inc
AWS Technology Partner
Serverless Infrastructure: Web Tier
S3 bucket
CloudFront
distribution
Web Tier
Cognito
Identity
CloudFront
logs
www.example.com
static.example.com
Availability Zone A Availability Zone B
Auto Scaling Group
www.example.com
static.example.com
web
servers
web
servers
Mitoc Group Inc
AWS Technology Partner
Serverless Infrastructure: Web Tier
S3 bucket
CloudFront
distribution
Web Tier
Cognito
Identity
CloudFront
logs
www.example.com
static.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
Mitoc Group Inc
AWS Technology Partner
Serverless Infrastructure: Web Tier
S3 bucket
CloudFront
distribution
Web Tier
Cognito
Identity
CloudFront
logs
www.example.com
static.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
Mitoc Group Inc
AWS Technology Partner
Serverless Infrastructure: Web Tier
S3 bucket
CloudFront
distribution
Web Tier
Cognito
Identity
CloudFront
logs
www.example.com
static.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
Mitoc Group Inc
AWS Technology Partner
Serverless Infrastructure: App Tier
Cognito
Identity
SQS
Lambda
API Gateway
App Tier
Availability Zone A Availability Zone B
Auto Scaling Group
app
servers
app
servers
Mitoc Group Inc
AWS Technology Partner
Cognito
Identity
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
Mitoc Group Inc
AWS 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
Cognito
Identity
SQS
Lambda
API Gateway
App Tier
Mitoc Group Inc
AWS Technology Partner
Availability Zone A Availability Zone B
Serverless Infrastructure: Data Tier
DB Tier
SQS DynamoDB
RDS Aurora
Mitoc Group Inc
AWS 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
Mitoc Group Inc
AWS 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
Mitoc Group Inc
AWS 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
Mitoc Group Inc
AWS Technology Partner
Agenda
• Serverless Infrastructure
• Transform any Web App to use Serverless Computing
• Microservices Architecture
• Micropayments Platform
• Q&A
Mitoc Group Inc
AWS 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
Mitoc Group Inc
AWS Technology Partner
Google Trends: Microservices
Mitoc Group Inc
AWS Technology Partner
First Demo of the Day
Mitoc Group Inc
AWS Technology Partner
Blue-green Deployments of Serverless AWS
https://blog.mitocgroup.com/blue-green-
deployments-for-serverless-powered-applications-
on-aws-22a08447aa72
Mitoc Group Inc
AWS Technology Partner
Agenda
• Serverless Infrastructure
• Transform any Web App to use Serverless Computing
• Microservices Architecture
• Micropayments Platform
• Q&A
Mitoc Group Inc
AWS Technology Partner
Second Demo of the Day
Mitoc Group Inc
AWS Technology Partner
Agenda
• Serverless Infrastructure
• Transform any Web App to use Serverless Computing
• Microservices Architecture
• Micropayments Platform
• Q&A
Mitoc Group Inc
AWS Technology Partner
Q&A + Next Steps
github.com/MitocGroup blog.mitocgroup.com slideshare.net/MitocGroup
Mitoc Group Inc
AWS Technology Partner
ServerlessConf London 2016
Thank You!
Special Thanks to Peter & Sam from

More Related Content

PPTX
How Serverless Computing Enables Microservices and Micropayment
PPTX
Serverless Microservices - Real life story of a Web App that uses AngularJS, ...
PPTX
Building Scalable Web Applications using Microservices Architecture and Serve...
PPTX
Serverless Microservices - Real life story of a Web App that uses AWS Lambda
PDF
JavaScript & Cloud: the AWS JS SDK and how to work with cloud resources
PPTX
Building Scalable Web Applications using Microservices Architecture and NodeJ...
PPTX
Microservices Architecture for Content Management Systems using AWS Lambda an...
PPTX
Build Web Applications using Microservices on Node.js and Serverless AWS
How Serverless Computing Enables Microservices and Micropayment
Serverless Microservices - Real life story of a Web App that uses AngularJS, ...
Building Scalable Web Applications using Microservices Architecture and Serve...
Serverless Microservices - Real life story of a Web App that uses AWS Lambda
JavaScript & Cloud: the AWS JS SDK and how to work with cloud resources
Building Scalable Web Applications using Microservices Architecture and NodeJ...
Microservices Architecture for Content Management Systems using AWS Lambda an...
Build Web Applications using Microservices on Node.js and Serverless AWS

What's hot (9)

PPTX
Microservices Architecture for Web Applications using Serverless Computing wi...
PPTX
Microservices Architecture for Digital Platforms using Serverless AWS
PPTX
Devops on AWS
PDF
Microservices and Serverless for Mega Startups - DevOps IL Meetup
PPTX
AWS Lambda support for AWS X-Ray
PPTX
Microservices Architecture for MEAN Applications using Serverless AWS
PPTX
Microservices Architecture for Web Applications using Amazon AWS Cloud
PPTX
Fin jaws 202103
PDF
Reactive Architectures with Microservices
Microservices Architecture for Web Applications using Serverless Computing wi...
Microservices Architecture for Digital Platforms using Serverless AWS
Devops on AWS
Microservices and Serverless for Mega Startups - DevOps IL Meetup
AWS Lambda support for AWS X-Ray
Microservices Architecture for MEAN Applications using Serverless AWS
Microservices Architecture for Web Applications using Amazon AWS Cloud
Fin jaws 202103
Reactive Architectures with Microservices
Ad

Viewers also liked (12)

PPTX
Microservice vs. Monolithic Architecture
PPTX
Alma bugarin presentation
PPTX
Грамадска палітычнае жыццё БССР у 1945-53 гг. Адукацыя і навука.
PDF
Отчет о работе фонда помощи хосписам «Вера» 2007-2014
PDF
STX_SU11_Magazine
PDF
نتيجة الصف السادس ديرمواس مايو 2016
PPTX
Top 8 math specialist resume samples
PPTX
01. Вытокі ўтварэння ВКЛ
PDF
EN_T-Time 1 2015
PDF
PP nomor 61 tahun 2010 (pp nomor 61 tahun 2010)
PPTX
Residential Solar Presentation
DOCX
ở đâu làm clip quảng cáo sản phẩm
Microservice vs. Monolithic Architecture
Alma bugarin presentation
Грамадска палітычнае жыццё БССР у 1945-53 гг. Адукацыя і навука.
Отчет о работе фонда помощи хосписам «Вера» 2007-2014
STX_SU11_Magazine
نتيجة الصف السادس ديرمواس مايو 2016
Top 8 math specialist resume samples
01. Вытокі ўтварэння ВКЛ
EN_T-Time 1 2015
PP nomor 61 tahun 2010 (pp nomor 61 tahun 2010)
Residential Solar Presentation
ở đâu làm clip quảng cáo sản phẩm
Ad

Similar to How Serverless Computing Enables Microservices and Micropayment (11)

PPTX
ARC201 Microservices Architecture @ AWS re:Invent 2015
PDF
Serverless Culture
PPTX
Microservices Architecture for Web Applications using AWS Lambda and more
PPTX
Microservices Architecture for Content Management Systems using AWS Lambda an...
PDF
Introducing to serverless computing and AWS lambda - Israel Clouds Meetup
PDF
Build an app on aws for your first 10 million users (2)
PPTX
AWS Startup Day Bangalore: Being Well-Architected in the Cloud
PPTX
Event-driven and serverless in the world of IoT
PPTX
Being Well Architected in the Cloud (Updated)
PPTX
Journey Towards Scaling Your Application to Million Users
PDF
Serverless — it all started in Vegas
ARC201 Microservices Architecture @ AWS re:Invent 2015
Serverless Culture
Microservices Architecture for Web Applications using AWS Lambda and more
Microservices Architecture for Content Management Systems using AWS Lambda an...
Introducing to serverless computing and AWS lambda - Israel Clouds Meetup
Build an app on aws for your first 10 million users (2)
AWS Startup Day Bangalore: Being Well-Architected in the Cloud
Event-driven and serverless in the world of IoT
Being Well Architected in the Cloud (Updated)
Journey Towards Scaling Your Application to Million Users
Serverless — it all started in Vegas

Recently uploaded (20)

PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
System and Network Administration Chapter 2
PPTX
Reimagine Home Health with the Power of Agentic AI​
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
Understanding Forklifts - TECH EHS Solution
PDF
Nekopoi APK 2025 free lastest update
PPTX
CHAPTER 2 - PM Management and IT Context
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PPTX
assetexplorer- product-overview - presentation
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PPTX
ai tools demonstartion for schools and inter college
PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PPTX
history of c programming in notes for students .pptx
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
System and Network Administration Chapter 2
Reimagine Home Health with the Power of Agentic AI​
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
Understanding Forklifts - TECH EHS Solution
Nekopoi APK 2025 free lastest update
CHAPTER 2 - PM Management and IT Context
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Design an Analysis of Algorithms II-SECS-1021-03
assetexplorer- product-overview - presentation
How to Migrate SBCGlobal Email to Yahoo Easily
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
ai tools demonstartion for schools and inter college
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
history of c programming in notes for students .pptx

How Serverless Computing Enables Microservices and Micropayment

  • 1. Mitoc Group Inc AWS Technology Partner How Serverless Computing Enables Microservices and Micropayments #ServerlessConf, London UK October 2016
  • 2. Mitoc Group Inc AWS Technology Partner The Challenge
  • 3. Mitoc Group Inc AWS Technology Partner Werner Vogels, CTO @ Amazon.com
  • 4. Mitoc Group Inc AWS 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
  • 5. Mitoc Group Inc AWS Technology Partner About • Eugene Istrati • eugene@mitocgroup.com • 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 • Creators of AdTechMedia product
  • 6. Mitoc Group Inc AWS Technology Partner Agenda • Serverless Infrastructure • Transform any Web App to use Serverless Computing • Microservices Architecture • Micropayments Platform • Q&A
  • 7. Mitoc Group Inc AWS 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”?
  • 8. Mitoc Group Inc AWS Technology Partner @adrianco
  • 9. Mitoc Group Inc AWS Technology Partner AWS Serverless Options Storage DatabaseNetwork Compute Content DeliveryMessaging and QueuesSecurity Gateways User Management Monitoring & Logging Internet of Things Machine Learning Streaming Analytics
  • 10. Mitoc Group Inc AWS Technology Partner Do It Yourself on AWS https://blog.mitocgroup.com/how-to-create- serverless-environments-on-aws-8485ae039765 and https://www.youtube.com/playlist?list=PLPGfD- tGOl7sr6R9fZjNp3-qwWIxiShT5
  • 11. Mitoc Group Inc AWS Technology Partner Agenda • Serverless Infrastructure • Transform any Web App to use Serverless Computing • Microservices Architecture • Micropayments Platform • Q&A
  • 12. Mitoc Group Inc AWS Technology Partner Serverless Infrastructure Availability Zone A Availability Zone B Auto Scaling Group Auto Scaling Group www.example.com static.example.com web servers web servers app servers app servers S3 bucket CloudFront distribution Web Tier Cognito Identity DB Tier SQS DynamoDB LambdaCloudFront logs API Gateway www.example.com static.example.com App Tier AWS Region RDS Aurora
  • 13. Mitoc Group Inc AWS Technology Partner Serverless Infrastructure: Web Tier S3 bucket CloudFront distribution Web Tier Cognito Identity CloudFront logs www.example.com static.example.com Availability Zone A Availability Zone B Auto Scaling Group www.example.com static.example.com web servers web servers
  • 14. Mitoc Group Inc AWS Technology Partner Serverless Infrastructure: Web Tier S3 bucket CloudFront distribution Web Tier Cognito Identity CloudFront logs www.example.com static.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
  • 15. Mitoc Group Inc AWS Technology Partner Serverless Infrastructure: Web Tier S3 bucket CloudFront distribution Web Tier Cognito Identity CloudFront logs www.example.com static.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
  • 16. Mitoc Group Inc AWS Technology Partner Serverless Infrastructure: Web Tier S3 bucket CloudFront distribution Web Tier Cognito Identity CloudFront logs www.example.com static.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
  • 17. Mitoc Group Inc AWS Technology Partner Serverless Infrastructure: App Tier Cognito Identity SQS Lambda API Gateway App Tier Availability Zone A Availability Zone B Auto Scaling Group app servers app servers
  • 18. Mitoc Group Inc AWS Technology Partner Cognito Identity 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
  • 19. Mitoc Group Inc AWS 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 Cognito Identity SQS Lambda API Gateway App Tier
  • 20. Mitoc Group Inc AWS Technology Partner Availability Zone A Availability Zone B Serverless Infrastructure: Data Tier DB Tier SQS DynamoDB RDS Aurora
  • 21. Mitoc Group Inc AWS 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
  • 22. Mitoc Group Inc AWS 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
  • 23. Mitoc Group Inc AWS 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
  • 24. Mitoc Group Inc AWS Technology Partner Agenda • Serverless Infrastructure • Transform any Web App to use Serverless Computing • Microservices Architecture • Micropayments Platform • Q&A
  • 25. Mitoc Group Inc AWS 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
  • 26. Mitoc Group Inc AWS Technology Partner Google Trends: Microservices
  • 27. Mitoc Group Inc AWS Technology Partner First Demo of the Day
  • 28. Mitoc Group Inc AWS Technology Partner Blue-green Deployments of Serverless AWS https://blog.mitocgroup.com/blue-green- deployments-for-serverless-powered-applications- on-aws-22a08447aa72
  • 29. Mitoc Group Inc AWS Technology Partner Agenda • Serverless Infrastructure • Transform any Web App to use Serverless Computing • Microservices Architecture • Micropayments Platform • Q&A
  • 30. Mitoc Group Inc AWS Technology Partner Second Demo of the Day
  • 31. Mitoc Group Inc AWS Technology Partner Agenda • Serverless Infrastructure • Transform any Web App to use Serverless Computing • Microservices Architecture • Micropayments Platform • Q&A
  • 32. Mitoc Group Inc AWS Technology Partner Q&A + Next Steps github.com/MitocGroup blog.mitocgroup.com slideshare.net/MitocGroup
  • 33. Mitoc Group Inc AWS Technology Partner ServerlessConf London 2016 Thank You! Special Thanks to Peter & Sam from

Editor's Notes

  • #3: The fundamental goal of every web application is to be up and running 24/7. But it’s a huge challenge to do it at scale. Failures can happen to anyone, even the big guys. No name calling today.
  • #4: To quote the CTO of Amazon.com: Everything fails, all the time.
  • #5: And my two cents: I don’t know about you guys, but in my experience, it usually doesn’t happen during business hours, when you are in front of your computer.
  • #6: My name is Eugene Istrati. I’m the Cofounder and Technology Partner at Mitoc Group. As AWS Technology Partners and featured AWS Lambda Partners, it is my please and honor to be here today to speak in front of you guys.
  • #7: My goal today is to explain as much as I can about serverless infrastructure, microservices architecture and show case some real life examples.
  • #8: Let’s start with serverless concept. What does serverless mean? Intuitively, there should be something that involves “no servers”. Yes, to be precise, we as developers don’t need to deal with servers and all associated operations to keep them up and running at scale. Instead, we are getting abstracted services that are highly secure and highly available, pre-provisioned and pre-scaled.
  • #9: But my favorite explanation is a tweet by Netflix former Chief Architect, Adrian Cockcroft: If your PaaS can efficiently start instances in 20ms that run for half a second, then call it serverless.
  • #10: AWS offers a large variety of serverless options. To emphasize how big this is, please raise your hand, keep it up and look around if you’re using Amazon S3.
  • #11: This is a blogpost and several do it yourself videos that we’ve published last year on how to use serverless options on AWS.
  • #12: Let’s assume that we already have some experience working with serverless infrastructure. What’s next? We’ll take an existing web application and transform it to use serverless computing. How can we do that?
  • #13: There is no magic here. Let me show you how we did it for an existing application running on AWS. I’ll describe it layer by layer.
  • #14: First question, how can we transform the web tier into a serverless one? Most of us think of S3 as a storage service available over the Internet. We think of S3 as a cluster of web servers behind load balancers that have turned off server side scripting modules. It is secured through IAM and there is no need to worry about underlying infrastructure.
  • #15: As we are doing this transformation, the static component stays exactly the same as in reference architecture. We load everything into S3: css, javascript, documents, images, videos. And even html, which usually is served by EC2.
  • #16: Because S3 doesn’t allow server side scripting, we use client side languages like JavaScript to add dynamic functionality. Modern JavaScript frameworks like AngularJS caught up a lot lately to other popular web frameworks. They provide similar patterns and best practices like Symfony, or Django, or Rails. And they are very friendly with search engines, allowing indexing of both new applications and legacy applications.
  • #17: But the biggest benefit – it is completely serverless. The infrastructure comes pre-scaled at AWS size, which is virtually infinite. I have heard some people saying quote: “You will reach your budget faster than AWS will reach its physical limits”. And the bigger it is, the better it gets and the lower it costs.
  • #18: Now let’s see how we transformed our app tier into a serverless one. AWS Lambda can roughly be described a self-managed container service. It deploys code in milliseconds and executes code in seconds. Like in case of web tier, it is secured through IAM and there is no need to worry about underlying infrastructure.
  • #19: Because of the way Lambda is designed, we get out of the box an accelerated backend that has short time to live. We are writing small functions, loading them into Lambda, and consuming them through API Gateway. It is also possible to call Lambda directly, but then you need to build by yourself caching and throttling, metering and versioning.
  • #20: And like in case of web tier, it is completely serverless.
  • #21: Last, but not the least, how do we transform the data tier into a serverless one? We encourage all of us to use DynamoDB because the only operations you care about are reads per second and writes per second. And like in case of both web tier and app tier, it is secured through IAM and there is no need to worry about underlying infrastructure.
  • #22: DynamoDB is an amazing schema-less key-value database like MongoDB. We only increase or decrease, reads or writes, independently from each other. But at scale, by itself, DynamoDB could be cost intensive. That is why we virtually put SQS in front of DynamoDB and store datasets into the queue that gets asynchronously saved into the database. Apparently, this “eventual consistency” pattern saved Shazam 50% of their database cost.
  • #23: And again, guess what? It is completely serverless.
  • #24: But if you are for some reason coupled to relational databases, you can choose RDS Aurora. It is a MySQL like database, cloud native and scales seamlessly.
  • #25: Now, we have a lot to digest around serverless concept, so why do we need another concept, like microservices?
  • #26: To understand why, let’s see what does microservices mean. In a nutshell, it is an architectural pattern that can be applied almost anywhere, either we are talking about infrastructure, or platform, or application. Think of it like a shredder for software, that makes from complex into simple and from difficult into easy. If it’s software driven, it could be designed as microservices.
  • #27: Microservices architecture is the new trend that makes all of us really curious and very excited. That is why it’s so surprising that 2 years ago microservices as a term almost didn’t exist, according to Google Trends.
  • #28: Now, I would like to switch to the first demo of the day and show you some serverless microservices in action.
  • #29: This is a blogpost and several do it yourself videos that we’ve published last year on how to use serverless options on AWS.
  • #30: To emphasize even further how we are leveraging serverless infrastructure and microservices architecture, I would like to talk about our own experiment, a micropayments platform called AdTechMedia.
  • #31: AdTechMedia is innovative advertising technology for media companies. It aims to empower publishers and content providers to monetize their content through complimentary revenue streams like native micropayments.
  • #32: And this concludes my presentation for today.
  • #33: As a next step, I invite you to checkout our Github and Slideshare, as well as read our blog powered by Medium.com.