Here it is, a small and simple example on how to created presigned URLs for AWS S3 objects. #!/usr/bin/python import boto import argparse parser = argparse.ArgumentParser(description=’Generate an S3 signed URL‘) parser.add_argument(‚bucket‘, help=’bucket name‘) parser.add_argument(‚key‘, help=’prefix/key‘) parser.add_argument(’seconds‘, type=int, help=’time in seconds until…
Python is my way to go and the cx_Oracle module helps getting in contact with an Oracle database. While it is relatively easy to install it on my OS X, it is a bit harder on Debian.
I recently needed to send some custom metrics to AWS Cloudwatch. This is no rocket science but a lightweight example may safe some time implementing it.
See what configuration is being used by python boto