Skip to main content

NodeRings Resource Provider for Pulumi

CI npm PyPI NuGet Go Reference Pulumi Registry License

The NodeRings provider lets you manage NodeRings resources with Pulumi. NodeRings is an infrastructure marketplace: independent hosting providers sell compute, GPU, storage, network and more, and you buy and manage them through one account and one API.

New to it? The step-by-step guide How to use Pulumi on NodeRings to order a VPS walks through a first run.

With this provider you can:

  • order a virtual machine by size and city, billed by the hour, and get its IP address back in the same program
  • keep DNS zones, records, GeoDNS answers and DNSSEC in code
  • put firewalls in front of your servers, matched by address, address group or tag
  • manage SSH keys, roles, groups and secrets for your organization

It is built from the NodeRings Terraform provider with the Pulumi Terraform bridge, so both behave the same.

Installing

Language Package Install
TypeScript / JavaScript @noderings/pulumi npm install @noderings/pulumi
Python pulumi-noderings pip install pulumi-noderings
Go github.com/noderings/pulumi-noderings/sdk/go/noderings go get github.com/noderings/pulumi-noderings/sdk/go/noderings
.NET NodeRings.Pulumi dotnet add package NodeRings.Pulumi
YAML built in reference noderings:VirtualMachine and the other types directly

Pulumi downloads the provider plugin from this repository's releases the first time a program uses it.

Configuration

Create a service account in the NodeRings console (Organization, then Access Control, then Service accounts), give it a role, and generate a token. Then either export it:

export NODERINGS_TOKEN=<your token>

or store it encrypted in your stack:

pulumi config set noderings:token --secret
Option Environment variable Description
noderings:token NODERINGS_TOKEN Service account token. Required.
noderings:organizationId NODERINGS_ORGANIZATION_ID Organization to act in. Defaults to the token's organization.
noderings:endpoint NODERINGS_API_URL API base URL. Defaults to the public API.
noderings:maxRetries Retries for rate-limited and transient failures. Defaults to 25.
noderings:requestsPerSecond Client-side limit per API operation. Defaults to 2.
noderings:httpTimeout Timeout for one HTTP request. Defaults to 60s.
noderings:skipOrganizationCheck Skip the token check at startup. Defaults to false.

Example

Order the cheapest hourly 1 vCPU, 1 GB server in Ashburn and point a DNS name at it.

import * as noderings from "@noderings/pulumi";

const offer = noderings.getMarketplaceOfferOutput({
    planCode: "SC-GC-1C-1G-20",
    country: "United States",
    city: "Ashburn",
    billingType: "usage",
});

const key = new noderings.SshKey("laptop", {
    name: "laptop",
    publicKey: "ssh-ed25519 AAAA... you@laptop",
});

const web = new noderings.VirtualMachine("web", {
    hostname: "web-1",
    planId: offer.planId,
    regionId: offer.regionId,
    distro: "ubuntu_24_04",
    sshKeyIds: [key.id],
});

const zone = new noderings.DnsZone("site", { name: "example.com" });

new noderings.DnsRecord("www", {
    zoneId: zone.id,
    name: "www",
    type: "A",
    ttl: 300,
    records: [web.ipv4],
});

export const ip = web.ipv4;
export const nameservers = zone.nameservers;

The same program in Python, Go, C# and YAML is in the documentation. Complete, tested programs are in examples/:

Example Language What it does Cost
dns-ts TypeScript Zone with A, MX, TXT, CAA and GeoDNS records, plus DNSSEC Free
dns-go Go Zone with an A and an MX record Free
vm-py Python Hourly VM with a firewall and a DNS record A few cents an hour

Things to know

  • Billing. billingType: "usage" servers are charged by the hour from prepaid credit and stop billing when deleted. Monthly servers are charged to your card and are cancelled without a refund when deleted, so set deletionProtection: true on them.
  • Replacements. Changing hostname, distro or sshKeyIds replaces the server (new IP, empty disk) unless reinstallOnChange: true, which reinstalls the same server and keeps its addresses. Changing planId or regionId always replaces it.
  • Cheaper offers. getMarketplaceOffer runs on every update. When a cheaper offer appears, planId changes and Pulumi plans a replacement. Use ignoreChanges: ["planId", "regionId"] or pin providerId to stay put.
  • Firewalls. Rules are evaluated top to bottom and unmatched traffic is accepted, so end a ruleset with a drop rule.
  • Import. Existing resources can be adopted with pulumi import, for example pulumi import noderings:index/dnsRecord:DnsRecord www <zone id>/www/A.

Reference

Development

See CONTRIBUTING.md for building the provider, regenerating the SDKs, and running the unit and live integration tests.

Support

Report bugs and request features in GitHub issues. For questions about your NodeRings account or servers, contact NodeRings support from the console.

License

Apache License 2.0. See LICENSE and COPYRIGHT.

Metadata

Release files for pulumi-noderings 0.1.5

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

Source distribution (sdist)

Source distribution for pulumi-noderings 0.1.5
File Size Uploaded Provenance Actions
pulumi_noderings-0.1.5.tar.gz 130.7 kB With provenance Details for pulumi_noderings-0.1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pulumi-noderings 0.1.5
File Interpreter ABI Platform Actions
pulumi_noderings-0.1.5-py3-none-any.whl Python 3 none any Details for pulumi_noderings-0.1.5-py3-none-any.whl

Total release size: 332.5 kB

Release files / pulumi_noderings-0.1.5.tar.gz

Download URL pulumi_noderings-0.1.5.tar.gz
Size 130.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b5a5e41a641f6c93c69c36fd612d392ed3a55db26faa5dfb9cf1832bed4cbe6a
BLAKE2b-256 checksum
How to use checksums
3c20a3cd7f208d46b2c98320dd47ccd6571ec8ddf601ad16f20a1954fcd1f844
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Release files / pulumi_noderings-0.1.5-py3-none-any.whl

Download URL pulumi_noderings-0.1.5-py3-none-any.whl
Size 201.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
48100adeb854ff5d548f80a2a36774b43487655bde8956f347eeefe1fcb36608
BLAKE2b-256 checksum
How to use checksums
2678b36f83e03be440c6daeefc6acbc1bb5bae3f28d0e5c7a80a0ff983eab7cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Security for pulumi-noderings 0.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pulumi_noderings-0.1.5.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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