Skip to content

Commit 7602481

Browse files
authored
Merge pull request #115027 from JnHs/jh-batch-devfeatures
splitting up topic
2 parents d7f9ba7 + 67fca19 commit 7602481

35 files changed

+662
-680
lines changed

.openpublishing.redirection.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52433,7 +52433,16 @@
5243352433
"source_path": "articles/cdn/endpoint-multiorigin.md",
5243452434
"redirect_url": "/azure/cdn/cdn-overview",
5243552435
"redirect_document_id": false
52436+
},
52437+
{
52438+
"source_path": "articles/batch/batch-api-basics.md",
52439+
"redirect_url": "/azure/batch/batch-service-workflow-features",
52440+
"redirect_document_id": false
52441+
},
52442+
{
52443+
"source_path": "articles/batch/batch-retry-after-errors.md",
52444+
"redirect_url": "/azure/batch/error-handling",
52445+
"redirect_document_id": false
5243652446
}
52437-
5243852447
]
5243952448
}

articles/batch/TOC.yml

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,26 @@
5353
items:
5454
- name: Security baseline
5555
href: security-baseline.md
56-
- name: Developer features
57-
href: batch-api-basics.md
56+
- name: Batch service workflow and resources
57+
displayName: developer features
58+
href: batch-service-workflow-features.md
59+
items:
60+
- name: Batch accounts
61+
displayName: storage account
62+
href: accounts.md
63+
- name: Nodes and pools
64+
displayName: compute node, application package, scaling, schedule, os
65+
href: nodes-and-pools.md
66+
- name: Jobs and tasks
67+
displayName: Batch job
68+
href: jobs-and-tasks.md
69+
- name: Files and directories
70+
displayName: Batch file
71+
href: files-and-directories.md
5872
- name: APIs and tools
5973
href: batch-apis-tools.md
60-
- name: Detecting and handling Batch service errors
61-
href: batch-retry-after-errors.md
74+
- name: Error handling and detection
75+
href: error-handling.md
6276
- name: Best practices
6377
href: best-practices.md
6478
- name: Quotas and limits

articles/batch/accounts.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
title: Batch accounts and Azure Storage accounts
3+
description: Learn about Azure Batch accounts and how they are used from a development standpoint.
4+
ms.topic: conceptual
5+
ms.date: 05/12/2020
6+
7+
---
8+
# Batch accounts and Azure Storage accounts
9+
10+
An Azure Batch account is a uniquely identified entity within the Batch service. Most Batch solutions use [Azure Storage](../storage/index.yml) for storing resource files and output files, so each Batch account is usually associated with a corresponding storage account.
11+
12+
## Batch accounts
13+
14+
All processing and resources are associated with a Batch account. When your application makes a request against the Batch service, it authenticates the request using the Azure Batch account name, the URL of the account, and either an access key or an Azure Active Directory token.
15+
16+
You can run multiple Batch workloads in a single Batch account. You can also distribute your workloads among Batch accounts that are in the same subscription but located in different Azure regions.
17+
18+
[!INCLUDE [batch-account-mode-include](../../includes/batch-account-mode-include.md)]
19+
20+
You can create a Batch account using the [Azure portal](batch-account-create-portal.md) or programmatically, such as with the [Batch Management .NET library](batch-management-dotnet.md). When creating the account, you can associate an Azure storage account for storing job-related input and output data or applications.
21+
22+
## Azure Storage accounts
23+
24+
Most Batch solutions use Azure Storage for storing resource files and output files. For example, your Batch tasks (including standard tasks, start tasks, job preparation tasks, and job release tasks) typically specify resource files that reside in a storage account. Storage accounts also stores that data that is processed and any output data that is generated.
25+
26+
Batch supports the following types of Azure Storage accounts:
27+
28+
- General-purpose v2 (GPv2) accounts
29+
- General-purpose v1 (GPv1) accounts
30+
- Blob storage accounts (currently supported for pools in the Virtual Machine configuration)
31+
32+
For more information about storage accounts, see [Azure storage account overview](../storage/common/storage-account-overview.md).
33+
34+
You can associate a storage account with your Batch account when you create the Batch account, or later. Consider your cost and performance requirements when choosing a storage account. For example, the GPv2 and blob storage account options support greater [capacity and scalability limits](https://azure.microsoft.com/blog/announcing-larger-higher-scale-storage-accounts/) compared with GPv1. (Contact Azure Support to request an increase in a storage limit.) These account options can improve the performance of Batch solutions that contain a large number of parallel tasks that read from or write to the storage account.
35+
36+
## Next steps
37+
38+
- Learn about [Nodes and pools](nodes-and-pools.md).
39+
- Learn how to create a Batch account using the [Azure portal](batch-account-create-portal.md).

articles/batch/batch-account-create-portal.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.custom: H1Hack27Feb2017
1111

1212
Learn how to create an Azure Batch account in the [Azure portal][azure_portal], and choose the account properties that fit your compute scenario. Learn where to find important account properties like access keys and account URLs.
1313

14-
For background about Batch accounts and scenarios, see the [feature overview](batch-api-basics.md).
14+
For background about Batch accounts and scenarios, see [Batch service workflow and resources](batch-service-workflow-features.md).
1515

1616
## Create a Batch account
1717

@@ -35,7 +35,7 @@ For background about Batch accounts and scenarios, see the [feature overview](ba
3535

3636
d. **Location**: The Azure region in which to create the Batch account. Only the regions supported by your subscription and resource group are displayed as options.
3737

38-
e. **Storage account**: An optional Azure Storage account that you associate with your Batch account. A general-purpose v2 storage account is recommended for the best performance. For all storage account options in Batch, see the [Batch feature overview](batch-api-basics.md#azure-storage-account). In the portal, select an existing storage account, or create a new one.
38+
e. **Storage account**: An optional Azure Storage account that you associate with your Batch account. A general-purpose v2 storage account is recommended for the best performance. For all storage account options in Batch, see the [Batch feature overview](accounts.md#azure-storage-accounts). In the portal, select an existing storage account, or create a new one.
3939

4040
![Create a storage account][storage_account]
4141

@@ -133,7 +133,7 @@ In addition to using the Azure portal, you can create and manage Batch accounts
133133

134134
## Next steps
135135

136-
* See the [Batch feature overview](batch-api-basics.md) to learn more about Batch service concepts and features. The article discusses the primary Batch resources such as pools, compute nodes, jobs, and tasks, and provides an overview of the service's features for large-scale compute workloads.
136+
* Learn about the [Batch service workflow and primary resources](batch-service-workflow-features.md) such as pools, nodes, jobs, and tasks.
137137
* Learn the basics of developing a Batch-enabled application using the [Batch .NET client library](quick-run-dotnet.md) or [Python](quick-run-python.md). These quickstarts guide you through a sample application that uses the Batch service to execute a workload on multiple compute nodes, and includes using Azure Storage for workload file staging and retrieval.
138138

139139
[azure_portal]: https://portal.azure.com

0 commit comments

Comments
 (0)