Skip to the content.

FAQ

What is NebiusMocker?

A local emulator of the Nebius AI Cloud API, written in Go, in the spirit of LocalStack. It serves the same gRPC services as Nebius, so the official Terraform provider, Go SDK and nebius CLI run against your laptop or CI with no Nebius account and no cost. It is open source (Apache-2.0) and not an official Nebius project.

How do I test Nebius Terraform code without a Nebius account?

Start the mock (make run or go run ./cmd/nebius-mocker, listening on :4566), then configure the official provider:

provider "nebius" {
  resolvers       = { "*" = "127.0.0.1:4566" }
  address_options = { "*" = { insecure = true } }
  token           = "nmock-dev-admin"
}

Everything else in your configuration stays the same. Use the seeded project project-e00mock000000000default as parent_id. The Terraform support matrix lists all 116 provider objects: 114 work and are tested end to end, and the other two are provider-local.

Do I need a patched provider, SDK or CLI?

No. The mock implements the Nebius gRPC API from the published protos, so the unmodified tools work. Its own tests use only the official provider from the Terraform Registry, github.com/nebius/gosdk and the released nebius CLI.

How do I use the Go SDK against it?

sdk, err := gosdk.New(ctx,
    gosdk.WithResolvers(conn.NewBasicResolver("*", "127.0.0.1:4566")),
    gosdk.WithDialOptions(grpc.WithTransportCredentials(insecure.NewCredentials())),
    gosdk.WithCredentials(gosdk.IAMToken("nmock-dev-admin")),
)

How do I use the nebius CLI against it?

Put a dev token in a file and create a profile whose endpoint is the mock, then pass --insecure (plaintext gRPC):

echo nmock-dev-admin > token
nebius profile create mocker --endpoint localhost:4566 --token-file token \
  --parent-id project-e00mock000000000default
nebius vpc network list --insecure

Can I run it in CI?

Yes. It is a single Go binary with in-memory state that starts in about a second. Build it with go install github.com/kfirgollan/NebiusMocker/cmd/nebius-mocker@latest, or build the container image with make docker-image. Data planes that need real systems (S3 on RustFS, the registry on Harbor, Kubernetes on k3s, PostgreSQL, MLflow) are optional and run in Docker.

How does it compare with LocalStack?

Same idea, different cloud. LocalStack emulates AWS; NebiusMocker emulates Nebius AI Cloud. Like LocalStack, it serves every service on one edge port (:4566), runs heavy data planes on open-source systems in Docker, and is meant for local development and tests, not production. The Nebius API is gRPC rather than REST, so clients point at it through their endpoint resolver settings.

Which services work?

IAM (with enforced authorization), VPC, Compute (images, disks, snapshots, instances, GPU clusters, NVL instance groups, shared filesystems), Managed Kubernetes (optionally real k3s clusters), Object Storage (S3 on RustFS, inventories, transfers), Container Registry (docker push/pull via Harbor), MysteryBox, KMS (real crypto), DNS (resolvable records), Quotas, Billing, Capacity, Managed PostgreSQL and MLflow (optionally real servers), AI endpoints, Applications, Tunnels and audit logs. The services catalog has the detail per service.

What doesn’t it do?

It boots no VMs and has no GPUs: instances, GPU clusters and disks are management-plane records. The tunnel data plane, SAML sign-in and real prices aren’t modeled, and state is lost on restart. Each service doc lists what isn’t supported yet.

Which tool versions is it tested with?

Terraform provider nebius/nebius 0.6.91, github.com/nebius/gosdk v0.2.100 and nebius CLI 0.12.312. The terraform-sweep check compares the mock with each new provider release.

Where do I report a bug or ask for a service?

Open an issue at github.com/kfirgollan/NebiusMocker.