Close
Glad You're Ready. Let's Get Started!

Let us know how we can contact you.

Thank you!

We'll respond shortly.

LABS
Standup 12/30/2009: S3 CDNs, Compact Privacy Policies

Ask for Help

“Anyone have good strategies for using S3 as a content delivery network for static files?”

Using S3 as a CDN is pretty common. S3 is certainly cheap, and fairly easy to set up. However, latency can be large – S3 isn’t built to act as a CDN, so the performance can be lacking. In addition, you need to work out your pathing in your CSS files to find background images correctly. Relative paths are a common technique here.

The performance of files in your public directory is much better. Amazon’s Cloudfront is another (expensive) option.

Note observation #4 in this blog article: link

“I can’t get ImageMagick to work on Snow Leopard. What gives?”

A brief look online shows several step-by-step instructions. It’s unclear what this particular problem is about.

“After upgrading to the latest version of Mocha, any_instance doesn’t clean up after itself. Why?”

Mocha‘s any_instance stubbing is one of the few features that distinguish Mocha from other mock frameworks.

There are arguments against using this style of coding, because it adds global behavior to your tests that can be hard to diagnose.

One suggestion was to update rspec as well.

“How do I set up a Compact Privacy Policy? How does this funky syntax work?”

Definition of compact privacy policy

More info about the CPP workflow

In short, work with your client’s legal staff to get a policy and convert it to P3P and compact privacy policy form.

“Heroku 1.5.3 isn’t letting me use heroku rake commands. What can I do?”

Upgrade to Heroku 1.5.6.

Interesting Things

  • EY Cloud’s slave database functionality is broken right now. It’s supposed to be fixed this afternoon.

  • Amazon restricts you to 20 EBS volumes/EC2 instances per account by default. The trick here is that deleting volumes does not immediately free up space. Volumes stay in a ‘Deleting volume’ state for an indefinite amount of time before they are truly free, making it hard to allot space for them. Finding these deleting instances can be a real challenge – the AWS API can find them, but not the EY cloud GUI.

  • If you need to manipulate AWS credentials for EY Cloud, it’s fairly easy to go to the machine and find the appropriate file – /etc/.mysql.backups.yml

Comments
Post a Comment

Your Information (Name required. Email address will not be displayed with comment.)

* Copy This Password *

* Type Or Paste Password Here *