SlideShare une entreprise Scribd logo
1  sur  27
Azure Batch Service
George Chrysovalantis Grammatikos
Cloud Platform MCSA | Microsoft Azure MVP
E-mail: george@cloudopszone.com
Blog : https://cloudopszone.com
TechNet Wiki Profile: George Chrysovalantis Grammatikos
What is Azure Batch Service?
“ Use Azure Batch to run large-scale
parallel and high-performance computing
(HPC) batch jobs efficiently in Azure. Azure
Batch creates and manages a pool of
compute nodes (virtual machines), installs
the applications you want to run, and
schedules jobs to run on the nodes. ”
Cloud Basic Principals
Resources
Self Service
Scalability
Billing by consumption
Microsoft Azure Virtual Machines Types
General Purpose
Compute Optimized
Memory Optimized
Storage Optimized
GPU
High Performance Compute
Azure Batch Features
Resource Management
Process Management
Resource & Process Monitoring
• Node Management
• Auto-Scaling
• Low Priority Nodes
• Applications
Resource Management
Node Management
Cloud Service Worker Roles
Virtual Machines
Third Party Applications
Auto-Scaling
Configure the number of nodes in a pool
Auto Scale Formula, based on service variables (CPU, Memory, Number of tasks)
startingNumberOfVMs = 1;
maxNumberofVMs = 25;
pendingTaskSamplePercent = $PendingTasks.GetSamplePercent(180 * TimeInterval_Second);
pendingTaskSamples = pendingTaskSamplePercent < 70 ? startingNumberOfVMs :
avg($PendingTasks.GetSample(180 * TimeInterval_Second));
$TargetDedicatedNodes=min(maxNumberofVMs, pendingTaskSamples);
Low Priority Nodes
Applications
• Zip Package containing executables
• Deployed to nodes when required
• Pools – Deployed to all nodes in pool
• Task – Deployed to nodes running the task
Process Management
Job and Task Management
• Scheduling
• Re-try tasks on failure
• Max task duration
• Tasks may depends from other tasks
• Explicitly defined on task creation
Task Dependencies
Multi-Instance Tasks
• Run tasks on multiple compute nodes
• Inter-node communication required on pool
Resource & Process Monitoring
Azure Portal
Batch Explorer (Batch Labs)
App Insights
Metrics using API
• Rest
• .NET
• Azure CLI
• Azure PowerShell
Parallel Job Processing
Job
Tasks
Result
1. Upload
Application,
Input Files
2. Create
Pool, Jobs,
Tasks
3. Download
App, Input
File & Run
Tasks
4. Monitor
Tasks
5. Upload
Output Files
6.
Download
Output
Files
Azure Batch Architecture
Azure Batch Architecture (Based On The Demo)
Azure Batch Processing Architecture (Based On The Demo)
Application Jobs
Input Files Output Files
Resource Quotas
Resource Default Limit Maximum Limit
Batch accounts per region per
subscription
1-3 50
Dedicated cores per Batch account 10-100 N/A
Low-priority cores per Batch account 10-100 N/A
Active jobs and job schedules per
Batch account
100-300 1000
Pools per Batch account 20-100 500
Pool Size Limits
Resource Maximum Limit
Compute nodes in inter-node communication enabled pool
Batch service pool allocation mode 100
Batch subscription pool allocation mode 80
Compute nodes in
Dedicated nodes 2000
Low-priority nodes 1000
NOT Supported VM Sizes
Family Unsupported
Sizes
Basic A-series Basic_A0(A0)
A-series Standard_A0
B-series All
DC-series All
Extreme memory
optimized
All
Hb-series* All
Hc-series* All
Lsv2-series* All
NDv2-series* All
NVv2-series* All
SAP-HANA All
* Not currently supported, but will be supported in the future
Batch Account Credentials
Storage Account Credentials
Pool And Job Constants
Batch .NET Project Basic Constants
Simulation Examples
• Education: Monte Carlo Simulation (solve complex math problems)
• Computer Software Industry: gaming
• Dev / DevOps : (Common Test execution framework used to manage and
• schedule tasks)
• Motor Racing: F1(Complex simulation and predictions)
• Economy: banks,
• Animation Rendering (Single Frame is rendered as its own task)
Azure Batch Pricing
Azure Batch is a Free service. Charges accrue for the underlying resources
that run your Batch workloads. Configure Cloud Services and Virtual Machines
to estimate the cost of your Batch pools.
TIER: Low priority
INSTANCE: A1: 1 cores(s), 1.75 GB RAM, 225 GB Temporary storage, €0.027/hour
No Of Instances: 5
No Of Days: 1
Total Cost: € 3.64
Storage:
Bandwitdth: € 0.02
Microsoft Azure Compute
Demo
Azure Batch .NET File Processing With ffmpeg
Useful Tools & Links
Azure Batch Tools
 Azure Portal
 Azure Batch GitHub
 Azure CLI
 Azure Storage Explorer
 AzCopy Tool
 Blobxfer Tool
 Azure Batch Explorer
Docker Support
 Batch Shipyard
Feedback & Forums
 Feedback
Pricing
 Cloud Services
 Windows Virtual Machines
 Linux Virtual Machines
Resources
 Azure Batch Documentation
 Azure Batch Code Samples Repo
 Batch service quotas and limits Jump
 VM sizes for compute nodes in an Azure Batch pool Jump
 Tutorial: Run a parallel workload with Azure Batch using the .NET API Jump
 Azure Batch Videos - Channel 9 Jump
 https://azure.microsoft.com/en-us/pricing/details/batch/
 Create an automatic scaling formula for scaling compute nodes in a Batch pool
Jump
 Batch computing at a fraction of the price
 Real-world Applications of Simulations
 Simulation Examples
Help us improve and organize even better meetups

Contenu connexe

Tendances

BigData- On - AWS Cloud -1
BigData- On - AWS Cloud -1BigData- On - AWS Cloud -1
BigData- On - AWS Cloud -1
Milind gunjan
 
Hivemail: Scalable Machine Learning Library for Apache Hive
Hivemail: Scalable Machine Learning Library for Apache HiveHivemail: Scalable Machine Learning Library for Apache Hive
Hivemail: Scalable Machine Learning Library for Apache Hive
DataWorks Summit
 
Logical Data Warehouse: How to Build a Virtualized Data Services Layer
Logical Data Warehouse: How to Build a Virtualized Data Services LayerLogical Data Warehouse: How to Build a Virtualized Data Services Layer
Logical Data Warehouse: How to Build a Virtualized Data Services Layer
DataWorks Summit
 

Tendances (20)

Real-world Cloud HPC at Scale, for Production Workloads (BDT212) | AWS re:Inv...
Real-world Cloud HPC at Scale, for Production Workloads (BDT212) | AWS re:Inv...Real-world Cloud HPC at Scale, for Production Workloads (BDT212) | AWS re:Inv...
Real-world Cloud HPC at Scale, for Production Workloads (BDT212) | AWS re:Inv...
 
The TCO Calculator - Estimate the True Cost of Hadoop
The TCO Calculator - Estimate the True Cost of Hadoop The TCO Calculator - Estimate the True Cost of Hadoop
The TCO Calculator - Estimate the True Cost of Hadoop
 
IBM Cloud Day January 2021 - A well architected data lake
IBM Cloud Day January 2021 - A well architected data lakeIBM Cloud Day January 2021 - A well architected data lake
IBM Cloud Day January 2021 - A well architected data lake
 
Presto & differences between popular SQL engines (Spark, Redshift, and Hive)
Presto & differences between popular SQL engines (Spark, Redshift, and Hive)Presto & differences between popular SQL engines (Spark, Redshift, and Hive)
Presto & differences between popular SQL engines (Spark, Redshift, and Hive)
 
