Fortinet white logo
Fortinet white logo

Online Help

AWS Create and Attach Role to EC2 Instance

AWS Create and Attach Role to EC2 Instance

An AWS role needs to be created and attach with predefined policy. Then the AWS role can be attach to the master node of the AWS self-managed Kubernetes cluster

  1. Log into the AWS account associated with the self-managed Kubernetes cluster.
  2. Search and click on IAM. On IAM dashboard, click on Roles.
  3. Keep the selected entity as "AWS Service", choose EC2 and click Next:Permissions.
  4. Search and select the predefined policy: "AmazonSSMManagedInstanceCore", and click Next:Tags.
  5. Click Next:Review to continue.
  6. Enter a role name (e.g. , role_for_ssm), and click Create role. Make a note of the role name.
  7. Search and click EC2 to access EC2 console, in navigation pane, choose Instances.
  8. Select the EC2 instance associated with the self managed Kubernetes cluster.
  9. Choose Actions > Security > Modify IAM role.
  10. Click the IAM role drop down menu and select the role created in step 6 to attache the role.

AWS Create and Attach Role to EC2 Instance

AWS Create and Attach Role to EC2 Instance

An AWS role needs to be created and attach with predefined policy. Then the AWS role can be attach to the master node of the AWS self-managed Kubernetes cluster

  1. Log into the AWS account associated with the self-managed Kubernetes cluster.
  2. Search and click on IAM. On IAM dashboard, click on Roles.
  3. Keep the selected entity as "AWS Service", choose EC2 and click Next:Permissions.
  4. Search and select the predefined policy: "AmazonSSMManagedInstanceCore", and click Next:Tags.
  5. Click Next:Review to continue.
  6. Enter a role name (e.g. , role_for_ssm), and click Create role. Make a note of the role name.
  7. Search and click EC2 to access EC2 console, in navigation pane, choose Instances.
  8. Select the EC2 instance associated with the self managed Kubernetes cluster.
  9. Choose Actions > Security > Modify IAM role.
  10. Click the IAM role drop down menu and select the role created in step 6 to attache the role.