Git Product home page Git Product logo

mypaas's Introduction

mypaas

MyPaas by D2-SI & S&B Digital is an Ansible playbook for startups or small companies which want to build a modern and fully automated infrastructure.

This infrastructure will be composed by :

Preparation

  1. Create a free account on DatadogHQ and get the api key, and the app key (datadog.api_key and datadog.app_key)
  2. Create an account on Slack and get a token (slack.team and slack.token)
  3. Create 2 sets of SSH keys for Gitlab (jenkins.gitlab_webhook_publickey, jenkins.gitlab_webhook_privatekey) and Jenkins Slave (jenkins.jenkins_slave_privatekey)
  4. Create a password for Docker Registry and generate its htpasswd string with http://www.htaccesstools.com/htpasswd-generator/ (registry.pass and registry.htpasswd_pass)
  5. Create an OVH account, create a Cloud project with paiement options
  6. Create your OVH API tokens with all permissions on cloud and domain endpoints : https://eu.api.ovh.com/createToken/ (ovh.project, ovh.region, ovh.application_key, ovh.application_secret, ovh.endpoint, ovh.consumer_key)
  7. Create your OVH domain name (tld_hostname and top_dn)
  8. Create an admin mail account on your domain name (mail.*)
  9. Generate many passwords, passphrases, secret keys, encrypting keys with pwgen 64 20
  10. Rename vars.yml-template to vars.yml
  11. Fill every field in vars.yml with everything we just generated

Install

  1. Create all elements of your cloud project : ansible-playbook -i ansible_hosts --ask-sudo-pass main.yml
  2. Create your VMs and install all the tools : ansible-playbook -i ansible_hosts --ask-sudo-pass deploy.yml

mypaas's People

Contributors

captnbp avatar yanbel avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

mypaas's Issues

Support

Hello,

Do you have any presentation that goes along with the project ?

The playbook worked correctly (initialized during the ovh dlp event in d2SI facilities), I decided to delete my ovh vm in order to try and re-run the ansible playbook later. After the new run I do have some errors with the rsa-key not being valid. I am not sure where/what I am suppose to change things. Having a presentation would help a lot figure out each parts.

Kr,

Teva.

Migrate Cron jobs to Rundeck

All backup jobs are currently managed by Cron. To improve reliability and error management, they should be managed by Rundeck.

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.