Git Product home page Git Product logo

eden_playbook's Introduction

Using Ansible to deploy Eden

  1. Install Ansible with instructions from Ansible Doc

  2. Create an EC2 Instance and launch it. From the Web UI, note the public ip, public dns and a part of the private dns (before .ec2.internal)

  3. Create/Update /etc/ansible/hosts with the host information. Example

    <PUBLIC IP OF DB SERVER>
    <PUBLIC IP OF EDEN SERVER>
    <PUBLIC IP OF WEBSERVER SERVER>
    
  4. cd to the repository and create a file, say, deploy.yml. Depending upon your deployment type (3-tier or single tier) copy the contents of either multiple.yml or single.yml from examples directory

  5. Update the IPs and variables (refer to variable description below)

  6. Finally, run ansible-playbook. ansible-playbook --private-key=<path_to_key> deploy.yml -u <remote_user> replacing <remote_user> with your server's remote user and <path_to_key> with path to private key associated with the server

Variable Description

The Ansible Playbooks use variables some variables to deploy Eden. Descriptions of these variables are given below.

NB: Values of variables should be entered without quotes

Variable Description
distro Linux Distro on the machine. Supported Options are wheezy (Debian) and Precise
dtype Demo Type to determine whether demo is being installed before or after production. Use "na" when type is set to "prod" or "test". "afterprod" or "beforeprod" otherwise
password Database Password
db_ip IP of the server hosting the Database
db_type Type of Database - Either "postgresql" or "mysql"
hostname Hostname of the machine
prepop_options Prepopulate options - default "template:mandatory"
sitename URL you want to access Eden from
web_server Only "cherokee" allowed for now. TODO: Apache
template Eden template to use
eden_ip IP of the server hosting Eden

eden_playbook's People

Contributors

flavour avatar gnarula avatar

Watchers

 avatar  avatar

Forkers

sahana

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.