Defining the permissions for a Glue job
In this section, we are going to define the required permissions for a Glue job:
- Open the AWS IAM service.
- Click Roles on the left-hand side:
Figure 11.7 – List of IAM services
- Click Create role:
Figure 11.8 – Create role
- Under Use case, select Glue:
Figure 11.9 – Selecting Glue
- On the next page, select AmazonS3FullAccess and CloudWatchFullAccess under Policy name:
(a)
(b)
Figure 11.10 – S3 and CloudWatch access
- Give a name for the role that we are creating, then you can click Create role to finish the role creation:
(a)
(b)
Figure 11.11 – Role name and creation
We have created the required role for an AWS Glue job. In the next step, we will create...