Ask Your Question
1

Does Puppet enterprise server support multiple AWS accounts?

asked 2013-06-13 09:00:46 -0500

TDL gravatar image

updated 2013-06-13 10:09:18 -0500

ramindk gravatar image

We're looking at puppet enterprise to help us manage EC2 instances at amazon. We have multiple AWS accounts we run for customers. Can one install of a puppet enterprise server manage instances across multiple AWS accounts?

Or would we need one puppet server for each AWS account?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-06-13 12:18:22 -0500

GregLarkin gravatar image

Puppet Enterprise cloud provisioning stores AWS credentials in the ~/.fog configuration file as detailed here: http://docs.puppetlabs.com/guides/cloudpackgetting_started.html#fog.

It's not immediately obvious to me if you can write the file like so:

:client1:
  :aws_access_key_id: AKIAIISJV5TZ3FPWU3TA
  :aws_secret_access_key: ABCDEFGHIJKLMNOP1234556/s
:client2:
  :aws_access_key_id: dfjkhdfjghdfkjghdfgjhdf
  :aws_secret_access_key: 234jh234jh23k4h/s

and then use the node_aws command to select the client that you want to provision with more servers.

In the worst case, I suppose you can have multiple Fog configuration files, one per client, and write a script that copies the correct config file into place before invoking ... (more)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2013-06-13 09:00:46 -0500

Seen: 172 times

Last updated: Jun 13 '13