Skip to content

MaorW/devopsloft

 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 45.8%
  • Shell 23.4%
  • HTML 20.3%
  • Dockerfile 4.0%
  • Ruby 2.8%
  • CSS 2.2%
  • Other 1.5%