To create user-defined roles, complete the following tasks:
Create the master and worker roles.
Create master policies.
Create worker policies.
Attach the policies to the master and worker roles.
Allow the cluster operator role to assume the worker role.
Allow the cluster operator role to assume the master role.
The master and worker roles, the instance profiles, and the cluster operator role must be defined under the same AWS account.
When the Secure Agent starts the
advanced cluster
, the agent uses the cluster operator role to validate whether the instance profiles exist and whether the master and worker roles have access to required cluster directories, such as staging, log, and initialization script locations. If validation fails, the cluster fails to be created.