Infranetic
is a brutalized portmanteau derived from the idea of "non-frenetic infrastructure" that aims to simplify provider-agnostic deployments that can be reproduced locally and deployed globally. This idea was inspired in part by the following:
- Ansible and HashiCorp: Better Together (hashicorp.com)
- Containers at Facebook by Lindsay Salisbury (youtube.com)
- Mastering Chaos - A Netflix Guide to Microservices (youtube.com)
- BPF performance analysis at Netflix (youtube.com)
# Setup and activate virtualenv
virtualenv .venv
source .venv/bin/activate
# Install Python dependencies
pip install -r requirements.txt
# Install Ansible dependencies
ansible-galaxy install -r requirements.yml
# Setup localhost to run Vagrant
ansible-playbook --ask-become-pass setup-vagrant.yml
newgrp libvirt
pip install -r requirements/tox.txt
tox
# multi-node (Default)
vagrant up
ansible-playbook -i sample.inventory.yml site.yml
# single-node
vagrant up mgmt1
ansible-playbook -i sample.inventory.yml -l mgmt1.infranetic site.yml