Building Modern Data Pipelines on GCP via a FREE online Bootcamp
Building Modern Data Pipelines on GCP via a FREE online BootcampBuilding Modern Data Pipelines on GCP via a FREE online Bootcamp
Building Modern Data Pipelines on GCP via a FREE online Bootcamp
 
Snowflake Datawarehouse Architecturing
Snowflake Datawarehouse ArchitecturingSnowflake Datawarehouse Architecturing
Snowflake Datawarehouse Architecturing
 
Suburface 2021 IBM Cloud Data Lake
Suburface 2021 IBM Cloud Data LakeSuburface 2021 IBM Cloud Data Lake
Suburface 2021 IBM Cloud Data Lake
 
BigData- On - AWS Cloud -1
BigData- On - AWS Cloud -1BigData- On - AWS Cloud -1
BigData- On - AWS Cloud -1
 
Hadoop in the Cloud – The What, Why and How from the Experts
Hadoop in the Cloud – The What, Why and How from the ExpertsHadoop in the Cloud – The What, Why and How from the Experts
Hadoop in the Cloud – The What, Why and How from the Experts
 
HDInsight Hadoop on Windows Azure
HDInsight Hadoop on Windows AzureHDInsight Hadoop on Windows Azure
HDInsight Hadoop on Windows Azure
 
Azure Data Factory v2
Azure Data Factory v2Azure Data Factory v2
Azure Data Factory v2
 
Hivemail: Scalable Machine Learning Library for Apache Hive
Hivemail: Scalable Machine Learning Library for Apache HiveHivemail: Scalable Machine Learning Library for Apache Hive
Hivemail: Scalable Machine Learning Library for Apache Hive
 
Powering Data Science and AI with Apache Spark, Alluxio, and IBM
Powering Data Science and AI with Apache Spark, Alluxio, and IBMPowering Data Science and AI with Apache Spark, Alluxio, and IBM
Powering Data Science and AI with Apache Spark, Alluxio, and IBM
 
Logical Data Warehouse: How to Build a Virtualized Data Services Layer
Logical Data Warehouse: How to Build a Virtualized Data Services LayerLogical Data Warehouse: How to Build a Virtualized Data Services Layer
Logical Data Warehouse: How to Build a Virtualized Data Services Layer
 
Snowflake essentials
Snowflake essentialsSnowflake essentials
Snowflake essentials
 
Unleash the power of Azure Data Factory
Unleash the power of Azure Data Factory Unleash the power of Azure Data Factory
Unleash the power of Azure Data Factory
 
McGraw-Hill Optimizes Analytics Workloads with Databricks
 McGraw-Hill Optimizes Analytics Workloads with Databricks McGraw-Hill Optimizes Analytics Workloads with Databricks
McGraw-Hill Optimizes Analytics Workloads with Databricks
 
Amazon EMR
Amazon EMRAmazon EMR
Amazon EMR
 
Ebooks - Accelerating Time to Value of Big Data of Apache Spark | Qubole
Ebooks - Accelerating Time to Value of Big Data of Apache Spark | QuboleEbooks - Accelerating Time to Value of Big Data of Apache Spark | Qubole
Ebooks - Accelerating Time to Value of Big Data of Apache Spark | Qubole
 
Building a Bigdata Architecture on AWS
Building a Bigdata Architecture on AWSBuilding a Bigdata Architecture on AWS
Building a Bigdata Architecture on AWS
 

Similaire à Azure Batch Service Meetup Presentation

Building Serverless Web Applications - DevDay Austin 2017
Building Serverless Web Applications - DevDay Austin 2017Building Serverless Web Applications - DevDay Austin 2017
Building Serverless Web Applications - DevDay Austin 2017
Amazon Web Services
 
Windows Azure & How to Deploy Wordress
Windows Azure & How to Deploy WordressWindows Azure & How to Deploy Wordress
Windows Azure & How to Deploy Wordress
George Kanellopoulos
 

