SlideShare uma empresa Scribd logo
1 de 20
Baixar para ler offline
Paul Johnston - CTO of Movivo - paul@movivo.mobi - @PaulDJohnston
The future of serverless
Musings on the things we might be doing in a year
Paul Johnston
CTO of Movivo
@PaulDJohnston on twitter and medium
Paul Johnston - CTO of Movivo - paul@movivo.mobi - @PaulDJohnston
The future of serverless
Musings on the things we might be doing in a year
Paul Johnston
CTO of Movivo
@PaulDJohnston on twitter and medium
Jeff
Paul Johnston - CTO of Movivo - paul@movivo.mobi - @PaulDJohnston
Movivo
Paul Johnston - CTO of Movivo - paul@movivo.mobi - @PaulDJohnston
AWS Lambda
Note: Serverless is more than FaaS
Paul Johnston - CTO of Movivo - paul@movivo.mobi - @PaulDJohnston
Serverless is…
Reducing Maintenance
“…but there are always servers…”
(“shut up” says Jeff)
Paul Johnston - CTO of Movivo - paul@movivo.mobi - @PaulDJohnston
Function as a Service (FaaS)
Very Low Maintenance
Stateless
Highly Scalable
Do one thing well
Zero or one data transformations
Don’t chain them together
Minimise libraries (pref none)
Environment variables
Shared libraries
More runtimes / Binary support
Priority Functions
Queuing solutions
Paul Johnston - CTO of Movivo - paul@movivo.mobi - @PaulDJohnston
Auth
Authentication - Who are you?
Authorisation - Do you have
access?
FaaS are stateless
3rd party authentication options
MFA
Cognito + IAM/API Gateway
Best practices need to be defined
Good solutions available
Integration of services
Paul Johnston - CTO of Movivo - paul@movivo.mobi - @PaulDJohnston
Data
Scalable solutions require scalable storage
“RDBMS first”
NoSQL provides different options
Right tool for the job
NoSQL largely unmanaged
Several managed data services
Often used inappropriately
RDBMS not so universally
appropriate
(Some) NoSQL is good
Managed scaled storage
More distributed data storage
solutions needed
Data storage by country/region
Data protection worldwide
New data practices and tooling
Paul Johnston - CTO of Movivo - paul@movivo.mobi - @PaulDJohnston
Events and Streaming Data
Nano function chaining
Auditing functions
Complexity increased without events
FiFo Queues
Ordering of invocations
Parallel less important
Queues via DynamoDB Events
Has issues
No specific “serverless queue”
solution yet
Replaces monolith app internals
Improved queueing services
Auditing of system
Combined logging for system state
view
Paul Johnston - CTO of Movivo - paul@movivo.mobi - @PaulDJohnston
Beyond EC2 / Instances
Cloud != Instances
Cloud is evolving into services
Serverless / FaaS is big evolutionary step
Instance + Firewall is biggest
security hole
AWS and other Vendors know this
Vendors want you to move to
services
Containers are not the answer
Cloud vendors pushing services
over instances
Unfortunately, new tutorials/
perception needed
Over time stricter controls on
instances
Paul Johnston - CTO of Movivo - paul@movivo.mobi - @PaulDJohnston
API Gateway
Controlled access to walled garden
Much better than monolith routing
Has added extras
Can hide functionality behind a
service
Auth built in: API Gateway +
Cognito
Overly complex
The most important change you’ll
make
Simplification of API access
Addition of other Auth solutions
Pushed as solution to avoid
instances
Paul Johnston - CTO of Movivo - paul@movivo.mobi - @PaulDJohnston
Frameworks
Frameworks are like initial structure of building
Old school
Lots of options - built for the monolith
Originally built for non-cloud scenario
Instances + framework != Cloud (imho)
Serverless Framework, Apex,
Claudia etc
Deploying/managing FaaS not that
hard
Complexity comes in config of
other services
Terraform at Movivo
We need more “frameworks”
Config + Code rather than just
code
Abstraction is not necessarily a
good thing
Hard to retrofit - please make it
easier!
Paul Johnston - CTO of Movivo - paul@movivo.mobi - @PaulDJohnston
Solutions
Four major cloud vendors
Most complete is AWS (could change) - services and APIs
Opportunity in tooling
Can foresee other players entering space
Don’t copy please… Innovate!
Paul Johnston - CTO of Movivo - paul@movivo.mobi - @PaulDJohnston
Data Infrastructure
Managed data services more important
Scaling of instance = easy
Scaling of data storage seems to be harder
Specific data types (search etc)
(up until recently) “Always RDBMS”
RDBMS originally non-cloud (and
still are)
Now is mix and match
Managed services more
purposeful
e.g. search
Learn to use right tools at right time
Case studies more than just “look
at NoSQL”
Weaning off RDBMS (and ORM)
Service discovery tools
Paul Johnston - CTO of Movivo - paul@movivo.mobi - @PaulDJohnston
Logging and Auditing
No more tail -f /var/log/error.log
Distributed systems need distributed logging
Moving away from servers/
instances = confusion
Per FaaS logging
Server logs
Lots of logs causes problems
Good alerts = easy to respond
Combined logging is a necessity
Audit trails needed - future
service?
Services for logging not just
invocations but data
Data protection (again)
Paul Johnston - CTO of Movivo - paul@movivo.mobi - @PaulDJohnston
Deployment and CI/CD
Initially FaaS was internal process tool
Addition of API interface means much more
Deployment tools are behind curve
“Roll your own” approach (behind curve)
FaaS is covered, but other services aren’t
CI tools for FaaS more complex
(terraform!)
Testing harder and CI focus different
Integration Testing needs separate
deployment
Full configuration is harder
Services are “part of the whole” system
FaaS is not the whole deployment
Vendors need to consider more
deployment options
Duplicate accounts (please!)
Paul Johnston - CTO of Movivo - paul@movivo.mobi - @PaulDJohnston
Testing
Unit testing relatively simple
Stateless FaaS do one thing (usually)
State can couple two functions - harder testing
System/Integration tests are harder
Deployment required (Terraform)
Testing 3rd parties - difficult
Reliance on 3rd parties
Automation of testing harder than monolith
Services must provide test options
Vendors should share test details
Testing of scenarios needs to be
automatable
Vendors should provide sandbox of
production
Paul Johnston - CTO of Movivo - paul@movivo.mobi - @PaulDJohnston
Future Serverless?
Fast on-demand binaries
Paid for on-demand Latency
Always on (websocket)
Data services - more and more specialised
Much better tooling
More case studies and best practices
Paul Johnston - CTO of Movivo - paul@movivo.mobi - @PaulDJohnston
The future of serverless
Suggested questions:
How do you decide what projects are good/bad for Serverless?
Everyone keeps saying monolith… what do they mean?
What are the biggest drawbacks? (hint: tooling)
What are migration strategies for both code and infrastructure?
You make it sound so easy to do! Is it?
Or do you have to hack stuff to make it work?
Paul Johnston - CTO of Movivo - paul@movivo.mobi - @PaulDJohnston
The future of serverless
Thank you.
Paul Johnston
CTO of Movivo
@PaulDJohnston on twitter and medium

