Nebius has a golang SDK that is used to interact with the Nebius API.
Get started by reading the Nebius API documentation.
- Nebius Account: Create an account at Nebius AI Cloud
- Service Account: Create a service account in Nebius IAM
- Service Account Key: Generate and download a JSON service account key
-
Install Dependencies:
go mod download
-
Configure Credentials: Place your service account JSON key file in your home directory:
cp /path/to/your/service-account-key.json ~/.nebius-credentials.json -
Set Environment Variables:
export NEBIUS_SERVICE_ACCOUNT_KEY_FILE=~/.nebius-credentials.json export NEBIUS_PROJECT_ID=your-project-id
# Run all tests
make test
# Run Nebius-specific tests
go test ./internal/nebius/v1/...
# Run with verbose output
go test -v ./internal/nebius/v1/...- Code Changes: Make changes to the Nebius provider implementation
- Lint: Run
make lintto ensure code quality - Test: Run
make testto verify functionality - Commit: Follow conventional commit messages
The current implementation provides boilerplate stubs for all CloudClient interface methods:
Implemented (Stubs):
- Instance management (Create, Get, List, Terminate, Stop, Start, Reboot)
- Instance types and quotas
- Image management
- Location management
- Firewall/Security Group management
- Volume management
- Tag management
Next Steps:
- Replace stub implementations with actual Nebius API calls
- Add comprehensive error handling
- Implement proper resource mapping between Brev and Nebius models
- Add integration tests with real Nebius resources
- Nebius Go SDK: https://github.com/nebius/gosdk
- Nebius API Documentation: https://github.com/nebius/api
- Compute Service: Focus on
services/nebius/compute/v1/for instance management