Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Azure Web Jobs

Azure Web Jobs

A useful means to automate tasks in the cloud is by leveraging WebJobs hosted in Azure App Service. In this session Steef-Jan will go into the creation, deployment and operations of WebJobs. You will learn about the ins- and outs of Azure WebJobs and how they relate to other Azure Services like functions and logic apps.

Steef-Jan Wiggers

December 21, 2016
Tweet

More Decks by Steef-Jan Wiggers

Other Decks in Technology

Transcript

  1. Steef-Jan Wiggers Principal Consultant • Microsoft Azure MVP • Published

    Author • (Inter)national Speaker • TechNet Wiki Author • Blogger • Forums • Runner • 12th Man DutchWorkz B.V.
  2. Kudu • Engine behind git deployments and WebJobs • Can

    be run outside of Azure • Provides dashboard functionality for a website Project Site https://github.com/projectkudu/kudu
  3. Paths & Files File/Path disable.job Existence of file stops the

    job. Deleting it starts the job. settings.job Allows you to indicate: is_singleton to scale with website. { “is_singleton”: true } or { “is_singleton”: false } site\wwwroot\App_Data\jobs\continuous Path for continuous web jobs site\wwwroot\App_Data\jobs\triggered Path for on demand and scheduled web jobs data\jobs Data directories for jobs job_log.txt Text file of web job log status_{hash} Status file WebJobsSDK.marker Singleton lock file
  4. Real world scenario - 1 Self-Service Portal API Management Outbound

    Inbound WebAPI WebAPI VIP Web Job Azure cache (REDIS) To Redis Storage (Azure) Web Job Dashboard Administrator/ Developer Portal Datastore Nuon (Windows) Service (Windows) Service Inbound Web Job Azure cache (REDIS)
  5. Real world scenario - 2 .VEE files EDI format MPR

    WebJob (Parsing) EDI to JSON Storage blob Push Storage blob