- From: Brad Knowles <
>
- To:
- Cc: Brad Knowles <
>
- Subject: [chef] Re: Re: Setting up hosts between multiple boxes on EC2
- Date: Mon, 21 Nov 2011 09:12:34 -0600
On Nov 20, 2011, at 9:40 AM, Haim Ashkenazi wrote:
>
I've actually implemented something like that with route53 (amazon't DNS
>
service). For each important host (e.g, db) I've created a name (e.g.
>
db.domain.com) and added it as CNAME to the host's internal address (this
>
does not work between regions though). The reason I chose route53 was that
>
I think (It's not yet checked) that It helps reduces TTL since I already
>
query the amazon DNS.
BTW, there's already a cookbook for doing this kind of stuff with DynECT, and
we have implemented similar functionality using a curl-based mechanism to
Zerigo for our nodes on Rackspace Cloud.
I know that Fog is the "right" way to do this sort of thing (and I'm sure the
DynECT cookbook uses this method), but the interface between Zerigo and Fog
wasn't obvious to us, and the existing cookbook from Zerigo for using their
tools ... well, let's just say that we found it "sub-optimal". So, we
kit-bashed together the critical pieces we needed based on their
documentation for their REST API and their curl-based mechanisms.
All of which gets us back to the mantra TIMTOWTDI.
--
Brad Knowles
<
>
SAGE Level IV, Chef Level 0.0.1
Archive powered by MHonArc 2.6.16.