Mais conteúdo relacionado

Destaque

Listen and write
Listen and writeListen and write
Listen and write
pahmah
 
Winners of HTML5 BYOG - InGDIn
Winners of HTML5 BYOG - InGDInWinners of HTML5 BYOG - InGDIn
Winners of HTML5 BYOG - InGDIn
Kinshuk Sunil
 
CfP dataTEL SI at Journal IJTEL deadline 25.10.2011
CfP dataTEL SI at Journal IJTEL deadline 25.10.2011CfP dataTEL SI at Journal IJTEL deadline 25.10.2011
CfP dataTEL SI at Journal IJTEL deadline 25.10.2011
Hendrik Drachsler
 
Bald Eagle by Rashawn Bryant
Bald Eagle by Rashawn BryantBald Eagle by Rashawn Bryant
Bald Eagle by Rashawn Bryant
vebrya
 
Open Access Week | Dag van het onderzoek
Open Access Week | Dag van het onderzoekOpen Access Week | Dag van het onderzoek
Open Access Week | Dag van het onderzoek
Hendrik Drachsler
 

Destaque (20)

Listen and write
Listen and writeListen and write
Listen and write
 
Winners of HTML5 BYOG - InGDIn
Winners of HTML5 BYOG - InGDInWinners of HTML5 BYOG - InGDIn
Winners of HTML5 BYOG - InGDIn
 
