Answer the question
In order to leave comments, you need to log in
How to competently work with Amazon S3?
Good afternoon!
There is a project that has already grown to 100GB of space and is growing at 10-15 GB per month. Basically, this is static, which I would like to put somewhere.
Choosing between a server for statics and Amazon, I thought that it would be easier with Amazon. (No need to install OS, configure Apache).
I created an Amazon account, made the first bucket, activated CloudFront, but how to link it to my bucket? How to find out resource consumption statistics?
I uploaded a couple of files to the bucket, the address turned out to be https://s3-eu-west-1.amazonaws.com/scnd/statics/bo... i.e. can I use such an address on my project? Or it is necessary to pass through cdn?
Is it possible, in which case, to merge the backup from Amazon and transfer it to your server?
Answer the question
In order to leave comments, you need to log in
Decide if you want a place to store static content and it doesn't matter how fast it will be served (S3) or still fast delivery of static content (CloudFront)
docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHos... - the article contains links and descriptions on how to set it up correctly, how to bind your domain, if necessary, so as not to use the long names you specified.
https://calculator.s3.amazonaws.com - you can roughly calculate the cost of using services.
In any case, as my experience has shown, you won’t see something, and there will be additional expenses, for example, for data transfer between, say, regions, etc., etc.
In general, you need to get into the calculator, calculate the approximate amount, add 10-20 percent over, then look at the hosters, as suggested by ExcuterMaaax and decide where you will be:
1. cheaper now
2. cheaper in a year
3. more convenient
4. with the calculation for scalability and reliability.
5. more reliable in terms of correct server settings (in Amazon s3 you don’t touch servers at all, as you already noticed in the question)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question