Skip to main content

AWS CloudFormation Stack manager

Project description

https://readthedocs.org/projects/stacker/badge/?version=latest https://circleci.com/gh/cloudtools/stacker.svg?style=shield https://empire-slack.herokuapp.com/badge.svg https://badge.fury.io/py/stacker.svg Code Health codecov

For full documentation, please see the readthedocs site.

Click here to join the Slack team for stacker, and then join the #stacker channel!

About

stacker is a tool and library used to create & update multiple CloudFormation stacks. It was originally written at Remind and released to the open source community.

stacker Blueprints are written in troposphere, though the purpose of most templates is to keep them as generic as possible and then use configuration to modify them.

At Remind we use stacker to manage all of our Cloudformation stacks - both in development, staging, and production without any major issues.

Requirements

  • Python 2.7

  • Python 3.5+

Stacker Command

The stacker command has sub-commands, similar to git.

Here are some examples:

build:

handles taking your stack config and then launching or updating stacks as necessary.

destroy:

tears down your stacks

diff:

compares your currently deployed stack templates to your config files

info:

prints information about your currently deployed stacks

We document these sub-commands in full along with others, in the documentation.

Getting Started

stacker_cookiecutter: https://github.com/cloudtools/stacker_cookiecutter

We recommend creating your base stacker project using stacker_cookiecutter. This tool will install all the needed dependencies and created the project directory structure and files. The resulting files are well documented with comments to explain their purpose and examples on how to extend.

stacker_blueprints: https://github.com/cloudtools/stacker_blueprints

This repository holds working examples of stacker blueprints. Each blueprint works in isolation and may be referenced, extended, or copied into your project files. The blueprints are written in Python and use the troposphere library.

stacker reference documentation:

We document all functionality and features of stacker in our extensive reference documentation located at readthedocs.

AWS OSS Blog: https://aws.amazon.com/blogs/opensource/using-aws-codepipeline-and-open-source-tools-for-at-scale-infrastructure-deployment/

The AWS OSS Blog has a getting started guide using stacker with AWS CodePipeline.

Docker

Stack can also be executed from Docker. Use this method to run stacker if you want to avoid setting up a python environment:

docker run -it -v `pwd`:/stacks remind101/stacker build ...

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stacker-1.7.2.tar.gz (136.5 kB view details)

Uploaded Source

Built Distribution

stacker-1.7.2-py2-none-any.whl (183.1 kB view details)

Uploaded Python 2

File details

Details for the file stacker-1.7.2.tar.gz.

File metadata

  • Download URL: stacker-1.7.2.tar.gz
  • Upload date:
  • Size: 136.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/2.7.16

File hashes

Hashes for stacker-1.7.2.tar.gz
Algorithm Hash digest
SHA256 6b123b84f5dfde8c5fb68f4fa0554aab49ae4cbb73f153ea1ab0714a9578e4ea
MD5 6c12488f05341c2305ee7508d89c4870
BLAKE2b-256 9aa4b9d3130729967101f1d0e29bb2faafaf1d508cbae059a7c697b08e14f2a6

See more details on using hashes here.

File details

Details for the file stacker-1.7.2-py2-none-any.whl.

File metadata

  • Download URL: stacker-1.7.2-py2-none-any.whl
  • Upload date:
  • Size: 183.1 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/2.7.16

File hashes

Hashes for stacker-1.7.2-py2-none-any.whl
Algorithm Hash digest
SHA256 9d5cb945f3bb6dbc626acfbfe7d89c0fb032f6087459c91c10082780ed474e5d
MD5 24f49d1b7199993292d4a0f91e30b6c7
BLAKE2b-256 0dbc6f0e3b31ba2f81f181759868f952c09c0543c4d615ae4b27bfd9fff66520

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page