Tutorial: Create an unmanaged compute environment using Amazon EC2 resources - Amazon Batch
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Tutorial: Create an unmanaged compute environment using Amazon EC2 resources

Complete the following steps to create an unmanaged compute environment using Amazon Elastic Compute Cloud (Amazon EC2) resources.

  1. Open the Amazon Batch console at https://console.amazonaws.cn/batch/.

  2. From the navigation bar, select the Amazon Web Services Region to use.

  3. On the Compute Environments page, choose Create.

  4. Configure the environment.

    1. For Compute environment configuration, choose Amazon Elastic Compute Cloud (Amazon EC2).

    2. For Orchestration type, choose Unmanaged.

  5. For Name, specify a unique name for your compute environment. The name can be up to 128 characters in length. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).

  6. For Service role, choose a role that lets the Amazon Batch service make calls to the required Amazon API operations on your behalf.

    Note

    You can't use AWSServiceRoleForBatch for unmanaged compute environments.

  7. For Maximum vCPUs, choose the maximum number of vCPUs that your compute environment can scale out to, regardless of job queue demand.

  8. (Optional) Expand Tags. To add a tag, choose Add tag. Then, enter a Key name and optional Value. Choose Add tag. For more information, see Tag your Amazon Batch resources.

  9. Choose Next page.

  10. For Review, review the configuration steps. If you need to make changes, choose Edit. When you're finished, choose Create compute environment.