hilsenrat / devopsloft

DevOps Loft community app

Home Page:http://www.devopsloft.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

drawing

Contributing

Spinning [dev|stage] environment

Global Prerequisites
  • python 3
  • vagrant
  • vagrant plugin: vagrant-env
  • Use `.env.local` file for configuration keys which overrides `.env`

DEV environment

Prerequisites
  • VirtualBox
  • Verify /vault directory exists and is writable
  • Install the following packages:
  • virtualbox
  • fabric3
  • docker-compose

STAGE environment

Prerequisites
  • AWS account
  • AWS credentials: access key & access secret
  • keypair
  • subnet ID
  • Security Group with inbound ports for SSH (22), HTTP (80), HTTPS (443), and 8200
  • AWS S3 Bucket
Spin environment
  ./spin.py up [dev|stage]
SSH the environment
  vagrant ssh [dev|stage]
!!! Don't forget to destroy the environment when you done to avoid unnecessary charges
  ./spin.py destroy [dev|stage]

Notes

  • Do not use vagrant directly to spin and environment. It might work, but most likely it won't

About

DevOps Loft community app

http://www.devopsloft.io


Languages

Language:Python 45.7%Language:Shell 23.5%Language:HTML 20.3%Language:Dockerfile 4.0%Language:Ruby 2.8%Language:CSS 2.2%Language:Batchfile 1.0%Language:TSQL 0.5%