SlideShare a Scribd company logo
Application modernization with azure PaaS and FaaS
Dileepa Rajapaksa
Partner Technical Specialist at Rhipe
Microsoft Most Valuable Professional - MVP
Microsoft Certified Trainer – MCT
Microsoft Certified Azure Solution Architect
Twitter
@dsrajapaksa
LinkedIn
https://www.linkedin.com/in/dsrajapaksa
▪Defining digital transformation and cloud journey
▪Different strategies to move to the cloud
▪Migration vs. Modernization
▪Using PaaS services in Azure – Azure App Services
▪Using FaaS services in Azure – Azure Functions
Session Outline
▪ If there’s one constant your business can rely on these days, it’s change !
▪ Innovation is the only way to survive competition.
▪ Modern IT infrastructure is the foundation for a successful organization.
▪ Innovate more quickly develop secure, scalable apps with new services on cloud.
▪ Collaborate more effectively, both internally and with externally.
Digital Transformation and the cloud Journey
The journey to the cloud
“Lift and shift”
90’s
“Cloud Native Modernization”
Why move to the cloud?
▪ High availability.
▪ Scalability.
▪ Elasticity.
▪ Agility.
▪ Fault tolerance.
▪ Disaster recovery.
▪ Global reach.
▪ Customer latency capabilities.
▪ Predictive cost considerations.
▪ Increased productivity.
▪ Security.
▪ Low OPEX cost over CAPEX.
Moving to the cloud is a business decision !
Migration/modernization of existing applications might seem like a
technical decision, but its core is business related.
Ultimately, it raises two fundamental questions:
▪ What’s driving your business to move to the cloud?
▪ What it the organization’s long-term growth strategy ?
▪ Why moving to the cloud NOW?
Five categories of migration strategies
Cloud migration strategy depends on many factors:
▪What are your most pressing needs?
▪What are the skills of your team?
▪Where are your apps in the development lifecycle?
▪What software architecture/pattern currently being used?
Migration vs. Modernization
Monolithic SOA Microservices
Physical Servers VM Containers
Waterfall Agile DevOps
Architecture
Infrastructure
Delivery
Why modernize over migrate ?
▪ Accelerate your digital journey
▪ Faster time to market
▪ Improved user experience
▪ Optimized cost
▪ Achieve maximum productivity
▪ Forward-Looking
▪ Agility and faster feedback loop
▪ Maximize innovations !
Cost vs time of application modernization
Cost/Effort
Time to Migrate
What is Cloud Native ?
▪ All about changing the way you think about constructing critical business systems
▪ Designed to embrace rapid change, large scale, and resilience.
▪ Take full advantage of the cloud service model.
▪ Cloud native is much about speed and agility.
Cloud Native Computing Foundation Definition
Cloud-native technologies empower organizations to build and run scalable
applications in modern, dynamic environments such as public, private, and
hybrid clouds. Containers, platform as a service offerings, microservices,
immutable infrastructure, and declarative APIs exemplify this approach.
Success of Cloud Native Approach
·
600+ services in
production. Deploys
hundred times per day.
1,000+ services in
production. Deploys
thousand times a week.
300+ services in
production. Deploys
1,000 times a day.
Monolithic vs. Microservices
Platform as a Service(PaaS)
▪ Simple way to deploy an app in a given technology.
▪ Simplifies deploying applications on your platform of choice.
▪ Deploy the app and the “cloud” will take care about how to run
▪ Can auto-scale the number of compute instances to handle workloads
▪ Save money during times of low usage.
▪ Impossible to install custom system dependencies.
▪ Somewhat similar to serverless computing.
Azure shared responsibility model
Cloud Provider Manages
On-Premises
( Private Cloud )
Compute
Networking
Storage
Infrastructure
( as a Service )
Runtime
Operating System
Virtual Machine
Compute
Networking
Storage
Platform
( as a Service )
Applications
Runtime
Operating System
Virtual Machine
Compute
Networking
Storage
Software
( as a Service )
App Service
▪Service for hosting web applications, REST APIs, and mobile backends.
▪Can be developed in many of the following languages.
▪Applications can execute and scale in a fully managed, sandbox environment.
.NET Java Ruby Node.JS
PHP Python
Web Apps
▪Scalable hosting for web applications:
▪ Provides a quick way to host your web application in the cloud
▪ Allows you to scale your web app without being required to redesign for scalability
▪ Integrates with Visual Studio
▪ Provides an open platform for many different programming languages
▪Advantages:
▪ Near instant deployment
▪ SSL and Custom Domain Names available in some tiers
▪ WebJobs provide background processing for independent scaling
▪ Can scale to larger machines without redeploying applications
Key features of App Service Web Apps
▪Multiple languages and frameworks:
▪ First-class support for Microsoft ASP.NET, Java, Ruby, Node.js, PHP, or Python
▪DevOps optimization:
▪ Continuous integration and deployment with Visual Studio Team Services, GitHub,
Bitbucket, Docker Hub, or Azure Container Registry
▪Global scale with high availability:
▪ Scale up or out manually or automatically. Host anywhere in the Microsoft global
datacenter infrastructure
▪Connections to SaaS platforms and on-premises data:
▪ More than 50 connectors for enterprise systems (such as SAP), SaaS services (such as
Salesforce), and internet services (such as Facebook)
Key features of App Service Web Apps (cont.)
▪Security and compliance:
▪ App Service is ISO, SOC, and PCI compliant
▪Application templates:
▪ Templates in the Azure Marketplace, such as WordPress, Joomla, and Drupal
▪Visual Studio integration:
▪ Streamline the work of creating, deploying, and debugging
▪API and mobile features:
▪ Turn-key Cross-Origin Resource Sharing (CORS) support for RESTful API scenarios, and
enables authentication, offline data sync, push notifications, and more
▪Serverless code:
▪ Run code on-demand without having to explicitly provision or manage infrastructure
App Service plans
▪App Service plans can logically group apps within a subscription:
– Characteristics such as features, capacity, and tiers are shared among the website
instance in the group
– The App Service plan is the unit of billing in most cases
▪Multiple App Service plans can exist in a single Resource Group and multiple apps can exist
in a single App Service plan
App Service plans (continued)
App Service plan
Deployment slots
▪ Live apps with their own:
 Host names
 Content
 Configuration
▪ Can be swapped between each other.
 Staging ⬌ Production
 Production ⬌ Staging
 Dev ⬌ Test
 Test ⬌ QA
 QA ⬌ Staging
Staging
Production
swappable
QA Test Dev
Modern deployment workflow
GitHub
master branch
Dev
feature branch
Staging Production
merge
Web
API
swap
swap
Function as a Service (FaaS)/ Serverless
▪ Even simpler than PaaS
▪ Based on the functions which can be triggered by a given event,
▪ Event-driven architecture
▪ Also known as serverless
▪ Highly auto-scalable
▪ Billing is based on the real consumption/execution time based
▪ Fewer available technologies than with PaaS
▪ Can be combined with microservices.
▪ Can even write a event driven API.
Azure FaaS /Serverless
What can Azure Functions do?
▪ Run code based on HTTP requests
▪ Schedule code to run at predefined times
▪ Process new and modified:
• Azure Cosmos DB documents
• Azure Storage blobs
• Azure Queue storage messages
▪ Respond to Azure Event Grid events by using subscriptions and filters
▪ Respond to high volumes of Azure Event Hubs events
▪ Respond to Azure Service Bus queue and topic messages
Azure Functions
▪Solution for running small pieces of code, or "functions," in the cloud:
- Write only code that is relevant to business logic
– Removes the necessity to write “plumbing” code to connect or host application components
▪Build on open-source WebJobs code
▪Supports a wide variety of programming languages, for instance:
C# JAVA PHP PY JS
▪ Even supports scripting languages, such as
PS SH
Function integrations
Scale and hosting
▪You can choose between two types of plans:
– Consumption:
• Instances are dynamically instanced, and you are charged based on compute time
– App Service plan:
• Traditional App Services model used with Web Apps, API Apps, and Mobile Apps
▪The type of plan controls:
– How host instances are scaled out
– The resources that are available to each host
Triggers
Trigger types
▪Triggers based on Azure services:
– Cosmos DB
– Blob and queues
– Service Bus
– Event Hub
▪Triggers based on common scenarios:
– HTTP request
– Scheduled timer
▪Triggers based on third-party services:
– GitHub
Input and Output Bindings
Bindings
▪Declarative way to connect to data from your code:
– Connect to services without writing plumbing code
– Service credentials are not stored in code
– Bindings are optional
▪Function can have multiple input and output bindings
▪Output bindings can send data to Azure services such as:
– Storage
– Azure Cosmos DB
– Service Bus
Trigger and Bindings example
Durable Functions
▪Write stateful functions in a stateless environment
▪Manages state, checkpoints, and restarts
▪Defines an Orchestrator function
– Workflows are defined in code
– Calls other functions synchronously or asynchronously
– Checkpoint progress whenever function awaits
Durable Function scenario - Chaining
Function chaining refers executing a sequence of functions in a particular order. Often, the output of
one function needs to be applied to the input of another function.
Durable Function scenario - Fan-out/fan-in
Fan-out/fan-in refers to the pattern of executing multiple functions in parallel, and then waiting for all
to finish
Durable Function scenario - Async HTTP APIs
Durable Functions provides built-in APIs that simplify the code that you write for interacting with
long-running function executions
Other Azure Services to modernize applications
▪ Azure Container Instances (ACI)
▪ Azure Static Websites
▪ Azure Logic Apps
▪ Azure DevOps
▪ Azure Kubernetes Services (AK8S)
▪ Azure Service Fabric
▪ Azure Cognitive Services
Dileepa Rajapaksa
Twitter
@dsrajapaksa
LinkedIn
https://www.linkedin.com/in/dsrajapaksa
Application modernization with azure PaaS and FaaS
Application modernization with azure PaaS and FaaS
Application modernization with azure PaaS and FaaS
Thank you ☺
Happy Clouding !

