Ask Your Question

how to automatic deploy host on cloud

asked 2016-03-15 22:56:27 -0600

vuhiep gravatar image

updated 2016-03-22 03:09:50 -0600

hi, I want to ask: how can I config puppet to auto deploy multi host on cloud? example : when I create a instance, i want it has webserver,database,source specificed. but I have no idea how to install puppet agent, how to authen CA when the instance created. and how to mangment them. Thanks,

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted

answered 2016-03-18 01:45:53 -0600

Well there will be many ways to do this, and here's a suggestion from AWS link. You should do some research and settle on a design that best solves your specific requirements.

edit flag offensive delete link more

answered 2016-03-21 06:06:30 -0600

vuhiep gravatar image

Thanks you

edit flag offensive delete link more


Please mark the question as resolved if this has resolved your issue. Thanks.

Alex Harvey gravatar imageAlex Harvey ( 2016-03-22 03:00:40 -0600 )edit

answered 2016-03-30 12:03:49 -0600

If you're using Puppet with Foreman then Foreman can handle AWS and Google Cloud as well as VMware, KVM with LibVirt and bare metal. There are also modules in the forge for AWS, Google Cloud and Azure. The puppetlabs Azure module creates a set of resource types to manage Azure VM's in both classic and the new Resource manager mode. The AWS module is pretty similar. All I did with those is create my own instances module to hold the definitions of my azure and EC2 instances and apply that module to the puppet master. When I run the agent on the puppet master if a node I've defined doesn't exist it gets created.

From my experience the Foreman way is much more convoluted than the modules but in certain situations it fits the bill and it's worth the extra work to set it all up.

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

1 follower


Asked: 2016-03-15 22:56:27 -0600

Seen: 1,397 times

Last updated: Mar 22 '16