SlideShare a Scribd company logo
Patrick Chanezon
Cloud Advocate, Microsoft
@chanezon
Developing Apps with Containers, Functions
and Cloud Services
DCSF 19 Developing Apps with Containers, Functions and Cloud Services
DCSF 19 Developing Apps with Containers, Functions and Cloud Services
@chanezon
1994-2005
Software Engineer
2005-2019
Developer Relations
Developer Productivity
Microsoft’s mission
“Our mission is to empower
every person and every
organization on the planet
to achieve more.”
https://www.microsoft.com/en-us/about
3 Abstractions to build cloud apps
• Containers
• Functions, triggered by Events
• Managed Cloud Services
Containers
Docker Enterprise 3.0
Securely build, share and run any application, anywhere
ANY APPLICATION
EVERY STAGE
ANYWHERE
Hybrid Cloud VM Bare Metal Edge
RunBuild
Share
Platform
built on
infrastructure,
built on
standards.
Docker
Deploy your
applications quickly
and predictably
Scale your
applications on
the fly
Roll out
new features
seamlessly
Limit hardware
usage to required
resources only
Portable
Public, private, hybrid,
multi-cloud
Extensible
Modular, pluggable,
hookable, composable
Self-healing
Auto-placement, auto-restart,
auto-replication, auto-scaling
Kubernetes
Docker Desktop
Containers in Azure
Choice of developer tools and clients
Azure Container Registry Docker Hub
App Service
Deploy web apps or
APIs using
containers in a PaaS
environment
Service Fabric
Modernize .NET
applications to
microservices using
Windows Server
containers
Kubernetes Service Container Instance
Scale and orchestrate
Linux containers using
Kubernetes
Ecosystem
Bring your Partner
solutions that run
great on Azure
Elastically burst from
your Azure Kubernetes
Service (AKS) cluster
VM
Pods
VM
Pods
VM
Pods
VM
Pods
Kubernetes
control pane
Azure Container Instances (ACI)
Pods
ACI
Connector
Application
Architect
Infrastructure
Architect
Deployment/
tasks
Bursting with the ACI Connector/ Virtual Kubelet
Virtual Kubelet
Functions
*Supporting services, like storage and networking, may be charged separately.
Pay-per-use
Only pay for what you use: billing is typically calculated on
the number of function calls,
code execution time, and memory used.*
Instant, event-driven scalability
Application components react to events and triggers in
near real-time with virtually unlimited scalability;
compute resources are used as needed.
Full abstraction of servers
Developers can just focus on their code—there are
no distractions around server management, capacity
planning, or availability.
What is serverless?
FaaS is at the center of serverless
Functions-as-a-Service programming model use functions to achieve true serverless compute
Single responsibility
Functions are single-
purposed, reusable pieces of
code that process an input
and return a result
Short lived
Functions don’t stick around
when finished executing,
freeing up resources for further
executions
Event driven & scalable
Functions respond to
predefined events, and are
instantly replicated as many
times as needed
Stateless
Functions don’t hold any
persistent state and don’t
rely on the state of any other
processes
What is Azure Functions?
Anevent-based,serverlesscomputeexperiencethatacceleratesappdevelopment
Azure Functions = FaaS++
Integrated programming model
Use built-in triggers and bindings to define when
a function is invoked and to what data it connects
Enhanced development experience
Code, test and debug locally using your preferred editor or the
easy-to-use web based interface including monitoring
Hosting options flexibility
Choose the deployment model that better fits your business
needs without compromising development experience
Boost development efficiency
Integrate with Azure Application Insights
Get near real-time details about function apps
See metrics around failures, executions, etc.Monitoring
Save time with built-in DevOps
Deploy functions using App Service for CI
Leverage Microsoft, partner services for CDCI/CD
Use triggers to define how functions are invoked
Avoid hardcoding with preconfigured JSON files
Build serverless APIs using HTTP triggersTriggers
Connect to data with input and output bindings
Bind to Azure solutions and third-party services
Use HTTP bindings in tandem with HTTP triggersBindings
Define one API surface for multiple function apps
Create endpoints as reverse proxies to other APIs
Condition proxies to use variablesProxies
Debug C# and JavaScript functions locally
Use debugging tools in Azure portal, VS, and VS Code
Local
debugging
Gain flexibility and develop your way
Write code in C#, JavaScript, F#, and Java
Continuous investment in new, experimental languagesMultiple
languages
Simplify coding for new users with native Azure portal
Select from popular editors, like VS, VS Code, CLI, Maven*Dev options
Choose from six consumption plans to run Functions
Run your first million function executions for freeHosting
options
*VS and VS Code only support C#; Maven only supports Java
Write stateful functions in a serverless environment
Simplify complex, stateful coordination problems
Add the extension to enable advanced scenarios
Durable
Functions
Azure Functions is an open-source project
Functionsruntimeandallextensionsarefullyopensource
https://github.com/Azure/Azure-Functions
Serverless Apps on Azure
Portable Serverless PlatformsFn
Nuclio
OpenFaaS
Galactic Fog
OpenWhisk
Diagrams from https://github.com/cncf/wg-serverless/tree/master/whitepaper
KNative & Friends
Managed Cloud Services
Use Azure Managed Data Platform Services
AZURE SEARCH
AZURE
DATA CATALOG
AZURE STORAGE
BLOBS
AZURE DATA LAKE
STORE
AZURE SQL DATA
WAREHOUSE AZURE SQL DB AZURE COSMOS DB
AZURE
ANALYSIS SERVICES
POWER BI
AZURE DATA LAKE
ANALYTICS
AZURE
HDINSIGHT
AZURE
DATABRICKS
AZURE
STREAM ANALYTICS
AZURE ML ML SERVER
AZURE MySQL DB AZURE PostgreSQL
DB
REDIS CACHE
Open Service Broker for Azure (OSBA)
Open Service
Broker for Azure
(OSBA)
SQL
Database
Event
Hubs
Redis
Cache
MySQL
Database
Cosmos
DB
PosgreSQL
Database
Service
Bus
Azure
Storage
Cloud
Foundry Kubernetes
Service
FabricOpenShift
Easily access to SLA-backed Azure Services such as Azure Database for MySQL
Open Source Tooling
Microsoft drives community-led innovations for Kubernetes
Microsoft also maintains…
Cloud Native
Application Bundles
(CNAB)
Virtual
KubeletHelm BrigadeDraft
68% of Kubernetes users* prefer Helm as their package manager
Visual Studio Code Kubernetes Extensions has 11K monthly active users
*August 2018 bi-annual CNCF survey
DCSF 19 Developing Apps with Containers, Functions and Cloud Services
Find, share, and use software built for k8s
Manage complexity Easy updates
Simple sharing Rollbacks
Simple app development and deployment – into any Kubernetes cluster
Simplified development
Using two simple commands,
developers can now begin working on
container-based applications without
requiring Docker or even installing
Kubernetes themselves
Language support
Draft detects which language your app is
written in, and then uses packs to
generate a Dockerfile and Helm Chart
with the best practices for that language
Developer Workflows
3 Abstractions
• Containers
• Functions, triggered by Events
• Managed Cloud Services
Developer Workflows
Local Cloud
Container
Functions
Services
Code
Docker Desktop
Docker Compose
• docker-compose for local dev
• docker-compose Kubernetes Extension (API
aggregation)
Developer Workflows
Local Cloud
Container
Functions
Services
docker-compose
Azure Functions Runtime
mysql, mongo images CosmosDB
Code
code mounted in local containers
inotify to restart if needed
Enterprise management
& security, developer
productivity, local
Kubernetes runtime
Native local Docker and certified
Kubernetes runtimes for container-first
application development for Windows 10
and Mac
Automated, template-driven generation
of IT-approved Dockerfiles, Docker
Compose files, and CI pipelines boosts
developer productivity
Match desktop and server environments
to avoid “works on my machine” friction
Centrally manage and secure DDE
deployment, upgrades, and
configurations
Commercial enterprise support
Docker Desktop Enterprise
Accelerate “Time-to-
Docker” for Developers
While Lowering App
Pipeline Friction
Fastest & easiest way to onboard
developers to new Docker projects
Supports developer choice of
programming languages and application
frameworks
Accelerates developer productivity with
Docker while delivering secure and
compliant applications
Provides options between CLI and GUI
to meet the needs of developers with
varying Docker expertise
Docker Application
Templates
Azure Dev Spaces
Capabilities
1. Use Azure Dev Spaces to iteratively
develop, test, and debug microservices
targeted for AKS clusters.
2. Azure DevOps has native integration with
Helm and helps simplifying continuous
integration/continuous delivery (CI/CD)
3. Virtual node—a Virtual Kubelet
implementation—allows fast scaling of
services for unpredictable traffic.
4. Azure Monitor provides a single pane of
glass for monitoring over app telemetry,
cluster-to-container level health analytics.
https://github.com/Microsoft/SmartHotel360-AKS-DevSpaces-Demo
Source
code control
Inner loop
Azure
Container
Registry
Azure Pipeline/
DevOps Project
Auto-build
Azure
Monitor
CI/CD
Test
Debug
Azure
DevSpaces
AKS dev
cluster
AKS production cluster
Pods
Container instances
Pods
1
2
3
4
Integrated end-to-end Kubernetes experience
Azure Dev Spaces
Azure Dev Spaces
Azure Dev Spaces
Azure Dev Spaces
Azure Dev Spaces
Developer Workflows
Local Cloud
Container
Functions
Services Azure
Code code synced to cloud
AKS
Azure Functions
code built, started
VS Code Live Share
VS Code Live Share
• You just need VS Code locally
• Code and all setup on your collaborator’s machine
• Code together without setting anything up
• Access services on remote machine from localhost
• Works with Azure Dev Spaces on machine sharing
the session: double jump to AKS
VS Code Live Share with Luca Snoey
Github: @tess1254
Twitter: @Snowy_Turtle
Medium: https://medium.com/@Snowy_Turtle
LinkedIn: https://www.linkedin.com/in/luca-snoey-41911417a/
MS Learn: https://techprofile.microsoft.com/en-us/lucasandbox
Gloo
SOLO GLOO, THE NEXT GENERATION API GATEWAY
www.solo.io/glooe
THE PROBLEM: DISPARATE ECOSYSTEMS, HARD TRANSITION
Monolithic Apps Microservices Serverless
Ansible Kubernetes Azure Functions
APM
Splunk
SOA
Prometheus
OpenTracing
microservices
Azure Monitor
App Insight
Event-driven
Enterprise faces 4 main problems in adopting
innovative architectures:
1. Insolation between brown and green
field
2. Transition is lengthy and diverts essential
personnel from core mission
3. Duplicate redundant tools
4. Requires silo teams
LET Gloo BUILD YOUR HYBRID APPS
Microservices
Proprietary
Serverless
calc.com/add calc.com/sub calc.com/mul
+
-
÷
calc.com/div
×
Hybrid app
+
× -
÷
Portable
Serverless
Monolithic Apps
Developer Workflows
Local Cloud
Container
Functions
Services Azure
Code
debugger attach
to container in cloud
AKS
Azure Functions
Telepresence
Telepresence
Developer Workflows
Local Cloud
Container
Functions
Services Azure
Code local code
AKS
Azure Functions
local process
proxied inside aks
Ksync
Tilt
Tilt
https://medium.com/windmill-engineering/how-tilt-updates-kubernetes-in-seconds-not-minutes-28ddffe2d79f
Tilt
https://github.com/windmilleng/tilt-frontend-demo
Developer Workflows
Local Cloud
Container
Functions
Services Azure
Code
local changes
synced to aks
AKS
Azure Functions
CNAB
Spec for packaging distributed apps
CNAB: package distributed apps
CNABs facilitate the bundling,
installing and managing of
container-native apps — and their
coupled services
Cloud Native Application Bundle
Install and manage distributed app bundles
Duffle: install & manage
distributed app bundles
Simple CLI to interact with CNAB,
for use with your clouds and
services of choice
Duffle
A friendlier cloud installer
Install your app and its baggage
Bundle up not just the app, but
everything it needs to run in the
cloud
Build bundles smarter, not harder
Use mixins for common tools and
clouds, and depend on existing
bundles.
Surprise! It does package
management too
Package and version your bundle,
then distribute it for others to use.
Simplify Application
Delivery
“Container of containers” defines an
application that can be comprised of
multiple services
Removes the need to manage
“mountains of YAML” and eliminates
configuration overhead
Supports Docker Compose, Kubernetes
YAML, Helm Charts, others
Implements the new open standard,
CNAB, announced by Docker and
Microsoft
Parameterized fields allow for flexible
deployment across different
environments, delivering on “code once,
deploy anywhere”
my-app.yml
Docker App
APP DESCRIPTION
name-version-maintainer
APP COMPONENTS
ENVIRONMENT
VARIABLES
default-settings.yml
Build, share and run
multi-service apps in a
single package
deployable to any
infrastructure
Docker Applications
Docker app
• Docker app available today in CLI beta with CLI
plugin
• Implements CNAB spec: install, upgrade, uninstall -
bundle to create invocation image & bundle.json
• Sharing compose based app definitions in Docker
Hub
● Developing Cloud Native Applications with Docker
Desktop and Cloud Services
○ Black belt: 30 April, 4:40 pm, Room 3016
○ Patrick Chanezon
● Porter: an Opinionated CNAB Authoring Experience
○ Open source: 1 May, 4:40 pm, Room 2002
○ Jeremy Rickard
● CNAB panel
○ OSS summit: 2 May, 1:30 pm, Room 2006
○ Michelle Noorali, Darren Pulsipher, Simon Ferquel
CNAB at DockerCon
● Developing New Applications with Docker App
Package
○ Workshop
● Compose and Docker App
○ OSS summit: 2 May, 10:00 am, Room 2006
Docker App at DockerCon
Rate & Share
Rate this session in the DockerCon
App
Follow me @chanezon
Tweet #DockerCon
Create a free Azure Account: https://aka.ms/pat/account
Containers
docs: https://aka.ms/pat/container
learn: https://aka.ms/pat/learn/container
Functions
docs: https://aka.ms/pat/functions
learn: https://aka.ms/pat/learn/functions
We’re hiring: https://aka.ms/awesomejobs
Resources
@bridgetkromhout and @brendandburns for some of the slides
Thank you
@chanezon https://aka.ms/pat/account

