Cloud-native Open-Source Cloud Management Framework
Table of Contents | |
---|---|
Installation | |
Docker | Local |
- | Production |
Drivers | |
CLI | |
- | Usage |
CLI Installation | Linux |
- | macOS |
- | Windows |
- | From Source |
Building Protobuf |
NoCloud is Cloud-native, meaning it can run in any OCI environment such as Docker(Compose), K8s, etc.
Add this to your /etc/hosts
file:
127.0.2.1 nocloud.local
127.0.2.1 traefik.nocloud.local # Traefik dashboard
127.0.2.1 rbmq.nocloud.local # RabbitMQ Manager UI
127.0.2.1 api.nocloud.local # REST and gRPC API
127.0.2.1 db.nocloud.local # ArangoDB UI
Just do docker-compose up
in the repo root, and you're ready to go.
Read through the docker-compose.yml
to see configuration options.
Now you can navigate to Admin UI at http://api.nocloud.local/admin
.
Note
All NoCloud containers have multiple Log Levels.
Add LOG_LEVEL
to environment to change log level
LOG_LEVEL
variates from -1(debug) to 5(Fatal)
See zap
reference for that
See this doc to learn how to deploy NoCloud in production
In order to make NoCloud an actual Cloud orchestration platform, it needs drivers, which would help creating groups and instances.
- Add your driver into cluster/compose
- Add your driver to
services-registry
andsp-registry
into env variableDRIVERS
- Start
See and try this sample compose with IONe driver
Currently we have only IONe driver. More drivers planned and community help is always appreciated!
Start with nocloud help
and nocloud help login
;)
See macOS.
Just run
snap install nocloud
and see usage usage
- Go to CLI Releases
- Get
.deb
package for your CPU arch (arm64
orx86_64
) dpkg -i path/to/.deb
If you're using some other arch, let us know, we'll add it to the build. Meanwhile - try building from source
Then see usage usage
- Go to CLI Releases
- Get
.rpm
package for your CPU arch (arm64
orx86_64
) yum localinstall path/to/.rpm
ordnf install path/to/.rpm
If you're using some other arch, let us know, we'll add it to the build. Meanwhile - try building from source
Then see usage usage
If you have yaourt
or yay
package must be found automatically by label nocloud-bin
Otherwise,
git clone https://aur.archlinux.org/packages/nocloud-bin
cd nocloud-bin
makepkg -i
Then see usage usage
If you're using other package manager or have none, you can download prebuilt binary in .tar.gz
archive for arm64
or x86_64
, unpack it and put nocloud
binary to /usr/bin
or your $PATH/bin
.
If you're using some other arch, let us know, we'll add it to the build. Meanwhile - try building from source
Then see usage usage
If you're using Homebrew:
brew tap slntopp/nocloud
brew install nocloud
You're good to go!
Then see usage usage
If you don't have Homebrew, consider using it ;), otherwise you can get prebuilt binary from CLI Releases page as an .tar.gz
archive.
# if you have wget then
wget https://github/slntopp/nocloud-cli/releases/#version/nocloud-version-darwin-arch.tar.gz
# if you don't, just download it
tar -xvzf #nocloud-version-darwin-arch.tar.gz
# move binary to /usr/local/bin or alike
mv #nocloud-version-darwin-arch/nocloud /usr/local/bin
You're good to go!
Tip
Then see usage usage
- Go to CLI Releases
- Get prebuilt binary from CLI Releases page as an
.zip
archive. - Unpack it
- Put it somewhere in
$PATH
Then see usage usage
See CLI repo for source and instructions.
For docs and scripts navigate to Proto repo.