SlideShare a Scribd company logo
1 of 32
A lap around serverless
from an app developer's perspective
DevDay – 26 November 2019
Bart Lannoeye
• Solution Architect
@ Sirus
• Twitter: @bartlannoeye
• Mobile Developer
@ Bank J.Van Breda & C°
• Twitter: @depechie
Glenn Versweyveld
Agenda
• What do we want to achieve?
• Explaining the architecture
• Using docker
• Using Azure Functions
• Take it to the next level
What do we want to achieve?
Demo: Mobile app
How can we do this?
• Mobile app in Xamarin.Forms
• Backend services on Azure
• Storage on Azure
• … and then some more
7
Why serverless on Azure as app developer?
• Why cloud?
• Connectivity, Scalability, Security, Availability, …
• Necessary services out of the box: e.g. push notifications
• Why “serverless”?
• No server management/maintenance
• Only charged for use, very scalable
• Quick deployments
• Minimal IT intervention 
• Downsides?
• Not best fit for all architectures
• Vendor lock-in possible
• Harder to debug (but we all write unit tests right )
Why use Docker?
• Lift and shift existing applications
• And then gradually move to micro-services
• Use less resources than virtual machines
• Standardization
• Repeatable dev / build / test / production cycle
• No more “works on my machine”
• Multi-cloud platform (Azure, AWS, Google Cloud, …)
• Scale easily
• If application is built for it
• Get started with new technology very fast
• Docker Hub has an image for ‘everything’
When not to use Docker?
• Run as fast as bare-metal
• Every containerization/virtualization method comes with overhead
• Provide cross-platform compatibility
• Can still be tied to Windows / Linux container
• Run applications with rich graphical user interfaces
• Solve all your security problems
• Added security through isolation
• Brings its own security challenges
• When you need state in your container
• When another technology is better for the task
Run docker images on Azure
Azure App Service
Azure Kubernetes Service (AKS)
Azure Container Instances
Service Fabric
Service Fabric Mesh
Where to get docker images from?
• Quickstart (Nginx or Python)
• Docker Hub
• Azure Container Registry
• Private Registry
Demo: Docker
What about storage?
Database (SQL, MySQL, MariaDB, PostgreSQL, …)
Storage account (Blob, Table, Queue, File)
CosmosDB (SQL, Table, NoSQL, Graph with # APIs)
Redis Cache
…
Storage in the picture: Blob storage
• Part of Azure Storage Accounts
• In most cases you will use General Purpose v2 SA
• Blob, File, Queue, Table, Disk, and Data Lake Gen2
• For storage / backup of unstructured data in any file type
• Cost-efficient tiers: Hot, Cold, Archive
• Multiple replication options: Local, Zone, Geo, Geo-zone
• Encrypted by default
• Secured through AAD, Shared Key or Shared Access Signature
Storage in the picture: CosmosDB
• Globally distributed, multi-model database service
• Guaranteed
• High availability (99.999% -> 5min15s per year)
• Low latency (<10ms)
• High througput (reserved RUs)
• Data is horizontally partitioned, prevent ‘hot spots’ (R and W)
• Automatically indexed
• Pick the API you want
Demo: Data storage
Our solution is running, but what does it cost?
• Before your start: Azure Pricing Calculator
• Select all used services
• Estimate amount of data, transactions, …
• Rough first idea, but not very accurate in most cases
Our solution is running, but what does it cost?
• While running: Azure Cost Management
• Actual cost until today per resource type or resource group
• Forecast of the cost based on historical data
Cost: learn from the numbers
• Sometimes a certain service is a must
• But quite often the solution is flexible
• Choose cheaper options when available
• Looking at our Docker containers:
• Run all the time? Maybe switch to Container Instances
• Other options?
Azure functions
• Event driven
• Serverless
• Compute on demand
• Very flexible scaling
• # languages: C#, F#, JS, PowerShell, Python, …
• # hosting: Consumption, Premium, Dedicated (App Service)
Azure functions: bread & butter of Azure
Demo: Azure Functions
More serverless on Azure
• Microsoft Flow
• Logic Apps
• Azure Web Jobs
• Azure Stream Analytics
Taking it to the next level
• Securing your app
• Use the full power of Azure
• Automate deployment
26
Use the full power of Azure
• Event Hubs
• Message Bus
• Cognitive Services
• Azure Search
• …
Automate deployment
• Azure DevOps
• App Center
• But also automate resource creation
• ARM templates
• Azure CLI
• Azure PowerShell
Conclusion
Pick the right tool for the right job!
• App Service
• Virtual Machine
• Docker Containers
• Azure Functions
• …
• And combine them to achieve your solution 
• And keep an eye on the cost 
Thank you!
• Bart Lannoeye
• Solution Architect
@ Sirus
• Twitter: @bartlannoeye
• Glenn Versweyveld
• Mobile Developer
@ Bank J.Van Breda & C°
• Twitter: @depechie
Dev day   serverless from a devs perspective

More Related Content

What's hot

Serverless Application Development with Azure
Serverless Application Development with AzureServerless Application Development with Azure
Serverless Application Development with AzureCallon Campbell
 
Cloud Computing101 Azure, updated june 2017
Cloud Computing101 Azure, updated june 2017Cloud Computing101 Azure, updated june 2017
Cloud Computing101 Azure, updated june 2017Fernando Mejía
 
Architecture evolution
Architecture evolutionArchitecture evolution
Architecture evolutionamit bezalel
 
How IT at Getty Images Brokers Cloud Services
How IT at Getty Images Brokers Cloud ServicesHow IT at Getty Images Brokers Cloud Services
How IT at Getty Images Brokers Cloud ServicesRightScale
 
Azure vidyapeeth -Introduction to Azure Container Service & Registry Service
Azure vidyapeeth -Introduction to Azure Container Service & Registry ServiceAzure vidyapeeth -Introduction to Azure Container Service & Registry Service
Azure vidyapeeth -Introduction to Azure Container Service & Registry ServiceIlyas F ☁☁☁
 
Azure serverless architectures
Azure serverless architecturesAzure serverless architectures
Azure serverless architecturesBenoit Le Pichon
 
Static web apps by GitHub action
Static web apps by GitHub actionStatic web apps by GitHub action
Static web apps by GitHub actionSeven Peaks Speaks
 
Azure Days 2019: Infrastructure as Code auf Azure (Jonas Wanninger & Daniel H...
Azure Days 2019: Infrastructure as Code auf Azure (Jonas Wanninger & Daniel H...Azure Days 2019: Infrastructure as Code auf Azure (Jonas Wanninger & Daniel H...
Azure Days 2019: Infrastructure as Code auf Azure (Jonas Wanninger & Daniel H...Trivadis
 
Why Not Public Cloud?
Why Not Public Cloud?Why Not Public Cloud?
Why Not Public Cloud?Matt Ray
 
Serverless Reality
Serverless RealityServerless Reality
Serverless RealityLynn Langit
 
Romuald Zdebskiy (Microsoft) & Andrey Ivashentsev (Game Insight)
Romuald Zdebskiy (Microsoft) & Andrey Ivashentsev (Game Insight)Romuald Zdebskiy (Microsoft) & Andrey Ivashentsev (Game Insight)
Romuald Zdebskiy (Microsoft) & Andrey Ivashentsev (Game Insight)White Nights Conference
 
Azure PaaS (WebApp & SQL Database) workshop solution
Azure PaaS (WebApp & SQL Database) workshop solutionAzure PaaS (WebApp & SQL Database) workshop solution
Azure PaaS (WebApp & SQL Database) workshop solutionGelis Wu
 
Exploring Microservices in a Microsoft Landscape
Exploring Microservices in a Microsoft LandscapeExploring Microservices in a Microsoft Landscape
Exploring Microservices in a Microsoft LandscapeAlex Thissen
 
Microservices without servers
Microservices without serversMicroservices without servers
Microservices without servers99X Technology
 
Overcoming 5 Common Docker Challenges: How We Do It at RightScale
Overcoming 5 Common Docker Challenges: How We Do It at RightScaleOvercoming 5 Common Docker Challenges: How We Do It at RightScale
Overcoming 5 Common Docker Challenges: How We Do It at RightScaleRightScale
 
Blue Chip Tek AWS Connect and Protect Presentation #2
Blue Chip Tek AWS Connect and Protect Presentation #2Blue Chip Tek AWS Connect and Protect Presentation #2
Blue Chip Tek AWS Connect and Protect Presentation #2Kimberly Macias
 
Terraforming Azure
Terraforming AzureTerraforming Azure
Terraforming AzureKen Sykora
 

What's hot (20)

Serverless Application Development with Azure
Serverless Application Development with AzureServerless Application Development with Azure
Serverless Application Development with Azure
 
Cloud Computing101 Azure, updated june 2017
Cloud Computing101 Azure, updated june 2017Cloud Computing101 Azure, updated june 2017
Cloud Computing101 Azure, updated june 2017
 
Architecture evolution
Architecture evolutionArchitecture evolution
Architecture evolution
 
How IT at Getty Images Brokers Cloud Services
How IT at Getty Images Brokers Cloud ServicesHow IT at Getty Images Brokers Cloud Services
How IT at Getty Images Brokers Cloud Services
 
AKS
AKSAKS
AKS
 
Azure vidyapeeth -Introduction to Azure Container Service & Registry Service
Azure vidyapeeth -Introduction to Azure Container Service & Registry ServiceAzure vidyapeeth -Introduction to Azure Container Service & Registry Service
Azure vidyapeeth -Introduction to Azure Container Service & Registry Service
 
Azure serverless architectures
Azure serverless architecturesAzure serverless architectures
Azure serverless architectures
 
Static web apps by GitHub action
Static web apps by GitHub actionStatic web apps by GitHub action
Static web apps by GitHub action
 
Java & Microservices in Azure
Java & Microservices in AzureJava & Microservices in Azure
Java & Microservices in Azure
 
Azure Days 2019: Infrastructure as Code auf Azure (Jonas Wanninger & Daniel H...
Azure Days 2019: Infrastructure as Code auf Azure (Jonas Wanninger & Daniel H...Azure Days 2019: Infrastructure as Code auf Azure (Jonas Wanninger & Daniel H...
Azure Days 2019: Infrastructure as Code auf Azure (Jonas Wanninger & Daniel H...
 
Christian Corsano, Io Interactive
Christian Corsano, Io InteractiveChristian Corsano, Io Interactive
Christian Corsano, Io Interactive
 
Why Not Public Cloud?
Why Not Public Cloud?Why Not Public Cloud?
Why Not Public Cloud?
 
Serverless Reality
Serverless RealityServerless Reality
Serverless Reality
 
Romuald Zdebskiy (Microsoft) & Andrey Ivashentsev (Game Insight)
Romuald Zdebskiy (Microsoft) & Andrey Ivashentsev (Game Insight)Romuald Zdebskiy (Microsoft) & Andrey Ivashentsev (Game Insight)
Romuald Zdebskiy (Microsoft) & Andrey Ivashentsev (Game Insight)
 
Azure PaaS (WebApp & SQL Database) workshop solution
Azure PaaS (WebApp & SQL Database) workshop solutionAzure PaaS (WebApp & SQL Database) workshop solution
Azure PaaS (WebApp & SQL Database) workshop solution
 
Exploring Microservices in a Microsoft Landscape
Exploring Microservices in a Microsoft LandscapeExploring Microservices in a Microsoft Landscape
Exploring Microservices in a Microsoft Landscape
 
Microservices without servers
Microservices without serversMicroservices without servers
Microservices without servers
 
Overcoming 5 Common Docker Challenges: How We Do It at RightScale
Overcoming 5 Common Docker Challenges: How We Do It at RightScaleOvercoming 5 Common Docker Challenges: How We Do It at RightScale
Overcoming 5 Common Docker Challenges: How We Do It at RightScale
 
Blue Chip Tek AWS Connect and Protect Presentation #2
Blue Chip Tek AWS Connect and Protect Presentation #2Blue Chip Tek AWS Connect and Protect Presentation #2
Blue Chip Tek AWS Connect and Protect Presentation #2
 
Terraforming Azure
Terraforming AzureTerraforming Azure
Terraforming Azure
 

Similar to Dev day serverless from a devs perspective

ArchitectNow - Designing Cloud-Native apps in Microsoft Azure
ArchitectNow  -  Designing Cloud-Native apps in Microsoft AzureArchitectNow  -  Designing Cloud-Native apps in Microsoft Azure
ArchitectNow - Designing Cloud-Native apps in Microsoft AzureKevin Grossnicklaus
 
Webcast: DevOps in AWS is different! How can containers help?
Webcast: DevOps in AWS is different! How can containers help? Webcast: DevOps in AWS is different! How can containers help?
Webcast: DevOps in AWS is different! How can containers help? Applatix
 
ArchitectNow - Migrating Legacy .NET Apps to Azure
ArchitectNow - Migrating Legacy .NET Apps to AzureArchitectNow - Migrating Legacy .NET Apps to Azure
ArchitectNow - Migrating Legacy .NET Apps to AzureKevin Grossnicklaus
 
Tokyo Azure Meetup #7 - Introduction to Serverless Architectures with Azure F...
Tokyo Azure Meetup #7 - Introduction to Serverless Architectures with Azure F...Tokyo Azure Meetup #7 - Introduction to Serverless Architectures with Azure F...
Tokyo Azure Meetup #7 - Introduction to Serverless Architectures with Azure F...Tokyo Azure Meetup
 
Bringing AI to the edge on-premises Azure Cognitive Services using Docker con...
Bringing AI to the edge on-premises Azure Cognitive Services using Docker con...Bringing AI to the edge on-premises Azure Cognitive Services using Docker con...
Bringing AI to the edge on-premises Azure Cognitive Services using Docker con...Luis Beltran
 
Secure Your Code Implement DevSecOps in Azure
Secure Your Code Implement DevSecOps in AzureSecure Your Code Implement DevSecOps in Azure
Secure Your Code Implement DevSecOps in Azurekloia
 
2014.10.22 Building Azure Solutions with Office 365
2014.10.22 Building Azure Solutions with Office 3652014.10.22 Building Azure Solutions with Office 365
2014.10.22 Building Azure Solutions with Office 365Marco Parenzan
 
AWS Innovate: Smaller IS Better – Exploiting Microservices on AWS, Craig Dickson
AWS Innovate: Smaller IS Better – Exploiting Microservices on AWS, Craig DicksonAWS Innovate: Smaller IS Better – Exploiting Microservices on AWS, Craig Dickson
AWS Innovate: Smaller IS Better – Exploiting Microservices on AWS, Craig DicksonAmazon Web Services Korea
 
Containers, microservices and serverless for realists
Containers, microservices and serverless for realistsContainers, microservices and serverless for realists
Containers, microservices and serverless for realistsKarthik Gaekwad
 
Tokyo Azure Meetup #4 - Build 2016 Overview
Tokyo Azure Meetup #4 -  Build 2016 OverviewTokyo Azure Meetup #4 -  Build 2016 Overview
Tokyo Azure Meetup #4 - Build 2016 OverviewTokyo Azure Meetup
 
How to create a Function App on Cosmos DB
How to create a Function App on Cosmos DBHow to create a Function App on Cosmos DB
How to create a Function App on Cosmos DBHansamali Gamage
 
Building Azure RemoteApp - Microsoft Campus Days 2014
Building Azure RemoteApp - Microsoft Campus Days 2014Building Azure RemoteApp - Microsoft Campus Days 2014
Building Azure RemoteApp - Microsoft Campus Days 2014Morgan Simonsen
 
Understanding Docker and IBM Bluemix Container Service
Understanding Docker and IBM Bluemix Container ServiceUnderstanding Docker and IBM Bluemix Container Service
Understanding Docker and IBM Bluemix Container ServiceAndrew Ferrier
 
Write Once and REALLY Run Anywhere | OpenStack Summit HK 2013
Write Once and REALLY Run Anywhere | OpenStack Summit HK 2013Write Once and REALLY Run Anywhere | OpenStack Summit HK 2013
Write Once and REALLY Run Anywhere | OpenStack Summit HK 2013dotCloud
 
AWS for Java Developers workshop
AWS for Java Developers workshopAWS for Java Developers workshop
AWS for Java Developers workshopRory Preddy
 

Similar to Dev day serverless from a devs perspective (20)

ArchitectNow - Designing Cloud-Native apps in Microsoft Azure
ArchitectNow  -  Designing Cloud-Native apps in Microsoft AzureArchitectNow  -  Designing Cloud-Native apps in Microsoft Azure
ArchitectNow - Designing Cloud-Native apps in Microsoft Azure
 
Webcast: DevOps in AWS is different! How can containers help?
Webcast: DevOps in AWS is different! How can containers help? Webcast: DevOps in AWS is different! How can containers help?
Webcast: DevOps in AWS is different! How can containers help?
 
Microservices in Azure
Microservices in AzureMicroservices in Azure
Microservices in Azure
 
Microservices in Azure
Microservices in AzureMicroservices in Azure
Microservices in Azure
 
ArchitectNow - Migrating Legacy .NET Apps to Azure
ArchitectNow - Migrating Legacy .NET Apps to AzureArchitectNow - Migrating Legacy .NET Apps to Azure
ArchitectNow - Migrating Legacy .NET Apps to Azure
 
Tokyo Azure Meetup #7 - Introduction to Serverless Architectures with Azure F...
Tokyo Azure Meetup #7 - Introduction to Serverless Architectures with Azure F...Tokyo Azure Meetup #7 - Introduction to Serverless Architectures with Azure F...
Tokyo Azure Meetup #7 - Introduction to Serverless Architectures with Azure F...
 
Bringing AI to the edge on-premises Azure Cognitive Services using Docker con...
Bringing AI to the edge on-premises Azure Cognitive Services using Docker con...Bringing AI to the edge on-premises Azure Cognitive Services using Docker con...
Bringing AI to the edge on-premises Azure Cognitive Services using Docker con...
 
Secure Your Code Implement DevSecOps in Azure
Secure Your Code Implement DevSecOps in AzureSecure Your Code Implement DevSecOps in Azure
Secure Your Code Implement DevSecOps in Azure
 
2014.10.22 Building Azure Solutions with Office 365
2014.10.22 Building Azure Solutions with Office 3652014.10.22 Building Azure Solutions with Office 365
2014.10.22 Building Azure Solutions with Office 365
 
Head in the clouds
Head in the cloudsHead in the clouds
Head in the clouds
 
Windows Azure introduction
Windows Azure introductionWindows Azure introduction
Windows Azure introduction
 
AWS Innovate: Smaller IS Better – Exploiting Microservices on AWS, Craig Dickson
AWS Innovate: Smaller IS Better – Exploiting Microservices on AWS, Craig DicksonAWS Innovate: Smaller IS Better – Exploiting Microservices on AWS, Craig Dickson
AWS Innovate: Smaller IS Better – Exploiting Microservices on AWS, Craig Dickson
 
Containers, microservices and serverless for realists
Containers, microservices and serverless for realistsContainers, microservices and serverless for realists
Containers, microservices and serverless for realists
 
Tokyo Azure Meetup #4 - Build 2016 Overview
Tokyo Azure Meetup #4 -  Build 2016 OverviewTokyo Azure Meetup #4 -  Build 2016 Overview
Tokyo Azure Meetup #4 - Build 2016 Overview
 
How to create a Function App on Cosmos DB
How to create a Function App on Cosmos DBHow to create a Function App on Cosmos DB
How to create a Function App on Cosmos DB
 
Building Azure RemoteApp - Microsoft Campus Days 2014
Building Azure RemoteApp - Microsoft Campus Days 2014Building Azure RemoteApp - Microsoft Campus Days 2014
Building Azure RemoteApp - Microsoft Campus Days 2014
 
Understanding Docker and IBM Bluemix Container Service
Understanding Docker and IBM Bluemix Container ServiceUnderstanding Docker and IBM Bluemix Container Service
Understanding Docker and IBM Bluemix Container Service
 
Cloud Computing Basics.pptx
Cloud Computing Basics.pptxCloud Computing Basics.pptx
Cloud Computing Basics.pptx
 
Write Once and REALLY Run Anywhere | OpenStack Summit HK 2013
Write Once and REALLY Run Anywhere | OpenStack Summit HK 2013Write Once and REALLY Run Anywhere | OpenStack Summit HK 2013
Write Once and REALLY Run Anywhere | OpenStack Summit HK 2013
 
AWS for Java Developers workshop
AWS for Java Developers workshopAWS for Java Developers workshop
AWS for Java Developers workshop
 

More from bartlannoeye

Run your app on every Windows Phone 8.1 device in the world
Run your app on every Windows Phone 8.1 device in the worldRun your app on every Windows Phone 8.1 device in the world
Run your app on every Windows Phone 8.1 device in the worldbartlannoeye
 
Windows Azure Services
Windows Azure ServicesWindows Azure Services
Windows Azure Servicesbartlannoeye
 
Live mesh & live framework
Live mesh & live frameworkLive mesh & live framework
Live mesh & live frameworkbartlannoeye
 
Building the windows 8 community app
Building the windows 8 community appBuilding the windows 8 community app
Building the windows 8 community appbartlannoeye
 
Wi phug windows phone development from z to a
Wi phug   windows phone development from z to aWi phug   windows phone development from z to a
Wi phug windows phone development from z to abartlannoeye
 
Who’s using my apps
Who’s using my appsWho’s using my apps
Who’s using my appsbartlannoeye
 

More from bartlannoeye (6)

Run your app on every Windows Phone 8.1 device in the world
Run your app on every Windows Phone 8.1 device in the worldRun your app on every Windows Phone 8.1 device in the world
Run your app on every Windows Phone 8.1 device in the world
 
Windows Azure Services
Windows Azure ServicesWindows Azure Services
Windows Azure Services
 
Live mesh & live framework
Live mesh & live frameworkLive mesh & live framework
Live mesh & live framework
 
Building the windows 8 community app
Building the windows 8 community appBuilding the windows 8 community app
Building the windows 8 community app
 
Wi phug windows phone development from z to a
Wi phug   windows phone development from z to aWi phug   windows phone development from z to a
Wi phug windows phone development from z to a
 
Who’s using my apps
Who’s using my appsWho’s using my apps
Who’s using my apps
 

Recently uploaded

Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 

Recently uploaded (20)

Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 

Dev day serverless from a devs perspective

  • 1. A lap around serverless from an app developer's perspective DevDay – 26 November 2019
  • 2. Bart Lannoeye • Solution Architect @ Sirus • Twitter: @bartlannoeye • Mobile Developer @ Bank J.Van Breda & C° • Twitter: @depechie Glenn Versweyveld
  • 3. Agenda • What do we want to achieve? • Explaining the architecture • Using docker • Using Azure Functions • Take it to the next level
  • 4. What do we want to achieve?
  • 6. How can we do this? • Mobile app in Xamarin.Forms • Backend services on Azure • Storage on Azure • … and then some more
  • 7. 7
  • 8. Why serverless on Azure as app developer? • Why cloud? • Connectivity, Scalability, Security, Availability, … • Necessary services out of the box: e.g. push notifications • Why “serverless”? • No server management/maintenance • Only charged for use, very scalable • Quick deployments • Minimal IT intervention  • Downsides? • Not best fit for all architectures • Vendor lock-in possible • Harder to debug (but we all write unit tests right )
  • 9. Why use Docker? • Lift and shift existing applications • And then gradually move to micro-services • Use less resources than virtual machines • Standardization • Repeatable dev / build / test / production cycle • No more “works on my machine” • Multi-cloud platform (Azure, AWS, Google Cloud, …) • Scale easily • If application is built for it • Get started with new technology very fast • Docker Hub has an image for ‘everything’
  • 10. When not to use Docker? • Run as fast as bare-metal • Every containerization/virtualization method comes with overhead • Provide cross-platform compatibility • Can still be tied to Windows / Linux container • Run applications with rich graphical user interfaces • Solve all your security problems • Added security through isolation • Brings its own security challenges • When you need state in your container • When another technology is better for the task
  • 11. Run docker images on Azure Azure App Service Azure Kubernetes Service (AKS) Azure Container Instances Service Fabric Service Fabric Mesh
  • 12. Where to get docker images from? • Quickstart (Nginx or Python) • Docker Hub • Azure Container Registry • Private Registry
  • 14. What about storage? Database (SQL, MySQL, MariaDB, PostgreSQL, …) Storage account (Blob, Table, Queue, File) CosmosDB (SQL, Table, NoSQL, Graph with # APIs) Redis Cache …
  • 15. Storage in the picture: Blob storage • Part of Azure Storage Accounts • In most cases you will use General Purpose v2 SA • Blob, File, Queue, Table, Disk, and Data Lake Gen2 • For storage / backup of unstructured data in any file type • Cost-efficient tiers: Hot, Cold, Archive • Multiple replication options: Local, Zone, Geo, Geo-zone • Encrypted by default • Secured through AAD, Shared Key or Shared Access Signature
  • 16. Storage in the picture: CosmosDB • Globally distributed, multi-model database service • Guaranteed • High availability (99.999% -> 5min15s per year) • Low latency (<10ms) • High througput (reserved RUs) • Data is horizontally partitioned, prevent ‘hot spots’ (R and W) • Automatically indexed • Pick the API you want
  • 18. Our solution is running, but what does it cost? • Before your start: Azure Pricing Calculator • Select all used services • Estimate amount of data, transactions, … • Rough first idea, but not very accurate in most cases
  • 19. Our solution is running, but what does it cost? • While running: Azure Cost Management • Actual cost until today per resource type or resource group • Forecast of the cost based on historical data
  • 20. Cost: learn from the numbers • Sometimes a certain service is a must • But quite often the solution is flexible • Choose cheaper options when available • Looking at our Docker containers: • Run all the time? Maybe switch to Container Instances • Other options?
  • 21. Azure functions • Event driven • Serverless • Compute on demand • Very flexible scaling • # languages: C#, F#, JS, PowerShell, Python, … • # hosting: Consumption, Premium, Dedicated (App Service)
  • 22. Azure functions: bread & butter of Azure
  • 24. More serverless on Azure • Microsoft Flow • Logic Apps • Azure Web Jobs • Azure Stream Analytics
  • 25. Taking it to the next level • Securing your app • Use the full power of Azure • Automate deployment
  • 26. 26
  • 27. Use the full power of Azure • Event Hubs • Message Bus • Cognitive Services • Azure Search • …
  • 28. Automate deployment • Azure DevOps • App Center • But also automate resource creation • ARM templates • Azure CLI • Azure PowerShell
  • 30. Pick the right tool for the right job! • App Service • Virtual Machine • Docker Containers • Azure Functions • … • And combine them to achieve your solution  • And keep an eye on the cost 
  • 31. Thank you! • Bart Lannoeye • Solution Architect @ Sirus • Twitter: @bartlannoeye • Glenn Versweyveld • Mobile Developer @ Bank J.Van Breda & C° • Twitter: @depechie

Editor's Notes

  1. Demo 1: Mobile app overview
  2. WebAPI in docker Publish to container registry Create App Service + deploy docker
  3. Logic apps: serverless workflows for data integration