Netflix / asgard

[Asgard is deprecated at Netflix. We use Spinnaker ( www.spinnaker.io ).] Web interface for application deployments and cloud management in Amazon Web Services (AWS). Binary download: http://github.com/Netflix/asgard/releases
http://netflix.github.com/asgard
Apache License 2.0
2.23k stars 405 forks source link

Managing Multiple AWS accounts #342

Open vive0000 opened 11 years ago

vive0000 commented 11 years ago

I have 5 AWS accounts that I need to view through Asgard. Is it possible to select a certain account and then manage that.

claymccoy commented 11 years ago

No, we run an Asgard instance for each account.

vive0000 commented 11 years ago

Can we run multiple instances of Asgard on the same server if we want to manage all accounts via Asgard?

Thanks, Vivek

From: Clay McCoy [mailto:notifications@github.com] Sent: Tuesday, July 16, 2013 4:30 PM To: Netflix/asgard Cc: Vivek Gupta Subject: Re: [asgard] Managing Multiple AWS accounts (#342)

No, we run an Asgard instance for each account.

— Reply to this email directly or view it on GitHubhttps://github.com/Netflix/asgard/issues/342#issuecomment-21081841.

vive0000 commented 11 years ago

Can I have multiple Config.Groovy file with different names? I can then rename and do a service restart and may be then I will be able to monitor multiple accounts?

claymccoy commented 11 years ago

You don't need multiple Config.groovy files for that. Just use Grails environments. http://www.grails.org/Environments

That is what we do. You are just choosing not to have them all available at the same time by running only one instance of Asgard.

mkxml commented 11 years ago

What do you think about coding support for multiple AWS accounts in the same Asgard instance?

This way you could have a combo in which you select the active AWS account and you could switch it anytime.

I took a look at Asgard and I think we could do something like that.

claymccoy commented 11 years ago

I see how that could be handy for some of our open source users, but it is not something that we plan to do any time soon. Feel free to submit a pull request.

vive0000 commented 11 years ago

This would be really wonderful and helpful.

Cheers, Vivek

From: Matheus Kautzmann [mailto:notifications@github.com] Sent: Thursday, July 18, 2013 3:38 AM To: Netflix/asgard Cc: Vivek Gupta Subject: Re: [asgard] Managing Multiple AWS accounts (#342)

What do you think about coding support for multiple AWS accounts in the same Asgard instance?

This way you could have a combo in which you select the active AWS account and you could switch it anytime.

I took a look at Asgard and I think we could do something like that.

— Reply to this email directly or view it on GitHubhttps://github.com/Netflix/asgard/issues/342#issuecomment-21175170.

cquinn commented 11 years ago

Not to discourage contributions... but one good reason to leave them separate is to have a clear indication of which account a user is touching when they are making changes. Netflix uses this to make it clear to the users when they are touching the prod account.

You can certainly run multiple Asgards on one machine, using multiple Asgards in a tomcat, multiple tomcats or Javas, or Apache with vhosts.

mkxml commented 11 years ago

@cquinn I got your point. For some people it may be bad because of the possibility of confusing development with production accounts, but in some cases it may be good by giving the possibility of switching context quickly while maintaing one browser session only.

Thinking deeply I do think it can cause more troubles than benefits.