You work for a small independent PC game maker who is readying for the release of their newest game. It's going to be released as a freemium model where gamers can download and play the first portion of the game for free and then must pay for additional game modules.
The game's base data files are 20GB with the potential of another 50GB if the customers purchase all the game modules. You’ve been asked to architect a method to allow the public to efficiently download the game. The company expects huge demand in the first few days so the solution should be scalable. Additionally, the company wants to distribute the game for the lowest possible AWS cost since capital is extremely tight.
Which is the best idea?
A. Create an EC2 instance with EBS volumes and configure as an FTP server. Build a small application containing an FTP client that customers can download and run.
B. Upload the files to an S3 bucket and grant it public read-only access. Configure Requesters Pays for the S3 bucket and distribute via URL published on the company website.
C. Upload the files to an S3 bucket using the Infrequent Access Storage Class. Configure the bucket to act as a static web-server and distribute via URL published on the company website.
D. Upload the game files to an S3 bucket and grant public read-only access. Build a small application containing a BitTorrent client that customers can download and run.
A
技巧:排除明顯錯誤選項,在沒有明顯錯誤的選項中選擇最合理的選項。
A. 正確。最合理的選項。本質上這個選項是在云環境中構筑了一個 FTP 服務器,項目只需要支付運行 EC2 實例的費用,以及從該 FTP 實例到 AWS 網絡之外的數據傳輸費用。
B. 不正確。不恰當的選項。本項目是采用免費和收費并行的推廣和運營方式,為了能夠獲得大量的游戲用戶,應該采用把游戲程序免費提供給游戲者的方案。采用用戶付費的方式,需要用戶擁有一個 AWS 賬戶,雖然能夠減少程序分發的成本,但是對用戶非常不友好。
C. 不正確。明顯錯誤選項。采用非頻繁訪問存儲層適合訪問頻率比較低的情景,而本案例中數據需要分發到龐大的用戶。采用這種方案,雖然存儲費用較低,但是會產生大量的 S3 請求費用,導致總體成本較高。
D. 不正確。 BitTorrent 通過下載對象的客戶端本身作為分發器,因此可以在大規模分發內容時節省成本,但是Amazon 以及停止了 BitTorrent 客戶端訪問 S3 存儲桶。