Giter Club home page Giter Club logo

5minute's Introduction

5minute

Give me an instance of mine image on OpenStack. Hurry!

QuickStart

Installation

There are several ways of 5minute installation. You pick one of the following.

Fedora

5minute package is available in Fedora repository.

dnf install 5minute
Copr repository

For the latest builds enable Copr repository

dnf copr enable mkorbel/5minute

and install the 5minute.

dnf install 5minute

Manual Installation

To run 5minute you need to install following libs:

python3-keystoneclient
python3-cinderclient
python3-heatclient
python3-neutronclient
python3-novaclient
python3-glanceclient
python3-xmltodict
python3-prettytable

To install them as RPMs (Fedora), run dnf -y install $( cat requirement-rpms.txt ).

If you have installed 5minute using pip install vminute, they have been installed as dependencies. Otherwise, you have to install them manually.

Get config file

  1. Login into your OpenStack instance WebUI
  2. Navigate to Project -> API Access
  3. Save file from "Download OpenStack RC File" to ~/.5minute/config

Get started

Show help:

5minute help

Upload your SSH public key:

5minute key ~/.ssh/id_rsa.pub

Show images we can work with:

5minute images

Boot your machine (consider adding '--name' or '--flavor' to the command):

5minute boot <image_name_or_id>

When the boot is finished, you should be able to ssh to your new machine

ssh root@<machine_ip_address>

You can list your current machines:

5minute list

When you are done, kill the machine (you can do this via OpenStack webUI as well):

5minute delete <machine_name_or_id>

To list available OpenStack scenarios:

5minute scenario templates

Run scenario:

5minute scenario boot <scenario_template_name>

When finished with the scenario, you should delete it:

5minute scenario delete <scenario_name_or_id>

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.