Skip to main content

Laniakea deployment agent orchestrates cloud deployments via Terraform and Ansible

Project description

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

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_api_agent-0.6.1.tar.gz (30.7 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.1-py3-none-any.whl (43.0 kB view details)

Uploaded Python 3

File details

Details for the file laniakea_api_agent-0.6.1.tar.gz.

File metadata

  • Download URL: laniakea_api_agent-0.6.1.tar.gz
  • Upload date:
  • Size: 30.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for laniakea_api_agent-0.6.1.tar.gz
Algorithm Hash digest
SHA256 c5c7490caccf6c9c9e7d2158ca3f37a9e8a6ad0a53234d0218a87da9110d02a5
MD5 30eed1517f59f207501ff969469e07be
BLAKE2b-256 f67dc543b3597b8641ddada03f235b738f2677c0cf28b3b3f42b29466e1663a5

See more details on using hashes here.

File details

Details for the file laniakea_api_agent-0.6.1-py3-none-any.whl.

File metadata

File hashes

Hashes for laniakea_api_agent-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 10d7c0691fe0a857f1ae2a511e8c46b570f081fef3b23ed64c4b27cbebea450b
MD5 e4a5981835ef4e870ca753c3a11ebf79
BLAKE2b-256 2e187b92ea755a31fe722db8ea1f07c9f64c2bbc038802c9aa1d42f3c0493d8f

See more details on using hashes here.

Supported by

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