Similaire à Azure Batch Service Meetup Presentation (20)

Azure Functions - Introduction
Azure Functions - IntroductionAzure Functions - Introduction
Azure Functions - Introduction
 
Sky High With Azure
Sky High With AzureSky High With Azure
Sky High With Azure
 
Return on Ignite 2019: Azure, .NET, A.I. & Data
Return on Ignite 2019: Azure, .NET, A.I. & DataReturn on Ignite 2019: Azure, .NET, A.I. & Data
Return on Ignite 2019: Azure, .NET, A.I. & Data
 
Introduction to Windows Azure Platform
Introduction to Windows Azure PlatformIntroduction to Windows Azure Platform
Introduction to Windows Azure Platform
 
DataTalks.Club - Building Scalable End-to-End Deep Learning Pipelines in the ...
DataTalks.Club - Building Scalable End-to-End Deep Learning Pipelines in the ...DataTalks.Club - Building Scalable End-to-End Deep Learning Pipelines in the ...
DataTalks.Club - Building Scalable End-to-End Deep Learning Pipelines in the ...
 
Windows Azure Platform + PHP - Jonathan Wong
Windows Azure Platform + PHP - Jonathan WongWindows Azure Platform + PHP - Jonathan Wong
Windows Azure Platform + PHP - Jonathan Wong
 
Azure Serverless Toolbox
Azure Serverless ToolboxAzure Serverless Toolbox
Azure Serverless Toolbox
 
Migrating Apps To Azure
Migrating Apps To AzureMigrating Apps To Azure
Migrating Apps To Azure
 
Migrating Existing Open Source Machine Learning to Azure
Migrating Existing Open Source Machine Learning to AzureMigrating Existing Open Source Machine Learning to Azure
Migrating Existing Open Source Machine Learning to Azure
 
BizSpark Startup Night Windows Azure March 29, 2011
BizSpark Startup Night Windows Azure March 29, 2011BizSpark Startup Night Windows Azure March 29, 2011
BizSpark Startup Night Windows Azure March 29, 2011
 
Increase Speed and Agility with Amazon Web Services
Increase Speed and Agility with Amazon Web ServicesIncrease Speed and Agility with Amazon Web Services
Increase Speed and Agility with Amazon Web Services
 
Increase Speed and Agility with Amazon Web Services
Increase Speed and Agility with Amazon Web ServicesIncrease Speed and Agility with Amazon Web Services
Increase Speed and Agility with Amazon Web Services
 
오토스케일링 제대로 활용하기 (김일호) - AWS 웨비나 시리즈 2015
오토스케일링 제대로 활용하기 (김일호) - AWS 웨비나 시리즈 2015오토스케일링 제대로 활용하기 (김일호) - AWS 웨비나 시리즈 2015
오토스케일링 제대로 활용하기 (김일호) - AWS 웨비나 시리즈 2015
 
Windows Azure Acid Test
Windows Azure Acid TestWindows Azure Acid Test
Windows Azure Acid Test
 
Building Serverless Web Applications - DevDay Austin 2017
Building Serverless Web Applications - DevDay Austin 2017Building Serverless Web Applications - DevDay Austin 2017
Building Serverless Web Applications - DevDay Austin 2017
 
Adelaide Global Azure Bootcamp 2018 - Azure 101
Adelaide Global Azure Bootcamp 2018 - Azure 101Adelaide Global Azure Bootcamp 2018 - Azure 101
Adelaide Global Azure Bootcamp 2018 - Azure 101
 
Azure provisioning at your control
Azure provisioning at your controlAzure provisioning at your control
Azure provisioning at your control
 
Windows Azure & How to Deploy Wordress
Windows Azure & How to Deploy WordressWindows Azure & How to Deploy Wordress
Windows Azure & How to Deploy Wordress
 
IaaS azure_vs_amazon
IaaS azure_vs_amazonIaaS azure_vs_amazon
IaaS azure_vs_amazon
 
