My engineering firm is looking to consolidate our cloud workflows into one platform with AWS. We have several clients and would like to bill them directly for the resources used on their projects rather than paying for the resources ourselves upfront and billing them later.
I know that AWS has the ‘organisations’ feature - is this the correct way to do this? Is there a better way to organize resources by clients? Any other tips you might have for this kind of set up? We are growing rapidly so would like to get a hold of this before it becomes a bigger problem.
Multi account is great for segmenting dev, stage, prod and security and logging accounts but per customer accounts is not usually necessary unless you have strick compliance requirements like Fed Ramp or HiPAA. Consider segmenting clients tenants at the VPC or security group level. With proper tagging you can easily report on each tenants operating costs. With a more modern stack you could also segment tenants with separate Kubernetes clusters.
I saw examples of Product per account setup many times in one org. Having infrastructure as a code makes setting up account within really short period of time.
But you would definitely benefit out it due to transparent cost allocation and strict client boundaries. Also I would mention security and resources access separation.
If you want the client to pay directly you can have them create and manage the AWS account and just give you a cross account time that gives you the permissions you need.
But if it was me I would create an account per client and pass the AWS charges on to the customer via my bill. Separating customers into their own accounts makes this very simple, especially for charges like network usage that aren’t easily tagged.
I think it would make sense to split each client into an account.
It does rather depend on the scalability of your product; so do you always provision an EC2 instance per client for instance? If they share a platform then of course your costs will go up as you will need to provision an EC2 in each account for your clients.
When it comes to then managing those accounts then organisations (and I would say Control Tower) is the way to manage those accounts.
The other thing to consider is with multiple accounts if you have an issue within one of those accounts (a data breach to a client) then your blast radius for that issue is just that one account. You are segregating out your clients in a way that they would assume that they are.
Adding new clients/accounts is easy under Control Tower (has an account factory) and then your billing should be fairly obvious as consolidated billing will show the spend per account.
The nice thing with using Control Tower is you can then roll out security features as you need them and as you mature, and of course it has organisations as part of it…!!!
Using AWS organizations allows you to have a billing account and many other sub-accounts. I’ve heard reasonably good things about AWS Landing Zones https://aws.amazon.com/solutions/implementations/aws-landing-zone/ - Organizations are the right way to go. If you want to validate an idea, get in touch with an AWS account manager or Solutions Architect. They’re always happy to talk if it means you spend money with them
If you do have the requirement that the bill for AWS resources go directly to the client rather than your company paying the the bill and charging the cost. I would share away from organisations and do want is suggested by jeff98028, have the client own the account and provide them a cloudformation template which will create a role with attached profile to grant your company access.
The only reason I suggest cloudformation in this case is you will want to make it as easy as possible for the client to give you access and cloudformation is built in. Other IaC systems are arguably much better, but they require some pre-configuration where is is very easy to instruct a client on applying a cloudformation template to an account.
Now if your requirement of the billing directly to the client was not there. Using organizations is a great way to separate out costs to a client. You may even have the clients which want separate accounts for testing vs production workloads. In that case you can put the accounts into the same OU to organize them and apply SCP to the OU to help secure the accounts uniformly.
While it is true, you can use tags to classify billing in the same account there are several costs, like data transfer and DNS requests, which are harder to tag and isolate.
All this being said, you need to use the right method for your scale and types of workloads.
Yes, segregating by clients into different accounts is very smart in this case. It might even be mandatory if you’re in Europe and don’t have great compensating controls around data protection. You don’t want to run the risk of a data leak between clients. Also if the client moves to another provider, you just give them their account. It would be madness to manage multiple clients in a shared environment unless it’s a very lightweight / replicated system which is centrally managed on behalf of other customers.
Have a think about Tagging your resources by client too, this is another easy way to drill down on your billing to see how much stuff is costing you. “tag key: cost center, tag value: client A.”
Research Control Tower a bit, once committed you’re very much stuck.
Search this subreddit for issues with it, there’s a few that people have run into and some overhead and costs that pop up over time and can’t be remediated as they’re mandatory to Control Tower.
We’ve been using it for nearly a year and I’d actually recommend not using it in it’s current state. Doing this over again I would’ve just deployed and managed the accounts ourselves in Terraform.