SlideShare ist ein Scribd-Unternehmen logo
1 von 48
Azure Update, July
Kanio Dimitrov
Main Azure Updates
• VM - General availability of IaaS migration from classic to Resource
Manager
• Storage - General availability: Azure cool blob storage in Canada
• Azure Redis Cache: Preview of new administration options in
Premium tier
• Reboot
• Schedule updates
Main Azure Updates
• Azure Automation : Time zone support and daylight savings
• General availability: Always Encrypted for Azure SQL Database
• Public preview: New version of Azure Active Directory PowerShell
cmdlets
• General availability: Azure ExpressRoute in additional locations
• Paris, Newport/Wales, and Quebec City
Main Azure Updates
• General availability: Two new Azure regions (West US 2 and West
Central US)
• General availability: SQL Server Stretch Database
• General availability: Microsoft Power BI Embedded
• General availability: Microsoft R Server for Linux virtual machines
Main Azure Updates
• Microsoft introduces AppSource for SaaS business apps
• Public preview: Cortana Intelligence Suite with Bing Predicts
• General availability: Microsoft Azure IoT Hub S3 edition
• 300 million messages per day
• General availability: Bing APIs in Microsoft Cognitive Services
• Autosuggestion API, Spell Check API, Search API
Main Azure Updates
• Preview: Microsoft R Client
• G-Series instances for Azure Virtual Machines available in Australia
East
• General availability: Azure SQL Data Warehouse
• Azure App Service Authentication and Azure AD domain hints
Main Azure Updates
• General availability: Service Bus Premium Messaging released to
general availability
• Azure DevTest Labs: Attach additional data disk to your lab VM
• General availability: Azure portal updates for Azure Stream Analytics:
• Power BI Output
• Data Lake Output
• Simple Input
Introduction to Serverless Architecture
Kanio Dimitrov
About Me
Azure MVP, Architect & Advisor
Tokyo Azure Meetup Host
twitter: @azurekanio
blog: https://azurekan.wordpress.com/
Serverless Computing
Serverless computing refers to a model where the existence of servers
is simply hidden from developers.
• Major shift in Cloud Computing
• Application Code Focus
• Cost Effectiveness
Microservices
Small Autonomous services that model business domain and have
single responsibility
Recommendations
Inventory
Orders
Shopping Cart
Shipping
Monolithic System
Serverless Microservices
Order
Microservice
GET Order
Create Order
Update Order
Remove Order
API
Gateway
Mobile
Client
Serverless Principles
• Abstract completely underlying infrastructure
• Break business logic to functions
• Focus only on application code
• True auto scaling in seconds
• Integrate with external systems
Current State
• AWS Lambda – market leader
• Google Cloud Functions
• Azure Functions – in Preview
• Auth0 Webtasks
• IBM OpenWhisk
Modern Ops Requirements
• Engineers are responsible for the operational quality
• Software Engineers have to value operational excellence
• Software Engineers on call for their own services
• Ops skills are not optional for software engineers in 2016
• Software engineers own their systems from end to end
Modern Ops Requirements
• The other side of DevOps - Software engineers need to level up at
operations
• Outsource as many ops responsibility as possible
• Build operational excellence for core business differentiators
• Aggregate metrics and graph them
DevOps requires time
• Biggest obstacle to
innovation is that
development times
are too long
• DevOps adds to the
development time
• Application builders
need to manage
their server
infrastructure
Serverless Advantages
• Rapid Development
• Truly Polyglot
• Event Driven
• Minimal Maintenance
• Very Scalable
• Pay Per Use
Serverless Disadvantages
• Limited transparency
• Immature tooling (debugging and troubleshooting)
• Required security review and penetration testing guidance
• More and better documentation and best practices
• Vendor Lock-in (Huge dependency on cloud provider)
• Limits not well defined
Azure Functions
Input Code Output
• Trigger - specify what conditions cause the function to be
called
• Binder - specify how to get information into and out of method
parameters
Azure Functions vs Web Jobs
• Web Jobs:
• + Extendable. Can run whatever you we want. Full control
• - HTTP functionality requires more effort to be configured
• Functions:
• + Many languages supported
• + Completely managed with dynamic scaling
• + Portal experience simplifies a lot development
• - Host can’t be customized yet
• - We are using dedicated "app" which requires additional configuration, but in long
term is advantage
• - Better tooling required
Binding Integration
Time Based Processing
Azure service event processing
SaaS event processing
Serverless web application architectures
Serverless mobile backends
Real-time stream processing
Real-time bot messaging
Supported Platforms
• C#
• F#
• JavaScript
• Python
• PHP
• Bash
• Batch
• PowerShell
Demo – Hello World!
Let’s focus on C#
• .csx file – focus on writing business logic function
• Do not design classes and namespace, just Run method
• POCO classes inside the same file for data processing
Async & Cancellation Token
• async keyword
• Task return type
public async static Task ProcessBlobEvent(Stream blobInput, Stream
blobOutput, CancellationToken token)
{
await blobInput.CopyToAsync(blobOutput, 4096, token);
}
Namespaces
• Use using
• Automatically imported:
• System
• System.Collections.Generic
• System.IO
• System.Linq
• System.Net.Http
• System.Threading.Tasks
• Microsoft.Azure.WebJobs
• Microsoft.Azure.WebJobs.Host
Framework Assemblies
• Use #r "AssemblyName“
• Automatically added:
• mscorlib
• System
• System.Core
• System.Xml
• System.Net.Http
• Microsoft.Azure.WebJobs
• Microsoft.Azure.WebJobs.Host
• Microsoft.Azure.WebJobs.Extensions
• System.Web.Http
• System.Net.Http.Formatting
Special Case
• Use only #r "AssemblyName“
• Newtonsoft.Json
• Microsoft.WindowsAzure.Storage
• Microsoft.ServiceBus
• Microsoft.AspNet.WebHooks.Receivers
• Microsoft.AspNEt.WebHooks.Common
Custom Assemblies
• Upload them to bin folder for the function:
• Azure Portal
• Kudu
• FTP
• Reference using the file name - #r "MyAssembly.dll"
Packages
• Upload project.json file to the function’s folder
• Specify NuGet packages
{ "frameworks": {
"net46": {
"dependencies": {
"Microsoft.ProjectOxford.Face": "1.1.0"
}
}
}
}
Configuration
• Via Environment variables
• Set on App Service Level
• Use System.Environment.GetEnvironmentVariable:
• GetEnvironmentVariable(“FacialRecognitionApiKey”);
Code Reuse
• Use classes and methods defined in other .csx files in your
run.csx file
• To do that, use #load directives in your run.csx file:
• #load “logger.csx”
Logging
• Include a TraceWriter typed argument
• Recommended to name it log
• Don’t use Console.Write
Hosting Options
• App Service Plan
• Dynamic Service Plan
• Dynamically allocated resources
• Functions will run in parallel
• Memory from 128 MB to 1536 MB
• Limited support for App Service features
Development, Debugging & Testing
• Local Development is coming
• Live debugging with Visual Studio
• Azure Storage Explorer
• HTTP Endpoints testing:
• Postman, Fiddler, Browser
Scaling
• Classic App Serivce Plan scales based on set rules
• Dynamic Service plan scales independently based on traffic
• Major criteria is memory size of the execution environment
Pricing – “pay-per-user”
• Price = Memory size (in GB) x Total amount of execution
time (in secs)
• Execution time – active time for all functions running inside
that function app
• Unit of consumption will be GB-s (Gigabyte Seconds)
Demo – Azure Functions Scenarios
Next Tokyo Azure Meetup
• Date – August, 29-th
• Time – 19:30 – 21:00
• Location – Microsoft Office
• Topic: DevOps / Azure Functions Deep Dive / Bot Framework or
another topic. What is the most interesting one for you?

