Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Azure Functions primer - LDNA01-2019

32 views

Published on

Limerick DotNet-Azure User Group (LDNA) 14 January 2019 Meetup (https://www.meetup.com/Limerick-DotNet/events/ttzpnqyzcbsb/)
Azure Functions primer

This time we will review the basics of a major serverless technology: Azure Functions.

The idea is to cover all the bases: how to setup a Function, debug, update, scale, secure. Hopefully we will touch some context, like costs and scenarios.

Published in: Software
  • Be the first to comment

  • Be the first to like this

Azure Functions primer - LDNA01-2019

  1. 1. Azure Functions Primer 14 January 2019 Giulio Vian
  2. 2. Prerequisites Azure Subscription Contributor Permissions on a Resource Group Some development editor
  3. 3. Hello, World! Create a simple function through Azure Portal
  4. 4. Languages (runtime 2.x) C#, F# (Core 2) JavaScript/TypeScript (Node 8) Java 8 Python 3.6
  5. 5. Under the hood IIS Web Site Language runtimes Virtual File System
  6. 6. Explore the land App Service Editor (aka Monaco) Kudu environment
  7. 7. Triggers HTTP & WebHooks Timer Queue & Messaging  Queue Storage  Service Bus Queues & Topics  Event Grid & Hubs Files  O365 (Excel)  OneDrive, DropBox  Blob Storage  FTP DB  Cosmos DB  Microsoft Graph  Events
  8. 8. Configuration Environment variables Connection strings Enable flag
  9. 9. Debugging Run locally Remote debugging Logging
  10. 10. Deployment Git repo Single Zip
  11. 11. Enhance Debug locally Redeploy & configure Create using Visual Studio
  12. 12. Security OAuth Azure Active Directory Google, Facebook, Twitter, and Microsoft accounts Keys Proxies ISO, SOC, and PCI compliant
  13. 13. Durable (i.e. stateful) Subset runtimes: .Net, JS POCO
  14. 14. Manage Security Monitoring
  15. 15. Scenarios Short duration Stateless Organized
  16. 16. Costs (monthly) total number of requested executions for all functions (first million free) $0.20 per million executions gigabyte seconds = average memory size in gigabytes by the time in milliseconds it takes to execute $0.000016/GB-s
  17. 17. Conclusions
  18. 18. Develop locally, deploy globally
  19. 19. References https://docs.microsoft.com/en-us/azure/azure-functions/ https://azure.microsoft.com/en-us/resources/videos/ignite- 2018-azure-functions-internals/ https://markheath.net/post/remote-debugging-azure- functions Dos and Don'ts for Serverless and Azure Functions - Jeff Hollan https://www.youtube.com/watch?v=kvTostlJp7M https://github.com/sjwaight/funcs-cd-demo https://github.com/Azure/azure-functions-host/tree/dev/test https://medium.com/@jeffhollan
  20. 20. Volunteers?
  21. 21. Thanks to our sponsors!

×