Code First with Serverless Azure Functions

Sr. Cloud Developer Advocate at Microsoft
Oct. 22, 2017
Code First with Serverless Azure Functions
Code First with Serverless Azure Functions
Code First with Serverless Azure Functions
Code First with Serverless Azure Functions
Code First with Serverless Azure Functions
Code First with Serverless Azure Functions
Code First with Serverless Azure Functions
Code First with Serverless Azure Functions
Code First with Serverless Azure Functions
Code First with Serverless Azure Functions
Code First with Serverless Azure Functions
Code First with Serverless Azure Functions
Code First with Serverless Azure Functions
Code First with Serverless Azure Functions
Code First with Serverless Azure Functions
Code First with Serverless Azure Functions
Code First with Serverless Azure Functions
Code First with Serverless Azure Functions
Code First with Serverless Azure Functions
Code First with Serverless Azure Functions
Code First with Serverless Azure Functions
Code First with Serverless Azure Functions
Code First with Serverless Azure Functions
Code First with Serverless Azure Functions
Code First with Serverless Azure Functions
Code First with Serverless Azure Functions
Code First with Serverless Azure Functions
Code First with Serverless Azure Functions
Code First with Serverless Azure Functions
Code First with Serverless Azure Functions
Code First with Serverless Azure Functions
Code First with Serverless Azure Functions
Code First with Serverless Azure Functions
Code First with Serverless Azure Functions
Code First with Serverless Azure Functions
Code First with Serverless Azure Functions
Code First with Serverless Azure Functions
Code First with Serverless Azure Functions
Code First with Serverless Azure Functions
Code First with Serverless Azure Functions
Code First with Serverless Azure Functions
Code First with Serverless Azure Functions
Code First with Serverless Azure Functions
1 of 43

More Related Content

What's hot

SharePoint 2013 Javascript Object ModelSharePoint 2013 Javascript Object Model
SharePoint 2013 Javascript Object ModelInnoTech
Building API in the cloud using Azure FunctionsBuilding API in the cloud using Azure Functions
Building API in the cloud using Azure FunctionsAleksandar Bozinovski
Creating REST Webservice With NetBeansCreating REST Webservice With NetBeans
Creating REST Webservice With NetBeansNeil Ghosh
Chris OBrien - Weaving Enterprise Solutions into Office ProductsChris OBrien - Weaving Enterprise Solutions into Office Products
Chris OBrien - Weaving Enterprise Solutions into Office ProductsChris O'Brien
Introduction to the Client OM in SharePoint 2010Introduction to the Client OM in SharePoint 2010
Introduction to the Client OM in SharePoint 2010Ben Robb
Web app job and functions  - TUGAIT 2017Web app job and functions  - TUGAIT 2017
Web app job and functions - TUGAIT 2017Steef-Jan Wiggers

Similar to Code First with Serverless Azure Functions