Weitere ähnliche Inhalte

Was ist angesagt?

Intro to Azure Static Web Apps
Intro to Azure Static Web AppsIntro to Azure Static Web Apps
Intro to Azure Static Web AppsMoaid Hathot
 
O365Con18 - Automate your Tasks through Azure Functions - Elio Struyf
O365Con18 - Automate your Tasks through Azure Functions - Elio StruyfO365Con18 - Automate your Tasks through Azure Functions - Elio Struyf
O365Con18 - Automate your Tasks through Azure Functions - Elio StruyfNCCOMMS
 
ECS19 - Marco Rocca and Fabio Franzini - Need a custom logic in PowerApps? Us...
ECS19 - Marco Rocca and Fabio Franzini - Need a custom logic in PowerApps? Us...ECS19 - Marco Rocca and Fabio Franzini - Need a custom logic in PowerApps? Us...
ECS19 - Marco Rocca and Fabio Franzini - Need a custom logic in PowerApps? Us...European Collaboration Summit
 
Serverless with Azure Functions
Serverless with Azure FunctionsServerless with Azure Functions
Serverless with Azure FunctionsAndreas Willich
 
Serverless Application Development with Azure
Serverless Application Development with AzureServerless Application Development with Azure
Serverless Application Development with AzureCallon Campbell
 
