Current time: 11-01-2020, 11:54 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WebPagetest on EC2
10-29-2010, 04:06 AM
Post: #18
RE: WebPagetest on EC2
(10-29-2010 03:11 AM)pmeenan Wrote:  
(10-29-2010 02:02 AM)andrewa Wrote:  I just wanted to throw out my thanks to everyone contributing -- it's amazing how straightforward it already is to get servers up and running. I'm running a combination of servers on Amazon EC2 and Rackspace CloudServer to get some better regional representation (though still working on having some ability to determine which data center the Rackspace instance comes up in).

I wanted to add an insight that may apply to some users that depend on distributed CDNs. One caveat I've encountered with Amazon is that the DNS servers used end up making requests that appear to served out of Seattle. The CDN I use has POPs (Points of Presence) in most major cities, but when using the Amazon US East nodes, they still end up using CNAMEs pointing at the CDN POPs located in Seattle rather than on the east coast. The Rackspace servers I run correctly resolve our CNAMEs to point at POPs near to the data center as I would expect.

The workaround that I'm using is to manually override the DNS settings on the EC2 instance, and have the first DNS server point at a public DNS (such as OpenDNS) and the second pointing at the originally assigned DNS (just in case there's a need for it)

-andrew

FWIW, I have some public EC2 AMI's configured that I'm doing some testing with. If it all looks good I'll make them available for people to use. I have enhanced URLBlast to auto-configure itself based on user data so the AMI's can come right up and start testing.

For the CDN issue, did you tracert to the IP's or were you trusting WebPagetest's IP lookup (it tends to not be all that reliable with CDN POP's). Which CDN provider?

Amazon's DNS servers should be anycast and available in each data center so it would largely be the CDN provider's problem to geo-locate them correctly. Switching to Google DNS might be an option but there was a thread earlier on how Akamai has problems geo-locating through Google's DNS.

Thanks,

-Pat

Thanks for the response. I was using nslookup, actually, which should be accurate for the response. We're using Internap's CDN product, which should geo-locate correctly.

Here's the output from nslookup, the first using the DNS provided via DHCP, and the second using OpenDNS, the third using Google DNS.

Code:
C:\Users\Administrator>nslookup www.cozi.com. 172.16.0.23
Server:  ip-172-16-0-23.ec2.internal
Address:  172.16.0.23

Non-authoritative answer:
Name:    cdce.sef004.internap.com
Address:  64.94.126.65
Aliases:  www.cozi.com
          cozicorp.http.internapcdn.net
          http.sef004.internap.com

C:\Users\Administrator>nslookup www.cozi.com. 208.67.222.222
Server:  resolver1.opendns.com
Address:  208.67.222.222

Non-authoritative answer:
Name:    cdce.wdc007.internap.com
Address:  69.88.152.250
Aliases:  www.cozi.com
          cozicorp.http.internapcdn.net
          http.wdc007.internap.com

C:\Users\Administrator>nslookup www.cozi.com. 8.8.8.8
Server:  google-public-dns-a.google.com
Address:  8.8.8.8

Non-authoritative answer:
Name:    cdce.wdc007.internap.com
Address:  69.88.152.250
Aliases:  www.cozi.com
          cozicorp.http.internapcdn.net
          http.wdc007.internap.com

The instance is running in US-East, so the Washington, DC (WDC) lookup in the second and third case is what I would expect. The Seattle (SEF) lookup in the first, seems wrong.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
WebPagetest on EC2 - pmeenan - 10-20-2010, 08:58 PM
RE: WebPagetest on EC2 - asperkins - 10-21-2010, 03:49 AM
RE: WebPagetest on EC2 - pmeenan - 10-21-2010, 04:06 AM
RE: WebPagetest on EC2 - asperkins - 10-21-2010, 04:22 AM
RE: WebPagetest on EC2 - pmeenan - 10-28-2010, 04:50 AM
RE: WebPagetest on EC2 - aaronpeters - 10-29-2010, 12:13 AM
RE: WebPagetest on EC2 - asperkins - 10-29-2010, 12:23 AM
RE: WebPagetest on EC2 - aaronpeters - 10-29-2010, 12:46 AM
RE: WebPagetest on EC2 - asperkins - 10-29-2010, 12:50 AM
RE: WebPagetest on EC2 - aaronpeters - 10-29-2010, 12:53 AM
RE: WebPagetest on EC2 - asperkins - 10-29-2010, 12:56 AM
RE: WebPagetest on EC2 - aaronpeters - 10-29-2010, 01:04 AM
RE: WebPagetest on EC2 - pmeenan - 10-29-2010, 03:06 AM
RE: WebPagetest on EC2 - andrewa - 10-29-2010, 02:02 AM
RE: WebPagetest on EC2 - pmeenan - 10-29-2010, 03:11 AM
RE: WebPagetest on EC2 - andrewa - 10-29-2010 04:06 AM
RE: WebPagetest on EC2 - asperkins - 10-29-2010, 02:12 AM
RE: WebPagetest on EC2 - pmeenan - 10-29-2010, 03:26 AM
RE: WebPagetest on EC2 - georgeh - 11-25-2010, 10:01 AM
RE: WebPagetest on EC2 - asperkins - 11-25-2010, 10:16 AM
RE: WebPagetest on EC2 - pmeenan - 11-25-2010, 10:19 AM
RE: WebPagetest on EC2 - georgeh - 11-25-2010, 11:10 AM
RE: WebPagetest on EC2 - pmeenan - 11-25-2010, 11:31 AM
RE: WebPagetest on EC2 - georgeh - 11-25-2010, 12:07 PM
RE: WebPagetest on EC2 - georgeh - 11-26-2010, 02:36 PM
RE: WebPagetest on EC2 - pmeenan - 11-27-2010, 12:36 AM
RE: WebPagetest on EC2 - mjlp - 12-30-2010, 12:05 PM
RE: WebPagetest on EC2 - pmeenan - 12-30-2010, 12:30 PM
RE: WebPagetest on EC2 - mjlp - 12-30-2010, 02:09 PM
RE: WebPagetest on EC2 - mjlp - 12-31-2010, 07:38 AM
RE: WebPagetest on EC2 - pmeenan - 01-06-2011, 05:45 AM
RE: WebPagetest on EC2 - pmeenan - 01-14-2011, 12:26 AM
RE: WebPagetest on EC2 - asperkins - 01-14-2011, 06:20 AM
RE: WebPagetest on EC2 - pmeenan - 01-14-2011, 06:35 AM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)