Serverless es un estándar emergente de la industria para el desarrollo de aplicaciones a eventos ¿o una moda?, Hablemos del diseño de este tipo de aplicaciones en el mundo de Azure. Veremos como desarrollar desencadenadores de eventos con Azure Functions, flujos de trabajo con Logic Apps.
3. Alberto Diaz Martin
CTIO – Azure MVP
ENCAMINA
http://blogs.encamina.com/por-una-nube-sostenible/
@adiazcan
Alberto Diaz cuenta con más de 14 años de experiencia en la Industria IT, todos ellos trabajando con tecnologías
Microsoft. Actualmente, es Chief Technology Innovation Officer en ENCAMINA, liderando el desarrollo de
software con tecnología Microsoft, y miembro del equipo de Dirección. Para la comunidad, trabaja como
organizador y speaker de las conferencias más relevantes del mundo Microsoft en España, en las cuales es uno
de los referentes en SharePoint, Office 365 y Azure. Autor de diversos libros y artículos en revistas profesionales
y blogs, en 2013 empezó a formar parte del equipo de Dirección de CompartiMOSS, una revista digital sobre
tecnologías Microsoft. Desde 2011 ha sido nombrado Microsoft MVP, reconocimiento que ha renovado por
séptimo año consecutivo. Se define como un geek, amante de los smartphones y desarrollador. Fundador de
TenerifeDev (www.tenerifedev.com), un grupo de usuarios de .NET en Tenerife, y coordinador de SUGES (Grupo
de Usuarios de SharePoint de España, www.suges.es)
15. #Gapand2017
Distributed Architecture
• Design stateless and ASync solutions to enable scaling.
• Connect with other Azure Services via triggers and bindings.
• Leverage proxies for API abstraction and composition.
• Use Logic Apps to orchestrate workflows
• Use managed connectors to abstract calls to cloud and on-premises services.
Cloud DevOps
• Design for automation. Use ARM templates.
• Design DevOps for the cloud: safe deployment with test/development and
production environment separation and test on the target platform.
• Monitor the running apps with App Insights and tune for best experience.
18. #Gapand2017
/FB
/FA Function A
/FC
API proxy endpoints
HttpTrigger function endpoints
Key:
Design: API Abstraction and Composition
Function App A
Function C/FC
Function App C
Function B/FB
Function App B
20. #Gapand2017
Workflow in the cloud
Powerful control flow
Connect functions and APIs
Declarative definition to
persist in source control and
drive deployments
21. #Gapand2017
Logic Apps
Cloud APIs and platform
• Supports over 125 built-in connectors
• Scales to meet your needs
• Enables rapid development
• Extends with custom APIs and
Functions
API connections
• Authenticate once and reuse
25. #Gapand2017
Azure Functions Core Tools
Provides the entire Functions runtime
Trigger off of Azure events and debug locally
JavaScript
Use Visual Studio Code or any Node debugger
C#
Use Visual Studio 2015 or 2017
Use class libraries with attributes in Visual Studio 2017
26. #Gapand2017
Based on class libraries
Get the full power of
IntelliSense, unit testing, and
local debugging
Use WebJobs attributes to
define triggers and bindings
Learn more at https://aka.ms/vs2017functiontools
28. #Gapand2017
Supports Node.js v6.5.0
Supports JS and TypeScript
You can use the callback or
return a Promise
VS Code support for local
debugging via CLI
VS Code supports rich
Node.js debugging
37. #Gapand2017
Developer experience
Same consistent Programming Model
Same Azure Functions portal
Publish directly from Visual Studio tooling
Leverage triggers: timer trigger and new SQL Service Broker trigger
Administrator features
Take advantage of Azure Functions on premises
Workers can run in spare compute – i.e. desktops left on overnight within orgs
Only provision two types of roles
Management Role – Hosts Portal, Publishing Endpoint and
Worker Role – Runs Function in Windows Server Containers
39. #Gapand2017
Azure offers a comprehensive Serverless Application Platform
Azure Functions bindings and local DevEx optimize time to market
Azure Logic Apps provide orchestration and integration with 125+
connectors