Going Serverless with Azure Functions
Going Serverless with Azure FunctionsGoing Serverless with Azure Functions
Going Serverless with Azure FunctionsChristos Matskas
 
Monitor Azure Kubernetes Cluster With Prometheus by Mamta Jha
Monitor Azure Kubernetes Cluster With Prometheus by Mamta JhaMonitor Azure Kubernetes Cluster With Prometheus by Mamta Jha
Monitor Azure Kubernetes Cluster With Prometheus by Mamta JhaCodeOps Technologies LLP
 
Static web apps by GitHub action
Static web apps by GitHub actionStatic web apps by GitHub action
Static web apps by GitHub actionSeven Peaks Speaks
 
Firebase - cloud based real time database
Firebase - cloud based real time databaseFirebase - cloud based real time database
Firebase - cloud based real time databaseGlenn Bech
 
Azure cloud for the web frontend developers
Azure cloud for the web frontend developersAzure cloud for the web frontend developers
Azure cloud for the web frontend developersMaxim Salnikov
 
Go Serverless with Java and Azure Functions
Go Serverless with Java and Azure FunctionsGo Serverless with Java and Azure Functions
Go Serverless with Java and Azure FunctionsCodeOps Technologies LLP
 
Serverless on Azure with Functions
Serverless on Azure with FunctionsServerless on Azure with Functions
Serverless on Azure with FunctionsChristos Matskas
 
Using Azure Functions for Integration
Using Azure Functions for IntegrationUsing Azure Functions for Integration
Using Azure Functions for IntegrationBizTalk360
 
CREATING REAL TIME DASHBOARD WITH BLAZOR, AZURE FUNCTION COSMOS DB AN AZURE S...
CREATING REAL TIME DASHBOARD WITH BLAZOR, AZURE FUNCTION COSMOS DB AN AZURE S...CREATING REAL TIME DASHBOARD WITH BLAZOR, AZURE FUNCTION COSMOS DB AN AZURE S...
CREATING REAL TIME DASHBOARD WITH BLAZOR, AZURE FUNCTION COSMOS DB AN AZURE S...CodeOps Technologies LLP
 

Was ist angesagt? (20)

Azure search
Azure searchAzure search
Azure search
 
Azure functions
Azure functionsAzure functions
Azure functions
 
Java & Microservices in Azure
Java & Microservices in AzureJava & Microservices in Azure
Java & Microservices in Azure
 
Intro to Azure Static Web Apps
Intro to Azure Static Web AppsIntro to Azure Static Web Apps
Intro to Azure Static Web Apps
 
O365Con18 - Automate your Tasks through Azure Functions - Elio Struyf
O365Con18 - Automate your Tasks through Azure Functions - Elio StruyfO365Con18 - Automate your Tasks through Azure Functions - Elio Struyf
O365Con18 - Automate your Tasks through Azure Functions - Elio Struyf
 
ECS19 - Marco Rocca and Fabio Franzini - Need a custom logic in PowerApps? Us...
ECS19 - Marco Rocca and Fabio Franzini - Need a custom logic in PowerApps? Us...ECS19 - Marco Rocca and Fabio Franzini - Need a custom logic in PowerApps? Us...
ECS19 - Marco Rocca and Fabio Franzini - Need a custom logic in PowerApps? Us...
 
Serverless with Azure Functions
Serverless with Azure FunctionsServerless with Azure Functions
Serverless with Azure Functions
 
Serverless Application Development with Azure
Serverless Application Development with AzureServerless Application Development with Azure
Serverless Application Development with Azure
 
Going Serverless with Azure Functions
Going Serverless with Azure FunctionsGoing Serverless with Azure Functions
Going Serverless with Azure Functions
 
Azure Functions - Introduction
Azure Functions - IntroductionAzure Functions - Introduction
Azure Functions - Introduction
 
Monitor Azure Kubernetes Cluster With Prometheus by Mamta Jha
Monitor Azure Kubernetes Cluster With Prometheus by Mamta JhaMonitor Azure Kubernetes Cluster With Prometheus by Mamta Jha
Monitor Azure Kubernetes Cluster With Prometheus by Mamta Jha
 
Static web apps by GitHub action
Static web apps by GitHub actionStatic web apps by GitHub action
Static web apps by GitHub action
 
Firebase - cloud based real time database
Firebase - cloud based real time databaseFirebase - cloud based real time database
Firebase - cloud based real time database
 
Azure functions serverless
Azure functions serverlessAzure functions serverless
Azure functions serverless
 
Azure cloud for the web frontend developers
Azure cloud for the web frontend developersAzure cloud for the web frontend developers
Azure cloud for the web frontend developers
 
