Git Product home page Git Product logo

firecracker-ansible's Introduction

Firecracker VM management with Ansible

About

This project is a personal research about Firecracker and Microvms.
It contains an Ansible playbook used to start one or more virtual machines described by a configuration file.

Requirements

Additionally you will need Ansible galaxy collection ansible.netcommon installed locally:

ansible-galaxy collection install -p ./collections -r requirements.yml

Demo

asciicast

How it works

The playbook will install systemd user services in your ~/.config/systemd/user/ to start a firecracker process for every vm you need to manage.
It will then create the configured tap interfaces and attach them to a libvirt network bridge.
Finally, using firecracker REST api it will start the configured vms and you can attach to the console process using screen. The configuration file for virtual machines is placed in group_vars/firecracker.yml To ask for sudo password (if needed) run the playbook with
ansible-playbook -K playbook

Disclaimer

At this stage all I can say is: "it works on my machine(TM)".

firecracker-ansible's People

Contributors

gianluca-mascolo avatar

Watchers

 avatar

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.