5 ms·
Multiple AWS accounts makes life a living nightmare. We have 38 AWS accounts and it is incredibly difficult to maintain each one of them. IAM and even worse cro
by sameg14 4y ago
Multiple AWS accounts makes life a living nightmare. We have 38 AWS accounts and it is incredibly difficult to maintain each one of them. IAM and even worse cross account IAM is horrible to author and maintain! Keeping track of resource limits and billing sucks. When using SSO, which we do, you cannot have more than one account open in the same browser at the same time. Use GCP instead, segregate your infra by project, use cloud identity/IAM and keep the head of hair you had in your 20s! You've been warned...
- andreacavagna 4y agoThat nightmare is the reason why I started my OSS project https://github.com/Noovolari/leapp https://github.com/Noovolari/leapp
- rcrowley 4y agoCurious / product research: Are your 38 accounts all in the same organization? Do you have any human IAM users left or is it all IdP, all the time? Do you use Terraform or anything like it? Also, yes, a pox on the single-player AWS Console. I’ve at least found a way to logout from one account and login to another in the same motion but it’s still a poor experience.
- sameg14 4y agoYeah all accounts are in the same OU. We do have human IAM users but those are "legacy". Nowadays Okta has been the preferred method of accessing AWS console and CLI. We do use terraform but that is also fragmented since each team has the freedom to innovate in their own way. People use CDK, SAM, CloudFormation, Terraform etc. This fracturing of IaC techniques has been a natural consequence of having too many silos aka. accounts and has made it hard to enforce consistency. I think having 2 or 3 accounts is probably ok for a small to medium size org. We are 96 humans so far.
- rcrowley 4y agoInteresting. Thanks for the detailed response. Another, positive way to look at one aspect of your architecture is that the AWS account boundary prevents most cases of dueling configuration management, with two tools changing the same resource back and forth forever.
- MayeulC 4y agoI guess you could use Firefox container tabs?
- avereveard 4y agoYou don't need to sso in each and every account, you can just have a user in the main org (or at any point in the org tree that is most appropriate) and assume the role within the account you want to manage.
- zeroimpl 4y agoThe browser will only remember the last 5 roles you’ve assumed, so it’s still a pain.
- rcrowley 4y agoThat UX is atrocious. Substrate [1] instead presents you with a list of all your accounts with a link to assume your role in that account in the AWS Console (and parallel tools for assuming that role in a terminal, too). [1] <https://src-bin.com/substrate/ https://src-bin.com/substrate/>
- sameg14 4y agoWe use Okta and put ppl in groups so I'm not sure if that would work.
- scubbo 4y ago> When using SSO, which we do, you cannot have more than one account open in the same browser at the same time. http://willthames.github.io/2018/02/28/managing-multiple-aws-consoles-with-multi-account-containers.html http://willthames.github.io/2018/02/28/managing-multiple-aws... You're welcome :)
- eddie8848 4y agoThis open source project might just be what you are looking for https://docs.commonfate.io/granted/introduction/ https://docs.commonfate.io/granted/introduction/