Skip to content

moejay/awscripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

awscripts

A script that will easily perform different common scenarios on aws instance using ec2-tools.

Installation/Requirements

- This script depends on ec2-tools, as long as you can run `ec2-describe-instances "AN_INSTANCE_ID"` you should be ok

Features :

  • Start ec2 instance (optional : attach ip after starting)
  • Stop ec2 instance
  • Resize ebs volume on instance ( Detach volume, make snapshot, make new volume from snapshot with new size, attach new volume to instance )
  • Change instance type ( -t t1.micro ,m1.small , etc.. )

Examples :

  • resize instance to 40 gb `./awscripts.sh -a resize -s 40 -i i-12345 `
  • Change instance type and attach ip `./awsciprts.sh -a retype -t t1.micro -i i-12345 -e 123.123.123.123`
  • Start with ip attached `./awscripts.sh -a start -i i-12345 -e 123.123.123.123`

Thanks to :

About

A script that will easily perform different common scenarios on aws instance using ec2-tools

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages