-
jdt
I'm thinking that I need to reorganize my accounts all under a single primary account as sub-users and use RBAC from there. I haven't explored that much in the past, but it seems like the way to go.
-
bahamat
Well, it depends.
-
bahamat
If you're using a public cloud, that's probably what you want so that you can consolidate billing.
-
bahamat
But if it's a private cloud, then there's less of an advantage to it.
-
jdt
Yeah, that's not relevant for this use-case. I just want to be sure that all users can see all VMs from the Triton CLI.
-
bahamat
I think the main advantage with using RBAD in a private cloud would be to create a fabric network in the top level account that can be used by more than one sub-account.
-
bahamat
Yeah, that would be another reason for it.
-
bahamat
Another way to go about it is to use --act-as
-
jdt
Oh, I'll check that out.
-
jdt
Nice.
-
bahamat
We could even update the triton cli so that act-as is a top level property that's always used in a specific profile.
-
jdt
That'll work for now - thanks for the tip.
-
bahamat
That way you basically have one account that holds all the vms, and everyone else has their own discrete logins.
-
jdt
I'm getting my team to start using Triton and realized I'd never used it in a multi-user sort of way outside of JPC. :)
-
jdt
Folks couldn't see other people's VMs and that surprised me (it shouldn't have).
-
bahamat
With MNX I basically make an account per app.
-
bahamat
Or other logical boundary.
-
jdt
That makes sense.
-
bahamat
So we've got a dev account that holds all of the build instances and stores the build artifacts in manta.
-
bahamat
That also has other things that are core to the dev process. Like our github webhooks are processed in that account.
-
bahamat
Then there's one for smartos, which has all of the non-triton related smartos things (web site, wiki/docs, etc)
-
bahamat
There's a "software" one that has the image servers (i.e., images.smartos.org, updates.tritondatacenter.com) and some tools for managing/publishing images
-
bahamat
One for metrics which has all of the prometheus/grafana infra.
-
bahamat
One for portal
-
bahamat
That way I context switch based on the app I'm managing.
-
bahamat
And I manage all of those from my own personal account using --act-as
-
jdt
Nice. That's a clean way to do it.
-
bahamat
My account is an operator, but you can do the same thing without operator access.
-
bahamat
In the account that owns the resources, make an rbac group named "administrator" and add other account names to it.
-
bahamat
Then those other accounts will be allowed to use the "owning" account with the same permissions as the owning account.
-
bahamat
If you want/need fine-grained permission control, that's when you really want to switch over to sub accounts.
-
jdt
Okay, great. Thanks.