Coder Social home page Coder Social logo

sceptre-wordpress-example's Introduction

Sceptre Wordpress

Meetup Munich

Sceptre is a tool to drive AWS CloudFormation. It automates away some of the more mundane, repetitive and error-prone tasks, allowing you to concentrate on building better infrastructure.

Sceptre's source code can be found here.

Features:

  • Code reusability by separating a stack's template and its configuration
  • Support for templates written in JSON, YAML or Python DSLs such as Troposphere
  • Dependency resolution by passing of stack outputs to parameters of dependent stacks
  • Environment support by bundling related stacks into logical groups (e.g. dev and prod)
  • Environment-level commands, such as creating multiple stacks with a single command
  • Fast, highly parallelised builds
  • Built in support for working with stacks in multiple AWS accounts
  • Infrastructure visibility with meta-operations such as stack querying protection
  • Support for inserting dynamic values in templates via customisable resolvers
  • Support for running arbitrary code as hooks before/after stack builds

Code

Sceptre organises stacks into environments. Each stack is represented by a YAML configuration file stored in a directory which represents the environment. Here, we have two environments, prod and dev

$ tree
.
├── LICENSE
├── NOTICE
├── README.rst
├── config
│   ├── config.yaml
│   ├── dev
│   │   ├── config.yaml
│   │   ├── efs.yaml
│   │   ├── rds.yaml
│   │   ├── role.yaml
│   │   ├── security-groups.yaml
│   │   ├── vpc.yaml
│   │   └── wordpress.yaml
│   └── prod
│       ├── config.yaml
│       ├── efs.yaml
│       ├── rds.yaml
│       ├── security-groups.yaml
│       ├── vpc.yaml
│       └── wordpress.yaml
└── src
    ├── base.py
    ├── constants.py
    ├── efs.py
    ├── rds.py
    ├── role.py
    ├── security_groups.py
    ├── vpc.py
    └── wordpress.py

Diagram

diagram.jpg

Install

$ pip install sceptre

More information on installing sceptre can be found in our Installation Guide.

How to start

Sceptre can be used from the CLI, or imported as a Python package.:

$ git clone [email protected]:cloudreach/sceptre-wordpress-example.git
$ cd sceptre-wordpress-example

Be sure your AWS credential are properly configured

How to deploy dev and prod

$ sceptre launch-env dev
$ sceptre launch-env prod

How to apply a change-set on dev for wordpress stack

$ sceptre update-stack-cs dev wordpress

Tutorial and Documentation

License

sceptre is licensed under the Apache Software License 2.0.

Thanks

Intelligent Cloud Adoption.

sceptre-wordpress-example's People

Contributors

giuliocalzolari avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.