ec2-mount-ephemeral

module
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2020 License: MPL-2.0

README

ec2-mount-ephemeral GoDoc Go Report Card Build Status

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:

ec2-mount-ephemeral --help

Display the mount plan (dry run):

ec2-mount-ephemeral --mount-path /instance

Same as above (live run):

ec2-mount-ephemeral --mount-path /instance --force

Same as above but customize the filesystem:

ec2-mount-ephemeral --fs-type non_default_ext4 --mount-path /instance --force

Development

License

Mozilla Public License Version 2.0 (About, 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, PRs are welcome. Standard GitHub workflows are still used.

Directories

Path Synopsis
cmd
ec2-mount-ephemeral
Command ec2-mount-ephemeral prepares an instance-storage device for immediate use.
Command ec2-mount-ephemeral prepares an instance-storage device for immediate use.
internal
cage/cmd/testecho
Package testecho assists execution of the CLI from test cases and assertion of its result.
Package testecho assists execution of the CLI from test cases and assertion of its result.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL