Skip to content

Instantly share code, notes, and snippets.

View megamcloud's full-sized avatar

Megam.Cloud megamcloud

View GitHub Profile
@megamcloud
megamcloud / condition_syntax_bash.sh
Created July 26, 2018 10:43 — forked from bench/condition_syntax_bash.sh
conditions syntax in bash
## check the return of a command
if command; then
[...]
fi
## check by string comparison / numerical / file existence / or more
if [[ CHECK ]]; then
[...]
fi
@megamcloud
megamcloud / cloud_acronyms.md
Created July 26, 2018 10:43 — forked from bench/cloud_acronyms.md
Cloud computing acronyms
  • IAAS (infrastructure as a service) : Permet de monter des machines, c'est de la VM, de l'automatisation. On déplacait l'infrastructure.
  • CAAS (container as a service) : Virtualisation non plus par VM mais par containers tel que Docker. Les fournisseurs peuvent fournir des plateformes d'orchestration dont Google Kubernetes ou Docker Swarm. PAAS (platform as a service) : google app engine, amazon S3, etc, ce sont des sevices managés
  • BAAS (backend as a service) : Ce n'est pas un service de cloud mais un concept d'architecture qui fournit l'authentification, la scalabilité automatique, et des services tels que les push notifications pour le développement d'app mobile.
  • FAAS (functions as a service) : La plate-forme qui instancie à la volée une fonction lors d'un appel d'API. On ne paie plus en nombre de machine ou autre mais au nombre d'appels d'API
@megamcloud
megamcloud / ca.md
Created April 29, 2018 16:42 — forked from soarez/ca.md
How to setup your own CA with OpenSSL

How to setup your own CA with OpenSSL

For educational reasons I've decided to create my own CA. Here is what I learned.

First things first

Lets get some context first.