Skip to content

Example manifests for automating Google Compute Engine with Puppet: Highly Available LAMP Stack with MongoDB

Notifications You must be signed in to change notification settings

stetic/gce-puppet-lamp-examples

Repository files navigation

Example manifests for "How to automate Google Compute Engine with Puppet"

A collection of Puppet manifest examples from our blog post How to automate Google Compute Engine with Puppet: Highly Available LAMP Stack with MongoDB.

With these manifests you can create a cluster on Google's Compute Engine with two load balanced web instances and three replicated MongoDB instances.

  1. Create the Puppet Master instance

    puppet apply --certname my_project puppetmaster_up.pp
  2. SSH into the Puppet master

    gcutil ssh puppet-master
  3. Authorize the Puppet master

    sudo gcloud auth login
  4. Put the files from this repo in /etc/puppet/manifests

  5. Launch the instances

    sudo puppet apply --certname my_project /etc/puppet/manifests/cluster_up.pp

About

Example manifests for automating Google Compute Engine with Puppet: Highly Available LAMP Stack with MongoDB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages