https://github.com/spotmaxtech/cloudmeta
Collect cloud data meta, provide easy api. Making cloud life easer Having fun
https://github.com/spotmaxtech/cloudmeta
aliyun api aws golang metadata
Last synced: 4 months ago
JSON representation
Collect cloud data meta, provide easy api. Making cloud life easer Having fun
- Host: GitHub
- URL: https://github.com/spotmaxtech/cloudmeta
- Owner: spotmaxtech
- License: mpl-2.0
- Created: 2019-07-17T09:33:14.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-01-21T10:22:55.000Z (over 5 years ago)
- Last Synced: 2024-06-20T06:31:48.977Z (about 2 years ago)
- Topics: aliyun, api, aws, golang, metadata
- Language: Go
- Homepage:
- Size: 377 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Cloudmeta
A cloud meta data utility.
# Why cloudmeta?
With it, you can get popular cloud meta data, such as aws instance info,
spot price, od-demand price, spot interruption info, regions info and so on.
*For now, SpotMax team are providing open database for you*
# Who may use it?
If you are writing some automation code with aws/aliyun, I think you can get some idea in these project!
# Supporting cloud platform
1. aws
2. aliyun
# Usage
```bash
go get github.com/spotmaxtech/cloudmeta
```
```go
package main
import (
"fmt"
"github.com/spotmaxtech/cloudmeta"
)
func main() {
meta := cloudmeta.DefaultAWSMetaDb()
region := meta.Region().GetRegionInfo("us-east-1")
fmt.Println(region)
}
```