AWS S3 Policies List* vs Get*

TL;DR If you are are running into problems with ListObject or any other List command using the S3 SDK, make sure your policy statement specifies List at the bucket level, and Get at the object level. Wrong { "Version": "2012-10-17", "Statement": [ { "Sid": "S3Config", "Effect": "Allow", "Action": [ "s3:Get*", "s3:List*" ], "Resource": [ "arn:aws:s3:::bucket-name"… Continue reading AWS S3 Policies List* vs Get*

RIFM: Best Practices Design Patterns: Optimizing Amazon S3 Performance

Whitepaper (Amazon) Whitepaper (Backup) TL;DR If you walk away with anything, it should be this: Amazon S3 can handle whatever you throw at it, as long as you follow the rules. It can be as fast as you need (3,500 PUT/COPY/POST/DELETE and 5,500 GET/HEAD requests/second/prefix), scales horizontally seamlessly across a wide pool of IP addresses… Continue reading RIFM: Best Practices Design Patterns: Optimizing Amazon S3 Performance

TypeError: Cannot read property ‘visitStatement’ of undefined

Quick tip: When working in Angular 2 if you get an error that looks like: EXCEPTION: TypeError: Cannot read property 'visitStatement' of undefined Or: EXCEPTION: Error: Uncaught (in promise): TypeError: Cannot read property 'visitStatement' of undefined Try checking your code for an empty 'click' event binding (<component (click)=""></component>). If the event is left empty it can… Continue reading TypeError: Cannot read property ‘visitStatement’ of undefined