More Related Content

PDF
DCSF 19 How Entergy is Mitigating Legacy Windows Operating System Vulnerabili...
PDF
DCSF 19 Microservices API: Routing Across Any Infrastructure
PDF
DCSF 19 Improving the Human Condition with Docker
PDF
Docker Meetup at Docker HQ: Docker Cloud
PPTX
Webinar: How and Why to Containerize Your Legacy Applications
PDF
DCSF 19 Modernizing Insurance with Docker Enterprise: The Physicians Mutual ...
PDF
DCSF 19 Docker Enterprise Platform and Architecture
PDF
DCSF19 Container Security: Theory & Practice at Netflix
DCSF 19 How Entergy is Mitigating Legacy Windows Operating System Vulnerabili...
DCSF 19 Microservices API: Routing Across Any Infrastructure
DCSF 19 Improving the Human Condition with Docker
Docker Meetup at Docker HQ: Docker Cloud
Webinar: How and Why to Containerize Your Legacy Applications
DCSF 19 Modernizing Insurance with Docker Enterprise: The Physicians Mutual ...
DCSF 19 Docker Enterprise Platform and Architecture
DCSF19 Container Security: Theory & Practice at Netflix

What's hot (20)

PDF
DockerCon SF 2015: From Months to Minutes
PPTX
Docker for the Enterprise with Containers as a Service by Banjot Chanana
PDF
DockerCon 18 Cool Hacks: Cloud Native ML with Docker Enterprise Edition
PDF
DCSF19 Transforming a 15+ Year Old Semiconductor Manufacturing Environment
PDF
DockerCon SF 2015: How to Build a Secure DevOps Environment for the Government
PDF
On-the-Fly Containerization of Enterprise Java & .NET Apps by Amjad Afanah
PDF
Use Docker to Deliver Cognitive Services Running Cross Platform and Multi Clo...
PPTX
Overseeing Ship's Surveys and Surveyors Globally Using IoT and Docker by Jay ...
PDF
DCSF19 Containerized Databases for Enterprise Applications
PDF
DCEU 18: 5 Patterns for Success in Application Transformation
PDF
DCSF 19 Mitigating Legacy Windows Operating System Vulnerabilities with Docke...
PDF
DCSF19 Adding a Modern API Layer to ‘Dockerized’ Legacy Apps
PDF
Olivier meetup-boston-2013-jan-21-v2
PDF
DockerCon SF 2015: Beyond CI to Production Scale PaaS with Docker
PDF
DockerCon 18 Cool Hacks: solo.io
PDF
Spring to Image
PDF
Immutable Awesomeness by John Willis and Josh Corman
PDF
Making Friendly Microservices by Michele Titlol
PDF
App sec in the time of docker containers
PDF
Evénement Docker Paris: Anticipez les nouveaux business model et réduisez vos...
DockerCon SF 2015: From Months to Minutes
Docker for the Enterprise with Containers as a Service by Banjot Chanana
DockerCon 18 Cool Hacks: Cloud Native ML with Docker Enterprise Edition
DCSF19 Transforming a 15+ Year Old Semiconductor Manufacturing Environment
DockerCon SF 2015: How to Build a Secure DevOps Environment for the Government
On-the-Fly Containerization of Enterprise Java & .NET Apps by Amjad Afanah
Use Docker to Deliver Cognitive Services Running Cross Platform and Multi Clo...
Overseeing Ship's Surveys and Surveyors Globally Using IoT and Docker by Jay ...
DCSF19 Containerized Databases for Enterprise Applications
DCEU 18: 5 Patterns for Success in Application Transformation
DCSF 19 Mitigating Legacy Windows Operating System Vulnerabilities with Docke...
DCSF19 Adding a Modern API Layer to ‘Dockerized’ Legacy Apps
Olivier meetup-boston-2013-jan-21-v2
DockerCon SF 2015: Beyond CI to Production Scale PaaS with Docker
DockerCon 18 Cool Hacks: solo.io
Spring to Image
Immutable Awesomeness by John Willis and Josh Corman
Making Friendly Microservices by Michele Titlol
App sec in the time of docker containers
Evénement Docker Paris: Anticipez les nouveaux business model et réduisez vos...
Ad