Azure Functions
Azure FunctionsAzure Functions
Azure Functions
 
Go Serverless with Java and Azure Functions
Go Serverless with Java and Azure FunctionsGo Serverless with Java and Azure Functions
Go Serverless with Java and Azure Functions
 
Serverless on Azure with Functions
Serverless on Azure with FunctionsServerless on Azure with Functions
Serverless on Azure with Functions
 
Using Azure Functions for Integration
Using Azure Functions for IntegrationUsing Azure Functions for Integration
Using Azure Functions for Integration
 
CREATING REAL TIME DASHBOARD WITH BLAZOR, AZURE FUNCTION COSMOS DB AN AZURE S...
CREATING REAL TIME DASHBOARD WITH BLAZOR, AZURE FUNCTION COSMOS DB AN AZURE S...CREATING REAL TIME DASHBOARD WITH BLAZOR, AZURE FUNCTION COSMOS DB AN AZURE S...
CREATING REAL TIME DASHBOARD WITH BLAZOR, AZURE FUNCTION COSMOS DB AN AZURE S...
 

Ähnlich wie Tokyo Azure Meetup #7 - Introduction to Serverless Architectures with Azure Functions, July 2016

Tokyo azure meetup #8 azure update, august
Tokyo azure meetup #8   azure update, augustTokyo azure meetup #8   azure update, august
Tokyo azure meetup #8 azure update, augustTokyo Azure Meetup
 
Tokyo azure meetup #8 - Azure Update, August
Tokyo azure meetup #8 - Azure Update, AugustTokyo azure meetup #8 - Azure Update, August
Tokyo azure meetup #8 - Azure Update, AugustKanio Dimitrov
 
IBM InterConnect 2015 - IIB in the Cloud
IBM InterConnect 2015 - IIB in the CloudIBM InterConnect 2015 - IIB in the Cloud
IBM InterConnect 2015 - IIB in the CloudAndrew Coleman
 
CSE2013-cloud computing-L3-L4.pptx
CSE2013-cloud computing-L3-L4.pptxCSE2013-cloud computing-L3-L4.pptx
CSE2013-cloud computing-L3-L4.pptxMadhura Arvind
 
Designing Microservices
Designing MicroservicesDesigning Microservices
Designing MicroservicesDavid Chou
 
Introduction to Azure Functions
Introduction to Azure FunctionsIntroduction to Azure Functions
Introduction to Azure FunctionsCallon Campbell
 
Best Practices for couchDB developers on Microsoft Azure
Best Practices for couchDB developers on Microsoft AzureBest Practices for couchDB developers on Microsoft Azure
Best Practices for couchDB developers on Microsoft AzureBrian Benz
 
Evolution of the IBM Cloud Console: From Monolith to Microservices and Beyond
Evolution of the IBM Cloud Console: From Monolith to Microservices and BeyondEvolution of the IBM Cloud Console: From Monolith to Microservices and Beyond
Evolution of the IBM Cloud Console: From Monolith to Microservices and BeyondTony Erwin
 
Grails in the Cloud (2013)
Grails in the Cloud (2013)Grails in the Cloud (2013)
Grails in the Cloud (2013)Meni Lubetkin
 
#SPFestDC #Azure #Functions V2: What's new and getting started
#SPFestDC #Azure #Functions V2: What's new and getting started#SPFestDC #Azure #Functions V2: What's new and getting started
#SPFestDC #Azure #Functions V2: What's new and getting startedVincent Biret
 
Devops continuousintegration and deployment onaws puttingmoneybackintoyourmis...
Devops continuousintegration and deployment onaws puttingmoneybackintoyourmis...Devops continuousintegration and deployment onaws puttingmoneybackintoyourmis...
Devops continuousintegration and deployment onaws puttingmoneybackintoyourmis...Emerson Eduardo Rodrigues Von Staffen
 
DevOps, Continuous Integration and Deployment on AWS: Putting Money Back into...
DevOps, Continuous Integration and Deployment on AWS: Putting Money Back into...DevOps, Continuous Integration and Deployment on AWS: Putting Money Back into...
DevOps, Continuous Integration and Deployment on AWS: Putting Money Back into...Amazon Web Services
 
Getting sh*t done with Azure Functions (on AKS!)
Getting sh*t done with Azure Functions (on AKS!)Getting sh*t done with Azure Functions (on AKS!)
Getting sh*t done with Azure Functions (on AKS!)Rick van den Bosch
 
From Zero to Serverless
From Zero to ServerlessFrom Zero to Serverless
From Zero to ServerlessChad Green
 
