Cloudfront


#1

Hey Guys.

I was wondering if there is any documentation on how to use chef with
cloudfront. Amazon has some docs but it seems old and I find it rather
confusing. One thing I would like clarification on is how to inform
the existing nodes that a new node has come up or gone down in the
cluster immediately so they can keep track of other nodes, inform DNS
services etc.

Cheers.


#2

Hi Tim,

Are you sure you’re not thinking of Elastic Load Balancing? Cloudfront is a
CDN, so all it cares about is which origin server it should be using for
content to be distributed, and I can’t think of any reason why you would
want to change origin servers frequently or in conjunction with environment
changes.

If you are indeed asking about ELB, then I’ve had good results with this
ELB cookbook:

On Mon, Feb 20, 2012 at 12:23 PM, Tim Uckun timuckun@gmail.com wrote:

Hey Guys.

I was wondering if there is any documentation on how to use chef with
cloudfront. Amazon has some docs but it seems old and I find it rather
confusing. One thing I would like clarification on is how to inform
the existing nodes that a new node has come up or gone down in the
cluster immediately so they can keep track of other nodes, inform DNS
services etc.

Cheers.


#3

On Tue, Feb 21, 2012 at 1:52 PM, Three Tee threetee@gmail.com wrote:

Hi Tim,

Are you sure you’re not thinking of Elastic Load Balancing? Cloudfront is a
CDN, so all it cares about is which origin server it should be using for
content to be distributed, and I can’t think of any reason why you would
want to change origin servers frequently or in conjunction with environment
changes.

Sorry about the confusion. I said cloudfront when I meant
cloudformation http://aws.amazon.com/cloudformation/

Cloudformation is a little like chef from what I can see but obviously
not as flexible or powerful.