Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Create an S3 bucket and note down the name, for example, "programmaticbilling". Next we will configure AWS to write the programmatic billing data to this bucket. 
  2. Assign the following policy to the S3 bucket.  Replace "programmaticbilling" with the name of your bucket

    Code Block
    {
      "Version": "2008-10-17",
      "Id": "Policy1335892530063",
      "Statement": [
        {
          "Sid": "Stmt1335892150622",
          "Effect": "Allow",
          "Principal": {
            "AWS": "arn:aws:iam::386209384616:root"
          },
          "Action": [
            "s3:GetBucketAcl",
            "s3:GetBucketPolicy"
          ],
          "Resource": "arn:aws:s3:::programmaticbilling"
        },
        {
          "Sid": "Stmt1335892526596",
          "Effect": "Allow",
          "Principal": {
            "AWS": "arn:aws:iam::386209384616:root"
          },
          "Action": "s3:PutObject",
          "Resource": "arn:aws:s3:::programmaticbilling/*"
        }
      ]
    }


  3. Open Billing preferences and select the option to "Receive billing reports". Abiquo requires the Monthly billing report. Enter the name of your bucket
  4. Create a new user for programmatic billing (you can give it any name - we used "programmaticbilling" again!). Assign the AmazonS3ReadOnlyAccess policy to your user

...