Sebastien goasguen cloud stack the next year
Sebastien goasguen   cloud stack the next yearSebastien goasguen   cloud stack the next year
Sebastien goasguen cloud stack the next yearShapeBlue
 

Ähnlich wie Tokyo Azure Meetup #7 - Introduction to Serverless Architectures with Azure Functions, July 2016 (20)

Tokyo azure meetup #8 azure update, august
Tokyo azure meetup #8   azure update, augustTokyo azure meetup #8   azure update, august
Tokyo azure meetup #8 azure update, august
 
Tokyo azure meetup #8 - Azure Update, August
Tokyo azure meetup #8 - Azure Update, AugustTokyo azure meetup #8 - Azure Update, August
Tokyo azure meetup #8 - Azure Update, August
 
Azure Functions 101
Azure Functions 101Azure Functions 101
Azure Functions 101
 
IBM InterConnect 2015 - IIB in the Cloud
IBM InterConnect 2015 - IIB in the CloudIBM InterConnect 2015 - IIB in the Cloud
IBM InterConnect 2015 - IIB in the Cloud
 
CSE2013-cloud computing-L3-L4.pptx
CSE2013-cloud computing-L3-L4.pptxCSE2013-cloud computing-L3-L4.pptx
CSE2013-cloud computing-L3-L4.pptx
 
Designing Microservices
Designing MicroservicesDesigning Microservices
Designing Microservices
 
Managing Your Cloud Assets
Managing Your Cloud AssetsManaging Your Cloud Assets
Managing Your Cloud Assets
 
Introduction to Azure Functions
Introduction to Azure FunctionsIntroduction to Azure Functions
Introduction to Azure Functions
 
Best Practices for couchDB developers on Microsoft Azure
Best Practices for couchDB developers on Microsoft AzureBest Practices for couchDB developers on Microsoft Azure
Best Practices for couchDB developers on Microsoft Azure
 
Evolution of the IBM Cloud Console: From Monolith to Microservices and Beyond
Evolution of the IBM Cloud Console: From Monolith to Microservices and BeyondEvolution of the IBM Cloud Console: From Monolith to Microservices and Beyond
Evolution of the IBM Cloud Console: From Monolith to Microservices and Beyond
 
Azure full
Azure fullAzure full
Azure full
 
Grails in the Cloud (2013)
Grails in the Cloud (2013)Grails in the Cloud (2013)
Grails in the Cloud (2013)
 
Windows Azure introduction
Windows Azure introductionWindows Azure introduction
Windows Azure introduction
 
#SPFestDC #Azure #Functions V2: What's new and getting started
#SPFestDC #Azure #Functions V2: What's new and getting started#SPFestDC #Azure #Functions V2: What's new and getting started
#SPFestDC #Azure #Functions V2: What's new and getting started
 
Power of Azure Devops
Power of Azure DevopsPower of Azure Devops
Power of Azure Devops
 
Devops continuousintegration and deployment onaws puttingmoneybackintoyourmis...
Devops continuousintegration and deployment onaws puttingmoneybackintoyourmis...Devops continuousintegration and deployment onaws puttingmoneybackintoyourmis...
Devops continuousintegration and deployment onaws puttingmoneybackintoyourmis...
 
DevOps, Continuous Integration and Deployment on AWS: Putting Money Back into...
DevOps, Continuous Integration and Deployment on AWS: Putting Money Back into...DevOps, Continuous Integration and Deployment on AWS: Putting Money Back into...
DevOps, Continuous Integration and Deployment on AWS: Putting Money Back into...
 
Getting sh*t done with Azure Functions (on AKS!)
Getting sh*t done with Azure Functions (on AKS!)Getting sh*t done with Azure Functions (on AKS!)
Getting sh*t done with Azure Functions (on AKS!)
 
From Zero to Serverless
From Zero to ServerlessFrom Zero to Serverless
From Zero to Serverless
 
Sebastien goasguen cloud stack the next year
Sebastien goasguen   cloud stack the next yearSebastien goasguen   cloud stack the next year
Sebastien goasguen cloud stack the next year
 

Mehr von Tokyo Azure Meetup

Tokyo Azure Meetup #14 - Azure Functions Proxies
Tokyo Azure Meetup #14  -  Azure Functions ProxiesTokyo Azure Meetup #14  -  Azure Functions Proxies
Tokyo Azure Meetup #14 - Azure Functions ProxiesTokyo Azure Meetup
 
Tokyo azure meetup #10 azure update, october
Tokyo azure meetup #10   azure update, octoberTokyo azure meetup #10   azure update, october
Tokyo azure meetup #10 azure update, octoberTokyo Azure Meetup
 