Building stateful serverless orchestrations with Azure Durable Azure Function...
Building stateful serverless orchestrations with Azure Durable Azure Function...Building stateful serverless orchestrations with Azure Durable Azure Function...
Building stateful serverless orchestrations with Azure Durable Azure Function...
 

Plus de George Grammatikos

Plus de George Grammatikos (7)

Deploy resources on Azure using IaC (Azure Terraform)
Deploy  resources on Azure using IaC (Azure Terraform)Deploy  resources on Azure using IaC (Azure Terraform)
Deploy resources on Azure using IaC (Azure Terraform)
 
Land your data safely and accurately with Power Platform and Azure.pdf
Land your data safely and accurately with Power Platform and Azure.pdfLand your data safely and accurately with Power Platform and Azure.pdf
Land your data safely and accurately with Power Platform and Azure.pdf
 
Working with MS Endpoint Manager
Working with MS Endpoint ManagerWorking with MS Endpoint Manager
Working with MS Endpoint Manager
 
IT PRO | Connections 2020 : Introduction to Logic Apps and automation solutio...
IT PRO | Connections 2020 : Introduction to Logic Apps and automation solutio...IT PRO | Connections 2020 : Introduction to Logic Apps and automation solutio...
IT PRO | Connections 2020 : Introduction to Logic Apps and automation solutio...
 
Intro to Azure Service Bus
Intro to Azure Service BusIntro to Azure Service Bus
Intro to Azure Service Bus
 
Introduction to Azure logic apps
Introduction to Azure logic appsIntroduction to Azure logic apps
Introduction to Azure logic apps
 
SQL or NoSQL, is this the question? - George Grammatikos
SQL or NoSQL, is this the question? - George GrammatikosSQL or NoSQL, is this the question? - George Grammatikos
SQL or NoSQL, is this the question? - George Grammatikos
 

Dernier

Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptxChiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
raffaeleoman
 
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
Sheetaleventcompany
 
If this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New NigeriaIf this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New Nigeria
Kayode Fayemi
 
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
amilabibi1
 
Uncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac FolorunsoUncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac Folorunso
Kayode Fayemi
 

Dernier (20)

Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptxChiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
 
Aesthetic Colaba Mumbai Cst Call girls 📞 7738631006 Grant road Call Girls ❤️-...
Aesthetic Colaba Mumbai Cst Call girls 📞 7738631006 Grant road Call Girls ❤️-...Aesthetic Colaba Mumbai Cst Call girls 📞 7738631006 Grant road Call Girls ❤️-...
Aesthetic Colaba Mumbai Cst Call girls 📞 7738631006 Grant road Call Girls ❤️-...
 
Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510
 
Dreaming Music Video Treatment _ Project & Portfolio III
Dreaming Music Video Treatment _ Project & Portfolio IIIDreaming Music Video Treatment _ Project & Portfolio III
Dreaming Music Video Treatment _ Project & Portfolio III
 
Report Writing Webinar Training
Report Writing Webinar TrainingReport Writing Webinar Training
Report Writing Webinar Training
 
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
 
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
 
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdfAWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
 
Presentation on Engagement in Book Clubs
Presentation on Engagement in Book ClubsPresentation on Engagement in Book Clubs
Presentation on Engagement in Book Clubs
 
Dreaming Marissa Sánchez Music Video Treatment
Dreaming Marissa Sánchez Music Video TreatmentDreaming Marissa Sánchez Music Video Treatment
Dreaming Marissa Sánchez Music Video Treatment
 
If this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New NigeriaIf this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New Nigeria
 
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdf
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdfThe workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdf
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdf
 
Introduction to Prompt Engineering (Focusing on ChatGPT)
Introduction to Prompt Engineering (Focusing on ChatGPT)Introduction to Prompt Engineering (Focusing on ChatGPT)
Introduction to Prompt Engineering (Focusing on ChatGPT)
 
lONG QUESTION ANSWER PAKISTAN STUDIES10.
lONG QUESTION ANSWER PAKISTAN STUDIES10.lONG QUESTION ANSWER PAKISTAN STUDIES10.
lONG QUESTION ANSWER PAKISTAN STUDIES10.
 
SaaStr Workshop Wednesday w/ Lucas Price, Yardstick
SaaStr Workshop Wednesday w/ Lucas Price, YardstickSaaStr Workshop Wednesday w/ Lucas Price, Yardstick
SaaStr Workshop Wednesday w/ Lucas Price, Yardstick
 
Sector 62, Noida Call girls :8448380779 Noida Escorts | 100% verified
Sector 62, Noida Call girls :8448380779 Noida Escorts | 100% verifiedSector 62, Noida Call girls :8448380779 Noida Escorts | 100% verified
Sector 62, Noida Call girls :8448380779 Noida Escorts | 100% verified
 
Air breathing and respiratory adaptations in diver animals
Air breathing and respiratory adaptations in diver animalsAir breathing and respiratory adaptations in diver animals
Air breathing and respiratory adaptations in diver animals
 
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
 
Uncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac FolorunsoUncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac Folorunso
 
My Presentation "In Your Hands" by Halle Bailey
My Presentation "In Your Hands" by Halle BaileyMy Presentation "In Your Hands" by Halle Bailey
My Presentation "In Your Hands" by Halle Bailey
 

