The Pulumi phoenixNAP provider makes it easy to deploy and manage your Bare Metal Cloud infrastructure with familiar programming languages such as JavaScript or Python.
Bare Metal Cloud • Pulumi • Developers Portal • Knowledge Base • Support
- Bare Metal Cloud account
- Pulumi CLI
You need to have a Bare Metal Cloud account in order to use the pnap Pulumi provider with Bare Metal Cloud.
- Go to the Bare Metal Cloud signup page.
- Follow the prompts to set up your account.
- Use your credentials to log in to Bare Metal Cloud portal.
Check out this official tutorial to learn how to install Pulumi on your local machine.
This package is available in many languages in the standard packaging formats.
To use from JavaScript or TypeScript in Node.js, install using either npm
or yarn
:
$ npm install pulumi-pnap
$ yarn add pulumi-pnap
To use from Python, install using pip
:
$ pip install pulumi-pnap
To use from Go, use go get
to grab the latest version of the library
$ go get github.com/phoenixnap/pulumi-pnap/sdk/go/...
You need to create a configuration file called config.yaml
and save it in the user home directory. This file is used to authenticate access to your Bare Metal Cloud resources.
File path for Linux: /.pnap/config.yaml
.
File path for Windows: \\AppData\\Roaming\\pnap\\config.yaml
.
The configuration file needs to include only two lines:
clientId: <enter your client id>
clientSecret: <enter your client secret>
To get the values for the clientId and clientSecret, follow these steps:
- Log in to the Bare Metal Cloud portal.
- On the left side menu, click on API Credentials.
- Click the Create Credentials button.
- Fill in the Name and Description fields, select the permissions scope and click Create.
- In the table, click on Actions and select View Credentials from the dropdown.
- Copy the values from the Client ID and Client Secret fields into your
config.yaml
file.
For detailed reference documentation, please visit the API docs.
Become part of the Bare Metal Cloud community to get updates on new features, help us improve the platform, and engage with developers and other users.
- Follow @phoenixNAP on Twitter
- Join the official Slack channel
- Sign up for our Developers Monthly newsletter
Get in touch with us if you have questions or need help with Bare Metal Cloud.