Tokyo Azure Meetup #9 - Azure Update, september
Tokyo Azure Meetup #9 - Azure Update, septemberTokyo Azure Meetup #9 - Azure Update, september
Tokyo Azure Meetup #9 - Azure Update, septemberTokyo Azure Meetup
 
Tokyo Azure Meetup #6 - Azure Monthly Update - June
Tokyo Azure Meetup #6 - Azure Monthly Update - JuneTokyo Azure Meetup #6 - Azure Monthly Update - June
Tokyo Azure Meetup #6 - Azure Monthly Update - JuneTokyo Azure Meetup
 
Tokyo Azure Meetup #5 - Microservices and Azure Service Fabric
Tokyo Azure Meetup #5 - Microservices and Azure Service FabricTokyo Azure Meetup #5 - Microservices and Azure Service Fabric
Tokyo Azure Meetup #5 - Microservices and Azure Service FabricTokyo Azure Meetup
 
Tokyo Azure Meetup #4 - Build 2016 Overview
Tokyo Azure Meetup #4 -  Build 2016 OverviewTokyo Azure Meetup #4 -  Build 2016 Overview
Tokyo Azure Meetup #4 - Build 2016 OverviewTokyo Azure Meetup
 
Tokyo azure meetup #2 big data made easy
Tokyo azure meetup #2   big data made easyTokyo azure meetup #2   big data made easy
Tokyo azure meetup #2 big data made easyTokyo Azure Meetup
 
Toyko azure meetup # 1 azure paa s overview
Toyko azure meetup # 1   azure paa s overviewToyko azure meetup # 1   azure paa s overview
Toyko azure meetup # 1 azure paa s overviewTokyo Azure Meetup
 
Tokyo azure meetup #9 azure update, october
Tokyo azure meetup #9   azure update, octoberTokyo azure meetup #9   azure update, october
Tokyo azure meetup #9 azure update, octoberTokyo Azure Meetup
 
Tokyo azure meetup #12 service fabric internals
Tokyo azure meetup #12   service fabric internalsTokyo azure meetup #12   service fabric internals
Tokyo azure meetup #12 service fabric internalsTokyo Azure Meetup
 
Tokyo azure meetup #13 build bots with azure bot services
Tokyo azure meetup #13   build bots with azure bot servicesTokyo azure meetup #13   build bots with azure bot services
Tokyo azure meetup #13 build bots with azure bot servicesTokyo Azure Meetup
 
Tokyo Azure Meetup #6 - Azure Machine Learning with Microsoft Dynamics
Tokyo Azure Meetup #6 - Azure Machine Learning with Microsoft DynamicsTokyo Azure Meetup #6 - Azure Machine Learning with Microsoft Dynamics
Tokyo Azure Meetup #6 - Azure Machine Learning with Microsoft DynamicsTokyo Azure Meetup
 

Mehr von Tokyo Azure Meetup (12)

Tokyo Azure Meetup #14 - Azure Functions Proxies
Tokyo Azure Meetup #14  -  Azure Functions ProxiesTokyo Azure Meetup #14  -  Azure Functions Proxies
Tokyo Azure Meetup #14 - Azure Functions Proxies
 
Tokyo azure meetup #10 azure update, october
Tokyo azure meetup #10   azure update, octoberTokyo azure meetup #10   azure update, october
Tokyo azure meetup #10 azure update, october
 
Tokyo Azure Meetup #9 - Azure Update, september
Tokyo Azure Meetup #9 - Azure Update, septemberTokyo Azure Meetup #9 - Azure Update, september
Tokyo Azure Meetup #9 - Azure Update, september
 
Tokyo Azure Meetup #6 - Azure Monthly Update - June
Tokyo Azure Meetup #6 - Azure Monthly Update - JuneTokyo Azure Meetup #6 - Azure Monthly Update - June
Tokyo Azure Meetup #6 - Azure Monthly Update - June
 
Tokyo Azure Meetup #5 - Microservices and Azure Service Fabric
Tokyo Azure Meetup #5 - Microservices and Azure Service FabricTokyo Azure Meetup #5 - Microservices and Azure Service Fabric
Tokyo Azure Meetup #5 - Microservices and Azure Service Fabric
 
Tokyo Azure Meetup #4 - Build 2016 Overview
Tokyo Azure Meetup #4 -  Build 2016 OverviewTokyo Azure Meetup #4 -  Build 2016 Overview
Tokyo Azure Meetup #4 - Build 2016 Overview
 
