Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tongueroo/ec2_name

Quick way to tag the name of the instance so that it shows up on aws console
https://github.com/tongueroo/ec2_name

Last synced: about 1 month ago
JSON representation

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

Awesome Lists containing this 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]