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 the URL will expire’) args = parser.parse_args() s3 = boto.connect_s3() bucket = s3.get_bucket(args.bucket) key = […]

AWS Resource Groups
18. December 2014

Some days before, a new button raised in my AWS Console, simply named “AWS”. It contains a nice Tag Editor allowing you to find resources and tag them (but you shouldn’t do this by hand, automate it!). From my point of view, resource groups are the much nicer feature. You can create a group and assign […]

Common

Running in a cloud always means some changes in mind in comarison to a static datacenter environment. Especially if you think about security and m2m trusts. Amazon AWS has some great features like IAM Roles to handle this in a cloud-native fashion, unfortunately only available for AWS services. In my opinion it is a damn […]

AWS CloudWatch Logs
1. October 2014

AWS recently released it’s barely new CloudWatch feature for log analysis in eu-west-1 and us-west-1. It was started in us-east-1 first and got a rollout over to ireland yesterday. After installation and configuration of a small daemon called awslogs, instance logs appear in the Webinterface quite fast. They can get divided into log-groups and streams. The interface is quite […]