https://github.com/amari/cleta
A cloud metadata server written in Go.
https://github.com/amari/cleta
cloud cloud-init digitalocean go golang metadata-api
Last synced: 3 months ago
JSON representation
A cloud metadata server written in Go.
- Host: GitHub
- URL: https://github.com/amari/cleta
- Owner: amari
- License: apache-2.0
- Created: 2019-09-05T16:50:20.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-09-05T17:19:50.000Z (over 6 years ago)
- Last Synced: 2024-06-20T15:00:15.325Z (almost 2 years ago)
- Topics: cloud, cloud-init, digitalocean, go, golang, metadata-api
- Language: Go
- Size: 4.17 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cleta
__A cloud metadata server written in Go. Use as [CLI](#cli-usage).__
* Provision VMs using [cloud-init](https://cloudinit.readthedocs.io/en/latest/) images without a cloud provider.
* Runs on Linux and macOS.
## Supported Metadata Service APIs
* [DigitalOcean](https://developers.digitalocean.com/documentation/metadata/)
* [Example Droplet](examples/sample-droplet.json)
### Planned
* [AWS](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html)
* [GCE](https://cloud.google.com/compute/docs/storing-retrieving-metadata)
## Storage Backends
* Filesystem Directories (JSON and YAML files).
### Planned
* Postgres
* MySQL / MariaDB
* MongoDB
## CLI usage
```bash
$ cleta serve \
--metadata-bind-addr="169.254.169.254:80" \
--metadata-store="dir" \
--metadata-store-dir="a_path_to_vm_configs" \
--metadata-store-dir="another_path_to_vm_configs" \
--neighbor-table-refresh-interval=1ms
```