cloudfront

Getting Facebook Connect to work with Cloudfront

Hi, I have a Flash based website with Connect. Recently I moved my SWF files up to Cloudfront. I have a base href in my index.html that points to my CF URL, so everything is loaded from there. Suddenly connect has stopped working, I click on the login button and nothing happens. I ran firebug, which says xd_receiver.htm is being lo...

Do I need Amazon's EC2, Cloudfront, RDS?

Hello, I want to publish a web site on Amazon's servers, that: Runs CakePHP Uses MySQL to store data Lets users upload audio through flash (currently using a hosted Flash Media Server), and listen to the files later Do I need Amazon's EC2 for the website, RDS for the MySQL database, and CloudFront for the FMS? I'd really like a walk...

Create signed urls for CloudFront with Ruby

History: I created a key and pem file on Amazon. I created a private bucket I created a public distribution and used origin id to connect to the private bucket: works I created a private distribution and connected it the same as #3 - now I get access denied: expected I'm having a really hard time generating a url that will work. I'v...

How to host a naked domain on a CDN?

If I have a domain that I wish to serve "naked" eg http://examp.le/, and efficiently with a CDN, what are my options? The issue is that the CDNs I looked at all want you to use a CNAME so that they can do geo ip lookup. CNAMES are not meant to be served at the same level as other records, and this apparently breaks some dns resolvers. Y...

What would be the best way to use jammit and publish files on amazon S3 ?

I'm using jammit to package the js and css files for a rails project. I would like now to upload the files to Amazon S3 and use CloudFront for the delivery. What would be the best way to deal with new versions ? My ideal solution would be to have a capistrano recipe to deal with it. As anyone already done something like that? ...

Pointing Amazon's CloudFront at an A record not a CNAME

I've found instructions to point my domain's CNAME to Amazon's CloudFront service but ideally I would like to point the root name (A record name). For example, foo.com instead of www.foo.com. Is this possible? ...

Secure Streaming CDN Video Content

Hi, I am using Amazon CloudFront to stream paid video content to my users and I am having problems getting the videos secured. Wowza does that by creating a secure token, but the use of wowza would be much more costly. Is there anyway that I can better protect my content by using Cloudfront or other CDN? Thanks! ...

Using .htaccess to server files from Amazon S3 CloudFront

My ideal setup would be to take a current clients site, upload a .htaccess with a regex inside, that would match the URI, and if it finds a certain file extension, it would use the same path, but with an altered domain. ie. Normal path: http://www.domain.com/something/images/someimage.jpeg http://www.domain.com/assets/js/jquery.js .h...

How to run a Private Content Video from Cloudfront using RTMP with Flowplayer

Steps to reproduce: set up S3 bucket set up streaming disrtibution generate cloudfront key pair download .PEM file with RSA Private key generate XML from RSA key using http://www.jensign.com/opensslkey/opensslkey.cs upload file "testUnsecure.flv", set ACL properties so that everyone can view it. Set up a webpage with following java scr...

Planning the development of a scalable web application

We have created a product that potentially will generate tons of requests for a data file that resides on our server. Currently we have a shared hosting server that runs a PHP script to query the DB and generate the data file for each user request. This is not efficient and has not been a problem so far but we want to move to a more scal...

Balancing browser caching of images and time expiration of links to avoid bandwidth theft

We host our images on Amazon S3, and serve them through Amazon Cloudfront. We'd like to reduce our bandwidth expenses. We believe that we have quite a bit of bandwidth theft, and want to start using signed URLs to prevent this. However, we have to balance this against the fact that each time we send out a new signed url, it invalidate...

What are all the small files in the S3 bucket?

I have an S3 bucket setup as a streaming distribution with a CloudFront service attached to it. There are fairly sizable .flv files in there which I use to hook up JWPlayer using signed URL's. After about a month of hosting these videos in S3 (and they have been watched by web site visitors several times), I just logged on using CloudBe...

Issue Building Flash Video Player (AS3) with Amazon Cloudfront to Stream MP4

So I have a working Flash player using Cloudfront, AS3, NetConnection & NetStream. Works with a FLV, but I need it to work with MP4s. It connects to the stream, and outputs the following: NetConnection.Connect.Success NetStream.Play.Reset NetStream.Play.Start NetStream.Buffer.Full My presumption is that it is working when looking at t...

Different SSL-certificates for different parts of site

I have a site on example.com that loads all its static components from s.example.com (an amazon cloudfront distribution). Now i would like to make some pages of example.com to use https so i thought i'd buy a ssl certificate for example.com, but since the pages loads images and other stuff from s.example.com the https will break since s...

Generating unique URL based on user IP for Amazon cloudfront content

I have contents in Amazon cloudfront. These contents are private but will be given access to users when they purchase to get access to the contents for limited period of time. I want the URLs given to the users be generated for that specific user IP or may be current session key. I am aware of the option of generating an authenticated ...

Amazon CloudFront invalidation in ASP.Net

Hi everyone I am not sure how to send a request using ASP.Net to Amazon CloudFront to invalidate an object. The details are here http://docs.amazonwebservices.com/AmazonCloudFront/latest/DeveloperGuide/index.html?Invalidation.html but I am not sure how to implement this in ASP.Net... can someone please help? ...

External Javascript Interface on Flash Player not working on CDN (Cloudfront)

I have a flash player with an external javascript interface: reloadData() I'm calling that function via Javascript when editing information on the page - basically to keep data on the page and in the player in synch. The reloadData() function works fine when the player is hosted locally. When we move it to the CDN (Amazon Cloudfront),...

AWS/S3 ACLs & CloudFront

Hey guys, tl;dr - Is there a robust S3 ACL management tool, possibly for use with CloudFront? I'm working on a personal private content distribution (via CloudFront) but obviously the AWS Console is severely lacking in this regard. I know there are a handful of S3 clients out there, but none of them really do much for advanced ACL. T...

CSS image sprites loading slower through CloudFront than local

I just changed my CSS image sprites to run from local to CloudFront and there's now a noticeable lag, even across pages and page reloads. Any ideas as to why this might be happening? ...

Storing files (videos/images/music) in CouchDB/Cloudant vs CDN (CloudFront)?

I am new to CouchDB/Cloudant and CDN (CloudFront). I am about to build an application using CouchDB as database. This web application will handle a lot of files. I know that CouchDB can store files in the database as attachments. But then I have heard about leveraging CDN to store and distribute the files all over the world. My quest...