Skip to content

Instantly share code, notes, and snippets.

View everiu's full-sized avatar
🌴
On vacation

everiu everiu

🌴
On vacation
View GitHub Profile
@everiu
everiu / ec2-printconfig.py
Created September 4, 2019 05:58 — forked from ttddyy/ec2-printconfig.py
a python script to display ec2 name and ip address as ssh-config or hosts file.
#! /usr/bin/env python
import argparse
import os
import sys
import boto.ec2
def parse_args():