Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

laniakea-api-agent

Cloud deployment worker agent for the Laniakea orchestration platform. Consumes jobs from Redis queues and orchestrates VM provisioning via Terraform and Ansible.

Installation

pip install laniakea-api-agent

Configuration

Create a .env file in your working directory:

# Redis
REDIS_HOST=your-redis-host
REDIS_PORT=6379
REDIS_PASSWORD=your-redis-password

# Laniakea API
LANIAKEA_API_URL=https://your-api-host:8443/laniakea_core/v1.0
AGENT_MASTER_PASSWORD=your-shared-secret
AGENT_ID=laniakea-agent-1

# Vault
VAULT_ADDR=https://your-vault:8200
VAULT_TOKEN=your-vault-token

# Logs
DEPLOYMENT_LOG_DIR=/var/log/laniakea-agent

Usage

# listen on openstack queue (default)
laniakea-agent

# listen on a specific queue
laniakea-agent --queue openstack

# listen on multiple queues
laniakea-agent --queue openstack --queue aws

# use a custom .env file
laniakea-agent --env /etc/laniakea/agent.env

Requirements

  • Python 3.10+
  • Docker (for Terraform containers)
  • Ansible installed on the host

Download files

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

Source Distribution

laniakea_api_agent-0.6.8b0.tar.gz (31.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

laniakea_api_agent-0.6.8b0-py3-none-any.whl (46.5 kB view details)

Uploaded Python 3

File details

Details for the file laniakea_api_agent-0.6.8b0.tar.gz.

File metadata

  • Download URL: laniakea_api_agent-0.6.8b0.tar.gz
  • Upload date:
  • Size: 31.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.10.12

File hashes

Hashes for laniakea_api_agent-0.6.8b0.tar.gz
Algorithm Hash digest
SHA256 82c8352fbb876de858acfc4e36b6d1e8d56a065863729c5edca2d64df65d1540
MD5 a0baf1a9ce8fd20d12d0119db9e908eb
BLAKE2b-256 710ad1096b945a71f5501a5e52e58b1f2164819d93fb838269aed199dead6b9a

See more details on using hashes here.

File details

Details for the file laniakea_api_agent-0.6.8b0-py3-none-any.whl.

File metadata

File hashes

Hashes for laniakea_api_agent-0.6.8b0-py3-none-any.whl
Algorithm Hash digest
SHA256 93ef0d899a6d9e9e4b2a551c5959d0d45329cc82f09122a66179885956f2fec3
MD5 c2348ec7d5d5027c902de92caad2a54b
BLAKE2b-256 c35dbc947b38ac33ce09e00f2f48a0698aefd926d596956a73017b87f664b345

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.6.8b0 This release

2 files

0.6.5

2 files

0.6.4

2 files

0.6.3

2 files

0.6.2

2 files

0.6.1

2 files

0.6.0

2 files

0.5.9

2 files

0.2.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page