Tokyo azure meetup #2 big data made easy
Tokyo azure meetup #2   big data made easyTokyo azure meetup #2   big data made easy
Tokyo azure meetup #2 big data made easy
 
Toyko azure meetup # 1 azure paa s overview
Toyko azure meetup # 1   azure paa s overviewToyko azure meetup # 1   azure paa s overview
Toyko azure meetup # 1 azure paa s overview
 
Tokyo azure meetup #9 azure update, october
Tokyo azure meetup #9   azure update, octoberTokyo azure meetup #9   azure update, october
Tokyo azure meetup #9 azure update, october
 
Tokyo azure meetup #12 service fabric internals
Tokyo azure meetup #12   service fabric internalsTokyo azure meetup #12   service fabric internals
Tokyo azure meetup #12 service fabric internals
 
Tokyo azure meetup #13 build bots with azure bot services
Tokyo azure meetup #13   build bots with azure bot servicesTokyo azure meetup #13   build bots with azure bot services
Tokyo azure meetup #13 build bots with azure bot services
 
Tokyo Azure Meetup #6 - Azure Machine Learning with Microsoft Dynamics
Tokyo Azure Meetup #6 - Azure Machine Learning with Microsoft DynamicsTokyo Azure Meetup #6 - Azure Machine Learning with Microsoft Dynamics
Tokyo Azure Meetup #6 - Azure Machine Learning with Microsoft Dynamics
 

Kürzlich hochgeladen

SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 

Kürzlich hochgeladen (20)

SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 

