Skip to main content

Laniakea is a utility for managing instances at various cloud providers and aids in setting up a fuzzing cluster it can be used as a tool or as a library.

Project description

Logo

Laniakea is a utility for managing instances at various cloud providers and aids in setting up a fuzzing cluster it can be used as a tool or as a library.

Build Status IRC

Setup

python3 -m pip install laniakea

or

pipenv install laniakea
pipenv run laniakea -h

Supported Cloud Providers

UserData Reference

Laniakea supports various macros to construct and maintain user-data files.

Note that not all modules are still supporting UserData files but use a container approach instead i.e Google Compute Engine. You can and probably should spawn containers within UserData files if you plan to chose to use this kind of initialization method.

@import(path_to_other_userdata_file)@
@macro_name@

You can use the -list-userdata-macros option to print out available macros inside a user-data file. Each of these macros can then be substituted with the -userdata-macros option.

Extending Laniakea

To extend Laniakea with new cloud providers you need to ...

  • Add a new folder in laniakea/core/providers/<cloud_provider>
  • Write a command-line interface and put it into the __init__.py
  • Write an API manager class and name it manager.py
  • Add additional files (i.e userdata scripts) to laniakea/userdata/
  • Add additional configuration files to laniakea/examples/

API Documentation

Laniakea Help Menu

usage: laniakea [-verbosity {1,2,3,4,5}] [-settings path] [-userdata path] [-list-userdata-macros] [-print-userdata]
                [-userdata-macros k=v [k=v ...]]
                ...

Laniakea Runtime v1.16.0

Laniakea Cloud Providers:
  Use -h to see the help menu of each provider.


    azure                         Microsoft Azure
    ec2                           Amazon Elastic Cloud Computing
    gce                           Google Compute Engine
    packet                        Packet Bare Metal

Laniakea Base Parameters:
  -verbosity {1,2,3,4,5}          Log sensitivity. (default: 2)
  -settings path                  Laniakea core settings. (default: ~/Library/Application Support/laniakea/laniakea.json)

UserData Parameters:
  -userdata path                  UserData script for the provisioning process. (default: None)
  -list-userdata-macros           List available macros. (default: False)
  -print-userdata                 Print the UserData script to stdout. (default: False)
  -userdata-macros k=v [k=v ...]  Custom macros for the UserData. (default: None)

The exit status is 0 for non-failures and 1 for failures.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

laniakea-1.17.1.tar.gz (28.8 kB view details)

Uploaded Source

Built Distribution

laniakea-1.17.1-py3-none-any.whl (43.3 kB view details)

Uploaded Python 3

File details

Details for the file laniakea-1.17.1.tar.gz.

File metadata

  • Download URL: laniakea-1.17.1.tar.gz
  • Upload date:
  • Size: 28.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1

File hashes

Hashes for laniakea-1.17.1.tar.gz
Algorithm Hash digest
SHA256 8d10255c1fb99e8ce841d8fa3d469c38c784e2d4c3a4350f64aaa15c2178d437
MD5 5ca4e48fd2d1b36375593b5449720110
BLAKE2b-256 c5d77f975005309e77b5291dcc2585b26a99bd81f2edeac6344668c9c9fc0236

See more details on using hashes here.

File details

Details for the file laniakea-1.17.1-py3-none-any.whl.

File metadata

  • Download URL: laniakea-1.17.1-py3-none-any.whl
  • Upload date:
  • Size: 43.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1

File hashes

Hashes for laniakea-1.17.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f6a71587aaba6a5f671260cc19c61fa9d5a43ff291bbbd50a595478170c95a92
MD5 fc9ae806356003ed900b80886aa853a9
BLAKE2b-256 82bba107790355d335b139424e9356094836d06c16137db35f45389daf9364f7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page