Code Monkey home page Code Monkey logo

cloud-deploy's Introduction

Claranet Cloud Deploy

Documentation CLI API Reference Changelog Apache V2 License

Cloud Deploy

Cloud Deploy (Ghost Project) aims to deploy applications in the Cloud, in a secure and reliable way. Current version supports only AWS.

Key features:

  • Developed in Python.
  • Designed for continuous deployment.
  • Create, configure and update AWS EC2 instances.
  • Used to deploy customer application code.
  • Cloud Deploy core is built with a REST API that any REST client can use.
  • A Web User Interface, available for Claranet customers or with Enterprise license (Flask UI is now available).
  • Casper: CLI client.

Requirements

Python:

  • virtualenv
  • pip >= 9.0.1 (in local virtualenv)
  • pip-tools >= 1.9.0 (in local virtualenv)

Packages:

  • MongoDB
  • Redis
  • Supervisor
  • Nginx

Dependencies and tools

  • Cloud Deploy uses Packer to bake VM images
  • Compatible with SaltStack and Ansible to provision requirements in VM images
  • Uses Fabric for SSH connections and live deployment

Development

Installing requirements:

$ pip install -r requirements.txt

Updating dependencies:

$ pip-compile
$ pip install -r requirements.txt

Upgrading dependencies:

$ pip-compile -U
$ pip install -r requirements.txt

Running unit tests with tox (sets up a virtualenv under the hood):

$ tox

Running unit tests directly (dependencies should be provided by the system or an active virtualenv):

$ ./run_tests.py

Deployment

Locally via docker-compose:

$ export AWS_ACCESS_KEY_ID=AKIAI*******
$ export AWS_SECRET_ACCESS_KEY=********************
$ docker-compose build
$ docker-compose up

Configuration:

Accounts:

  • copy accounts.yml.dist as accounts.yml
  • add account with python auth.py <user> <password>. You can also use the -e <email> option to specify an email address that will receive account's creation confirmation.

cloud-deploy's People

Contributors

abrefort avatar apestel avatar baptiste-morea avatar baptistebenet avatar bzspi avatar dependabot[bot] avatar jnancel avatar kpmorea avatar mboret avatar papiveron avatar pdecat avatar shr3ps avatar xp-1000 avatar ziedabid avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.