Similar to DCSF 19 Developing Apps with Containers, Functions and Cloud Services (20)

PPTX
GIDS 2019: Developing Apps with Containers, Functions and Cloud Services
PDF
Azure from Rookie to DevStart
PPTX
Using Azure DevOps to continuously build, test, and deploy containerized appl...
PPTX
Dev day serverless from a devs perspective
PPTX
Azure full
PPTX
KubeCon China 2019 - Building Apps with Containers, Functions and Managed Ser...
PDF
Running Containers on Azure
PDF
The state of containers for your DevOps journey
PDF
Getting started with Serverless applications on Microsoft Azure
PDF
Accelerate Application Innovation Journey with Azure Kubernetes Service
PPTX
Kubernetes VS. App Service: When the orchestrator challenges the platform
PPTX
Kubernetes for .NET Developers
PPTX
App Modernization with Microsoft Azure
PPTX
Container Orchestration for .NET Developers
PPTX
Tokyo Azure Meetup #7 - Introduction to Serverless Architectures with Azure F...
PDF
Adobe nondisclosure-agreement-automation-solution-sb.pd
PPTX
Running Containers On Azure
PDF
04_Azure Kubernetes Service: Basic Practices for Developers_GAB2019
PDF
Az 104 session 2 implement and manage azure webapps and container
PDF
Providing Microsoft Azure Functions And Microsoft Dataverse Resources With Cl...
GIDS 2019: Developing Apps with Containers, Functions and Cloud Services
Azure from Rookie to DevStart
Using Azure DevOps to continuously build, test, and deploy containerized appl...
Dev day serverless from a devs perspective
Azure full
KubeCon China 2019 - Building Apps with Containers, Functions and Managed Ser...
Running Containers on Azure
The state of containers for your DevOps journey
Getting started with Serverless applications on Microsoft Azure
Accelerate Application Innovation Journey with Azure Kubernetes Service
Kubernetes VS. App Service: When the orchestrator challenges the platform
Kubernetes for .NET Developers
App Modernization with Microsoft Azure
Container Orchestration for .NET Developers
Tokyo Azure Meetup #7 - Introduction to Serverless Architectures with Azure F...
Adobe nondisclosure-agreement-automation-solution-sb.pd
Running Containers On Azure
04_Azure Kubernetes Service: Basic Practices for Developers_GAB2019
Az 104 session 2 implement and manage azure webapps and container
Providing Microsoft Azure Functions And Microsoft Dataverse Resources With Cl...
Ad

