xcdc: LXC in a DC

An lxc setup in a data center.

Infrastructure as code

Origins

Situation

teams required servers (jenkins)

with ...

high server creation time (jenkins servers)

and ...

resources consumption issue

although ...

jenkins is just an app

but ...

each team wanted it's own server (because of security, performance and technology issues)

Solution

lxc

without the virtualbox overhead

almost native performance

good isolation of resources

works/feels like a real server

dev3-core

playbooks

varnish frontend

host_vars

containers:
  - { name: 'server01', status: 'started', interfaces: [{ 'flags':'up', 'link':'lxcbr0','name':'eth0','ipv4':'10.0.3.86'}] }
  - { name: 'server02', status: 'started', interfaces: [{ 'flags':'up', 'link':'lxcbr0','name':'eth0','ipv4':'10.0.3.87'}] }
containers_trash:
  - { name: 'siteadmin1'}

host_vars/lxcserver1

Made with Slides.com