Successfully reported this slideshow.
Your SlideShare is downloading. ×

Fast Focus: Azure Functions

Loading in …3
×

Check these out next

1 of 27 Ad
1 of 27 Ad

Fast Focus: Azure Functions

Azure functions enables developers to host and run chunks of code in the cloud, without the need for creating and maintaining the infrastructure around that code, such a solutions and projects, as you do when developing websites. They are event driven, serverless, compute-on-demand experiences that you can write in just about any language, from JavaScript to C# to Python, Ruby, and PHP. Azure functions can enable integrated backend operations fora wide array of scenarios including web and apps, IoT, and more. With Azure functions, you can immediately get your code up and running, which is essential in today's ever changing technology world. In this session, you'll learn how Azure Functions apps can help you make the jump to serverless.

Azure functions enables developers to host and run chunks of code in the cloud, without the need for creating and maintaining the infrastructure around that code, such a solutions and projects, as you do when developing websites. They are event driven, serverless, compute-on-demand experiences that you can write in just about any language, from JavaScript to C# to Python, Ruby, and PHP. Azure functions can enable integrated backend operations fora wide array of scenarios including web and apps, IoT, and more. With Azure functions, you can immediately get your code up and running, which is essential in today's ever changing technology world. In this session, you'll learn how Azure Functions apps can help you make the jump to serverless.

Advertisement
Advertisement

More Related Content

Slideshows for you (17)

Similar to Fast Focus: Azure Functions (20)

Advertisement
Advertisement

Fast Focus: Azure Functions

  1. 1. Fast Focus on Azure Functions Brian Clark @_clarkio Microsoft
  2. 2. “What in the world is serverless?”
  3. 3. Serverless is to servers as wireless is to wires
  4. 4. Serverless
  5. 5. The Evolution of the Cloud
  6. 6. The Evolution of the Cloud
  7. 7. The Evolution of the Cloud
  8. 8. “Cool, but why should I care?”
  9. 9. Functions as a Service Benefits
  10. 10. “Hmm, when would I use this?”
  11. 11. Scenarios ...?
  12. 12. Application 🔥 Hot Spots 🔥
  13. 13. “What about Azure Functions?”
  14. 14. Introducing Functions
  15. 15. Supported Languages C# F# JavaScript PHP PowerShell & Bash More…
  16. 16. Tooling 1 3 2 4
  17. 17. Command Line Visual Studio Code Tooling Azure Portal Visual Studio 2017 1 3 2 4
  18. 18. Triggers and Bindings are unique to Azure Functions Type Service Trigger Input Output Schedule Azure Functions  HTTP (REST or webhook) Azure Functions   Blob Storage Azure Storage    Events Azure Event Hubs   Queues Azure Storage   Queues and topics Azure Service Bus   Storage tables Azure Storage   SQL tables Azure Mobile Apps   No-SQL DB Azure DocumentDB   Push notifications Azure Notification Hubs  Twilio SMS Text Twilio  SendGrid email SendGrid 
  19. 19. “Give me an example!”
  20. 20. “This sounds great but how much?”
  21. 21. Consumption Plan
  22. 22. App Service plan
  23. 23. “Any big names using this?”
  24. 24. Resources • Try Functions for free for one hour: functions.azure.com/try • Github: github.com/Azure/Azure-Functions • Twitter: @AzureFunctions • YouTube: youtube.com/AzureFunctions • Docs: aka.ms/az-fcn-docs • Migrating an API: aka.ms/cda-learn-serverless – @simona_cotin, @burkeholland
  25. 25. Thank you! @_clarkio clarkio.com brian.clark@microsoft.com

Editor's Notes

  • 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
  • “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” aka Functions as a Service
  • So what kind of apps and scenarios can be built using serverless technologies?
    The answer is anything where there is need to run some logic in response to an event.

    Some of you might be surprised to learn that, the above definition covers a big portion of the computing universe. Modern computing is all about events:
    An IoT device sending data to analyze and store in real-time is an event. There are billions of those. Handling of such data such as enriching, analyzing or filtering is best done using serverless functions which can be spun up on demand.
    Almost every web based application needs to run some regular maintenance task like cleaning up a database or synchronizing data between two systems. All of these times are events. Such tasks that need to be run only at specific times, don’t call for dedicated infrastructure. They are best left to serverless solutions.
    A mobile app clicking a picture and submitting to backend is an event. There are billions of such apps. In many cases developers building such apps want to focus on delighting their customers using clients app experience. Serverless technology can easily take away the burden of building mobile backends.
    Automated response systems receiving a customer request is an event. Building intelligent bots for such scenarios using serverless technology is again a great example where the focus needs to be on logic instead of infrastructure.


    These are only some of the many examples which fit well with serverless.
  • Predominantly working with line of business applications (especially existing ones) then I would use serverless to abstract out the known hotspots in the application. You’ve most likely done performance testing against the application and can identify from that, and typical usage, which areas in the system get used the most. Knowing this we can start the transition to serverless by moving these parts over in order to gain flexibility to scale these in isolation. Therefore reducing the cost in existing solutions where we would scale up the entire platform to support the load.
  • It’s the glue that ties everything together
  • It’s the glue that ties everything together
  • Fuji Film Case study: https://customers.microsoft.com/de-de/story/fujifilm-software-co-ltd
    AccuWeather Case study: https://cloud.microsoft.com/en-us/customer-stories/accuweather/
  • Let us now talk about some customers who have seen success using our serverless technologies.

    First is CARMAX.
    Task
    They had a problem where any changes to the vehicle information such as sales, price changes, ratings etc. needed to be updated in the website so that customers always have the latest and the most accurate information. Also, they needed to keep their instance of Easter region in sync with Western region.

    Before Serverless
    Earlier way to build this system was using VMs.
    First click. If you notice this set of things in this block have nothing to do with running their business or their app logic. And yet, they had to spend a significant amount of time on it.
    Second click. Then they get to their business logic, which again was difficult to implement because they had to do bulk updates twice a day which caused time lags between actual vehicle changes and website getting updated. Similarly they had to build a complicated logic to keep data in their different regions in sync

    Using Serverless
    Let’s see what happens when they use serverless:
    First click: First we have these infrastructure activities. They are all now gone since Azure handles all of that for the customer
    Second click: Even the business logic implementation is much simplified and real-time because of the instant scale and event-driven nature afforded by the serverless technology

×