This is the multi-page printable view of this section. Click here to print.
AWS
1 - Dynamic Route 53 Tool
This is a simple tool which allows you to dynamically update a Route 53 record set with the current public IP address of the machine it is running on. It can configure it self as a cron job if specified. A hobbyist use case could be to have a dynamic DNS service for being able to access things you are hosting from your home network.
Install: pip install bails-aws-utils
usage: dynamic-dns [-h] -p PREFIX -d DOMAIN [-c CRON] [-i INTERVAL] [-s]
Creates an A record for the current public IP.
optional arguments:
-h, --help show this help message and exit
-p PREFIX, --prefix PREFIX
The prefix of the A record to create
-d DOMAIN, --domain DOMAIN
The domain of the A record to create
-c CRON, --cron CRON Cron schedule, overrides interval if set, if save is not passed this will be ignored
-i INTERVAL, --interval INTERVAL
Interval in minutes to run the cron job, if save is not passed this will be ignored
-s, --save Save the cron job to the crontab
Links:
2 - Route 53 Redirect
This template deploys a lambda function which will redirect all traffic to a specified domain to another domain. This is useful for redirecting a domain to a different domain, or redirecting a domain to a subdomain.
3 - Serverless Satic Site
This is a template which makes it easy to setup the infrastructure required for hosting static websites on AWS using S3, Cloudfront, Certificate Manager and Route 53. This site is hosted using infrastructure created using this template.
4 - Simple IP Service
This is an API which returns the IP address of the client making the request.