Azure Batch Service Meetup Presentation

  • 1. Azure Batch Service George Chrysovalantis Grammatikos Cloud Platform MCSA | Microsoft Azure MVP E-mail: george@cloudopszone.com Blog : https://cloudopszone.com TechNet Wiki Profile: George Chrysovalantis Grammatikos
  • 2. What is Azure Batch Service? “ Use Azure Batch to run large-scale parallel and high-performance computing (HPC) batch jobs efficiently in Azure. Azure Batch creates and manages a pool of compute nodes (virtual machines), installs the applications you want to run, and schedules jobs to run on the nodes. ”
  • 3. Cloud Basic Principals Resources Self Service Scalability Billing by consumption
  • 4. Microsoft Azure Virtual Machines Types General Purpose Compute Optimized Memory Optimized Storage Optimized GPU High Performance Compute
  • 5. Azure Batch Features Resource Management Process Management Resource & Process Monitoring
  • 6. • Node Management • Auto-Scaling • Low Priority Nodes • Applications Resource Management
  • 7. Node Management Cloud Service Worker Roles Virtual Machines Third Party Applications
  • 8. Auto-Scaling Configure the number of nodes in a pool Auto Scale Formula, based on service variables (CPU, Memory, Number of tasks) startingNumberOfVMs = 1; maxNumberofVMs = 25; pendingTaskSamplePercent = $PendingTasks.GetSamplePercent(180 * TimeInterval_Second); pendingTaskSamples = pendingTaskSamplePercent < 70 ? startingNumberOfVMs : avg($PendingTasks.GetSample(180 * TimeInterval_Second)); $TargetDedicatedNodes=min(maxNumberofVMs, pendingTaskSamples);
  • 10. Applications • Zip Package containing executables • Deployed to nodes when required • Pools – Deployed to all nodes in pool • Task – Deployed to nodes running the task
  • 11. Process Management Job and Task Management • Scheduling • Re-try tasks on failure • Max task duration • Tasks may depends from other tasks • Explicitly defined on task creation Task Dependencies Multi-Instance Tasks • Run tasks on multiple compute nodes • Inter-node communication required on pool
  • 12. Resource & Process Monitoring Azure Portal Batch Explorer (Batch Labs) App Insights Metrics using API • Rest • .NET • Azure CLI • Azure PowerShell
  • 14. 1. Upload Application, Input Files 2. Create Pool, Jobs, Tasks 3. Download App, Input File & Run Tasks 4. Monitor Tasks 5. Upload Output Files 6. Download Output Files Azure Batch Architecture
  • 15. Azure Batch Architecture (Based On The Demo)
  • 16. Azure Batch Processing Architecture (Based On The Demo) Application Jobs Input Files Output Files
  • 17. Resource Quotas Resource Default Limit Maximum Limit Batch accounts per region per subscription 1-3 50 Dedicated cores per Batch account 10-100 N/A Low-priority cores per Batch account 10-100 N/A Active jobs and job schedules per Batch account 100-300 1000 Pools per Batch account 20-100 500
  • 18. Pool Size Limits Resource Maximum Limit Compute nodes in inter-node communication enabled pool Batch service pool allocation mode 100 Batch subscription pool allocation mode 80 Compute nodes in Dedicated nodes 2000 Low-priority nodes 1000
  • 19. NOT Supported VM Sizes Family Unsupported Sizes Basic A-series Basic_A0(A0) A-series Standard_A0 B-series All DC-series All Extreme memory optimized All Hb-series* All Hc-series* All Lsv2-series* All NDv2-series* All NVv2-series* All SAP-HANA All * Not currently supported, but will be supported in the future
  • 20. Batch Account Credentials Storage Account Credentials Pool And Job Constants Batch .NET Project Basic Constants
  • 21. Simulation Examples • Education: Monte Carlo Simulation (solve complex math problems) • Computer Software Industry: gaming • Dev / DevOps : (Common Test execution framework used to manage and • schedule tasks) • Motor Racing: F1(Complex simulation and predictions) • Economy: banks, • Animation Rendering (Single Frame is rendered as its own task)
  • 22. Azure Batch Pricing Azure Batch is a Free service. Charges accrue for the underlying resources that run your Batch workloads. Configure Cloud Services and Virtual Machines to estimate the cost of your Batch pools. TIER: Low priority INSTANCE: A1: 1 cores(s), 1.75 GB RAM, 225 GB Temporary storage, €0.027/hour No Of Instances: 5 No Of Days: 1 Total Cost: € 3.64 Storage: Bandwitdth: € 0.02
  • 24. Demo Azure Batch .NET File Processing With ffmpeg
  • 25. Useful Tools & Links Azure Batch Tools  Azure Portal  Azure Batch GitHub  Azure CLI  Azure Storage Explorer  AzCopy Tool  Blobxfer Tool  Azure Batch Explorer Docker Support  Batch Shipyard Feedback & Forums  Feedback Pricing  Cloud Services  Windows Virtual Machines  Linux Virtual Machines
  • 26. Resources  Azure Batch Documentation  Azure Batch Code Samples Repo  Batch service quotas and limits Jump  VM sizes for compute nodes in an Azure Batch pool Jump  Tutorial: Run a parallel workload with Azure Batch using the .NET API Jump  Azure Batch Videos - Channel 9 Jump  https://azure.microsoft.com/en-us/pricing/details/batch/  Create an automatic scaling formula for scaling compute nodes in a Batch pool Jump  Batch computing at a fraction of the price  Real-world Applications of Simulations  Simulation Examples
  • 27. Help us improve and organize even better meetups

Notes de l'éditeur

  1. General purpose: B, Dsv3, Dv3, DSv2, Dv2, Av2, DC | Compute optimized: Fsv2, Fs, F | Memory optimized: Esv3, Ev3, M, GS, G, DSv2, Dv2 | Storage optimized: Lsv2, Ls GPU: NV, NVv2, NC, NCv2, NCv3, ND, Ndv2 (Preview) | High performance compute: H
  2. Cloud Service Worker Roles have been around since the introduce of Azure Platform in 2008
  3. https://docs.microsoft.com/en-us/azure/batch/batch-automatic-scaling
  4. Resource Quota : Service Quota is quite important for the Azure Batch workloads because it is very likely in a rough design might be reached this limit.
  5. Pool Size Limits : The Pool Size is the number of the nodes, as a single node consider a virtual machine.