Improve your Web Development using Visual Studio 2010
Improve your Web Development using Visual Studio 2010Improve your Web Development using Visual Studio 2010
Improve your Web Development using Visual Studio 2010
 
CfP dataTEL SI at Journal IJTEL deadline 25.10.2011
CfP dataTEL SI at Journal IJTEL deadline 25.10.2011CfP dataTEL SI at Journal IJTEL deadline 25.10.2011
CfP dataTEL SI at Journal IJTEL deadline 25.10.2011
 
Mobiles as a Marketing Platform
Mobiles as a Marketing PlatformMobiles as a Marketing Platform
Mobiles as a Marketing Platform
 
Bing Bang
Bing BangBing Bang
Bing Bang
 
Anyway
AnywayAnyway
Anyway
 
Fqenlaceionico
FqenlaceionicoFqenlaceionico
Fqenlaceionico
 
JURE 2010
JURE 2010JURE 2010
JURE 2010
 
First Grade ExploreOrrs
First Grade ExploreOrrsFirst Grade ExploreOrrs
First Grade ExploreOrrs
 
110217 Adam Presentatie
110217 Adam Presentatie110217 Adam Presentatie
110217 Adam Presentatie
 
INFLUENZA H1N1, desde la ciencia, el mito y la realidad
INFLUENZA H1N1, desde la ciencia, el mito y la realidadINFLUENZA H1N1, desde la ciencia, el mito y la realidad
INFLUENZA H1N1, desde la ciencia, el mito y la realidad
 
KUŞ GRİBİ
KUŞ GRİBİKUŞ GRİBİ
KUŞ GRİBİ
 
Mobile Web 5.0
Mobile Web 5.0Mobile Web 5.0
Mobile Web 5.0
 
Bald Eagle by Rashawn Bryant
Bald Eagle by Rashawn BryantBald Eagle by Rashawn Bryant
Bald Eagle by Rashawn Bryant
 
Conferenceware meeting functionalities
Conferenceware meeting functionalitiesConferenceware meeting functionalities
Conferenceware meeting functionalities
 
El sermón la vaca más sagrada del protestantismo
El sermón la vaca más sagrada del protestantismoEl sermón la vaca más sagrada del protestantismo
El sermón la vaca más sagrada del protestantismo
 
Examenopleiding energieconsulent mfl
Examenopleiding energieconsulent mflExamenopleiding energieconsulent mfl
Examenopleiding energieconsulent mfl
 
Digital literacy and competences as essential life skills
Digital literacy and competences as essential life skillsDigital literacy and competences as essential life skills
Digital literacy and competences as essential life skills
 
Open Access Week | Dag van het onderzoek
Open Access Week | Dag van het onderzoekOpen Access Week | Dag van het onderzoek
Open Access Week | Dag van het onderzoek
 

Semelhante a Future of Serverless from ServerlessConf London October 2016

Semelhante a Future of Serverless from ServerlessConf London October 2016 (20)

Serverless is the future... or is it?
Serverless is the future... or is it?Serverless is the future... or is it?
Serverless is the future... or is it?
 
Deploying DC/OS on Premises with Juju
Deploying DC/OS on Premises with JujuDeploying DC/OS on Premises with Juju
Deploying DC/OS on Premises with Juju
 
High Availability SOA APP with GlusterFS
High Availability SOA APP with GlusterFSHigh Availability SOA APP with GlusterFS
High Availability SOA APP with GlusterFS
 
A PeopleSoft Roadmap
A PeopleSoft RoadmapA PeopleSoft Roadmap
A PeopleSoft Roadmap
 
HA SOA Application with GlusterFS
HA SOA Application with GlusterFSHA SOA Application with GlusterFS
HA SOA Application with GlusterFS
 
DevOps by examples - Azure Meetup Frankfurt 06-2017
DevOps by examples - Azure Meetup Frankfurt 06-2017DevOps by examples - Azure Meetup Frankfurt 06-2017
DevOps by examples - Azure Meetup Frankfurt 06-2017
 
