Forge Home

ec2_builder

Puppet module for EC2 Builder.

6,484 downloads

6,484 latest version

3.9 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

Version information

  • 0.1.0 (latest)
released Aug 27th 2018

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'fsbsilva-ec2_builder', '0.1.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add fsbsilva-ec2_builder
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install fsbsilva-ec2_builder --version 0.1.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download
Tags: ec2, aws

Documentation

fsbsilva/ec2_builder — version 0.1.0 Aug 27th 2018

EC2 Builder

Table of Contents

  1. Description
  2. Setup - The basics of getting started with ec2 builder
    • [Dependencies] (#dependencies)
    • [Beginning with ec2 builder with stand alone puppet agent](#beginning-with-mq80_base-with-stand-alone-puppet agent)

Description

It is going to Launch EC2 Instance

Setup

Dependencies

In your Mac/Linux you must firt run these steps: $ sudo /opt/puppetlabs/puppet/bin/gem install aws-sdk retries $ puppet module install puppetlabs-aws --version 2.1.0 $ puppet module install puppetlabs-stdlib --version 5.0.0 $ export AWS_ACCESS_KEY_ID=your_access_key_id $ export AWS_SECRET_ACCESS_KEY=your_secret_access_key

Beginning with ec2 builder with stand alone puppet agent

If you already have puppet agent in your Mac/Linux and also ran all commands above, you are ready to create your first EC2 Instance using Puppet. First you should open the file command.yaml that is placed on ec2_builder/data/common.yaml. Remember that you should install this module in /etc/puppetlabs/code/environments/production/modules. If you just want to test, don't need to change anything on common.yaml file whether not, please feel free to update using change the name of VPC, subnets, security group, EC2 instance and etc... After update run this:

puppet apply -e "include ec2_builder"

Remeber that you must to have the environment variables exported to puppet be able to access AWS account. $ export AWS_ACCESS_KEY_ID=your_access_key_id $ export AWS_SECRET_ACCESS_KEY=your_secret_access_key