More from Docker, Inc. (20)

PDF
Containerize Your Game Server for the Best Multiplayer Experience
PDF
How to Improve Your Image Builds Using Advance Docker Build
PDF
Build & Deploy Multi-Container Applications to AWS
PDF
Securing Your Containerized Applications with NGINX
PDF
How To Build and Run Node Apps with Docker and Compose
PDF
Hands-on Helm
PDF
Distributed Deep Learning with Docker at Salesforce
PDF
The First 10M Pulls: Building The Official Curl Image for Docker Hub
PDF
Monitoring in a Microservices World
PDF
COVID-19 in Italy: How Docker is Helping the Biggest Italian IT Company Conti...
PDF
Predicting Space Weather with Docker
PDF
Become a Docker Power User With Microsoft Visual Studio Code
PDF
How to Use Mirroring and Caching to Optimize your Container Registry
PDF
Monolithic to Microservices + Docker = SDLC on Steroids!
PDF
Kubernetes at Datadog Scale
PDF
Labels, Labels, Labels
PDF
Using Docker Hub at Scale to Support Micro Focus' Delivery and Deployment Model
PDF
Build & Deploy Multi-Container Applications to AWS
PDF
From Fortran on the Desktop to Kubernetes in the Cloud: A Windows Migration S...
PDF
Developing with Docker for the Arm Architecture
Containerize Your Game Server for the Best Multiplayer Experience
How to Improve Your Image Builds Using Advance Docker Build
Build & Deploy Multi-Container Applications to AWS
Securing Your Containerized Applications with NGINX
How To Build and Run Node Apps with Docker and Compose
Hands-on Helm
Distributed Deep Learning with Docker at Salesforce
The First 10M Pulls: Building The Official Curl Image for Docker Hub
Monitoring in a Microservices World
COVID-19 in Italy: How Docker is Helping the Biggest Italian IT Company Conti...
Predicting Space Weather with Docker
Become a Docker Power User With Microsoft Visual Studio Code
How to Use Mirroring and Caching to Optimize your Container Registry
Monolithic to Microservices + Docker = SDLC on Steroids!
Kubernetes at Datadog Scale
Labels, Labels, Labels
Using Docker Hub at Scale to Support Micro Focus' Delivery and Deployment Model
Build & Deploy Multi-Container Applications to AWS
From Fortran on the Desktop to Kubernetes in the Cloud: A Windows Migration S...
Developing with Docker for the Arm Architecture

