AWS Bites Podcast

27. How do you organize AWS Accounts?

Eoin and Luciano try to answer the question of what AWS accounts do you need for your team and how to organize them. In this episode of AWS bites we discuss common ways to organize AWS accounts and environments from the perspective of a company running production workloads. We try to answer questions like “how many accounts and how many environments?”. We also discuss how you and your team can be more productive by effectively managing AWS accounts and environments. Finally we explore some common security and cost-related tradeoffs that are common when it comes to organizing AWS accounts.

Thanks to David Lynam for suggesting this awesome topic!

In this episode we mentioned the following resources:

Let's talk!

Do you agree with our opinions? Do you have interesting AWS questions you'd like us to chat about? Leave a comment on YouTube or connect with us on:

Eoin
00:19:21

But I find it's really worthwhile putting some effort into using infrastructure as code for your organizations and accounts. And this is probably the most pragmatic approach that gives you a lot of stability and control and visibility into what changes you're making. So there's two options there. You could use Terraform because Terraform will allow you to create organization accounts. And there's another product which we use, an open source project called Org Formation. And Org Formation is essentially like a cloud formation additional layer that allows you to manage organizations and accounts and do things across lots of different accounts in your organization. So if you need to have every time you spin up an account, you need to put a certain set of resources in place like your config rules or your cloud trail. And it allows you to do that really easy and it doesn't take a lot of code to do that. The project also comes with a lot of great example templates for that. So I'd really recommend either of those. I think it's also really good to use single sign-on on AWS because if you're using IAM users, not only is it kind of almost a deprecated way of logging onto AWS, you end up with long-term credentials per account, which can be very difficult to manage. So SSO allows you to sign on and have assignments between your users in your identity provider, the accounts and the permissions. And so there's this triangle and you can configure all those things with infrastructure as code. There's some rough edges there because a lot of the AWS APIs don't allow you to control all of these things as you wish. And like there's, for example, there's still no API to delete an account. So you can create accounts very easily programmatically, but the last thing you need to do is delete them. So you can't do that very easily programmatically, but deleting them becomes a pain.

Help us to make this transcription better! If you find an error, please submit a PR with your corrections.