Automate Bare Metal Cloud (BMC) infrastructure using open-source tools, providers, SDKs, and deployment scripts from phoenixNAP. These integrations help you provision and manage servers, configure Infrastructure as Code (IaC), automate deployments, and incorporate BMC into existing development workflows.
Prerequisites
BMC portal credentials (if you are a new user, set up your account and configure API credentials).
Command-Line and API Tools
Use these tools to interact with BMC directly from a terminal, test API requests, or integrate BMC operations into custom applications.
Command-Line Interface (pnapctl)
The BMC command-line interface (CLI) lets you deploy servers and manage existing resources from a terminal or automation script. It supports Linux, macOS, and Windows (AMD64) systems. It is also available as a Docker image.
Find out more
Software Development Kits (SDKs)
Use SDKs to call API operations from application code without manually constructing HTTP requests. SDKs are available for Go, Python, and Ruby.
Find out more
Postman Collection
The Postman collection contains ready-made requests for testing BMC APIs through the Postman interface. Use it to explore API operations, inspect responses, and test requests before implementing them in code.
Find out more
Infrastructure Provisioning and Configuration
Use these integrations to define, provision, and manage BMC resources through code or configuration management tools.
Terraform Provider
The pnap Terraform provider lets you define and manage BMC resources and automate server configuration.
Find out more
Terraform pnap Provider Documentation
Terraform pnap Provider GitHub repository
Tutorial: Terraform with BMC
Pulumi Provider
The pulumi-pnap provider lets you manage BMC infrastructure using programming languages such as JavaScript, TypeScript, Python, and Go.
Find out more
Ansible Collection
The phoenixnap.bmc Ansible collection provides modules for managing BMC resources through Ansible playbooks.
Find out more
Ansible Galaxy phoenixNAP BMC Collection
Ansible Collection GitHub repository
Tutorial: Use Ansible with BMC
Chef Knife Plugin
The knife-bmc plugin adds BMC server management commands to Chef's Knife command-line utility.
Find out more
Kubernetes Integrations
Integrate BMC servers with Kubernetes to manage infrastructure through Kubernetes resources, provision clusters, or provide load balancer functionality.
Kubernetes Controller
The Kubernetes Controller lets you define and manage BMC servers as Kubernetes resources using YAML manifests and kubectl.
Find out more
Cluster API Provider
The Cluster API provider integrates BMC with Kubernetes CLuster API, allowing a management cluster to provision and manage Kubernetes clusters running on BMC servers.
Find out more
Kubernetes Cloud Controller Manager
The Kubernetes Cloud Controller Manager connects Kubernetes to BMC infrastructure and supports load balancer services for Kubernetes workloads.
Find out more
CI/CD and Demo Scripts
Automate BMC operations in development workflows or explore example scripts that deploy complete environments.
GitHub Actions
Use GitHub Actions to create BMC servers, delete servers, and retrieve server information in CI/CD workflows.
Find out more
GitHub Actions: Create BMC Server
GitHub Actions: Get BMC Server
GitHub Actions: Delete BMC Server
Kubernetes and Apache Spark Deployment Scripts
The following example scripts serve as a learning reference:
- Kubernetes demo script. Deploy a cluster with one master and two worker nodes, then install WordPress.
- Python Apache Spark demo script. Deploy a Spark cluster with one master and two worker nodes.
They provision three Ubuntu-based BMC servers and deploy a cluster. These are not meant as production deployment tools.