Publicité

Code first in the cloud: going serverless with Azure

Sr. Cloud Developer Advocate at Microsoft à Microsoft
12 Feb 2018
Publicité

Contenu connexe

Présentations pour vous(20)

Similaire à Code first in the cloud: going serverless with Azure(20)

Publicité

Code first in the cloud: going serverless with Azure

  1. Copyright Computer Laboratory, University of Cambridge. Reproduced by permission.
  2. On-Premises How often should I patch my servers? How can I increase server utilization? How do I deploy new code to my server? Which packages should be on my server? It takes how long to provision a new server? The “evolution” of application platforms
  3. IaaSOn-Premises How often should I patch my servers? How often should I backup my server? Which packages should be on my server? How many servers do I need? How can I increase server utilization? What is the right size of servers for my business needs? How can I scale my app? Which OS should I use? How do I deploy new code to my server? Who monitors my App? The “evolution” of application platforms
  4. PaaSIaaSOn-Premises How many “servers” do I need? How can I increase “server” utilization? What is the right size of “servers” for my business needs? How can I scale my app? The “evolution” of application platforms
  5. PaaSIaaSOn-Premises Serverless How do I architect my app? Serverless, the platform for next gen apps The “evolution” of application platforms
  6. Event-driven/ instant scale Micro-billingAbstraction of servers $
  7. Micro-billing $
  8. Focus on business logic Faster time to market DevOps Productivity
  9. GIF Loop via TipsyElves.com
  10. http://www.commitstrip.com/en/2017/04/26/servers-there-are-no-servers-here/
  11. Platform
  12. PlatformDevelopment Local Development Monitoring IDE support Integrated DevOps Visual Debug History </>
  13. Broad coverage within Azure and beyond Fully-managed event routing Near real-time event delivery at scale
  14. Unlock new scenarios for your apps Focus on innovation and pay per event Ensure reliability and performance for your apps
  15. Event publishers Event handlers Resource Groups Event Hubs Azure Subscriptions Custom Events Blob Storage Azure Functions Azure Automation Logic Apps WebHooks
  16. GIF Loop via NikeTalk.com
  17. https://jlik.me/cl7 Triggers • • • • • • • • Bindings • • • • • • • •
  18. Every 15 minutes Clean tableFind and clean invalid data File added to Blob Storage Transform CSV to data rows Power BI Chart graphic
  19. Photo taken and WebHook called Stores in blob storage Produces scaled images Loaded web page calls WebHook Completed pageCreate ad based on user profile
  20. https://www.reddit.com/r/CatGifs/comments/48sql9/hacker_cat_at_it_again_taking_over_the_webs/
  21. GIF Loop from The Colbert Report
  22. Customers Products Orders API calls customers.azurewebsites.net products.azurewebsites.net orders.azurewebsites.net
  23. Function app A /customers Function app B /products Function app C Function3/orders API proxy endpoints HttpTrigger function endpoints Key: /products /orders Function2 Function1
  24. https://jlik.me/cl8
  25. Stateful workflows Workflows in code (not designer) Synchronous and asynchronous Checkpoints and halts Orchestration
  26. https://jlik.me/cl9 https://jlik.me/cma https://jlik.me/cmb
  27. ….and more!
  28. • appFigures • Asana • Azure API Management • Azure App Services • Azure Automation • Azure Cognitive Face API • Azure Cognitive LUIS • Azure Cognitive Text Analytics • Azure Cognitive Vision • Azure Data Lake Store • Azure Document DB • Azure Event Hub • Azure Functions • Azure Machine Learning • Azure Resource Manager • Azure Service Bus • Azure SQL • Azure Storage Blob • Azure Storage Queues • Basecamp • Bing Search • BitBucket • Bitly • Blogger • Box • Buffer • Campfire • Chatter • Common Data Service • Disqus • DocuSign • Dropbox • Dynamics AX Online • Dynamics CRM Online • Dynamics CRM Service Bus • Dynamics Financials • Dynamics Operations • Easy Redmine • Eventbrite • Facebook • FreshBooks • Freshdesk • GitHub • Gmail • Google Calendar • Google Contacts • Google Drive • Google Sheets • Google Tasks • GoTo Meeting • GoTo Training • GoTo Webinar • Harvest • HelloSign • Infusionsoft • JIRA • Insightly • Instagram • Instapaper • MailChimp • Mandrill • Medium • Microsoft Project Online • Microsoft Translator • MSN Weather • Muhimbi PDF • Office 365 • Office 365 Users • Office 365 Video • OneDrive • OneDrive for Business • OneNote • Outlook.com • Outlook Tasks • PagerDuty • Pinterest • Pipedrive • Pivotal Tracker • Power BI • Project Online • Redmine • Salesforce • Salesforce Chatter • SendGrid • SharePoint Online • Slack • SmartSheet • SparkPost • Stripe • Survey Monkey • Todoist • Toodledo • Trello • Twilio • Twitter • Typeform • UserVoice • VS Team Services • Webmerge • Wordpress • Wunderlist • Yammer • YouTube • Zendesk • HTTP, HTTPS • HTTP Webhook • FTP, SFTP • SMTP • RSS • Compose, Query, Parse JSON • Wait • Terminate • Workflow • XML Validation • Transform XML (+Mapper) • Flat File Encode • Flat File Decode • X12 • EDIFACT • AS2 • Integration Account Artifact Lookup • BizTalk Server • File System • IBM DB2 • Informix • Oracle DB • SharePoint Server • SQL Server • SAP • Websphere MQ Cloud APIs and platform functionality Over 120 built-in connectors Hosted and managed within the platform Scales to meet your needs First class designer experience Rapid development API connections Authenticate once and reuse Differentiate connection configuration Simple to deploy Portal experience for managing API Connections
  29. On-premises data gateway BizTalk server Cognitive services Service bus Machine learning Azure Functions Logic Apps
  30. Logic Apps Workflow Designer Workflow in the cloud Powerful control flow Connect disparate applications No code designer for rapid creation Also works within Visual Studio for added CI/CD
  31. Attribution in Notes
  32. Michael Loccisano/Getty Images
  33. Michael Loccisano/Getty Images
  34. Source: http://adm1370-breakingbad.wikispaces.com/The+Main+Cast+of+Breaking+Bad
  35. https://jlik.me/cmc https://jlik.me/cmd
  36. • • •
  37. GIF Loop via NBC
  38. GIF Loop via Red Bull

Notes de l'éditeur

  1. Microsoft Tech Summit FY17
  2. Microsoft Tech Summit FY17
  3. Microsoft Tech Summit FY17
  4. Microsoft Tech Summit FY17
  5. 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
  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. 18
  9. -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?
  10. Call out that we now support stored procs on-prem
  11. 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.
  12. GIF attribution: http://jinglebells333.tumblr.com/post/48415038950/when-i-have-a-crapload-of-work-to-do-then-decide
Publicité