Skip to main content

Creating a CloudFront Role in AWS

You can add your CloudFront CDN to IO River and use it with your services. In order to add CloudFront as one of your CDN providers, you need to have an AWS role which can be used with IO River. In general, the role needs to have permissions to manage your CloudFront distribution in your AWS account.

As part of creating a role, you need to generate UUID to be used as an External Id. You can easily create this role using one of the following methods:

  • Using CloudFormation - Use this quick-create link to create the role.
  • Using Terraform - Use this code to create the role.

Once you have created the role, you should obtain:

  1. RoleArn - Id of the role created
  2. External-Id - The UUID you generated and used to create the role with.

Add the RoleArn and External-Id when you add your CloudFront CDN here.

Notes:

  • The policy used within the role provides IO River access only to resources with “ioriver” tag.
  • In case the role is lacking the required permissions, adding CloudFront to the CDN providers will fail.