Skip to main content

cybergoatz-azure-lib

Python library that serves as the Azure driver for CyberGoatz Platform sandbox provisioning. It is intended to be an installable component consumed by backend-terraform-client, not a stand-alone application.

This is not a strict AWS/OpenStack port. The implementation is intentionally Azure-shaped:

  • Linux-first
  • SSH-first
  • Azure VM, NIC, subnet, VNet, NSG, and Public IP provisioning through OpenTofu/Terraform
  • Azure-managed SSH public key resources for cloud-side key lifecycle
  • compatibility acceptance of x509 keypair create/get/delete calls even though VM provisioning remains SSH-based

Key design choices

  • The library implements CrczpCloudClientBase from crczp-python-commons.
  • Sandboxes are rendered into a dedicated Azure virtual network with subnets for all topology networks.
  • The MAN node receives a public IP so the existing platform can keep using topology_instance.ip as the SSH target.
  • SSH keypairs are persisted as Azure SSH public key resources and then injected into rendered VM definitions during template creation.
  • Legacy x509 keypair lifecycle calls are accepted as a compatibility path so higher layers can stay provider-agnostic while Azure remains SSH-first.

Expected Azure image format

Topology image references should be either:

  • an Azure image resource ID
  • a URN in the form publisher:offer:sku:version

Contents

  • cybergoatz/azure_driver -- Azure cloud client implementation
  • pyproject.toml -- package metadata
  • tox.ini -- lint and test configuration

Release files for cybergoatz-azure-lib 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cybergoatz-azure-lib 1.0.3
File Size Uploaded
cybergoatz_azure_lib-1.0.3.tar.gz 70.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cybergoatz-azure-lib 1.0.3
File Interpreter ABI Platform
cybergoatz_azure_lib-1.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 82.8 kB

Release files / cybergoatz_azure_lib-1.0.3.tar.gz

Download URL cybergoatz_azure_lib-1.0.3.tar.gz
Size 70.4 kB
Tags Source
SHA-256 checksum
How to use checksums
dedef3a17ce0213a6bde75f3c7d8cc6550a6aaeaf7523f86180f988939ae65ab
BLAKE2b-256 checksum
How to use checksums
18476dab21aa19652b45c7a5885ddc6fb7de3be4400c00f8d2fa6e0f41c62451
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / cybergoatz_azure_lib-1.0.3-py3-none-any.whl

Download URL cybergoatz_azure_lib-1.0.3-py3-none-any.whl
Size 12.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b7be84f705629a1154cc350c66b570ef563eaa08ebe966846308137d77d6d06d
BLAKE2b-256 checksum
How to use checksums
b527cb9702861627cd7d4fb8f0b70f2d0e31c35dcf77f43960c5f5babe769803
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 release files

1.0.2

2 release files

1.0.1

2 release 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