https://github.com/chrisenytc/rancheros-aws-metadata
A system service to add AWS metadata on RancherOS environment
https://github.com/chrisenytc/rancheros-aws-metadata
aws docker metadata rancheros service system
Last synced: 3 months ago
JSON representation
A system service to add AWS metadata on RancherOS environment
- Host: GitHub
- URL: https://github.com/chrisenytc/rancheros-aws-metadata
- Owner: chrisenytc
- License: mit
- Created: 2018-07-21T14:12:27.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-21T18:13:33.000Z (almost 7 years ago)
- Last Synced: 2025-01-21T12:11:18.875Z (4 months ago)
- Topics: aws, docker, metadata, rancheros, service, system
- Language: Shell
- Size: 8.79 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RancherOS AWS Metadata
> A system service to add AWS metadata on RancherOS environment
```bash
,/ \,
((__,-"""-,__))
`--)~ ~(--`
.-'( )`-,
`~~`d\ /b`~~`
| |
(6___6)
`---`RancherOS AWS Metadata
```[]()
[](https://github.com/chrisenytc/rancheros-aws-metadata/blob/master/LICENSE)
[](https://github.com/chrisenytc/rancheros-aws-metadata/network)
[](https://github.com/chrisenytc/rancheros-aws-metadata/stargazers)
[](https://github.com/chrisenytc/rancheros-aws-metadata/issues)
[](https://hub.docker.com/r/chrisenytc/rancheros-aws-metadata/)
[](https://hub.docker.com/r/chrisenytc/rancheros-aws-metadata/)[](http://twitter.com/chrisenytc)
[](https://twitter.com/intent/tweet?text=Awesome%20https://github.com/chrisenytc/rancheros-aws-metadata%20via%20@chrisenytc)## Supported tags and respective `Dockerfile` links
- [`1.0.0`](https://github.com/chrisenytc/rancheros-aws-metadata/blob/1.0.0/Dockerfile)
## How to use
Add this [cloud-init](http://cloudinit.readthedocs.io) config on your EC2 user-data or in your rancher configuration file.
```yaml
#cloud-config
rancher:
services:
aws-metadata:
image: chrisenytc/rancheros-aws-metadata:1.0.0
privileged: true
labels:
io.rancher.os.after: network
io.rancher.os.scope: system
io.rancher.os.reloadconfig: 'true'
io.rancher.os.createonly: 'false'
cron.schedule: "*/5 * * * *"
volumes:
- /usr/bin/ros:/bin/ros:ro
- /var/lib/rancher/conf:/var/lib/rancher/conf:rw
```### Environment list
* `AWS_AVAILABILITY_ZONE`
* `AWS_DEFAULT_REGION`
* `AWS_IAM_ROLE`
* `AWS_ACCESS_KEY_ID`
* `AWS_SECRET_ACCESS_KEY`
* `AWS_SECURITY_TOKEN`
* `AWS_AMI_ID`
* `AWS_AMI_LAUNCH_INDEX`
* `AWS_AMI_MANIFEST_PATH`
* `AWS_INSTANCE_ID`
* `AWS_INSTANCE_TYPE`
* `AWS_INSTANCE_ACTION`
* `AWS_HOSTNAME`
* `AWS_LOCAL_HOSTNAME`
* `AWS_LOCAL_IPV4`
* `AWS_PUBLIC_IPV4`
* `AWS_MAC_ADDRESS`
* `AWS_SECURITY_GROUPS`
* `AWS_RESERVATION_ID`## Contributing
Bug reports and pull requests are welcome on GitHub at [https://github.com/chrisenytc/rancheros-aws-metadata](https://github.com/chrisenytc/rancheros-aws-metadata). This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
1. Fork it [chrisenytc/rancheros-aws-metadata](https://github.com/chrisenytc/rancheros-aws-metadata/fork)
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am "Add some feature"`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request## Support
If you have any problem or suggestion please open an issue [here](https://github.com/chrisenytc/rancheros-aws-metadata/issues).## License
Check [here](LICENSE).