Skip to content

Instantly share code, notes, and snippets.

@girishbin
girishbin / ec2_info_retriever.py
Created January 22, 2018 14:11 — forked from dastergon/ec2_info_retriever.py
A basic boto3 based tool for retrieving information from running EC2 instances.
from collections import defaultdict
import boto3
"""
A tool for retrieving basic information from the running EC2 instances.
"""
# Connect to EC2
ec2 = boto3.resource('ec2')
my salt-api conf file
- - - - - - -- - - - - - -- - - - - - -- - - - - - -- - - - - - -- - - - - - -- - - - - - -
rest_cherrypy:
port: 8000
host: 0.0.0.0
debug: True
disable_ssl: true
externalauth: