How do we allocate AWS costs to a project in the most fair way without excessive admin effort
Instructions for a technical person to provide Finance with allocations of portions of AWS invoices to projects.
Resources like s3 buckets used for just one project should have a tag key project where the value is the project name, e.g. gazettes.
Resources that are shared need some way to apportion those costs between projects in a reasonably fair way.
Currently our biggest clearly allocatable cost is S3. We allocate the rest (RDS, extra-aws transfer costs, etc) according to the apps running on each EC2 server, and the size of those servers.
Steps
Create file for the new month
(the month that the costs were incurred - see "This invoice is for the billing period ..." on the invoice)
Copy the latest allocations spreadsheet in the AWS invoice allocations folder and update the name for the month you're allocating
Prefix it with DRAFT until it's done, so that someone doesn't think you're done and uses the data when you're still updating last month's data.
Copy the exchange rate into the ZAR in a USD value cell on the Settings sheet
Calculate the tax rate
Copy the tax-free Charges value into the AWS Service Chargesexcl Tax value cell and the AWS Service Charges value into the AWS Service Chargesincl Tax cell. We expect the tax rate to be around 15%
Copy the total cost for the month to the S3excl Tax value cell on the Settings sheet.
Ensure significant projects are listed in the table on the S3 sheet
Copy the project totals for the month to the monthly $ cell of the S3 sheet
Verify that the S3 incl tax $ values match between the Settings and the S3 sheet
Allocate EC2 and other costs
Ensure the EC2 instances list that the servers sheet reflects the servers that were running most of that month
Ensure that the apps running in AWS are reflected accurately on the Apps sheet for most of that month
The apps that should be there are
Removed apps are not there
The server they're allocated to is correct
verify that the Grand TotalSUM of monthl USD incl tax on the EC2+Other Project charges sheet is the same as EC2+OtherUSD incl Tax on the Settings sheet
Record project charges in Xero
Record costs on the S3 sheet
Record costs on the EC2+Other Project charges sheet