We have an EC2 instance in the Ireland datacenter. Running off this is a website that permits the download of several files whose size ranges from 10MB to 200MB. The site stores the files on EBS.
The site itself is fine- quick and responsive. However, we have had reports that people downloading the files from Asia suffer from very slow download speeds.
I have assumed that this is a distance problem (downloading a file hosted in Ireland from Asia), and so have made some changes. The site now uses a CloudFront distribution with an S3 bucket as the origin server.
What I would like to know is:
- Is this the solution you would recommend?
- Is there a way to "pre-cache" the files? That is, push to the cloudfront servers from the origin server.
- Is there an inherent issue with downloading large files from an EBS?
Any help would be great.