Charla   desarrollo de apps con sharepoint y office 365Charla   desarrollo de apps con sharepoint y office 365
Charla desarrollo de apps con sharepoint y office 365Luis Valencia
Tutorial, Part 2: SharePoint 101: Jump-Starting the Developer by Rob Windsor ...Tutorial, Part 2: SharePoint 101: Jump-Starting the Developer by Rob Windsor ...
Tutorial, Part 2: SharePoint 101: Jump-Starting the Developer by Rob Windsor ...SPTechCon
Chris O'Brien - Best bits of Azure for Office 365/SharePoint developersChris O'Brien - Best bits of Azure for Office 365/SharePoint developers
Chris O'Brien - Best bits of Azure for Office 365/SharePoint developersChris O'Brien
Going Serverless with Azure FunctionsGoing Serverless with Azure Functions
Going Serverless with Azure FunctionsShahed Chowdhuri
Code first in the cloud: going serverless with AzureCode first in the cloud: going serverless with Azure
Code first in the cloud: going serverless with AzureJeremy Likness
[Serverless Meetup Tokyo #3] Serverless in Azure (Azure Functionsのアップデート、事例、デ...[Serverless Meetup Tokyo #3] Serverless in Azure (Azure Functionsのアップデート、事例、デ...
[Serverless Meetup Tokyo #3] Serverless in Azure (Azure Functionsのアップデート、事例、デ...Naoki (Neo) SATO

Similar to Code First with Serverless Azure Functions(20)

Recently uploaded

Google Cloud Study Jams Info SessionGoogle Cloud Study Jams Info Session
Google Cloud Study Jams Info SessionGDSCPCCE
The Flutter Job Market At The MomentThe Flutter Job Market At The Moment
The Flutter Job Market At The MomentAhmed Abu Eldahab
Navigating the FutureNavigating the Future
Navigating the FutureOnBoard
"Architecture assessment from classics to details",  Dmytro Ovcharenko"Architecture assessment from classics to details",  Dmytro Ovcharenko
"Architecture assessment from classics to details", Dmytro OvcharenkoFwdays
UiPath Tips and Techniques for Debugging - Session 3UiPath Tips and Techniques for Debugging - Session 3
UiPath Tips and Techniques for Debugging - Session 3DianaGray10
Easy Salesforce CI/CD with Open Source Only - Dreamforce 23Easy Salesforce CI/CD with Open Source Only - Dreamforce 23
Easy Salesforce CI/CD with Open Source Only - Dreamforce 23NicolasVuillamy1

Code First with Serverless Azure Functions

Editor's Notes

  1. (Introductions and set expectations that this presentation is designed to discuss the role of Azure as the cloud computing platform for a business’s digital transformation.)
  2.     Yochay writes books, blogs, and articles about scale, apps, and good end-2-end user’s experience.
  3. Talking points: (New) Note to speaker: no extra clicks needed, all visuals will fly in on their own at page load time. Before Cloud (or even now), let’s say you run a successful business and you try to build business apps, you have two options. You can either build on premises or co-location. You will go and buy servers and infrastructure to run your business applications. With that came many questions when you build and manage your own server. From what servers to buy, how to provision my new server, what do I do if there is hardware failure, to how to deploy my code and patch my servers, there are simply too many things to consider. It can be overwhelming when you manage your own physical servers.  
  4. points: (New) Note to speaker: no extra clicks needed Well, a much cleaner picture, isn’t it? A few years later, there is this thing called “IaaS”. The idea is, you don’t need to buy or build your own servers, use our infrastructure service, aka IaaS. With that, you don’t have to worry about provisioning your servers, or securing the physical location of your server farm. Many questions go away. But, there is but… you still need to think about which IOS to use, how to patch the server, in addition to managing your business apps. Can those tedious tasks be taken care of as well?
  5. Talking points: (New) Yes. We have this service called Platform as a Service, PaaS. What is great about it is, VM patching, IOS selection, back up and code deployment are all built into PaaS platform for you. Isn’t that great? Now only four questions remain, How many servers do I need? What is the right size of server for my biz? S1, P3? How can I increase server utilization? More importantly, how I scale my app? Let’s see how everything works together so far --- transition into the IaaS & PaaS chart.
  6. Abstraction of servers, infrastructure and configuration of operating system Event-driven scale Sub-second billing Stateless Serverless compute is a fully managed service. Some refer to it as Functions as a Service OS and Framework patching is performed for you There is zero administrative tasks and no need to manage any infrastructure You just deploy your code (function) and it runs Your code runs within seconds and for very short period of time Serverless compute scales quickly (almost instantly) and vastly Automatically scales within seconds No scale configuration is required (there is no way to configure scale or limits) Scales to match any given workload. Scales from zero to handle tens of thousands concurrent functions invocations within seconds Pay only for the time your code is running Serverless compute reacts to events React, in near real-time, to events and triggers Triggered by virtually any event from Azure service or 3rd party services Setup time, provisioning is long & costly
  7. “Pinnacle of PaaS compute” Not just hardware “servers”, but software servers are also managed for you Focus on business logic, not solving technical problems not core to business Lower effort to get started makes it easier to experiment (bots, etc.) Benefits of “Serverless”
  8. Bindings abstract away where the data is coming to Logic Apps Programming free paradigm with a visual designer, drag and drop workflows With Connectors to different types of services (eg an FTP server) Talking Points: (Updated on 4/3/17) Lets talk about what really makes up MSFT’s Serverless platform: At the center of the Serverless platform, is our compute offerings: Azure Functions and Azure Logic Apps. Azure Functions is an event based Serverless compute experience that helps you accelerate your development. Run time is open. Function code can be executed in vm or somewhere else, on prem or in clould. Logic Apps is a powerful orchestration tool. It enables building a Serverless app in minutes – by orchestrating multiple functions using a visual workflow tool. Say you have your apps up and running using Serverless. Congratulations! You now need to collect intelligence from different apps across platforms to take actions upon. There are a few essential components which we think are core to building Serverless applications are: Data/ Storage –Functions has triggers and bindings with Azure document DB and Azure Blob storage ** Triggers: Triggers are event responses used to trigger your custom code. They allow you to respond to events across the Azure platform or on premise. ** Bindings: Bindings represent the necessary meta data used to connect your code to the desired trigger or associated input or output data. Messaging such as queues and topics using Azure Service Bus and Azure Event Hubs Integration – that includes core LOB apps and SaaS apps integration via Azure Logic Apps. Intelligence on data and sentiment/ predictive analysis using Cognitive services and Machine learning Conversation as a service – how do we equip developers to build apps that offer an end-to-end experience for their end users – Azure Bot Service offers a Serverless interactive bot experience. More, developers are spending more time writing code that allows them to add huge business impact with Serverless. MSFT offers numerous development tools such as IDE Support for Visual Studio in functions and Logic Apps, enables local development (vs web browser coding environment), visual debugging capability, all with your tools of choice. Lastly, I also want to highlight top scenarios and use cases for Serverless: Real-time Stream analytics: Customers can use Functions to feed real-time streams of data from application tracking into structured data and store it in SQL online. SaaS event processing: Customers can use Functions and Logic Apps to analyze data from an excel file in Onedrive and perform validation, filtration, sorting and convert data into consumable business charts Web app architecture: Used a lot in creating targeted marketing collaterals – when a customer clicks on a webpage, it triggers a webhook, that uses a function to create an ad that matches the customer profile and displays a completed webpage. Real-time bot messaging: When customers send a message to a chatbox, Functions calls Cortana analytics to generate appropriate answers and sends a response back. //from before: Customers have different paths to build a Serverless app – start by building the distributed application components using functions by leveraging the numerous templates and declarative bindings Or Start with the workflow and orchestration of Serverless application using Azure Logic Apps. The visual designer enables developers to quickly and easily author, edit and visualize orchestration of multiple functions and workflow.
  9. In today’s cloud enabled world, businesses are solving for maximum efficiency and faster time to market, while reducing IT spend. Over the years we have seen businesses evolve from spinning VMs to leveraging the benefits of PaaS cloud such as managed infrastructure, scalability, high availability and cost. Today, more businesses are trying to solve for what is core to their business focus – delivering services faster to their customers, while reducing IT spend significantly. The answer comes in the form of Serverless application platform. In industry terms, when you hear someone say “Serverless” more often than not they are talking about Serveless Compute services which form the glue that enable developers to build their apps faster leveraging a variety of other PaaS services. Serverless lets businesses maximize their benefits of the PaaS cloud by offering a fully managed infrastructure, with no servers to manage, provision and patch; hence reducing management overhead significantly. The event triggered programming model, allows for continuous auto-scaling and micro billing capabilities. Event-triggered compute and event-triggered scaling allows businesses to pay only for the compute power that was used, depending on the size of the workload.
  10. Simple hello world from portal Show file -> new experience in Visual Studio 2017 Public hello world with output to queue
  11. Accuweather Function Use Replace On-Prem Cron/Batch Servers Needed a system that supports multiple languages Use a combination of Event & Timer Triggers Initial Use Case: Automation of API Log Analytics Download Logs Periodically from FTP Site Change their names before storing Replicate to Cool Storage for DR purposes Run Analytics (not in Azure Functions)
  12. Queue trigger -> count in table
  13. Hello world -> queue Queue trigger -> logs
  14. https://msit.powerbi.com/groups/me/reports/f9141fdb-7943-46af-8eda-42822e19a501/ReportSection3 My simple logic app Twitter application Show solution in Ibiza Show PowerBI
  15. -Started with BizTalk server (in for 17 years) – how can we move things faster between enterprise integration? LogicApps was born out 100% out of Azure. -how to reduce integration from weeks/months to days?
  16. Call out that we now support stored procs on-prem
  17. Logic Apps can integrate with “anything” (APIs) and solve small or complex problems. Automation in a secure and reliable environment fast and easy. Connect Anything: On-premises, hybrid and cloud Mission critical, complex integration scenarios Business productivity Agile Business: Quickly create workflows Position to the future API centric Transform Business: Extract value from both (on-premises and cloud apps) Build Holistic integration solutions.
  18. Show existing