Lightning talks
Lightning talksLightning talks
Lightning talks
 
Cloud computting a quick reference and guide
Cloud computting a quick reference and guideCloud computting a quick reference and guide
Cloud computting a quick reference and guide
 
Agile and continuous delivery – How IBM Watson Workspace is built
Agile and continuous delivery – How IBM Watson Workspace is builtAgile and continuous delivery – How IBM Watson Workspace is built
Agile and continuous delivery – How IBM Watson Workspace is built
 
SXSW - The Changing World of Software Delivery: Web, Mobile,and IoT
SXSW - The Changing World of Software Delivery: Web, Mobile,and IoTSXSW - The Changing World of Software Delivery: Web, Mobile,and IoT
SXSW - The Changing World of Software Delivery: Web, Mobile,and IoT
 
DOES16 London - Better Faster Cheaper .. How?
DOES16 London - Better Faster Cheaper .. How? DOES16 London - Better Faster Cheaper .. How?
DOES16 London - Better Faster Cheaper .. How?
 
How To Make Dev Ops Work @ Netlight Edge X Berlin
How To Make Dev Ops Work @ Netlight Edge X BerlinHow To Make Dev Ops Work @ Netlight Edge X Berlin
How To Make Dev Ops Work @ Netlight Edge X Berlin
 
A Tale of Contemporary Software
A Tale of Contemporary SoftwareA Tale of Contemporary Software
A Tale of Contemporary Software
 
Jisc RSC Eastern Technical Managers Forum 5th February 2014 Oaklands College ...
Jisc RSC Eastern Technical Managers Forum 5th February 2014 Oaklands College ...Jisc RSC Eastern Technical Managers Forum 5th February 2014 Oaklands College ...
Jisc RSC Eastern Technical Managers Forum 5th February 2014 Oaklands College ...
 
Collab365 Oct 2015 - Moving from SOAP to REST – You’ll Have to Do It Sometime
Collab365 Oct 2015 - Moving from SOAP to REST – You’ll Have to Do It SometimeCollab365 Oct 2015 - Moving from SOAP to REST – You’ll Have to Do It Sometime
Collab365 Oct 2015 - Moving from SOAP to REST – You’ll Have to Do It Sometime
 
JavaOne 2015 Devops and the Darkside CON6447
JavaOne 2015 Devops and the Darkside CON6447JavaOne 2015 Devops and the Darkside CON6447
JavaOne 2015 Devops and the Darkside CON6447
 
State of Infrastructure as Code - AutomaCon 2016
State of Infrastructure as Code - AutomaCon 2016State of Infrastructure as Code - AutomaCon 2016
State of Infrastructure as Code - AutomaCon 2016
 
Jeffrey Richter
Jeffrey RichterJeffrey Richter
Jeffrey Richter
 
Serhiy Kalinets "Embracing architectural challenges in the modern .NET world"
Serhiy Kalinets "Embracing architectural challenges in the modern .NET world"Serhiy Kalinets "Embracing architectural challenges in the modern .NET world"
Serhiy Kalinets "Embracing architectural challenges in the modern .NET world"
 
Microservices: next-steps
Microservices: next-stepsMicroservices: next-steps
Microservices: next-steps
 

Mais de Paul Johnston

Mais de Paul Johnston (6)

Cloud 2.0: "Code" is no longer king - Serverless has dethroned it
Cloud 2.0: "Code" is no longer king - Serverless has dethroned itCloud 2.0: "Code" is no longer king - Serverless has dethroned it
Cloud 2.0: "Code" is no longer king - Serverless has dethroned it
 
How Serverless Changes the IT Department - November 2018 - Serverless Computi...
How Serverless Changes the IT Department - November 2018 - Serverless Computi...How Serverless Changes the IT Department - November 2018 - Serverless Computi...
How Serverless Changes the IT Department - November 2018 - Serverless Computi...
 
Serverless Best Practices - Serverless Computing London
Serverless Best Practices - Serverless Computing LondonServerless Best Practices - Serverless Computing London
Serverless Best Practices - Serverless Computing London
 
What is Blockchain and why should we care?
What is Blockchain and why should we care?What is Blockchain and why should we care?
What is Blockchain and why should we care?
 
Transient v Persistent data on Twitter
Transient v Persistent data on TwitterTransient v Persistent data on Twitter
Transient v Persistent data on Twitter
 
How to break the internet
How to break the internetHow to break the internet
How to break the internet
 

Último

Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
FIDO Alliance
 
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
Muhammad Subhan
 

Último (20)

Design and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data ScienceDesign and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data Science
 
ERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage IntacctERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage Intacct
 
2024 May Patch Tuesday
2024 May Patch Tuesday2024 May Patch Tuesday
2024 May Patch Tuesday
 
AI mind or machine power point presentation
AI mind or machine power point presentationAI mind or machine power point presentation
AI mind or machine power point presentation
 
Top 10 CodeIgniter Development Companies
Top 10 CodeIgniter Development CompaniesTop 10 CodeIgniter Development Companies
Top 10 CodeIgniter Development Companies
 
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
 
Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024
 
Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024
 
JavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate GuideJavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate Guide
 
Design Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptxDesign Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptx
 
Introduction to FIDO Authentication and Passkeys.pptx
Introduction to FIDO Authentication and Passkeys.pptxIntroduction to FIDO Authentication and Passkeys.pptx
Introduction to FIDO Authentication and Passkeys.pptx
 
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfWhere to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
 
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
 
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
 
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdfLinux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
 
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
 
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on ThanabotsContinuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
 
Intro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджераIntro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджера
 
Portal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russePortal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russe
 
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdfHow Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
 

