Skip to content

Docker container that attaches an EBS volume to the local EC2 instance

Notifications You must be signed in to change notification settings

anupash147/ebs-attach

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ebs-attach

Docker container that attaches an EBS volume to the local EC2 instance. Useful with CoreOS when you need persistent storage.

Usage:

docker run -it --rm justyo/ebs-attach \
--volumeid vol-123123 \
--device /dev/xvdf \
--region eu-west-1 \
--access-key AWS_ACCESS_KEY \
--secret-key AWS_SECRET_KEY

Note: if you don't provide an IAM access and secret key, it relies on the EC2 instance possessing an IAM profile with the following privileges:

  • ec2:AttachVolume
  • ec2:DetachVolume

Credits

The wonderful leg100 created the original version of ebs-attach.

About

Docker container that attaches an EBS volume to the local EC2 instance

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%