More Related Content

PPTX
vCloud Automation Center and Pivotal Cloud Foundry – Better PaaS Solution (VM...
PDF
JBoss Fuse Service Works
PPTX
Azure migration
PPTX
Azure Web Apps - Introduction
DOCX
Kumuda_Krishnamachari
PDF
How to Scale Operations for a Multi-Cloud Platform using PCF
PDF
Moving at the speed of startup with Pivotal Cloud Foundry 1.11
PPTX
Cloud migration Through Automation
vCloud Automation Center and Pivotal Cloud Foundry – Better PaaS Solution (VM...
JBoss Fuse Service Works
Azure migration
Azure Web Apps - Introduction
Kumuda_Krishnamachari
How to Scale Operations for a Multi-Cloud Platform using PCF
Moving at the speed of startup with Pivotal Cloud Foundry 1.11
Cloud migration Through Automation

What's hot (20)

PDF
Using cloud native development to achieve digital transformation
PDF
Design and Develop Serverless Applications as Set-Pieces
PDF
Jelastic DevOps Platform Product Overview for Service Providers
PDF
Cloud Foundry for PHP developers
PPTX
Java PaaS comparison
PPTX
Microsoft private cloud
PDF
Building microservices on azure
PDF
Azure for SAP Solutions - Use Cases and Migration Options
PDF
Java in the Cloud : PaaS Platforms in Comparison
PPTX
Azure App Service
PDF
Intro to azure logic apps
PPTX
Developing SharePoint Framework Solutions for the Enterprise - SEF 2019
PPTX
SAP on Azure - Deck
PPTX
Two Years with SAP HANA Express
PPTX
Azure App Service Deep Dive
PDF
Cloud Foundry Technical Overview
PDF
WaveMaker - Spring Roo - SpringSource Tool Suite - Choosing the right tool fo...
PPTX
Microservices Architecture for Content Management Systems using AWS Lambda an...
PPTX
Artificial Intelligence & Machine learning foundation topic in AWS
PDF
Docker in Production: How RightScale Delivers Cloud Applications
Using cloud native development to achieve digital transformation
Design and Develop Serverless Applications as Set-Pieces
Jelastic DevOps Platform Product Overview for Service Providers
Cloud Foundry for PHP developers
Java PaaS comparison
Microsoft private cloud
Building microservices on azure
Azure for SAP Solutions - Use Cases and Migration Options
Java in the Cloud : PaaS Platforms in Comparison
Azure App Service
Intro to azure logic apps
Developing SharePoint Framework Solutions for the Enterprise - SEF 2019
SAP on Azure - Deck
Two Years with SAP HANA Express
Azure App Service Deep Dive
Cloud Foundry Technical Overview
WaveMaker - Spring Roo - SpringSource Tool Suite - Choosing the right tool fo...
Microservices Architecture for Content Management Systems using AWS Lambda an...
Artificial Intelligence & Machine learning foundation topic in AWS
Docker in Production: How RightScale Delivers Cloud Applications
Ad

Similar to Application modernization with azure PaaS and FaaS (20)

PPTX
Cloud Computing101 Azure, updated june 2017
PPTX
Getting started with development in azure
PDF
Azure App Modernization
PPTX
Designing Microservices
PPTX
Keynote speech
PDF
Adopting PCF At An Automobile Manufacturer
PDF
Adopting PCF At An Automobile Manufacturer
PPTX
SPS Gulf : SharePoint 2013 Cloud Business App
PDF
Azure-Migration-Presentation-Fresno-1-28-2020.pdf
PPTX
Global Azure 2024 - On-Premises to Azure Cloud: .NET Web App Journey
PDF
Inside BMW's cloud-native DevOps approach to application migration on AWS
PPTX
Azure_Business_Opportunity
PPTX
Get Started with Microsoft Azure.pptx
PPTX
App Modernization Pitch Deck.pptx
PDF
Cloud Native Apps
PDF
Lessons from Building Large-Scale, Multi-Cloud, SaaS Software at Databricks
PPTX
ICS-Azure Migrations & Application Modernization_V2.pptx
PPTX
CEUS by Iberian SharePoint Conference 2015 Office 365 y Azure - Guía de des...
PPTX
Global Azure 2022 - Architecting Modern Serverless APIs with Azure Functions ...
PPTX
Jelastic for Hosting & MSP
Cloud Computing101 Azure, updated june 2017
Getting started with development in azure
Azure App Modernization
Designing Microservices
Keynote speech
Adopting PCF At An Automobile Manufacturer
Adopting PCF At An Automobile Manufacturer
SPS Gulf : SharePoint 2013 Cloud Business App
Azure-Migration-Presentation-Fresno-1-28-2020.pdf
Global Azure 2024 - On-Premises to Azure Cloud: .NET Web App Journey
Inside BMW's cloud-native DevOps approach to application migration on AWS
Azure_Business_Opportunity
Get Started with Microsoft Azure.pptx
App Modernization Pitch Deck.pptx
Cloud Native Apps
Lessons from Building Large-Scale, Multi-Cloud, SaaS Software at Databricks
ICS-Azure Migrations & Application Modernization_V2.pptx
CEUS by Iberian SharePoint Conference 2015 Office 365 y Azure - Guía de des...
Global Azure 2022 - Architecting Modern Serverless APIs with Azure Functions ...
Jelastic for Hosting & MSP
Ad

More from Dileepa Rajapaksa (7)

PDF
Azure Spot Virtual Machines Intro
PDF
Windows Virtual Desktop - Desktops on Cloud !
PDF
Running a Webinar using Microsoft Team
PDF
Saving Money with Azure Reservations
PPTX
Azure Bastion Cloud swipes 01
PDF
Sinhala- HOC Participation Guide
PDF
Sinhala- HOC Participation Guide Step by Step
Azure Spot Virtual Machines Intro
Windows Virtual Desktop - Desktops on Cloud !
Running a Webinar using Microsoft Team
Saving Money with Azure Reservations
Azure Bastion Cloud swipes 01
Sinhala- HOC Participation Guide
Sinhala- HOC Participation Guide Step by Step

Recently uploaded (20)

PDF
KodekX | Application Modernization Development
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
[발표본] 너의 과제는 클라우드에 있어_KTDS_김동현_20250524.pdf
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Electronic commerce courselecture one. Pdf
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PPTX
Cloud computing and distributed systems.
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPT
Teaching material agriculture food technology
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
cuic standard and advanced reporting.pdf
PPTX
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
KodekX | Application Modernization Development
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
[발표본] 너의 과제는 클라우드에 있어_KTDS_김동현_20250524.pdf
The AUB Centre for AI in Media Proposal.docx
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Dropbox Q2 2025 Financial Results & Investor Presentation
Electronic commerce courselecture one. Pdf
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Cloud computing and distributed systems.
Understanding_Digital_Forensics_Presentation.pptx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Mobile App Security Testing_ A Comprehensive Guide.pdf
Network Security Unit 5.pdf for BCA BBA.
Advanced methodologies resolving dimensionality complications for autism neur...
Teaching material agriculture food technology
The Rise and Fall of 3GPP – Time for a Sabbatical?
cuic standard and advanced reporting.pdf
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
Unlocking AI with Model Context Protocol (MCP)
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...

Application modernization with azure PaaS and FaaS

  • 2. Dileepa Rajapaksa Partner Technical Specialist at Rhipe Microsoft Most Valuable Professional - MVP Microsoft Certified Trainer – MCT Microsoft Certified Azure Solution Architect Twitter @dsrajapaksa LinkedIn https://www.linkedin.com/in/dsrajapaksa
  • 3. ▪Defining digital transformation and cloud journey ▪Different strategies to move to the cloud ▪Migration vs. Modernization ▪Using PaaS services in Azure – Azure App Services ▪Using FaaS services in Azure – Azure Functions Session Outline
  • 4. ▪ If there’s one constant your business can rely on these days, it’s change ! ▪ Innovation is the only way to survive competition. ▪ Modern IT infrastructure is the foundation for a successful organization. ▪ Innovate more quickly develop secure, scalable apps with new services on cloud. ▪ Collaborate more effectively, both internally and with externally. Digital Transformation and the cloud Journey
  • 5. The journey to the cloud “Lift and shift” 90’s “Cloud Native Modernization”
  • 6. Why move to the cloud? ▪ High availability. ▪ Scalability. ▪ Elasticity. ▪ Agility. ▪ Fault tolerance. ▪ Disaster recovery. ▪ Global reach. ▪ Customer latency capabilities. ▪ Predictive cost considerations. ▪ Increased productivity. ▪ Security. ▪ Low OPEX cost over CAPEX.
  • 7. Moving to the cloud is a business decision ! Migration/modernization of existing applications might seem like a technical decision, but its core is business related. Ultimately, it raises two fundamental questions: ▪ What’s driving your business to move to the cloud? ▪ What it the organization’s long-term growth strategy ? ▪ Why moving to the cloud NOW?
  • 8. Five categories of migration strategies
  • 9. Cloud migration strategy depends on many factors: ▪What are your most pressing needs? ▪What are the skills of your team? ▪Where are your apps in the development lifecycle? ▪What software architecture/pattern currently being used?
  • 10. Migration vs. Modernization Monolithic SOA Microservices Physical Servers VM Containers Waterfall Agile DevOps Architecture Infrastructure Delivery
  • 11. Why modernize over migrate ? ▪ Accelerate your digital journey ▪ Faster time to market ▪ Improved user experience ▪ Optimized cost ▪ Achieve maximum productivity ▪ Forward-Looking ▪ Agility and faster feedback loop ▪ Maximize innovations !
  • 12. Cost vs time of application modernization Cost/Effort Time to Migrate
  • 13. What is Cloud Native ? ▪ All about changing the way you think about constructing critical business systems ▪ Designed to embrace rapid change, large scale, and resilience. ▪ Take full advantage of the cloud service model. ▪ Cloud native is much about speed and agility.
  • 14. Cloud Native Computing Foundation Definition Cloud-native technologies empower organizations to build and run scalable applications in modern, dynamic environments such as public, private, and hybrid clouds. Containers, platform as a service offerings, microservices, immutable infrastructure, and declarative APIs exemplify this approach.
  • 15. Success of Cloud Native Approach · 600+ services in production. Deploys hundred times per day. 1,000+ services in production. Deploys thousand times a week. 300+ services in production. Deploys 1,000 times a day.
  • 17. Platform as a Service(PaaS) ▪ Simple way to deploy an app in a given technology. ▪ Simplifies deploying applications on your platform of choice. ▪ Deploy the app and the “cloud” will take care about how to run ▪ Can auto-scale the number of compute instances to handle workloads ▪ Save money during times of low usage. ▪ Impossible to install custom system dependencies. ▪ Somewhat similar to serverless computing.
  • 18. Azure shared responsibility model Cloud Provider Manages On-Premises ( Private Cloud ) Compute Networking Storage Infrastructure ( as a Service ) Runtime Operating System Virtual Machine Compute Networking Storage Platform ( as a Service ) Applications Runtime Operating System Virtual Machine Compute Networking Storage Software ( as a Service )
  • 19. App Service ▪Service for hosting web applications, REST APIs, and mobile backends. ▪Can be developed in many of the following languages. ▪Applications can execute and scale in a fully managed, sandbox environment. .NET Java Ruby Node.JS PHP Python
  • 20. Web Apps ▪Scalable hosting for web applications: ▪ Provides a quick way to host your web application in the cloud ▪ Allows you to scale your web app without being required to redesign for scalability ▪ Integrates with Visual Studio ▪ Provides an open platform for many different programming languages ▪Advantages: ▪ Near instant deployment ▪ SSL and Custom Domain Names available in some tiers ▪ WebJobs provide background processing for independent scaling ▪ Can scale to larger machines without redeploying applications
  • 21. Key features of App Service Web Apps ▪Multiple languages and frameworks: ▪ First-class support for Microsoft ASP.NET, Java, Ruby, Node.js, PHP, or Python ▪DevOps optimization: ▪ Continuous integration and deployment with Visual Studio Team Services, GitHub, Bitbucket, Docker Hub, or Azure Container Registry ▪Global scale with high availability: ▪ Scale up or out manually or automatically. Host anywhere in the Microsoft global datacenter infrastructure ▪Connections to SaaS platforms and on-premises data: ▪ More than 50 connectors for enterprise systems (such as SAP), SaaS services (such as Salesforce), and internet services (such as Facebook)
  • 22. Key features of App Service Web Apps (cont.) ▪Security and compliance: ▪ App Service is ISO, SOC, and PCI compliant ▪Application templates: ▪ Templates in the Azure Marketplace, such as WordPress, Joomla, and Drupal ▪Visual Studio integration: ▪ Streamline the work of creating, deploying, and debugging ▪API and mobile features: ▪ Turn-key Cross-Origin Resource Sharing (CORS) support for RESTful API scenarios, and enables authentication, offline data sync, push notifications, and more ▪Serverless code: ▪ Run code on-demand without having to explicitly provision or manage infrastructure
  • 23. App Service plans ▪App Service plans can logically group apps within a subscription: – Characteristics such as features, capacity, and tiers are shared among the website instance in the group – The App Service plan is the unit of billing in most cases ▪Multiple App Service plans can exist in a single Resource Group and multiple apps can exist in a single App Service plan
  • 24. App Service plans (continued) App Service plan
  • 25. Deployment slots ▪ Live apps with their own:  Host names  Content  Configuration ▪ Can be swapped between each other.  Staging ⬌ Production  Production ⬌ Staging  Dev ⬌ Test  Test ⬌ QA  QA ⬌ Staging Staging Production swappable QA Test Dev
  • 26. Modern deployment workflow GitHub master branch Dev feature branch Staging Production merge Web API swap swap
  • 27. Function as a Service (FaaS)/ Serverless ▪ Even simpler than PaaS ▪ Based on the functions which can be triggered by a given event, ▪ Event-driven architecture ▪ Also known as serverless ▪ Highly auto-scalable ▪ Billing is based on the real consumption/execution time based ▪ Fewer available technologies than with PaaS ▪ Can be combined with microservices. ▪ Can even write a event driven API.
  • 29. What can Azure Functions do? ▪ Run code based on HTTP requests ▪ Schedule code to run at predefined times ▪ Process new and modified: • Azure Cosmos DB documents • Azure Storage blobs • Azure Queue storage messages ▪ Respond to Azure Event Grid events by using subscriptions and filters ▪ Respond to high volumes of Azure Event Hubs events ▪ Respond to Azure Service Bus queue and topic messages
  • 30. Azure Functions ▪Solution for running small pieces of code, or "functions," in the cloud: - Write only code that is relevant to business logic – Removes the necessity to write “plumbing” code to connect or host application components ▪Build on open-source WebJobs code ▪Supports a wide variety of programming languages, for instance: C# JAVA PHP PY JS ▪ Even supports scripting languages, such as PS SH
  • 32. Scale and hosting ▪You can choose between two types of plans: – Consumption: • Instances are dynamically instanced, and you are charged based on compute time – App Service plan: • Traditional App Services model used with Web Apps, API Apps, and Mobile Apps ▪The type of plan controls: – How host instances are scaled out – The resources that are available to each host
  • 34. Trigger types ▪Triggers based on Azure services: – Cosmos DB – Blob and queues – Service Bus – Event Hub ▪Triggers based on common scenarios: – HTTP request – Scheduled timer ▪Triggers based on third-party services: – GitHub
  • 35. Input and Output Bindings
  • 36. Bindings ▪Declarative way to connect to data from your code: – Connect to services without writing plumbing code – Service credentials are not stored in code – Bindings are optional ▪Function can have multiple input and output bindings ▪Output bindings can send data to Azure services such as: – Storage – Azure Cosmos DB – Service Bus
  • 38. Durable Functions ▪Write stateful functions in a stateless environment ▪Manages state, checkpoints, and restarts ▪Defines an Orchestrator function – Workflows are defined in code – Calls other functions synchronously or asynchronously – Checkpoint progress whenever function awaits
  • 39. Durable Function scenario - Chaining Function chaining refers executing a sequence of functions in a particular order. Often, the output of one function needs to be applied to the input of another function.
  • 40. Durable Function scenario - Fan-out/fan-in Fan-out/fan-in refers to the pattern of executing multiple functions in parallel, and then waiting for all to finish
  • 41. Durable Function scenario - Async HTTP APIs Durable Functions provides built-in APIs that simplify the code that you write for interacting with long-running function executions
  • 42. Other Azure Services to modernize applications ▪ Azure Container Instances (ACI) ▪ Azure Static Websites ▪ Azure Logic Apps ▪ Azure DevOps ▪ Azure Kubernetes Services (AK8S) ▪ Azure Service Fabric ▪ Azure Cognitive Services
  • 47. Thank you ☺ Happy Clouding !