Recently uploaded (20)

PDF
GamePlan Trading System Review: Professional Trader's Honest Take
PDF
Advanced IT Governance
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
KodekX | Application Modernization Development
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
Big Data Technologies - Introduction.pptx
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
Cloud computing and distributed systems.
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
GamePlan Trading System Review: Professional Trader's Honest Take
Advanced IT Governance
Network Security Unit 5.pdf for BCA BBA.
KodekX | Application Modernization Development
NewMind AI Weekly Chronicles - August'25 Week I
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
Dropbox Q2 2025 Financial Results & Investor Presentation
Reach Out and Touch Someone: Haptics and Empathic Computing
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Big Data Technologies - Introduction.pptx
Unlocking AI with Model Context Protocol (MCP)
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Spectral efficient network and resource selection model in 5G networks
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Review of recent advances in non-invasive hemoglobin estimation
MYSQL Presentation for SQL database connectivity
Cloud computing and distributed systems.
Mobile App Security Testing_ A Comprehensive Guide.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”

DCSF 19 Developing Apps with Containers, Functions and Cloud Services

  • 1. Patrick Chanezon Cloud Advocate, Microsoft @chanezon Developing Apps with Containers, Functions and Cloud Services
  • 6. Microsoft’s mission “Our mission is to empower every person and every organization on the planet to achieve more.” https://www.microsoft.com/en-us/about
  • 7. 3 Abstractions to build cloud apps • Containers • Functions, triggered by Events • Managed Cloud Services
  • 9. Docker Enterprise 3.0 Securely build, share and run any application, anywhere ANY APPLICATION EVERY STAGE ANYWHERE Hybrid Cloud VM Bare Metal Edge RunBuild Share
  • 11. Deploy your applications quickly and predictably Scale your applications on the fly Roll out new features seamlessly Limit hardware usage to required resources only Portable Public, private, hybrid, multi-cloud Extensible Modular, pluggable, hookable, composable Self-healing Auto-placement, auto-restart, auto-replication, auto-scaling Kubernetes
  • 13. Containers in Azure Choice of developer tools and clients Azure Container Registry Docker Hub App Service Deploy web apps or APIs using containers in a PaaS environment Service Fabric Modernize .NET applications to microservices using Windows Server containers Kubernetes Service Container Instance Scale and orchestrate Linux containers using Kubernetes Ecosystem Bring your Partner solutions that run great on Azure Elastically burst from your Azure Kubernetes Service (AKS) cluster
  • 14. VM Pods VM Pods VM Pods VM Pods Kubernetes control pane Azure Container Instances (ACI) Pods ACI Connector Application Architect Infrastructure Architect Deployment/ tasks Bursting with the ACI Connector/ Virtual Kubelet
  • 17. *Supporting services, like storage and networking, may be charged separately. Pay-per-use Only pay for what you use: billing is typically calculated on the number of function calls, code execution time, and memory used.* Instant, event-driven scalability Application components react to events and triggers in near real-time with virtually unlimited scalability; compute resources are used as needed. Full abstraction of servers Developers can just focus on their code—there are no distractions around server management, capacity planning, or availability. What is serverless?
  • 18. FaaS is at the center of serverless Functions-as-a-Service programming model use functions to achieve true serverless compute Single responsibility Functions are single- purposed, reusable pieces of code that process an input and return a result Short lived Functions don’t stick around when finished executing, freeing up resources for further executions Event driven & scalable Functions respond to predefined events, and are instantly replicated as many times as needed Stateless Functions don’t hold any persistent state and don’t rely on the state of any other processes
  • 19. What is Azure Functions? Anevent-based,serverlesscomputeexperiencethatacceleratesappdevelopment Azure Functions = FaaS++ Integrated programming model Use built-in triggers and bindings to define when a function is invoked and to what data it connects Enhanced development experience Code, test and debug locally using your preferred editor or the easy-to-use web based interface including monitoring Hosting options flexibility Choose the deployment model that better fits your business needs without compromising development experience
  • 20. Boost development efficiency Integrate with Azure Application Insights Get near real-time details about function apps See metrics around failures, executions, etc.Monitoring Save time with built-in DevOps Deploy functions using App Service for CI Leverage Microsoft, partner services for CDCI/CD Use triggers to define how functions are invoked Avoid hardcoding with preconfigured JSON files Build serverless APIs using HTTP triggersTriggers Connect to data with input and output bindings Bind to Azure solutions and third-party services Use HTTP bindings in tandem with HTTP triggersBindings Define one API surface for multiple function apps Create endpoints as reverse proxies to other APIs Condition proxies to use variablesProxies Debug C# and JavaScript functions locally Use debugging tools in Azure portal, VS, and VS Code Local debugging
  • 21. Gain flexibility and develop your way Write code in C#, JavaScript, F#, and Java Continuous investment in new, experimental languagesMultiple languages Simplify coding for new users with native Azure portal Select from popular editors, like VS, VS Code, CLI, Maven*Dev options Choose from six consumption plans to run Functions Run your first million function executions for freeHosting options *VS and VS Code only support C#; Maven only supports Java Write stateful functions in a serverless environment Simplify complex, stateful coordination problems Add the extension to enable advanced scenarios Durable Functions
  • 22. Azure Functions is an open-source project Functionsruntimeandallextensionsarefullyopensource https://github.com/Azure/Azure-Functions
  • 24. Portable Serverless PlatformsFn Nuclio OpenFaaS Galactic Fog OpenWhisk Diagrams from https://github.com/cncf/wg-serverless/tree/master/whitepaper
  • 27. Use Azure Managed Data Platform Services AZURE SEARCH AZURE DATA CATALOG AZURE STORAGE BLOBS AZURE DATA LAKE STORE AZURE SQL DATA WAREHOUSE AZURE SQL DB AZURE COSMOS DB AZURE ANALYSIS SERVICES POWER BI AZURE DATA LAKE ANALYTICS AZURE HDINSIGHT AZURE DATABRICKS AZURE STREAM ANALYTICS AZURE ML ML SERVER AZURE MySQL DB AZURE PostgreSQL DB REDIS CACHE
  • 28. Open Service Broker for Azure (OSBA) Open Service Broker for Azure (OSBA) SQL Database Event Hubs Redis Cache MySQL Database Cosmos DB PosgreSQL Database Service Bus Azure Storage Cloud Foundry Kubernetes Service FabricOpenShift Easily access to SLA-backed Azure Services such as Azure Database for MySQL
  • 30. Microsoft drives community-led innovations for Kubernetes Microsoft also maintains… Cloud Native Application Bundles (CNAB) Virtual KubeletHelm BrigadeDraft 68% of Kubernetes users* prefer Helm as their package manager Visual Studio Code Kubernetes Extensions has 11K monthly active users *August 2018 bi-annual CNCF survey
  • 32. Find, share, and use software built for k8s Manage complexity Easy updates Simple sharing Rollbacks
  • 33. Simple app development and deployment – into any Kubernetes cluster Simplified development Using two simple commands, developers can now begin working on container-based applications without requiring Docker or even installing Kubernetes themselves Language support Draft detects which language your app is written in, and then uses packs to generate a Dockerfile and Helm Chart with the best practices for that language
  • 35. 3 Abstractions • Containers • Functions, triggered by Events • Managed Cloud Services
  • 38. Docker Compose • docker-compose for local dev • docker-compose Kubernetes Extension (API aggregation)
  • 39. Developer Workflows Local Cloud Container Functions Services docker-compose Azure Functions Runtime mysql, mongo images CosmosDB Code code mounted in local containers inotify to restart if needed
  • 40. Enterprise management & security, developer productivity, local Kubernetes runtime Native local Docker and certified Kubernetes runtimes for container-first application development for Windows 10 and Mac Automated, template-driven generation of IT-approved Dockerfiles, Docker Compose files, and CI pipelines boosts developer productivity Match desktop and server environments to avoid “works on my machine” friction Centrally manage and secure DDE deployment, upgrades, and configurations Commercial enterprise support Docker Desktop Enterprise
  • 41. Accelerate “Time-to- Docker” for Developers While Lowering App Pipeline Friction Fastest & easiest way to onboard developers to new Docker projects Supports developer choice of programming languages and application frameworks Accelerates developer productivity with Docker while delivering secure and compliant applications Provides options between CLI and GUI to meet the needs of developers with varying Docker expertise Docker Application Templates
  • 43. Capabilities 1. Use Azure Dev Spaces to iteratively develop, test, and debug microservices targeted for AKS clusters. 2. Azure DevOps has native integration with Helm and helps simplifying continuous integration/continuous delivery (CI/CD) 3. Virtual node—a Virtual Kubelet implementation—allows fast scaling of services for unpredictable traffic. 4. Azure Monitor provides a single pane of glass for monitoring over app telemetry, cluster-to-container level health analytics. https://github.com/Microsoft/SmartHotel360-AKS-DevSpaces-Demo Source code control Inner loop Azure Container Registry Azure Pipeline/ DevOps Project Auto-build Azure Monitor CI/CD Test Debug Azure DevSpaces AKS dev cluster AKS production cluster Pods Container instances Pods 1 2 3 4 Integrated end-to-end Kubernetes experience
  • 49. Developer Workflows Local Cloud Container Functions Services Azure Code code synced to cloud AKS Azure Functions code built, started
  • 50. VS Code Live Share
  • 51. VS Code Live Share • You just need VS Code locally • Code and all setup on your collaborator’s machine • Code together without setting anything up • Access services on remote machine from localhost • Works with Azure Dev Spaces on machine sharing the session: double jump to AKS
  • 52. VS Code Live Share with Luca Snoey Github: @tess1254 Twitter: @Snowy_Turtle Medium: https://medium.com/@Snowy_Turtle LinkedIn: https://www.linkedin.com/in/luca-snoey-41911417a/ MS Learn: https://techprofile.microsoft.com/en-us/lucasandbox
  • 53. Gloo
  • 54. SOLO GLOO, THE NEXT GENERATION API GATEWAY www.solo.io/glooe
  • 55. THE PROBLEM: DISPARATE ECOSYSTEMS, HARD TRANSITION Monolithic Apps Microservices Serverless Ansible Kubernetes Azure Functions APM Splunk SOA Prometheus OpenTracing microservices Azure Monitor App Insight Event-driven Enterprise faces 4 main problems in adopting innovative architectures: 1. Insolation between brown and green field 2. Transition is lengthy and diverts essential personnel from core mission 3. Duplicate redundant tools 4. Requires silo teams
  • 56. LET Gloo BUILD YOUR HYBRID APPS Microservices Proprietary Serverless calc.com/add calc.com/sub calc.com/mul + - ÷ calc.com/div × Hybrid app + × - ÷ Portable Serverless Monolithic Apps
  • 57. Developer Workflows Local Cloud Container Functions Services Azure Code debugger attach to container in cloud AKS Azure Functions
  • 60. Developer Workflows Local Cloud Container Functions Services Azure Code local code AKS Azure Functions local process proxied inside aks
  • 61. Ksync
  • 62. Tilt
  • 65. Developer Workflows Local Cloud Container Functions Services Azure Code local changes synced to aks AKS Azure Functions
  • 66. CNAB
  • 67. Spec for packaging distributed apps CNAB: package distributed apps CNABs facilitate the bundling, installing and managing of container-native apps — and their coupled services Cloud Native Application Bundle
  • 68. Install and manage distributed app bundles Duffle: install & manage distributed app bundles Simple CLI to interact with CNAB, for use with your clouds and services of choice Duffle
  • 69. A friendlier cloud installer Install your app and its baggage Bundle up not just the app, but everything it needs to run in the cloud Build bundles smarter, not harder Use mixins for common tools and clouds, and depend on existing bundles. Surprise! It does package management too Package and version your bundle, then distribute it for others to use.
  • 70. Simplify Application Delivery “Container of containers” defines an application that can be comprised of multiple services Removes the need to manage “mountains of YAML” and eliminates configuration overhead Supports Docker Compose, Kubernetes YAML, Helm Charts, others Implements the new open standard, CNAB, announced by Docker and Microsoft Parameterized fields allow for flexible deployment across different environments, delivering on “code once, deploy anywhere” my-app.yml Docker App APP DESCRIPTION name-version-maintainer APP COMPONENTS ENVIRONMENT VARIABLES default-settings.yml Build, share and run multi-service apps in a single package deployable to any infrastructure Docker Applications
  • 71. Docker app • Docker app available today in CLI beta with CLI plugin • Implements CNAB spec: install, upgrade, uninstall - bundle to create invocation image & bundle.json • Sharing compose based app definitions in Docker Hub
  • 72. ● Developing Cloud Native Applications with Docker Desktop and Cloud Services ○ Black belt: 30 April, 4:40 pm, Room 3016 ○ Patrick Chanezon ● Porter: an Opinionated CNAB Authoring Experience ○ Open source: 1 May, 4:40 pm, Room 2002 ○ Jeremy Rickard ● CNAB panel ○ OSS summit: 2 May, 1:30 pm, Room 2006 ○ Michelle Noorali, Darren Pulsipher, Simon Ferquel CNAB at DockerCon
  • 73. ● Developing New Applications with Docker App Package ○ Workshop ● Compose and Docker App ○ OSS summit: 2 May, 10:00 am, Room 2006 Docker App at DockerCon
  • 74. Rate & Share Rate this session in the DockerCon App Follow me @chanezon Tweet #DockerCon
  • 75. Create a free Azure Account: https://aka.ms/pat/account Containers docs: https://aka.ms/pat/container learn: https://aka.ms/pat/learn/container Functions docs: https://aka.ms/pat/functions learn: https://aka.ms/pat/learn/functions We’re hiring: https://aka.ms/awesomejobs Resources
  • 76. @bridgetkromhout and @brendandburns for some of the slides Thank you