Linking to Amazon Web Services

1. Sign in into your AWS account
2. Go to Services > IAM > Policies (https://console.aws.amazon.com/iam/home#policies)
3. Click "Create Policy"
4. Select "Create Your Own Policy"
5. Name policy "d2c-policy"
Paste this text in the Policy Document field:

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Action": "ec2:*",
      "Effect": "Allow",
      "Resource": "*"
    }
  ]
}
If you want to limit regions, paste this text (replace "eu-west-1" with regions you want):

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Action": [
                "ec2:*"
            ],
            "Effect": "Allow",
            "Resource": "*",
            "Condition": {
                "StringEquals": {
                    "ec2:Region": "eu-west-1"
                }
            }
        }
    ]
}
6. Go to Users and click "Create New Users"
7. Give the new user a name (d2c-user as an example), click "Create"
8. Download or copy the user's credentials
9. Go back to "Users" and choose the user you've created
10. Click "Attach Policy"
11. Choose "d2c-policy" and click "Attach Policy"
12. Now go into your D2C account at https://panel.d2c.io, click "Create host" on your dashboard and click the icon for adding cloud providers
13. Choose Amazon Web Services and paste your credentials, which you copied before
Yeah! You are ready to use AWS as a provider for D2C
Made on
Tilda