Tokyo Azure Meetup #7 - Introduction to Serverless Architectures with Azure Functions, July 2016

  • 2. Main Azure Updates • VM - General availability of IaaS migration from classic to Resource Manager • Storage - General availability: Azure cool blob storage in Canada • Azure Redis Cache: Preview of new administration options in Premium tier • Reboot • Schedule updates
  • 3. Main Azure Updates • Azure Automation : Time zone support and daylight savings • General availability: Always Encrypted for Azure SQL Database • Public preview: New version of Azure Active Directory PowerShell cmdlets • General availability: Azure ExpressRoute in additional locations • Paris, Newport/Wales, and Quebec City
  • 4. Main Azure Updates • General availability: Two new Azure regions (West US 2 and West Central US) • General availability: SQL Server Stretch Database • General availability: Microsoft Power BI Embedded • General availability: Microsoft R Server for Linux virtual machines
  • 5. Main Azure Updates • Microsoft introduces AppSource for SaaS business apps • Public preview: Cortana Intelligence Suite with Bing Predicts • General availability: Microsoft Azure IoT Hub S3 edition • 300 million messages per day • General availability: Bing APIs in Microsoft Cognitive Services • Autosuggestion API, Spell Check API, Search API
  • 6. Main Azure Updates • Preview: Microsoft R Client • G-Series instances for Azure Virtual Machines available in Australia East • General availability: Azure SQL Data Warehouse • Azure App Service Authentication and Azure AD domain hints
  • 7. Main Azure Updates • General availability: Service Bus Premium Messaging released to general availability • Azure DevTest Labs: Attach additional data disk to your lab VM • General availability: Azure portal updates for Azure Stream Analytics: • Power BI Output • Data Lake Output • Simple Input
  • 8. Introduction to Serverless Architecture Kanio Dimitrov
  • 9. About Me Azure MVP, Architect & Advisor Tokyo Azure Meetup Host twitter: @azurekanio blog: https://azurekan.wordpress.com/
  • 10. Serverless Computing Serverless computing refers to a model where the existence of servers is simply hidden from developers. • Major shift in Cloud Computing • Application Code Focus • Cost Effectiveness
  • 11.
  • 12. Microservices Small Autonomous services that model business domain and have single responsibility Recommendations Inventory Orders Shopping Cart Shipping Monolithic System
  • 13. Serverless Microservices Order Microservice GET Order Create Order Update Order Remove Order API Gateway Mobile Client
  • 14. Serverless Principles • Abstract completely underlying infrastructure • Break business logic to functions • Focus only on application code • True auto scaling in seconds • Integrate with external systems
  • 15. Current State • AWS Lambda – market leader • Google Cloud Functions • Azure Functions – in Preview • Auth0 Webtasks • IBM OpenWhisk
  • 16. Modern Ops Requirements • Engineers are responsible for the operational quality • Software Engineers have to value operational excellence • Software Engineers on call for their own services • Ops skills are not optional for software engineers in 2016 • Software engineers own their systems from end to end
  • 17. Modern Ops Requirements • The other side of DevOps - Software engineers need to level up at operations • Outsource as many ops responsibility as possible • Build operational excellence for core business differentiators • Aggregate metrics and graph them
  • 18. DevOps requires time • Biggest obstacle to innovation is that development times are too long • DevOps adds to the development time • Application builders need to manage their server infrastructure
  • 19. Serverless Advantages • Rapid Development • Truly Polyglot • Event Driven • Minimal Maintenance • Very Scalable • Pay Per Use
  • 20. Serverless Disadvantages • Limited transparency • Immature tooling (debugging and troubleshooting) • Required security review and penetration testing guidance • More and better documentation and best practices • Vendor Lock-in (Huge dependency on cloud provider) • Limits not well defined
  • 21. Azure Functions Input Code Output • Trigger - specify what conditions cause the function to be called • Binder - specify how to get information into and out of method parameters
  • 22. Azure Functions vs Web Jobs • Web Jobs: • + Extendable. Can run whatever you we want. Full control • - HTTP functionality requires more effort to be configured • Functions: • + Many languages supported • + Completely managed with dynamic scaling • + Portal experience simplifies a lot development • - Host can’t be customized yet • - We are using dedicated "app" which requires additional configuration, but in long term is advantage • - Better tooling required
  • 25. Azure service event processing
  • 27. Serverless web application architectures
  • 31. Supported Platforms • C# • F# • JavaScript • Python • PHP • Bash • Batch • PowerShell
  • 32. Demo – Hello World!
  • 33. Let’s focus on C# • .csx file – focus on writing business logic function • Do not design classes and namespace, just Run method • POCO classes inside the same file for data processing
  • 34. Async & Cancellation Token • async keyword • Task return type public async static Task ProcessBlobEvent(Stream blobInput, Stream blobOutput, CancellationToken token) { await blobInput.CopyToAsync(blobOutput, 4096, token); }
  • 35. Namespaces • Use using • Automatically imported: • System • System.Collections.Generic • System.IO • System.Linq • System.Net.Http • System.Threading.Tasks • Microsoft.Azure.WebJobs • Microsoft.Azure.WebJobs.Host
  • 36. Framework Assemblies • Use #r "AssemblyName“ • Automatically added: • mscorlib • System • System.Core • System.Xml • System.Net.Http • Microsoft.Azure.WebJobs • Microsoft.Azure.WebJobs.Host • Microsoft.Azure.WebJobs.Extensions • System.Web.Http • System.Net.Http.Formatting
  • 37. Special Case • Use only #r "AssemblyName“ • Newtonsoft.Json • Microsoft.WindowsAzure.Storage • Microsoft.ServiceBus • Microsoft.AspNet.WebHooks.Receivers • Microsoft.AspNEt.WebHooks.Common
  • 38. Custom Assemblies • Upload them to bin folder for the function: • Azure Portal • Kudu • FTP • Reference using the file name - #r "MyAssembly.dll"
  • 39. Packages • Upload project.json file to the function’s folder • Specify NuGet packages { "frameworks": { "net46": { "dependencies": { "Microsoft.ProjectOxford.Face": "1.1.0" } } } }
  • 40. Configuration • Via Environment variables • Set on App Service Level • Use System.Environment.GetEnvironmentVariable: • GetEnvironmentVariable(“FacialRecognitionApiKey”);
  • 41. Code Reuse • Use classes and methods defined in other .csx files in your run.csx file • To do that, use #load directives in your run.csx file: • #load “logger.csx”
  • 42. Logging • Include a TraceWriter typed argument • Recommended to name it log • Don’t use Console.Write
  • 43. Hosting Options • App Service Plan • Dynamic Service Plan • Dynamically allocated resources • Functions will run in parallel • Memory from 128 MB to 1536 MB • Limited support for App Service features
  • 44. Development, Debugging & Testing • Local Development is coming • Live debugging with Visual Studio • Azure Storage Explorer • HTTP Endpoints testing: • Postman, Fiddler, Browser
  • 45. Scaling • Classic App Serivce Plan scales based on set rules • Dynamic Service plan scales independently based on traffic • Major criteria is memory size of the execution environment
  • 46. Pricing – “pay-per-user” • Price = Memory size (in GB) x Total amount of execution time (in secs) • Execution time – active time for all functions running inside that function app • Unit of consumption will be GB-s (Gigabyte Seconds)
  • 47. Demo – Azure Functions Scenarios
  • 48. Next Tokyo Azure Meetup • Date – August, 29-th • Time – 19:30 – 21:00 • Location – Microsoft Office • Topic: DevOps / Azure Functions Deep Dive / Bot Framework or another topic. What is the most interesting one for you?