Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
kelvis2000
Level 7

Dreamhost or Amazon Cloud?

My videos are just too slow to download, I am
on a Macintosh using Handbrake (Although I have Final CutX).
I am using Dreamhost Cloud setup now and I am
wondering if switching to Amazon Cloud is going to help
or maybe I am changing seats on the Titanic?
My videos take about 30 seconds + to start.
These are 10 minute videos on Guitar Instruction,
I have tried a few different formats but just not happy with
the results of the download.
Thanks
Kevin
0 Kudos
7 Replies
squirreltown
Level 9

Re: Dreamhost or Amazon Cloud?

I can't say about your particular situation, but you can set up an S3/Cloudfront distribution for free, you just need an Amazon account and to sign up for AWS. Then you can answer the question with your own files. Obviously you start paying if you distribute a lot but i think the free tier is 50 GB a month, thats enough to check it out.
Kinetics Screensavers
0 Kudos
Komag
Level 9

Re: Dreamhost or Amazon Cloud?

I'm just now singing up to try out Amazon AWS to use S3 and CloudFront. It looks sort of complicated, like way over my head, but we'll see how it goes...
0 Kudos
NewManLiving
Level 7

Re: Dreamhost or Amazon Cloud?

get the free s3 browser. Even the pro edition is cheap. When the AWS control panel first came out it was pretty bad. But now there is even a AWS app. But S3 browser is still my choice. Once you have an s3 account it's easy to setup cloudfront for video and/or graphics. Both applications will set it up for you using the s3 bucket you created. You can also associate your domain with it as well depending on your domain service. but a CDN is a CDN so while there may be better and worse I would be looking at other things as to the cause of slowness
My Channels: 2D API Framework Presentation: https://owner.roku.com/add/2M9LCVC
Updated: 11-11-2015 - Completed Keyboard interface
The Joel Channel ( Final Beta )
0 Kudos
Highlighted
squirreltown
Level 9

Re: Dreamhost or Amazon Cloud?

"Komag" wrote:
I'm just now singing up to try out Amazon AWS to use S3 and CloudFront. It looks sort of complicated, like way over my head, but we'll see how it goes...


You can set it up on your AWS account page. Go to S3 and create/name a bucket. Upload your files to the bucket. Then go to Cloudfront and make a new distribution. You set the S3 bucket as the source for the distribution. The distribution takes a few minutes to go live - you'll get a domain name like - ACB122345689.cloudfront.net so your files would be at ACB122345689.cloudfront.net/folderyoumade/yourfiles.jpg. The only thing that hung me up was that you need to click on your files in the S3 bucket and explicitly make them "public" by right-clicking and selecting that option.
Kinetics Screensavers
0 Kudos
Komag
Level 9

Re: Dreamhost or Amazon Cloud?

Ahh, I see that now it has added "Everyone" in the Open/Download permissions for my test file, thanks for the tip!

And NML, I'll look into those apps, but my usage will be so simple I may not need anything special.
0 Kudos
Komag
Level 9

Re: Dreamhost or Amazon Cloud?

Working great for my background music, loads much faster than my Dropbox!

So the S3 link by itself is an https link, but the CloudFront link is just http - should I try to figure out how to make it https for any reason?
With http I don't have to do these lines in my getSong(songVar AS STRING, url AS STRING, location AS STRING) function:
	audio[songVar].SetCertificatesFile("common:/certs/ca-bundle.crt")
audio[songVar].AddHeader("X-Roku-Reserved-Dev-Id", "")
audio[songVar].InitClientCertificates()
But is there some advantage to doing https if I can?
0 Kudos
NewManLiving
Level 7

Re: Dreamhost or Amazon Cloud?

Should be fine if you just use http on the s3 https. Works for me.
My Channels: 2D API Framework Presentation: https://owner.roku.com/add/2M9LCVC
Updated: 11-11-2015 - Completed Keyboard interface
The Joel Channel ( Final Beta )
0 Kudos