tencent cloud

Batch Compute

Product Introduction
What's Batch?
Scenarios
Strengths
Glossary
Quota & Limits
Data Security
Purchase Guide
Getting Started
Preparation
Using CLI - Submit a Job
Using CLI - Compute Environment
Configuring a Job
Using Console
Console User Guide
Task Template Management
Job Management
User Guide
How to create images usable by BatchCompute
Windows Custom Images
Environment Variables
Entering COS & CFS Paths
Event Notice & Callback
Cloud Access Management
Command Line Interface
Preparation
Quick Start
Running Remote Package
Mapping Remote Storage
Use Cases
Building Cluster Using Compute Environment
Example: 3ds Max 2018 Rendering
Example: Deep Learning
API Documentation
History
Introduction
API Category
Making API Requests
Compute Environment APIs
Configuration Viewing-related APIs
Task Template-related APIs
Job-related APIs
Data Types
Error Codes
SDK Documentation
Instructions
FAQs
Contact Us
Glossary

Task Template Management

PDF
フォーカスモード
フォントサイズ
最終更新日: 2024-01-13 11:19:29

Creating Task Template

For more information on task template, please see "Task Template" in Glossary. You can create a task template in the BatchCompute Console in the following steps:
1. Log in to the BatchCompute Console. If you haven't activated the BatchCompute service, activate it as prompted on the BatchCompute Console page.
2. Select Task Template on the left sidebar and select the target region at the top of the page.
3. Click Create to enter the "Create Task Template" page and create a template as shown below:

Main parameters include:
Compute Environment Type:
Existing Compute Environment: you can select an existing compute environment.
Automatic Compute Environment: you don't need to pre-create a fixed compute environment. After a job is submitted, a CVM instance will be created automatically to run the task and terminated automatically after task completion.
**Resource Configuration**: you can click **Detailed CVM Configuration** for further customization. For more information, please see [CVM Product Documentation](https://www.tencentcloud.com/document/product/213).
Number of Resources: this determines the number of resources for concurrent task execution. For more information, please see "Task Instance" in Glossary.
Image: for more information, please see "Image" in Glossary.
4. Click Next to set the program configuration information as shown below:


Execution Method: if "Package" is selected, "Package Address" is required, which is stored in COS.
Package Address/Stdout Log/Stderr Log: they should be in a fixed format. For more information, please see How to Enter COS and CFS Paths.
5. Click Next to set the storage mapping as shown below:


Input path mapping: for Linux, COS and CFS are supported; for Windows, CFS is supported. For the format requirements of COS and CFS paths, please see How to Enter COS and CFS Paths. In addition, please note that the format of local paths vary by operating system.
Output path mapping: COS is supported. For the format requirements of COS path, please see How to Enter COS and CFS Paths.
6. Click Next. After confirming that the task template JSON file is correct, click Save to complete task template creation.



Deleting Task Template

If you no longer need to use a task template, you can delete it on the Task Template list page.



Modifying Task Template

If you need to edit an existing task template, you can click the task template ID on the Task Template list page to enter the task template configuration page and edit the configuration items as shown below:



ヘルプとサポート

この記事はお役に立ちましたか?

フィードバック