Compétences Azure Batch SDK for Java
📦

Azure Batch SDK for Java

Sûr

Java로 Azure Batch 작업 실행

개발자들은 Azure에서 대규모 병렬 및 HPC 워크로드를 실행해야 하지만 Java용 Azure Batch SDK 사용에 대한 가이드가 부족합니다. 이 스킬은 풀, 작업, 태스크 및 컴퓨팅 노드 관리를 위한 포괄적인 코드 예제를 제공합니다.

Prend en charge: Claude Codex Code(CC)
🥉 72 Bronze
1

Télécharger le ZIP du skill

2

Importer dans Claude

Allez dans Paramètres → Capacités → Skills → Importer un skill

3

Activez et commencez à utiliser

Tester

Utilisation de "Azure Batch SDK for Java". 자동 크기 조정이 활성화된 Azure Batch 풀을 어떻게 만드나요?

Résultat attendu:

enablePoolAutoScale 메서드와 자동 크기 조정 수식을 사용하여 풀에서 자동 크기 조정을 활성화할 수 있습니다:

```java
BatchPoolEnableAutoScaleParameters autoScaleParams = new BatchPoolEnableAutoScaleParameters()
.setAutoScaleEvaluationInterval(Duration.ofMinutes(5))
.setAutoScaleFormula("$TargetDedicatedNodes = min(10, $PendingTasks.GetSample(TimeInterval_Minute * 5));");

batchClient.enablePoolAutoScale("myPoolId", autoScaleParams);
```

이 수식은 보류 중인 태스크를 기준으로 1-10개 노드 간에 크기를 조정합니다.

Utilisation de "Azure Batch SDK for Java". Azure Batch로 인증하는 권장 방법은 무엇인가요?

Résultat attendu:

Microsoft Entra ID(이전 Azure AD)가 권장되는 인증 방법입니다:

```java
BatchClient batchClient = new BatchClientBuilder()
.credential(new DefaultAzureCredentialBuilder().build())
.endpoint(System.getenv("AZURE_BATCH_ENDPOINT"))
.buildClient();
```

이는 관리 ID를 지원하며 공유 키 인증보다 더 안전합니다.

Audit de sécurité

Sûr
v1 • 2/24/2026

This is a prompt-only documentation skill containing code examples for the Azure Batch SDK for Java. Static analysis scanned 0 files and detected 0 security issues. The skill provides guidance on using Azure Batch APIs and presents no executable code or security risks. All content is documentation for a legitimate Azure cloud service.

0
Fichiers analysés
0
Lignes analysées
0
résultats
1
Total des audits
Aucun problème de sécurité trouvé
Audité par: claude

Score de qualité

38
Architecture
100
Maintenabilité
87
Contenu
50
Communauté
100
Sécurité
74
Conformité aux spécifications

Ce que vous pouvez construire

데이터 처리 파이프라인

여러 컴퓨팅 노드에서 동시 태스크를 실행하는 Azure Batch 풀을 사용하여 대규모 데이터셋을 병렬로 처리합니다

HPC 워크로드 실행

분산 컴퓨팅 노드에서 계산 시뮬레이션 또는 과학적 계산을 실행합니다

반복 배치 작업

Azure Batch 작업 스케줄을 사용하여 정기적인 데이터 처리 또는 보고서 생성 작업을 예약합니다

Essayez ces prompts

Azure Batch 풀 생성
Ubuntu 컴퓨팅 노드와 2개의 전용 노드를 사용하여 Java SDK로 Azure Batch 풀을 만드는 방법을 보여주세요
태스크가 포함된 배치 작업 제출
데이터 파일을 처리하기 위해 100개의 동시 태스크로 배치 작업을 제출하는 Java 코드 예제를 만드세요
작업 진행 상황 모니터링
Azure Batch Java SDK를 사용하여 태스크 수와 작업 상태를 모니터링하려면 어떻게 하나요?
태스크 오류 처리
Java에서 배치 태스크에 대한 종료 조건과 오류 처리를 구성하는 방법을 보여주세요

Bonnes pratiques

  • 보안 강화를 위해 공유 키 자격 증명 대신 Microsoft Entra ID 인증 사용
  • API 호출을 줄이기 위해 여러 태스크에 createTaskCollection 또는 createTasks를 사용한 배치 태스크 생성
  • 무한정 실행되는 태스크를 방지하기 위해 작업 제약 조건(maxWallClockTime, maxTaskRetryCount) 구성

Éviter

  • 프로덕션에서 공유 키 인증을 사용하지 마세요 - 관리 ID가 있는 Entra ID를 선호하세요
  • 짧은 루프에서 태스크를 하나씩 만들지 마세요 - 대신 배치 태스크 생성 API를 사용하세요
  • 장기 실행 작업을 무시하지 마세요 - 풀 크기 조정 및 삭제를 위해 항상 SyncPoller 완료를 대기하세요

Foire aux questions

Azure Batch란 무엇인가요?
Azure Batch는 관리되는 가상 머신 풀에서 대규모 병렬 및 HPC 워크로드 실행을 가능하게 하는 클라우드 기반 작업 스케줄링 서비스입니다.
Java에서 Azure Batch로 어떻게 인증하나요?
DefaultAzureCredentialBuilder와 함께 Microsoft Entra ID를 사용하거나 공유 키 인증을 위해 AzureNamedKeyCredential을 사용하세요. 프로덕션에는 Entra ID가 권장됩니다.
전용 노드와 우선순위 낮은 노드의 차이점은 무엇인가요?
전용 노드는 예약되어 있고 비싸지만 안정적입니다. 우선순위 낮은 노드는 여분의 Azure 용량을 사용하며 저렴하지만 선점될 수 있습니다.
태스크 실패를 어떻게 처리하나요?
실패 시 작업 종료와 같은 특정 종료 코드에 대한 작업을 정의하려면 ExitCodeRangeMapping으로 종료 조건을 구성하세요.
Azure Batch에서 Windows 또는 Linux 컨테이너를 실행할 수 있나요?
Azure Batch는 Windows와 Linux 컴퓨팅 노드를 모두 지원합니다. 컨테이너의 경우 대신 Azure Container Instances 또는 Azure Kubernetes Service를 사용하세요.
Azure Batch에서 자동 크기 조정은 어떻게 작동하나요?
자동 크기 조정은 보류 중인 태스크나 CPU 사용량과 같은 메트릭을 기준으로 대상 전용 노드 수를 조정하기 위해 일정 간격으로 평가되는 수식을 사용합니다.

Détails du développeur

Structure de fichiers

📄 SKILL.md