SlideShare a Scribd company logo
Série Descomplicando azure - Soluções serverless com azure functions
Série Descomplicando azure - Soluções serverless com azure functions
Série Descomplicando azure - Soluções serverless com azure functions
Série Descomplicando azure - Soluções serverless com azure functions
Série Descomplicando azure - Soluções serverless com azure functions
Série Descomplicando azure - Soluções serverless com azure functions
Série Descomplicando azure - Soluções serverless com azure functions
Série Descomplicando azure - Soluções serverless com azure functions
Série Descomplicando azure - Soluções serverless com azure functions
Série Descomplicando azure - Soluções serverless com azure functions
public static void Run(byte[] image, string filename,
Stream outputBlob, TraceWriter log)
{
log.Info($"Processing image: {filename}");
var imageBuilder = ImageResizer.ImageBuilder.Current;
imageBuilder.Build(
image, outputBlob,
new ResizeSettings(640, 400, FitMode.Max, null), false);
}
{
"bindings": [
{
"name": "image",
"type": "blobTrigger",
"direction": "in",
"path": "card-input/{filename}.jpg",
"connection": "AzureWebJobsStorage"
},
{
"type": "blob",
"name": "outputBlob",
"path": "card-output/{filename}.jpg",
"connection": "AzureWebJobsStorage",
"direction": "out"
}
]
}
Série Descomplicando azure - Soluções serverless com azure functions
Série Descomplicando azure - Soluções serverless com azure functions
Série Descomplicando azure - Soluções serverless com azure functions
Série Descomplicando azure - Soluções serverless com azure functions
Obrigado!
@douglasromao
Facebook.com/douglasromao
LinkedIn/dougromao
Douglasromao.com

More Related Content

What's hot (7)

KEY
MongoDB - Introduction
Vagmi Mudumbai
 
PDF
Backbone js in drupal core
Marcin Wosinek
 
PPTX
Introduction to D3.js
Oleksii Prohonnyi
 
PDF
MongoDB
techwhizbang
 
PDF
Aula 4 - Canvas
Allyson Souza
 
PPTX
Joins and Other Aggregation Enhancements Coming in MongoDB 3.2
MongoDB
 
PPTX
PhDigital Bootcamp: Web Development Concepts
Cindy Royal
 
MongoDB - Introduction
Vagmi Mudumbai
 
Backbone js in drupal core
Marcin Wosinek
 
Introduction to D3.js
Oleksii Prohonnyi
 
MongoDB
techwhizbang
 
Aula 4 - Canvas
Allyson Souza
 
Joins and Other Aggregation Enhancements Coming in MongoDB 3.2
MongoDB
 
PhDigital Bootcamp: Web Development Concepts
Cindy Royal
 

More from Douglas Romão (13)

PPTX
Open Source Bootcamp Mogi das Cruzes - Bot Framework
Douglas Romão
 
PPTX
Webinar flow fazendo mais com menos!
Douglas Romão
 
PPTX
Open Source Bootcamp Curitiba - Deep Dive Cognitive Services
Douglas Romão
 
PPTX
Microsoft Cognitive Services - Global Azure Bootcamp SJC 2017
Douglas Romão
 
PPTX
Cenários de utilização do SharePoint com Azure
Douglas Romão
 
PPTX
Integração entre o SharePoint e o Azure utilizando BCS - Azure Tech Nights
Douglas Romão
 
PPTX
Conhecendo SharePoint - Anhanguera IT Summit 2015
Douglas Romão
 
PPTX
OneDay Baixada 2015 - Desenvolvimento para SharePoint
Douglas Romão
 
PPTX
ALM RoadShow SJC - Office 365 API´s
Douglas Romão
 
PPTX
Dicas rápidas do Design no SharePoint
Douglas Romão
 
PPTX
Desenvolvimento de Apps para SharePoint 2013
Douglas Romão
 
PPTX
Apresentação share point 2010 melhorias
Douglas Romão
 
PPTX
Novidades no Design para SharePoint 2013
Douglas Romão
 
Open Source Bootcamp Mogi das Cruzes - Bot Framework
Douglas Romão
 
Webinar flow fazendo mais com menos!
Douglas Romão
 
Open Source Bootcamp Curitiba - Deep Dive Cognitive Services
Douglas Romão
 
Microsoft Cognitive Services - Global Azure Bootcamp SJC 2017
Douglas Romão
 
Cenários de utilização do SharePoint com Azure
Douglas Romão
 
Integração entre o SharePoint e o Azure utilizando BCS - Azure Tech Nights
Douglas Romão
 
Conhecendo SharePoint - Anhanguera IT Summit 2015
Douglas Romão
 
OneDay Baixada 2015 - Desenvolvimento para SharePoint
Douglas Romão
 
ALM RoadShow SJC - Office 365 API´s
Douglas Romão
 
Dicas rápidas do Design no SharePoint
Douglas Romão
 
Desenvolvimento de Apps para SharePoint 2013
Douglas Romão
 
Apresentação share point 2010 melhorias
Douglas Romão
 
Novidades no Design para SharePoint 2013
Douglas Romão
 
Ad

Recently uploaded (20)

PDF
What’s my job again? Slides from Mark Simos talk at 2025 Tampa BSides
Mark Simos
 
PDF
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
PDF
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
PPTX
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PDF
NASA A Researcher’s Guide to International Space Station : Physical Sciences ...
Dr. PANKAJ DHUSSA
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
PPTX
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
PDF
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
PDF
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
PDF
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PDF
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
PDF
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
PDF
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
PDF
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
PPT
Ericsson LTE presentation SEMINAR 2010.ppt
npat3
 
What’s my job again? Slides from Mark Simos talk at 2025 Tampa BSides
Mark Simos
 
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
NASA A Researcher’s Guide to International Space Station : Physical Sciences ...
Dr. PANKAJ DHUSSA
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
Ericsson LTE presentation SEMINAR 2010.ppt
npat3
 
Ad

Série Descomplicando azure - Soluções serverless com azure functions

  • 11. public static void Run(byte[] image, string filename, Stream outputBlob, TraceWriter log) { log.Info($"Processing image: {filename}"); var imageBuilder = ImageResizer.ImageBuilder.Current; imageBuilder.Build( image, outputBlob, new ResizeSettings(640, 400, FitMode.Max, null), false); } { "bindings": [ { "name": "image", "type": "blobTrigger", "direction": "in", "path": "card-input/{filename}.jpg", "connection": "AzureWebJobsStorage" }, { "type": "blob", "name": "outputBlob", "path": "card-output/{filename}.jpg", "connection": "AzureWebJobsStorage", "direction": "out" } ] }

Editor's Notes

  • #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: Talking points: (New) What do we go from here? Introducing Serverless, an event-driven process, which will grow and scale on demand. The only remaining question now becomes: How I architect my app to become Serverless? Pretty neat, right? It all sounds great, naturally, you may ask, how does Serverless fit into the picture?
  • #7: 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
  • #8: “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”
  • #9: TIME MARKER (COMPLETE SLIDE): 10:10 A.M. 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.
  • #14: This is the whole (top level) Dev Ops story where Dev build wounderful apps, using CI they mange their code, builds, and releases. Connecting to a repository, they can deploy to Azure Websites, build in the cloud, deploy to a slot to test and validate, swap into production, deployed across the globe as needed, monitor and get feedback, on which devs can make updates. Rinse and repeat
  • #15: Scenarios we are seeing: cloud system integration between Azure components. Huge time saver