Skip to content

Instantly share code, notes, and snippets.


Shawn tolidano

View GitHub Profile
tolidano /
Created May 19, 2021 — forked from mvanga/
Basic Music Theory in ~200 Lines of Python
# The code for my article with the same name. You can find it at the URL below:
# MIT License
# Copyright (c) 2021 Manohar Vanga
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
View AWS Security Resources
I get asked regularly for good resources on AWS security. This gist collects some of these resources (docs, blogs, talks, open source tools, etc.). Feel free to suggest and contribute.
Short Link:
Official AWS Security Resources
* Security Blog -
* Security Advisories -
* Security Whitepaper (AWS Security Processes/Practices) -
* Security Best Practices Whitepaper -
View Security_Tools_for_AWS.MD

Security Tools for AWS

I often get asked which tools are good to use for securing your AWS infrastructure so I figured I'd write a short listof some useful Security Tools for the AWS Cloud Infrastructure.

This list is not intended be something completely exhaustive, more so provide a good launching pad for someone as they dig into AWS and want to make it secure from the start.

Open Source

This section focuses on tools and services provided by the community and released as open-source.

tolidano /
Created Nov 30, 2018
Python Gadget to add SSH from the current IP using default AWS profile to security group named SSH
import boto3
from botocore.exceptions import ClientError
import json
import requests
ec2 = boto3.client('ec2')
def get_ip():
r = requests.get('')
return r.text.strip()
View address.txt