Changes between Version 64 and Version 65 of doc/meek


Ignore:
Timestamp:
Jun 5, 2014, 7:19:20 AM (5 years ago)
Author:
dcf
Comment:

Amazon CloudFront.

Legend:

Unmodified
Added
Removed
Modified
  • doc/meek

    v64 v65  
    5959 * https://developers.google.com/appengine/docs/pricing
    6060The cost is $0.12 per gigabyte, with 1 gigabyte free each day. There are other potential ancillary costs, having to do with things like how often your app is reloaded.
     61
     62=== Amazon CloudFront ===
     63
     64{{{
     65$ wget -O - -q https://d2k1ftgv7pobq7.cloudfront.net/test.html | grep -io '<title>.*</title>'
     66<title>Trello CDN Test Page</title>
     67$ wget -O - -q https://d1iqki3au1knww.cloudfront.net/ | grep -io '<title>.*</title>'
     68<title>Goodreads - Page Not Found</title>
     69$ wget -O - -q https://d1iqki3au1knww.cloudfront.net/test.html --header 'Host: d2k1ftgv7pobq7.cloudfront.net' | grep -io '<title>.*</title>'
     70<title>Trello CDN Test Page</title>
     71}}}
     72
     73[https://aws.amazon.com/cloudfront/ CloudFront] is a CDN. Your files are hosted on a generated domain name that looks like d2k1ftgv7pobq7.cloudfront.net. All these domains [https://aws.amazon.com/cloudfront/custom-ssl-domains/ support HTTPS] with a wildcard cert for *.cloudfront.net, and they can front for each other.
     74
     75There is a [https://aws.amazon.com/free/ free tier], good for a year, that limits you to 50 GB per month. [https://aws.amazon.com/cloudfront/pricing/ Per-request pricing] differs by client country. Per-gigabyte costs go down the more you transfer, with a maximum of $0.19 per gigabyte. Bandwidth costs to the origin server (i.e., the Tor bridge) are lower. There's an additional cost of about $0.01 per 10,000 requests.
     76
     77CloudFront allows you to use your own TLS domain name for an extra charge, but that appears to put you on a certificate with a bunch of shared SANs, which can't be front for domains on different certificates.
     78
     79There's a question of what to use as the front domain. Any particular *.cloudfront.net name could be individually blockable. The generic names cloudfront.net and www.cloudfront.net don't resolve.
    6180
    6281== Using nginx instead of Google App Engine/PHP/etc ==