SlideShare a Scribd company logo
Deep dive into Serverless By Lino «Jan» Telera
About me…
• Lino «Jan» Telera
• Blogger (http://blog.linoproject.net)
• Ex developer SOA and Frontend
• System administrator, cloud architect, CNA coach, Mentor
• VCP4-5-6 VCP-Cloud VCP-DT vExpert 2015,2016,2017
• VMworld 2016-2017 official blogger
• VMUG.it board member
• TechFieldDay delegate since 2016
• DevOPS enthusiast and VMware «code» member
• Beer lover!
• 100.000 Users and 200 local groups
• 1 local group in Italy: vmugit (http://www.vmug.it)
• In Italy (since 2016) new devops track!
• Italian Events in 2018: To be defined... Stay tuned!
• VMUG is your place! Join and share your experience!
Agenda
• Serverless concepts
• Function as a Service
• First Microservice in Lambda
• An interaction...
• Questions
• Eat, drink, funs
Back to the past brewbox: What is a container
• Isolated instances that include
• Library
• Tools
• Business logic
• Most fashion: Docker
• More and more vendors are «in container» (and sometimes you don’t know!)
• Software as a service
• Platform as a service
• Infrastructure as a service
• Monitoring, backup and orchestrators
• Storage and computing systems (HCI)
• Software defined Network
• The container paradigm:
• Write your code
• Encapsulate in a «box»
• Deploy without Sysadmin
• Scale start/stop/increase and reduce (app scaling)
• Integrate, patch and deliver (Continous integration)
Near containers some worries!
• Scalability: yet I don’t know how is going the future of my application
(A cloud paradigm)
• Security: attack surface increases a lot! How to address potential
issue in containers?
• Monitor (performance and cost): what’s the condition to scale?
Compute cost is under your control?
• What about data resiliency?
Serverless
• is a cloud computing execution model in which the cloud provider
dynamically manages the allocation of machine resources. Pricing is based
on the actual amount of resources consumed by an application, rather
than on pre-purchased units of capacity (Wikipedia)
• is a natural evolution of Platform As a Service and containers technology
that automate the handling and processing respectively data and functions,
“templating” the code and keeping the function/data usage as cost model.
• Architecture advantage:
• Event-Driven
• Micro-managed
• Cost effective
• Auto scaling
Serverless world!
Serverless world
Function as a service
• is a category of cloud computing services that provides a platform
allowing customers to develop, run, and manage application
functionalities without the complexity of building and maintaining the
infrastructure typically associated with developing and launching an
app. Building an application following this model is one way of
achieving a "serverless" architecture, and is typically used when
building microservices applications.
First example with lambda
• An on-premise infrastructure send data to Lambda. Signals are stored into
a S3 bucket.
• Next, data is retrieved by client to check the status
Just a Suggestion: Using APEX with your IDE
• Create profile and IAM access
• apex --profile <profile> init
• apex --profile <profile> deploy
• Write your code!
• apex --profile <profile> invoke <function>
Integrate with S3 with boto
• Create S3 bucket
• Create IAM role for Function
• Create 2 functions (put and get)
• Attach IAM role to Function
Demo1… and questions
What will happen?
Alexa... Ask Linoproject...
• It’s possible to call functions using url or using devices...
• Skill Example: << Alexa ask Lainoproject: give me the status!>>
Demo2… and questions
What will happen?
Serverless on-premise? You can!
• OpenFaaS: https://github.com/openfaas/faas
• OpenFaaS (Functions as a Service) is a framework for building serverless
functions with Docker and Kubernetes which has first class support for
metrics. Any process can be packaged as a function enabling you to consume
a range of web events without repetitive boiler-plate coding.
• Pivotal Containr Service:
• Pivotal and VMware are applying their deep enterprise expertise to launch
PKS™, a commercial release of the open source Kubo technology, to help
Global 2000 companies operationalize Kubernetes
• https://github.com/cloudfoundry-incubator/kubo-deployment
OpenFaaS
• A community project based on Docker!!!!!
• Easy to deploy: https://github.com/openfaas/faas
• Bundled with ui and CLI
Pivotal Container Service
Pivotal Container Service: Kubo + Harbor + NSX (and VMware support)
Summary
• Serverless and Function as a Service
• Easy to code
• Easy to integrate
• Secure in execution
• AWS Lambda essentials
• You could run on-premise with OpenFaaS or PKS
Online resources
• My Blog: http://blog.linoproject.net
• AWS related:
• http://apex.run
• https://github.com/apex/apex
• JeffConf 2017:
• https://milan.jeffconf.com/
• http://blog.linoproject.net/highlights-from-my-first-jeffconf/
• OpenFaaS by Alex Ellis
• https://www.alexellis.io/
• https://www.youtube.com/watch?v=C3agSKv2s_w (Thanks also to TechFieldDay)
• Danilo Poccia Blog
• https://danilop.net/
• Pivotal Container Service:
• https://octo.vmware.com/serverless-faas-cloud-services-vsphere-yes/
• https://www.youtube.com/watch?v=H9HtmHMZEjc
• Pivotal announcement:
• https://content.pivotal.io/announcements/introducing-pivotal-container-service-pks-the-simple-way-to-bring-kubernetes-to-enterprise-customers
• Kubo:
• https://pivotal.io/partners/kubo
• https://github.com/cloudfoundry-incubator/kubo-deployment
Questions
Thanks… and…
Lino Telera
linotelera@gmail.com
http://blog.linoproject.net
@linotelera
Thanks to VMware (VMTN, {code},
BlogBeat, CloudCredibility)
Lino Telera
linotelera@gmail.com
http://blog.linoproject.net
@linotelera
Thanks to Alex Ellis (OpenFaaS)
and Danilo Poccia (AWS Cloud)
Lino Telera
linotelera@gmail.com
http://blog.linoproject.net
@linotelera
Thanks TechFieldDay
Lino Telera
linotelera@gmail.com
http://blog.linoproject.net
@linotelera
Thanks again to Brewbox!!!!!!!
Lino Telera
linotelera@gmail.com
http://blog.linoproject.net
@linotelera

More Related Content

What's hot

Microservices, DevOps, and Containers with OpenShift and Fabric8
Microservices, DevOps, and Containers with OpenShift and Fabric8Microservices, DevOps, and Containers with OpenShift and Fabric8
Microservices, DevOps, and Containers with OpenShift and Fabric8
Christian Posta
 
Micro Services Architecture
Micro Services ArchitectureMicro Services Architecture
Micro Services Architecture
Ranjan Baisak
 
Continuous Delivery: How RightScale Releases Weekly
Continuous Delivery: How RightScale Releases WeeklyContinuous Delivery: How RightScale Releases Weekly
Continuous Delivery: How RightScale Releases Weekly
RightScale
 
Session Slides from DEVintersection Europe
Session Slides from DEVintersection EuropeSession Slides from DEVintersection Europe
Session Slides from DEVintersection Europe
Rick Van Rousselt
 
Cloud Native Camel Riding
Cloud Native Camel RidingCloud Native Camel Riding
Cloud Native Camel Riding
Christian Posta
 
Microservices in Azure
Microservices in AzureMicroservices in Azure
Microservices in Azure
Doug Vanderweide
 
TechTalk - Building Serverless Applications with IBM Bluemix
TechTalk - Building Serverless Applications with IBM BluemixTechTalk - Building Serverless Applications with IBM Bluemix
TechTalk - Building Serverless Applications with IBM Bluemix
Janakiram MSV
 
Micro-services architecture
Micro-services architectureMicro-services architecture
Micro-services architecture
Farwa Ansari
 
Serverless Meetup - Event Sourcing
Serverless Meetup - Event SourcingServerless Meetup - Event Sourcing
Serverless Meetup - Event Sourcing
Luca Bianchi
 
SOA to Microservices
SOA to MicroservicesSOA to Microservices
SOA to Microservices
Christian Posta
 
Serverless Architecture
Serverless ArchitectureServerless Architecture
Serverless Architecture
Saul Caganoff
 
Alfresco DevCon 2019: Interaxo - A journey to Cloud Native
Alfresco DevCon 2019: Interaxo - A journey to Cloud NativeAlfresco DevCon 2019: Interaxo - A journey to Cloud Native
Alfresco DevCon 2019: Interaxo - A journey to Cloud Native
Asgeir Frimannsson
 
Intro to React
Intro to ReactIntro to React
Intro to React
Jamal Sinclair O'Garro
 
Building A Diverse Geo-Architecture For Cloud Native Applications In One Day
Building A Diverse Geo-Architecture For Cloud Native Applications In One DayBuilding A Diverse Geo-Architecture For Cloud Native Applications In One Day
Building A Diverse Geo-Architecture For Cloud Native Applications In One Day
VMware Tanzu
 
Serverless Architecture Patterns - Manoj Ganapathi - Serverless Summit
Serverless Architecture Patterns - Manoj Ganapathi - Serverless SummitServerless Architecture Patterns - Manoj Ganapathi - Serverless Summit
Serverless Architecture Patterns - Manoj Ganapathi - Serverless Summit
CodeOps Technologies LLP
 
An evolution of application networking: service mesh
An evolution of application networking: service meshAn evolution of application networking: service mesh
An evolution of application networking: service mesh
Christian Posta
 
Who needs containers in a serverless world
Who needs containers in a serverless worldWho needs containers in a serverless world
Who needs containers in a serverless world
Matthias Luebken
 
Fuse integration-services
Fuse integration-servicesFuse integration-services
Fuse integration-services
Christian Posta
 
SPS calgary 2017 introduction to azure functions microsoft flow
SPS calgary 2017 introduction to azure functions microsoft flowSPS calgary 2017 introduction to azure functions microsoft flow
SPS calgary 2017 introduction to azure functions microsoft flow
Vincent Biret
 
Microservices, Spring Cloud & Cloud Foundry
Microservices, Spring Cloud & Cloud FoundryMicroservices, Spring Cloud & Cloud Foundry
Microservices, Spring Cloud & Cloud Foundry
Emilio Garcia
 

What's hot (20)

Microservices, DevOps, and Containers with OpenShift and Fabric8
Microservices, DevOps, and Containers with OpenShift and Fabric8Microservices, DevOps, and Containers with OpenShift and Fabric8
Microservices, DevOps, and Containers with OpenShift and Fabric8
 
Micro Services Architecture
Micro Services ArchitectureMicro Services Architecture
Micro Services Architecture
 
Continuous Delivery: How RightScale Releases Weekly
Continuous Delivery: How RightScale Releases WeeklyContinuous Delivery: How RightScale Releases Weekly
Continuous Delivery: How RightScale Releases Weekly
 
Session Slides from DEVintersection Europe
Session Slides from DEVintersection EuropeSession Slides from DEVintersection Europe
Session Slides from DEVintersection Europe
 
Cloud Native Camel Riding
Cloud Native Camel RidingCloud Native Camel Riding
Cloud Native Camel Riding
 
Microservices in Azure
Microservices in AzureMicroservices in Azure
Microservices in Azure
 
TechTalk - Building Serverless Applications with IBM Bluemix
TechTalk - Building Serverless Applications with IBM BluemixTechTalk - Building Serverless Applications with IBM Bluemix
TechTalk - Building Serverless Applications with IBM Bluemix
 
Micro-services architecture
Micro-services architectureMicro-services architecture
Micro-services architecture
 
Serverless Meetup - Event Sourcing
Serverless Meetup - Event SourcingServerless Meetup - Event Sourcing
Serverless Meetup - Event Sourcing
 
SOA to Microservices
SOA to MicroservicesSOA to Microservices
SOA to Microservices
 
Serverless Architecture
Serverless ArchitectureServerless Architecture
Serverless Architecture
 
Alfresco DevCon 2019: Interaxo - A journey to Cloud Native
Alfresco DevCon 2019: Interaxo - A journey to Cloud NativeAlfresco DevCon 2019: Interaxo - A journey to Cloud Native
Alfresco DevCon 2019: Interaxo - A journey to Cloud Native
 
Intro to React
Intro to ReactIntro to React
Intro to React
 
Building A Diverse Geo-Architecture For Cloud Native Applications In One Day
Building A Diverse Geo-Architecture For Cloud Native Applications In One DayBuilding A Diverse Geo-Architecture For Cloud Native Applications In One Day
Building A Diverse Geo-Architecture For Cloud Native Applications In One Day
 
Serverless Architecture Patterns - Manoj Ganapathi - Serverless Summit
Serverless Architecture Patterns - Manoj Ganapathi - Serverless SummitServerless Architecture Patterns - Manoj Ganapathi - Serverless Summit
Serverless Architecture Patterns - Manoj Ganapathi - Serverless Summit
 
An evolution of application networking: service mesh
An evolution of application networking: service meshAn evolution of application networking: service mesh
An evolution of application networking: service mesh
 
Who needs containers in a serverless world
Who needs containers in a serverless worldWho needs containers in a serverless world
Who needs containers in a serverless world
 
Fuse integration-services
Fuse integration-servicesFuse integration-services
Fuse integration-services
 
SPS calgary 2017 introduction to azure functions microsoft flow
SPS calgary 2017 introduction to azure functions microsoft flowSPS calgary 2017 introduction to azure functions microsoft flow
SPS calgary 2017 introduction to azure functions microsoft flow
 
Microservices, Spring Cloud & Cloud Foundry
Microservices, Spring Cloud & Cloud FoundryMicroservices, Spring Cloud & Cloud Foundry
Microservices, Spring Cloud & Cloud Foundry
 

Similar to Serverless brewbox

Containers, microservices and serverless for realists
Containers, microservices and serverless for realistsContainers, microservices and serverless for realists
Containers, microservices and serverless for realists
Karthik Gaekwad
 
Getting Started with Docker - Nick Stinemates
Getting Started with Docker - Nick StinematesGetting Started with Docker - Nick Stinemates
Getting Started with Docker - Nick Stinemates
Atlassian
 
Rami Sayar - Node microservices with Docker
Rami Sayar - Node microservices with DockerRami Sayar - Node microservices with Docker
Rami Sayar - Node microservices with Docker
Web à Québec
 
Docker12 factor
Docker12 factorDocker12 factor
Docker12 factor
John Zaccone
 
321 codeincontainer brewbox
321 codeincontainer brewbox321 codeincontainer brewbox
321 codeincontainer brewbox
Lino Telera
 
Why to Cloud Native
Why to Cloud NativeWhy to Cloud Native
Why to Cloud Native
Karthik Gaekwad
 
Docker & aPaaS: Enterprise Innovation and Trends for 2015
Docker & aPaaS: Enterprise Innovation and Trends for 2015Docker & aPaaS: Enterprise Innovation and Trends for 2015
Docker & aPaaS: Enterprise Innovation and Trends for 2015
WaveMaker, Inc.
 
Microservices and Serverless for Mega Startups - DevOps IL Meetup
Microservices and Serverless for Mega Startups - DevOps IL MeetupMicroservices and Serverless for Mega Startups - DevOps IL Meetup
Microservices and Serverless for Mega Startups - DevOps IL Meetup
Boaz Ziniman
 
Forced Evolution: Shopify's Journey to Kubernetes
Forced Evolution: Shopify's Journey to KubernetesForced Evolution: Shopify's Journey to Kubernetes
Forced Evolution: Shopify's Journey to Kubernetes
C4Media
 
Why kubernetes matters
Why kubernetes mattersWhy kubernetes matters
Why kubernetes matters
Platform9
 
Business and IT agility through DevOps and microservice architecture powered ...
Business and IT agility through DevOps and microservice architecture powered ...Business and IT agility through DevOps and microservice architecture powered ...
Business and IT agility through DevOps and microservice architecture powered ...
Lucas Jellema
 
AWS re:Invent 2016: The State of Serverless Computing (SVR311)
AWS re:Invent 2016: The State of Serverless Computing (SVR311)AWS re:Invent 2016: The State of Serverless Computing (SVR311)
AWS re:Invent 2016: The State of Serverless Computing (SVR311)
Amazon Web Services
 
Introducing to serverless computing and AWS lambda - Israel Clouds Meetup
Introducing to serverless computing and AWS lambda - Israel Clouds MeetupIntroducing to serverless computing and AWS lambda - Israel Clouds Meetup
Introducing to serverless computing and AWS lambda - Israel Clouds Meetup
Boaz Ziniman
 
(APP303) Lightning Fast Deploys with Docker Containers and AWS | AWS re:Inven...
(APP303) Lightning Fast Deploys with Docker Containers and AWS | AWS re:Inven...(APP303) Lightning Fast Deploys with Docker Containers and AWS | AWS re:Inven...
(APP303) Lightning Fast Deploys with Docker Containers and AWS | AWS re:Inven...
Amazon Web Services
 
Docker Birthday #5 Meetup Cluj - Presentation
Docker Birthday #5 Meetup Cluj - PresentationDocker Birthday #5 Meetup Cluj - Presentation
Docker Birthday #5 Meetup Cluj - Presentation
Alex Vranceanu
 
Microservices: How loose is loosely coupled?
Microservices: How loose is loosely coupled?Microservices: How loose is loosely coupled?
Microservices: How loose is loosely coupled?
John Rofrano
 
Kubernetes solutions
Kubernetes solutionsKubernetes solutions
Kubernetes solutions
Eric Cattoir
 
Tampere Docker meetup - Happy 5th Birthday Docker
Tampere Docker meetup - Happy 5th Birthday DockerTampere Docker meetup - Happy 5th Birthday Docker
Tampere Docker meetup - Happy 5th Birthday Docker
Sakari Hoisko
 
TransitioningToMicroServonDocker_MS
TransitioningToMicroServonDocker_MSTransitioningToMicroServonDocker_MS
TransitioningToMicroServonDocker_MS
Lana Kalashnyk
 
Are VMs Passé?
Are VMs Passé?Are VMs Passé?
Are VMs Passé?
Docker, Inc.
 

Similar to Serverless brewbox (20)

Containers, microservices and serverless for realists
Containers, microservices and serverless for realistsContainers, microservices and serverless for realists
Containers, microservices and serverless for realists
 
Getting Started with Docker - Nick Stinemates
Getting Started with Docker - Nick StinematesGetting Started with Docker - Nick Stinemates
Getting Started with Docker - Nick Stinemates
 
Rami Sayar - Node microservices with Docker
Rami Sayar - Node microservices with DockerRami Sayar - Node microservices with Docker
Rami Sayar - Node microservices with Docker
 
Docker12 factor
Docker12 factorDocker12 factor
Docker12 factor
 
321 codeincontainer brewbox
321 codeincontainer brewbox321 codeincontainer brewbox
321 codeincontainer brewbox
 
Why to Cloud Native
Why to Cloud NativeWhy to Cloud Native
Why to Cloud Native
 
Docker & aPaaS: Enterprise Innovation and Trends for 2015
Docker & aPaaS: Enterprise Innovation and Trends for 2015Docker & aPaaS: Enterprise Innovation and Trends for 2015
Docker & aPaaS: Enterprise Innovation and Trends for 2015
 
Microservices and Serverless for Mega Startups - DevOps IL Meetup
Microservices and Serverless for Mega Startups - DevOps IL MeetupMicroservices and Serverless for Mega Startups - DevOps IL Meetup
Microservices and Serverless for Mega Startups - DevOps IL Meetup
 
Forced Evolution: Shopify's Journey to Kubernetes
Forced Evolution: Shopify's Journey to KubernetesForced Evolution: Shopify's Journey to Kubernetes
Forced Evolution: Shopify's Journey to Kubernetes
 
Why kubernetes matters
Why kubernetes mattersWhy kubernetes matters
Why kubernetes matters
 
Business and IT agility through DevOps and microservice architecture powered ...
Business and IT agility through DevOps and microservice architecture powered ...Business and IT agility through DevOps and microservice architecture powered ...
Business and IT agility through DevOps and microservice architecture powered ...
 
AWS re:Invent 2016: The State of Serverless Computing (SVR311)
AWS re:Invent 2016: The State of Serverless Computing (SVR311)AWS re:Invent 2016: The State of Serverless Computing (SVR311)
AWS re:Invent 2016: The State of Serverless Computing (SVR311)
 
Introducing to serverless computing and AWS lambda - Israel Clouds Meetup
Introducing to serverless computing and AWS lambda - Israel Clouds MeetupIntroducing to serverless computing and AWS lambda - Israel Clouds Meetup
Introducing to serverless computing and AWS lambda - Israel Clouds Meetup
 
(APP303) Lightning Fast Deploys with Docker Containers and AWS | AWS re:Inven...
(APP303) Lightning Fast Deploys with Docker Containers and AWS | AWS re:Inven...(APP303) Lightning Fast Deploys with Docker Containers and AWS | AWS re:Inven...
(APP303) Lightning Fast Deploys with Docker Containers and AWS | AWS re:Inven...
 
Docker Birthday #5 Meetup Cluj - Presentation
Docker Birthday #5 Meetup Cluj - PresentationDocker Birthday #5 Meetup Cluj - Presentation
Docker Birthday #5 Meetup Cluj - Presentation
 
Microservices: How loose is loosely coupled?
Microservices: How loose is loosely coupled?Microservices: How loose is loosely coupled?
Microservices: How loose is loosely coupled?
 
Kubernetes solutions
Kubernetes solutionsKubernetes solutions
Kubernetes solutions
 
Tampere Docker meetup - Happy 5th Birthday Docker
Tampere Docker meetup - Happy 5th Birthday DockerTampere Docker meetup - Happy 5th Birthday Docker
Tampere Docker meetup - Happy 5th Birthday Docker
 
TransitioningToMicroServonDocker_MS
TransitioningToMicroServonDocker_MSTransitioningToMicroServonDocker_MS
TransitioningToMicroServonDocker_MS
 
Are VMs Passé?
Are VMs Passé?Are VMs Passé?
Are VMs Passé?
 

Recently uploaded

Choose our Linux Web Hosting for a seamless and successful online presence
Choose our Linux Web Hosting for a seamless and successful online presenceChoose our Linux Web Hosting for a seamless and successful online presence
Choose our Linux Web Hosting for a seamless and successful online presence
rajancomputerfbd
 
WhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdf
WhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdfWhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdf
WhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdf
ArgaBisma
 
find out more about the role of autonomous vehicles in facing global challenges
find out more about the role of autonomous vehicles in facing global challengesfind out more about the role of autonomous vehicles in facing global challenges
find out more about the role of autonomous vehicles in facing global challenges
huseindihon
 
Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...
Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...
Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...
Bert Blevins
 
Active Inference is a veryyyyyyyyyyyyyyyyyyyyyyyy
Active Inference is a veryyyyyyyyyyyyyyyyyyyyyyyyActive Inference is a veryyyyyyyyyyyyyyyyyyyyyyyy
Active Inference is a veryyyyyyyyyyyyyyyyyyyyyyyy
RaminGhanbari2
 
Mitigating the Impact of State Management in Cloud Stream Processing Systems
Mitigating the Impact of State Management in Cloud Stream Processing SystemsMitigating the Impact of State Management in Cloud Stream Processing Systems
Mitigating the Impact of State Management in Cloud Stream Processing Systems
ScyllaDB
 
WPRiders Company Presentation Slide Deck
WPRiders Company Presentation Slide DeckWPRiders Company Presentation Slide Deck
WPRiders Company Presentation Slide Deck
Lidia A.
 
DealBook of Ukraine: 2024 edition
DealBook of Ukraine: 2024 editionDealBook of Ukraine: 2024 edition
DealBook of Ukraine: 2024 edition
Yevgen Sysoyev
 
What’s New in Teams Calling, Meetings and Devices May 2024
What’s New in Teams Calling, Meetings and Devices May 2024What’s New in Teams Calling, Meetings and Devices May 2024
What’s New in Teams Calling, Meetings and Devices May 2024
Stephanie Beckett
 
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptxRPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
SynapseIndia
 
[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf
[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf
[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf
Kief Morris
 
Measuring the Impact of Network Latency at Twitter
Measuring the Impact of Network Latency at TwitterMeasuring the Impact of Network Latency at Twitter
Measuring the Impact of Network Latency at Twitter
ScyllaDB
 
BT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdf
BT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdfBT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdf
BT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdf
Neo4j
 
Fluttercon 2024: Showing that you care about security - OpenSSF Scorecards fo...
Fluttercon 2024: Showing that you care about security - OpenSSF Scorecards fo...Fluttercon 2024: Showing that you care about security - OpenSSF Scorecards fo...
Fluttercon 2024: Showing that you care about security - OpenSSF Scorecards fo...
Chris Swan
 
Quantum Communications Q&A with Gemini LLM
Quantum Communications Q&A with Gemini LLMQuantum Communications Q&A with Gemini LLM
Quantum Communications Q&A with Gemini LLM
Vijayananda Mohire
 
Password Rotation in 2024 is still Relevant
Password Rotation in 2024 is still RelevantPassword Rotation in 2024 is still Relevant
Password Rotation in 2024 is still Relevant
Bert Blevins
 
論文紹介:A Systematic Survey of Prompt Engineering on Vision-Language Foundation ...
論文紹介:A Systematic Survey of Prompt Engineering on Vision-Language Foundation ...論文紹介:A Systematic Survey of Prompt Engineering on Vision-Language Foundation ...
論文紹介:A Systematic Survey of Prompt Engineering on Vision-Language Foundation ...
Toru Tamaki
 
7 Most Powerful Solar Storms in the History of Earth.pdf
7 Most Powerful Solar Storms in the History of Earth.pdf7 Most Powerful Solar Storms in the History of Earth.pdf
7 Most Powerful Solar Storms in the History of Earth.pdf
Enterprise Wired
 
Manual | Product | Research Presentation
Manual | Product | Research PresentationManual | Product | Research Presentation
Manual | Product | Research Presentation
welrejdoall
 
What's New in Copilot for Microsoft365 May 2024.pptx
What's New in Copilot for Microsoft365 May 2024.pptxWhat's New in Copilot for Microsoft365 May 2024.pptx
What's New in Copilot for Microsoft365 May 2024.pptx
Stephanie Beckett
 

Recently uploaded (20)

Choose our Linux Web Hosting for a seamless and successful online presence
Choose our Linux Web Hosting for a seamless and successful online presenceChoose our Linux Web Hosting for a seamless and successful online presence
Choose our Linux Web Hosting for a seamless and successful online presence
 
WhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdf
WhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdfWhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdf
WhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdf
 
find out more about the role of autonomous vehicles in facing global challenges
find out more about the role of autonomous vehicles in facing global challengesfind out more about the role of autonomous vehicles in facing global challenges
find out more about the role of autonomous vehicles in facing global challenges
 
Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...
Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...
Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...
 
Active Inference is a veryyyyyyyyyyyyyyyyyyyyyyyy
Active Inference is a veryyyyyyyyyyyyyyyyyyyyyyyyActive Inference is a veryyyyyyyyyyyyyyyyyyyyyyyy
Active Inference is a veryyyyyyyyyyyyyyyyyyyyyyyy
 
Mitigating the Impact of State Management in Cloud Stream Processing Systems
Mitigating the Impact of State Management in Cloud Stream Processing SystemsMitigating the Impact of State Management in Cloud Stream Processing Systems
Mitigating the Impact of State Management in Cloud Stream Processing Systems
 
WPRiders Company Presentation Slide Deck
WPRiders Company Presentation Slide DeckWPRiders Company Presentation Slide Deck
WPRiders Company Presentation Slide Deck
 
DealBook of Ukraine: 2024 edition
DealBook of Ukraine: 2024 editionDealBook of Ukraine: 2024 edition
DealBook of Ukraine: 2024 edition
 
What’s New in Teams Calling, Meetings and Devices May 2024
What’s New in Teams Calling, Meetings and Devices May 2024What’s New in Teams Calling, Meetings and Devices May 2024
What’s New in Teams Calling, Meetings and Devices May 2024
 
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptxRPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
 
[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf
[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf
[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf
 
Measuring the Impact of Network Latency at Twitter
Measuring the Impact of Network Latency at TwitterMeasuring the Impact of Network Latency at Twitter
Measuring the Impact of Network Latency at Twitter
 
BT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdf
BT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdfBT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdf
BT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdf
 
Fluttercon 2024: Showing that you care about security - OpenSSF Scorecards fo...
Fluttercon 2024: Showing that you care about security - OpenSSF Scorecards fo...Fluttercon 2024: Showing that you care about security - OpenSSF Scorecards fo...
Fluttercon 2024: Showing that you care about security - OpenSSF Scorecards fo...
 
Quantum Communications Q&A with Gemini LLM
Quantum Communications Q&A with Gemini LLMQuantum Communications Q&A with Gemini LLM
Quantum Communications Q&A with Gemini LLM
 
Password Rotation in 2024 is still Relevant
Password Rotation in 2024 is still RelevantPassword Rotation in 2024 is still Relevant
Password Rotation in 2024 is still Relevant
 
論文紹介:A Systematic Survey of Prompt Engineering on Vision-Language Foundation ...
論文紹介:A Systematic Survey of Prompt Engineering on Vision-Language Foundation ...論文紹介:A Systematic Survey of Prompt Engineering on Vision-Language Foundation ...
論文紹介:A Systematic Survey of Prompt Engineering on Vision-Language Foundation ...
 
7 Most Powerful Solar Storms in the History of Earth.pdf
7 Most Powerful Solar Storms in the History of Earth.pdf7 Most Powerful Solar Storms in the History of Earth.pdf
7 Most Powerful Solar Storms in the History of Earth.pdf
 
Manual | Product | Research Presentation
Manual | Product | Research PresentationManual | Product | Research Presentation
Manual | Product | Research Presentation
 
What's New in Copilot for Microsoft365 May 2024.pptx
What's New in Copilot for Microsoft365 May 2024.pptxWhat's New in Copilot for Microsoft365 May 2024.pptx
What's New in Copilot for Microsoft365 May 2024.pptx
 

Serverless brewbox

  • 1. Deep dive into Serverless By Lino «Jan» Telera
  • 2. About me… • Lino «Jan» Telera • Blogger (http://blog.linoproject.net) • Ex developer SOA and Frontend • System administrator, cloud architect, CNA coach, Mentor • VCP4-5-6 VCP-Cloud VCP-DT vExpert 2015,2016,2017 • VMworld 2016-2017 official blogger • VMUG.it board member • TechFieldDay delegate since 2016 • DevOPS enthusiast and VMware «code» member • Beer lover!
  • 3. • 100.000 Users and 200 local groups • 1 local group in Italy: vmugit (http://www.vmug.it) • In Italy (since 2016) new devops track! • Italian Events in 2018: To be defined... Stay tuned! • VMUG is your place! Join and share your experience!
  • 4. Agenda • Serverless concepts • Function as a Service • First Microservice in Lambda • An interaction... • Questions • Eat, drink, funs
  • 5. Back to the past brewbox: What is a container • Isolated instances that include • Library • Tools • Business logic • Most fashion: Docker • More and more vendors are «in container» (and sometimes you don’t know!) • Software as a service • Platform as a service • Infrastructure as a service • Monitoring, backup and orchestrators • Storage and computing systems (HCI) • Software defined Network • The container paradigm: • Write your code • Encapsulate in a «box» • Deploy without Sysadmin • Scale start/stop/increase and reduce (app scaling) • Integrate, patch and deliver (Continous integration)
  • 6. Near containers some worries! • Scalability: yet I don’t know how is going the future of my application (A cloud paradigm) • Security: attack surface increases a lot! How to address potential issue in containers? • Monitor (performance and cost): what’s the condition to scale? Compute cost is under your control? • What about data resiliency?
  • 7. Serverless • is a cloud computing execution model in which the cloud provider dynamically manages the allocation of machine resources. Pricing is based on the actual amount of resources consumed by an application, rather than on pre-purchased units of capacity (Wikipedia) • is a natural evolution of Platform As a Service and containers technology that automate the handling and processing respectively data and functions, “templating” the code and keeping the function/data usage as cost model. • Architecture advantage: • Event-Driven • Micro-managed • Cost effective • Auto scaling
  • 10. Function as a service • is a category of cloud computing services that provides a platform allowing customers to develop, run, and manage application functionalities without the complexity of building and maintaining the infrastructure typically associated with developing and launching an app. Building an application following this model is one way of achieving a "serverless" architecture, and is typically used when building microservices applications.
  • 11. First example with lambda • An on-premise infrastructure send data to Lambda. Signals are stored into a S3 bucket. • Next, data is retrieved by client to check the status
  • 12. Just a Suggestion: Using APEX with your IDE • Create profile and IAM access • apex --profile <profile> init • apex --profile <profile> deploy • Write your code! • apex --profile <profile> invoke <function>
  • 13. Integrate with S3 with boto • Create S3 bucket • Create IAM role for Function • Create 2 functions (put and get) • Attach IAM role to Function
  • 15. Alexa... Ask Linoproject... • It’s possible to call functions using url or using devices... • Skill Example: << Alexa ask Lainoproject: give me the status!>>
  • 17. Serverless on-premise? You can! • OpenFaaS: https://github.com/openfaas/faas • OpenFaaS (Functions as a Service) is a framework for building serverless functions with Docker and Kubernetes which has first class support for metrics. Any process can be packaged as a function enabling you to consume a range of web events without repetitive boiler-plate coding. • Pivotal Containr Service: • Pivotal and VMware are applying their deep enterprise expertise to launch PKS™, a commercial release of the open source Kubo technology, to help Global 2000 companies operationalize Kubernetes • https://github.com/cloudfoundry-incubator/kubo-deployment
  • 18. OpenFaaS • A community project based on Docker!!!!! • Easy to deploy: https://github.com/openfaas/faas • Bundled with ui and CLI
  • 19. Pivotal Container Service Pivotal Container Service: Kubo + Harbor + NSX (and VMware support)
  • 20. Summary • Serverless and Function as a Service • Easy to code • Easy to integrate • Secure in execution • AWS Lambda essentials • You could run on-premise with OpenFaaS or PKS
  • 21. Online resources • My Blog: http://blog.linoproject.net • AWS related: • http://apex.run • https://github.com/apex/apex • JeffConf 2017: • https://milan.jeffconf.com/ • http://blog.linoproject.net/highlights-from-my-first-jeffconf/ • OpenFaaS by Alex Ellis • https://www.alexellis.io/ • https://www.youtube.com/watch?v=C3agSKv2s_w (Thanks also to TechFieldDay) • Danilo Poccia Blog • https://danilop.net/ • Pivotal Container Service: • https://octo.vmware.com/serverless-faas-cloud-services-vsphere-yes/ • https://www.youtube.com/watch?v=H9HtmHMZEjc • Pivotal announcement: • https://content.pivotal.io/announcements/introducing-pivotal-container-service-pks-the-simple-way-to-bring-kubernetes-to-enterprise-customers • Kubo: • https://pivotal.io/partners/kubo • https://github.com/cloudfoundry-incubator/kubo-deployment
  • 24. Thanks to VMware (VMTN, {code}, BlogBeat, CloudCredibility) Lino Telera linotelera@gmail.com http://blog.linoproject.net @linotelera
  • 25. Thanks to Alex Ellis (OpenFaaS) and Danilo Poccia (AWS Cloud) Lino Telera linotelera@gmail.com http://blog.linoproject.net @linotelera
  • 27. Thanks again to Brewbox!!!!!!! Lino Telera linotelera@gmail.com http://blog.linoproject.net @linotelera