Giter Club home page Giter Club logo

alphagov.digitalmarketplace-aws's Introduction

Digital Marketplace AWS

This repository contains configuration and utility tools we use for setting up our infrastructure and manage our release process.

Structure

There are a few independent tools we're using that are configured and run from this repo:

  • Terraform (modules and configuration files in terraform/) is used to create and manage AWS resources (DNS records, CloudWatch logs, S3 buckets etc.)
  • scripts contains executable scripts we use to manage our PaaS environments and Hosted Graphite
  • dmaws contains some helper python functions used by some of the scripts
  • paas contains PaaS manifest templates that are rendered by make generate-manifest. To deploy changes, re-release all the apps in the relevant environments
  • vars contains environment specific variables used in the PaaS manifest generation. To deploy changes, re-release all the apps in the relevant environments
  • kibana contains a Makefile and dependencies list for managing Kibana configuration

Setup

Set up python dependencies

Install dependencies with venv and pip.

make requirements

Terraform

For Terraform setup, including non python dependencies and usage please check the separate (README).

Managing Kibana configuration

kibana/Makefile contains make steps to manage Kibana configs.

make dump STAGE=... will download Kibana index (including mapping, saved searches, visualizations and dashboards) and store them in kibana-export.json.

make restore STAGE=... uploads configuration from kibana-export.json to the target STAGE stack and replaces any settings that were there before.

Both commands use credentials from terraform files, so they need sops profile to be active.

Licence

Unless stated otherwise, the codebase is released under the MIT License. This covers both the codebase and any sample code in the documentation.

The documentation is © Crown copyright and available under the terms of the Open Government 3.0 licence.

alphagov.digitalmarketplace-aws's People

Contributors

allait avatar robyoung avatar wynndow avatar benvand avatar katstevens avatar gidsg avatar lfdebrux avatar risicle avatar dependabot-preview[bot] avatar bjgill avatar asmith-nhsx avatar pcraig3 avatar bandesz avatar idavidmcdonald avatar thedoublek avatar pyup-bot avatar dm-ssp-jenkins avatar samuelhwilliams avatar galund avatar jonodrew avatar sakisv avatar leohemsted avatar dependabot[bot] avatar murilodalri avatar ajlanghorn avatar quis avatar dilwoarh avatar alex9smith avatar danjoneslf avatar snyk-bot 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.