Future of Serverless from ServerlessConf London October 2016

  • 1. Paul Johnston - CTO of Movivo - paul@movivo.mobi - @PaulDJohnston The future of serverless Musings on the things we might be doing in a year Paul Johnston CTO of Movivo @PaulDJohnston on twitter and medium
  • 2. Paul Johnston - CTO of Movivo - paul@movivo.mobi - @PaulDJohnston The future of serverless Musings on the things we might be doing in a year Paul Johnston CTO of Movivo @PaulDJohnston on twitter and medium Jeff
  • 3. Paul Johnston - CTO of Movivo - paul@movivo.mobi - @PaulDJohnston Movivo
  • 4. Paul Johnston - CTO of Movivo - paul@movivo.mobi - @PaulDJohnston AWS Lambda Note: Serverless is more than FaaS
  • 5. Paul Johnston - CTO of Movivo - paul@movivo.mobi - @PaulDJohnston Serverless is… Reducing Maintenance “…but there are always servers…” (“shut up” says Jeff)
  • 6. Paul Johnston - CTO of Movivo - paul@movivo.mobi - @PaulDJohnston Function as a Service (FaaS) Very Low Maintenance Stateless Highly Scalable Do one thing well Zero or one data transformations Don’t chain them together Minimise libraries (pref none) Environment variables Shared libraries More runtimes / Binary support Priority Functions Queuing solutions
  • 7. Paul Johnston - CTO of Movivo - paul@movivo.mobi - @PaulDJohnston Auth Authentication - Who are you? Authorisation - Do you have access? FaaS are stateless 3rd party authentication options MFA Cognito + IAM/API Gateway Best practices need to be defined Good solutions available Integration of services
  • 8. Paul Johnston - CTO of Movivo - paul@movivo.mobi - @PaulDJohnston Data Scalable solutions require scalable storage “RDBMS first” NoSQL provides different options Right tool for the job NoSQL largely unmanaged Several managed data services Often used inappropriately RDBMS not so universally appropriate (Some) NoSQL is good Managed scaled storage More distributed data storage solutions needed Data storage by country/region Data protection worldwide New data practices and tooling
  • 9. Paul Johnston - CTO of Movivo - paul@movivo.mobi - @PaulDJohnston Events and Streaming Data Nano function chaining Auditing functions Complexity increased without events FiFo Queues Ordering of invocations Parallel less important Queues via DynamoDB Events Has issues No specific “serverless queue” solution yet Replaces monolith app internals Improved queueing services Auditing of system Combined logging for system state view
  • 10. Paul Johnston - CTO of Movivo - paul@movivo.mobi - @PaulDJohnston Beyond EC2 / Instances Cloud != Instances Cloud is evolving into services Serverless / FaaS is big evolutionary step Instance + Firewall is biggest security hole AWS and other Vendors know this Vendors want you to move to services Containers are not the answer Cloud vendors pushing services over instances Unfortunately, new tutorials/ perception needed Over time stricter controls on instances
  • 11. Paul Johnston - CTO of Movivo - paul@movivo.mobi - @PaulDJohnston API Gateway Controlled access to walled garden Much better than monolith routing Has added extras Can hide functionality behind a service Auth built in: API Gateway + Cognito Overly complex The most important change you’ll make Simplification of API access Addition of other Auth solutions Pushed as solution to avoid instances
  • 12. Paul Johnston - CTO of Movivo - paul@movivo.mobi - @PaulDJohnston Frameworks Frameworks are like initial structure of building Old school Lots of options - built for the monolith Originally built for non-cloud scenario Instances + framework != Cloud (imho) Serverless Framework, Apex, Claudia etc Deploying/managing FaaS not that hard Complexity comes in config of other services Terraform at Movivo We need more “frameworks” Config + Code rather than just code Abstraction is not necessarily a good thing Hard to retrofit - please make it easier!
  • 13. Paul Johnston - CTO of Movivo - paul@movivo.mobi - @PaulDJohnston Solutions Four major cloud vendors Most complete is AWS (could change) - services and APIs Opportunity in tooling Can foresee other players entering space Don’t copy please… Innovate!
  • 14. Paul Johnston - CTO of Movivo - paul@movivo.mobi - @PaulDJohnston Data Infrastructure Managed data services more important Scaling of instance = easy Scaling of data storage seems to be harder Specific data types (search etc) (up until recently) “Always RDBMS” RDBMS originally non-cloud (and still are) Now is mix and match Managed services more purposeful e.g. search Learn to use right tools at right time Case studies more than just “look at NoSQL” Weaning off RDBMS (and ORM) Service discovery tools
  • 15. Paul Johnston - CTO of Movivo - paul@movivo.mobi - @PaulDJohnston Logging and Auditing No more tail -f /var/log/error.log Distributed systems need distributed logging Moving away from servers/ instances = confusion Per FaaS logging Server logs Lots of logs causes problems Good alerts = easy to respond Combined logging is a necessity Audit trails needed - future service? Services for logging not just invocations but data Data protection (again)
  • 16. Paul Johnston - CTO of Movivo - paul@movivo.mobi - @PaulDJohnston Deployment and CI/CD Initially FaaS was internal process tool Addition of API interface means much more Deployment tools are behind curve “Roll your own” approach (behind curve) FaaS is covered, but other services aren’t CI tools for FaaS more complex (terraform!) Testing harder and CI focus different Integration Testing needs separate deployment Full configuration is harder Services are “part of the whole” system FaaS is not the whole deployment Vendors need to consider more deployment options Duplicate accounts (please!)
  • 17. Paul Johnston - CTO of Movivo - paul@movivo.mobi - @PaulDJohnston Testing Unit testing relatively simple Stateless FaaS do one thing (usually) State can couple two functions - harder testing System/Integration tests are harder Deployment required (Terraform) Testing 3rd parties - difficult Reliance on 3rd parties Automation of testing harder than monolith Services must provide test options Vendors should share test details Testing of scenarios needs to be automatable Vendors should provide sandbox of production
  • 18. Paul Johnston - CTO of Movivo - paul@movivo.mobi - @PaulDJohnston Future Serverless? Fast on-demand binaries Paid for on-demand Latency Always on (websocket) Data services - more and more specialised Much better tooling More case studies and best practices
  • 19. Paul Johnston - CTO of Movivo - paul@movivo.mobi - @PaulDJohnston The future of serverless Suggested questions: How do you decide what projects are good/bad for Serverless? Everyone keeps saying monolith… what do they mean? What are the biggest drawbacks? (hint: tooling) What are migration strategies for both code and infrastructure? You make it sound so easy to do! Is it? Or do you have to hack stuff to make it work?
  • 20. Paul Johnston - CTO of Movivo - paul@movivo.mobi - @PaulDJohnston The future of serverless Thank you. Paul Johnston CTO of Movivo @PaulDJohnston on twitter and medium