Ask Your Question

Does Puppet enterprise server support multiple AWS accounts?

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

TDL gravatar image

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

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

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

GregLarkin gravatar image

Puppet Enterprise cloud provisioning stores AWS credentials in the ~/.fog configuration file as detailed here:

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

  :aws_access_key_id: AKIAIISJV5TZ3FPWU3TA
  :aws_secret_access_key: ABCDEFGHIJKLMNOP1234556/s
  :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


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

Seen: 206 times

Last updated: Jun 13 '13