In Ripple, it is possible to process billing based on the data from the Cost and Usage Report (CUR) configured at the billing group level in AWS Billing Conductor (ABC). This page describes how to set it up.
Steps
1. Allow API access from Ripple to the Payer account.
In order for Ripple to access and perform necessary operations via API for the payment account intending to use ABC, permissions must be granted to Ripple. This step can be skipped if API access was already granted when registering the payer account with Ripple.
▼ Steps who already registered the payment account with no API access
Log in to the AWS account associated with the target payer account.
Navigate to Ripple Menu > Settings > Payer Account Settings.
Click on the '...' next to the target payment account and select 'Allow API Access'.
Click on 'Cross-Account Setup'.
On the AWS account side, click on 'Create Stack' to execute the CloudFormation stack.
After the stack creation is completed, return to the Ripple interface and click on 'Confirm Permissions'.
Note
The user logging into AWS must have an account with permissions to execute CloudFormation stacks.
Please remember to click on 'Confirm Permissions' in step 6; failure to do so will result in the inability to establish the integration."
2. Create a Billing group on the ABC console.
Log in to the AWS console for the payer account where you want to create the billing group, and select the AWS Billing Conductor menu.
Please note that you will need an account with permissions to operate Billing Conductor.
Click on 'Billing Groups' in the left menu, then click on 'Create Billing Group' at the top right.
After configuring the necessary fields, click on 'Create Billing Group.'
Billing Group Name: Enter the name of the billing group.
Billing Plan: Select 'Create a public on-demand billing plan.'
Accounts: Choose the accounts to include in the billing group.
Select Primary Account: This account serves a role similar to a pseudo-payment account and cannot be changed later. You can view the charges for the billing group in the AWS console of the primary account. Additionally, the actual payer account itself cannot be set as the primary account."
3. Create Billing group in Ripple
Click on 'Account & Groups' in the Ripple menu, then select 'Billing Groups.'
Click on the 'Add Billing Group' button at the top right, then click on 'Import AWS Billing Conductor.'"
Select Payer account
Select Billing group
At this point, you will see a list of billing groups created on the ABC screen for the respective payment account.
Fill in the necessary details, select the account, and proceed to create the billing group.
4. Setup Proforma CUR
Click on the 'Settings' menu and select 'Payment Account Settings.'
Click on the ellipsis (...) button next to the target payment account and select 'Setup Payer Proforma CUR.'
Choose the billing group, enter the S3 bucket name, prefix, and region.
For the Tokyo region, enter 'ap-northeast-1.'
Click 'Save' to save the settings and complete the setup.