Project

ec2_name

0.0
No commit activity in last 3 years
No release in over 3 years
Quick way to tag the name of the instance so that it shows up on aws console.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.0

Runtime

>= 0
 Project Readme

Ec2Name

Quick way to tag the name of the instance so that it shows up on aws console.

Setup

gem install ec2_name

Set up a ~/.br-cloud.yml that holds the aws credentials. File should look like this:

$ cat ~/.br-cloud.yml
--- 
:aws_access_key_id: XXXX
:aws_secret_access_key: XXXXXXXXXXXXXXXXXXXX
$ 

Usage

If the script is being on an ec2 instance.

ec2_name [NAME]

If you are running it locally and want to test it.

INSTANCE_ID=i-XXXX ec2_name [NAME]