Back to projects
VM lifecycle orchestration
// Carried out during the job at EnedisThis service is the internal component that sits between the hypervisor and the infrastructure services of the private cloud. Called when a VM is created, it creates the DNS records, generates secrets (such as local account passwords) and stores them in Vault, registers the machine in the CMDB, the infrastructure inventory, and checks its compliance. When the VM is deleted, it cleans up those same records. I designed and evolved it.
PythonasyncioOpenStackREST APIVaultAnsibleRHEL
// Impact: No more manual work on DNS, secrets or the CMDB during a VM's lifecycle, and a stateless service that only needs more nodes to absorb more load.
- →Staying consistent even when a hypervisor event is missed: a daily batch compares existing VMs with the entries that reference them and removes orphaned entries
- →Handling the load of every hypervisor action: async Python API and a fully stateless service, so nodes are easy to add
- →Generating and storing secrets securely, without ever handling them by hand
- ✓HTTP API called on every hypervisor action
- ✓Creation and removal of the DNS records tied to each VM
- ✓Secret generation and storage in Vault
- ✓VM registration in the CMDB
- ✓Compliance checks on newly created VMs
- ✓Daily reconciliation batch between VMs and their records