Retrieving old AWS reports for remapped customers

Modified on Thu, 09 Mar 2023 at 05:01 PM

Sometime, Bart from Cloudnation will ask us to rerun the connector on a past month from a customer that has been remapped. If it's too long past month's end, there will not be a new CUR to process, so the connector will skip the report. However, in order to move the purchases from one customer to the other, we need the connector to read the report again. To make this happen, we need to take the following steps:

  1. Make sure no invoices have been approved for the month we want to retrieve
  2. Find the Master account the member account belonged to for the month we want to retrieve
  3. Tell Roelof to make the connector read the last report for that Master
  4. Check the 'Stop processing reports after day' setting. It needs to be higher than the current date.
  5. Run the AWSConnector in the Admin Portal
  6. Run the MRPConnector in the Admin Portal
  7. Wait until all purchases have been imported to check whether the appropriate invoice contains purchases with a reference that contains the remapped UsageAccount

1. No invoices have been approved


If invoices have already been approved, rerunning the connector for that month might have adverse consequences. However, after a certain period it is not very likely that a new report is available. This is not a blocking issue, but you should take it into account. If possible, ask the customer to wait with the approvals.


2. Find the right Master


you have to know which master the account belonged to in the month he wants to retrieve. To find this, simply search for the invoice this account is now on and click through to the purchases. You'll find the master by looking at the purchase reference. The AWS purchase reference is built up like this: yearmonth-payer (aka: master) account-usage account-serial number. For example, '202303-112294252224-346610300312-0000376' is an AWS purchase reference. It's a purchase from the March 2023 CUR, the master account is 112294252224 and the usageAccount is 346610300312. Copy the masterAccount Id, go to the AWS Customer Mapping in the connector and search for this account. In the leftmost column you'll see what the Master is called.


3. Tell Roelof to make the connector read the last report for that Master


Speaks for itself.


4. Check the 'Stop processing reports after day' setting. It needs to be higher than the current date.


Again, self-explanatory


5. Run the AWSConnector in the Admin Portal


Please be vigilant and thoroughly check you're running the correct connector.


6. Run the MRPConnector in the Admin Portal


Idem


7. Wait until all purchases have been imported to check whether the appropriate invoice contains purchases with a reference that contains the remapped UsageAccount


Wait until 'Purchases Queued' reaches zero. Then look for the invoice you're expecting the UsageAccount to now show up on. Click through to the purchases and either click through some pages to see if the UsageAccount is in any of the purchase references. If not, explicitly search for it in the top right search filter. Don't clock any of the pop-ups, just copy the reference with the first three parts you're expecting and search.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article