|
1 | | -# Creating IAM Roles |
| 1 | +# Permissions |
2 | 2 |
|
3 | | -Below are IAM roles that your job execution environment in AWS Batch will use: |
| 3 | +## Create IAM Roles |
4 | 4 |
|
5 | | -* Batch Service Role: |
| 5 | +IAM roles that your job execution environment in AWS Batch will use include: |
| 6 | + |
| 7 | +* **Batch Service Role (required)**: |
6 | 8 |
|
7 | | - (required) |
8 | 9 | Role used by AWS Batch to call other AWS services on its behalf. |
9 | 10 | AWS Batch makes calls to other AWS services on your behalf to manage the resources that you use with the service. Before you can use the service, you must have an IAM policy and role that provides the necessary permissions to AWS Batch. |
10 | 11 | [(Learn More)](https://docs.aws.amazon.com/batch/latest/userguide/service_IAM_role.html) |
11 | 12 |
|
12 | | -* Batch Instance Profile: |
| 13 | +* **Batch Instance Profile (required)**: |
13 | 14 |
|
14 | | - (required) |
15 | 15 | Role that defines service permissions for EC2 instances launched by AWS Batch. |
16 | | - For example, this is used to specify policies that allow access to specific S3 buckets and modify storage on the intance (shown below). |
| 16 | + For example, this is used to specify policies that allow access to specific S3 buckets and modify storage on the instance (shown below). |
17 | 17 | [(Learn More)](https://docs.aws.amazon.com/batch/latest/userguide/instance_IAM_role.html) |
18 | 18 |
|
19 | 19 | ```yaml |
@@ -46,16 +46,14 @@ Below are IAM roles that your job execution environment in AWS Batch will use: |
46 | 46 | Resource: "*" |
47 | 47 | ``` |
48 | 48 |
|
49 | | -* Batch SpotFleet Role: |
| 49 | +* **Batch SpotFleet Role (depends)**: |
50 | 50 | |
51 | | - (depends) |
52 | | - This is role is needed if you intend to launch spot instances from AWS Batch. |
| 51 | + This role is needed if you intend to launch spot instances from AWS Batch. |
53 | 52 | If you create a managed compute environment that uses Amazon EC2 Spot Fleet Instances, you must create a role that grants the Spot Fleet permission to bid on, launch, tag, and terminate instances on your behalf. |
54 | 53 | [(Learn More)](https://docs.aws.amazon.com/batch/latest/userguide/spot_fleet_IAM_role.html) |
55 | 54 |
|
56 | | -* Batch Job Role: |
| 55 | +* **Batch Job Role (optional)**: |
57 | 56 |
|
58 | | - (optional) |
59 | 57 | Role used to provide service permissions to individual jobs. |
60 | 58 | Jobs can run without an IAM role. In that case, they inherit the |
61 | 59 | permissions of the instance they run on. |
|
0 commit comments