https://github.com/codeactual/ec2-mount-ephemeral
ec2-mount-ephemeral prepares an instance-storage device for immediate use. It currently supports only EC2 types with one NVMe instance-storage device.
https://github.com/codeactual/ec2-mount-ephemeral
aws ec2 go golang
Last synced: 6 months ago
JSON representation
ec2-mount-ephemeral prepares an instance-storage device for immediate use. It currently supports only EC2 types with one NVMe instance-storage device.
- Host: GitHub
- URL: https://github.com/codeactual/ec2-mount-ephemeral
- Owner: codeactual
- License: mpl-2.0
- Archived: true
- Created: 2019-10-28T16:01:37.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-24T01:49:52.000Z (over 6 years ago)
- Last Synced: 2024-06-20T02:04:26.276Z (about 2 years ago)
- Topics: aws, ec2, go, golang
- Language: Go
- Homepage:
- Size: 72.3 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# ec2-mount-ephemeral [](https://pkg.go.dev/mod/github.com/codeactual/ec2-mount-ephemeral) [](https://goreportcard.com/report/github.com/codeactual/ec2-mount-ephemeral) [](https://travis-ci.org/codeactual/ec2-mount-ephemeral)
ec2-mount-ephemeral prepares an instance-storage device for immediate use.
It currently supports only EC2 types with one NVMe instance-storage device.
# Usage
> To install: `go get -v github.com/codeactual/ec2-mount-ephemeral/cmd/ec2-mount-ephemeral`
## Examples
> Usage:
```bash
ec2-mount-ephemeral --help
```
> Display the mount plan (dry run):
```bash
ec2-mount-ephemeral --mount-path /instance
```
> Same as above (live run):
```bash
ec2-mount-ephemeral --mount-path /instance --force
```
> Same as above but customize the filesystem:
```bash
ec2-mount-ephemeral --fs-type non_default_ext4 --mount-path /instance --force
```
# Development
## License
[Mozilla Public License Version 2.0](https://www.mozilla.org/en-US/MPL/2.0/) ([About](https://www.mozilla.org/en-US/MPL/), [FAQ](https://www.mozilla.org/en-US/MPL/2.0/FAQ/))
## Contributing
- Please feel free to submit issues, PRs, questions, and feedback.
- Although this repository consists of snapshots extracted from a private monorepo using [transplant](https://github.com/codeactual/transplant), PRs are welcome. Standard GitHub workflows are still used.