GithubHelp home page GithubHelp logo

customcloud's Introduction

CustomCloud

Usage

Initialisation of the playbooks

  • Setup your custom inventory (see inventories/inventory.yml.example)

  • Setup your VM configurations in their host_vars or in broader group_vars, available parameters are:

    • users, a map that defines the initial users, of the form:
      users:
        user1:
          ssh_keys:
            - "ssh-rsa AAA[...]"
        .
        .
        .
      
  • Setup ports redirection and VM storage (see group_vars/all for an example)

Setup of development environment

The development environnement use Vagrant.

To setup dev env :

  • Download and install Vagrant
  • Run from ./dev_env : vagrant up

To stop or destroy dev env :

  • Run from ./dev_env : vagrant stop or vagrant destroy

Cloud configuration

  1. Initialisation of the host (only Ubuntu server 16.04 certified)
    Make sure you access the host with a user with sudo rights (see init-ansible-debian.sh for an example setup with the ansible user)
    Configure this user in ansible.cfg and run:
ansible-playbook -i inventories/dev.yml host_install.yml
  1. Creation of a VM
ansible-playbook -i inventories/dev.yml vm_create.yml -l <your VM>
  1. Setup of a VM
ansible-playbook -i inventories/dev.yml vm_install.yml -l <your VM>
  1. Update of VM exposed ports
ansible-playbook -i inventories/dev.yml vm_refresh_exposed_ports.yml -l <your VM>
  1. VM destroying
ansible-playbook -i inventories/dev.yml vm_erase.yml -l <your VM>

To completely erase VM and associated data use the vm_erase_data_disk option :

ansible-playbook -i inventories/dev.yml vm_erase.yml -e vm_erase_data_disk=true -l <your VM>

customcloud's People

Contributors

aurelienlegrand avatar udyrfrykte avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

customcloud's Issues

Dashboard

Hi,

If it's come custom dashboard for manage KVM, it could add additional credits to your work.

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.