Amazon Web Services (AWS) provides a Simple Notification Service (SNS) that allows you to publish messages to a topic that multiple subscribers can consume. One type of subscriber that SNS offers is an HTTPS endpoint with optional basic authentication. Sounds straightforward, right?
Like many organizations, we are in the middle of switching to Slack. They offer a long list of integrations out of the box including GitHub, but the native integration is missing some events my team and I had come to rely on (namely labeling Issues and Pull Requests). GitHub has Webhooks and Slack has Incoming Webhooks so all I needed to do was put something in the middle to translate GitHub’s JSON output to a JSON input for Slack.
I wanted to find the IP ranges for all of Amazon’s US-based S3 regions. After a lot of searching through outdated forums, I found out how to get the ranges directly from the source. Continue reading “Finding Amazon S3 Region IP Ranges”