SlideShare a Scribd company logo
Mitoc Group Inc
AWS Technology Partner
How Serverless Computing Enables
Microservices and Micropayments
AWS Pop-up Loft NYC
September 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
• Media and Entertainment Industry
Mitoc Group Inc
AWS Technology Partner
Agenda
• Serverless Infrastructure
• Transform any Web App to use Serverless
• 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
• 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
• 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
Agenda
• Serverless Infrastructure
• Transform any Web App to use Serverless
• 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
• 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
Compute Evolved | AWS Loft Architecture Week
Thank You!
Special Thanks to Bryan & Leilani
from

More Related Content

PPTX
How Serverless Computing Enables Microservices and Micropayment
PPTX
Building Scalable Web Applications using Microservices Architecture and Serve...
PPTX
Serverless Microservices - Real life story of a Web App that uses AngularJS, ...
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
Microservices Architecture for Content Management Systems using AWS Lambda an...
PPTX
Building Scalable Web Applications using Microservices Architecture and NodeJ...
PPTX
Build Web Applications using Microservices on Node.js and Serverless AWS
How Serverless Computing Enables Microservices and Micropayment
Building Scalable Web Applications using Microservices Architecture and Serve...
Serverless Microservices - Real life story of a Web App that uses AngularJS, ...
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
Microservices Architecture for Content Management Systems using AWS Lambda an...
Building Scalable Web Applications using Microservices Architecture and NodeJ...
Build Web Applications using Microservices on Node.js and Serverless AWS

What's hot (9)

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

Viewers also liked (14)

PPTX
Keluarga Berencana
PDF
WorkSamples
PPTX
Top 8 health administrator resume samples
PPTX
Top 8 online community manager resume samples
PDF
Leeway PWP Catalog Excerpt
PPTX
Top 8 banquet steward resume samples
PPTX
MeetXO_CorpCapabilities_2015
PPS
I believe
PDF
Promotional Posters_History Minors
PDF
FA_PROMO-Small
DOCX
General merchandise clerk performance appraisal
PDF
демократия
PDF
RESULTS SUMMARY
PPTX
Kecerdasan musikal
Keluarga Berencana
WorkSamples
Top 8 health administrator resume samples
Top 8 online community manager resume samples
Leeway PWP Catalog Excerpt
Top 8 banquet steward resume samples
MeetXO_CorpCapabilities_2015
I believe
Promotional Posters_History Minors
FA_PROMO-Small
General merchandise clerk performance appraisal
демократия
RESULTS SUMMARY
Kecerdasan musikal
Ad

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

PPTX
Microservices Architecture for Content Management Systems using AWS Lambda an...
PPTX
ARC201 Microservices Architecture @ AWS re:Invent 2015
PPTX
Microservices Architecture for Web Applications using Amazon AWS Cloud
PPTX
Microservices Architecture for Web Applications using AWS Lambda and more
PPTX
Serverless applications
PDF
Jumpstart your idea with AWS Serverless [Oct 2020]
PPT
Cloud computing by amazon
PPTX
AWS basics
PDF
The Next Big Thing: Serverless
PDF
Microservices and serverless for MegaStartups - DLD TLV 2017
PDF
Como construir suas aplicações escaláveis sem servidores
PDF
Introducing to serverless computing and AWS lambda - Israel Clouds Meetup
PDF
Microservices Manchester: Serverless Architectures By Rafal Gancarz
PPTX
AWS Serverless Community Day Keynote and Vendia Launch 6-26-2020
PDF
AWS Summit Atlanta Keynote
PDF
Reimagine Application Modernization with Serverless Architecture
PPTX
Turkish Airlines' Journey on Cloud
PPTX
Serverless beyond AWS Lambda
PDF
Designing Serverless Architectures on AWS
PDF
Crio.do - Deployment on AWS Masterclass
Microservices Architecture for Content Management Systems using AWS Lambda an...
ARC201 Microservices Architecture @ AWS re:Invent 2015
Microservices Architecture for Web Applications using Amazon AWS Cloud
Microservices Architecture for Web Applications using AWS Lambda and more
Serverless applications
Jumpstart your idea with AWS Serverless [Oct 2020]
Cloud computing by amazon
AWS basics
The Next Big Thing: Serverless
Microservices and serverless for MegaStartups - DLD TLV 2017
Como construir suas aplicações escaláveis sem servidores
Introducing to serverless computing and AWS lambda - Israel Clouds Meetup
Microservices Manchester: Serverless Architectures By Rafal Gancarz
AWS Serverless Community Day Keynote and Vendia Launch 6-26-2020
AWS Summit Atlanta Keynote
Reimagine Application Modernization with Serverless Architecture
Turkish Airlines' Journey on Cloud
Serverless beyond AWS Lambda
Designing Serverless Architectures on AWS
Crio.do - Deployment on AWS Masterclass

Recently uploaded (20)

PPTX
A Presentation on Artificial Intelligence
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Encapsulation theory and applications.pdf
PDF
Empathic Computing: Creating Shared Understanding
DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
Big Data Technologies - Introduction.pptx
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPT
Teaching material agriculture food technology
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Electronic commerce courselecture one. Pdf
PPTX
Spectroscopy.pptx food analysis technology
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
MYSQL Presentation for SQL database connectivity
PDF
cuic standard and advanced reporting.pdf
A Presentation on Artificial Intelligence
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Encapsulation theory and applications.pdf
Empathic Computing: Creating Shared Understanding
The AUB Centre for AI in Media Proposal.docx
20250228 LYD VKU AI Blended-Learning.pptx
Big Data Technologies - Introduction.pptx
Review of recent advances in non-invasive hemoglobin estimation
Teaching material agriculture food technology
Programs and apps: productivity, graphics, security and other tools
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Assigned Numbers - 2025 - Bluetooth® Document
Electronic commerce courselecture one. Pdf
Spectroscopy.pptx food analysis technology
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Advanced methodologies resolving dimensionality complications for autism neur...
MYSQL Presentation for SQL database connectivity
cuic standard and advanced reporting.pdf

How Serverless Computing Enables Microservices and Micropayment

  • 1. Mitoc Group Inc AWS Technology Partner How Serverless Computing Enables Microservices and Micropayments AWS Pop-up Loft NYC September 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 • Media and Entertainment Industry
  • 6. Mitoc Group Inc AWS Technology Partner Agenda • Serverless Infrastructure • Transform any Web App to use Serverless • 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 • 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 • 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 Agenda • Serverless Infrastructure • Transform any Web App to use Serverless • Microservices Architecture • Micropayments Platform • Q&A
  • 29. Mitoc Group Inc AWS Technology Partner Second Demo of the Day
  • 30. Mitoc Group Inc AWS Technology Partner Agenda • Serverless Infrastructure • Transform any Web App to use Serverless • Microservices Architecture • Micropayments Platform • Q&A
  • 31. Mitoc Group Inc AWS Technology Partner Q&A + Next Steps github.com/MitocGroup blog.mitocgroup.com slideshare.net/MitocGroup
  • 32. Mitoc Group Inc AWS Technology Partner Compute Evolved | AWS Loft Architecture Week Thank You! Special Thanks to Bryan & Leilani 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 Werner: 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 Technology Partner at Mitoc Group. Here are some credentials about myself and the company I represent. 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 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 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 and keep it up if you’re using Amazon S3. Now look around.
  • #11: This is a blogpost and several how to videos that we’ve published last year on how to do it yourself serverless 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 using serverless computing. How can we do that?
  • #13: There is no magic here. Let me show you how we did it for 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: 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.
  • #30: 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.
  • #31: And this concludes my presentation for today.
  • #32: As a next step, I invite you to checkout our Github and Slideshare, as well as read our blog powered by Medium.com.