Amazon S3 ã®ã¡ã¢
Amazon EC2ã§ç¬èªã®ãã£ã¹ã¯ã¤ã¡ã¼ã¸ãå©ç¨ãããå ´åã, æ°¸ç¶çãªãã¼ã¿ãå©ç¨ãããå ´åã«ã¯, Amazon ã®ã¹ãã¬ã¼ã¸ãµã¼ãã¹ã§ãã S3 (Simple Storage Service) ãç¨ãããã¨ã«ãªã. S3㯠EC2ã®çºè¡¨(2006å¹´8æ24æ¥)ã«å ç«ã¤2006å¹´3æã«å°å ¥ããã¦ãã, EC2ã¨ã¯é¢ä¿ãªã, å¤ãã®Web 2.0ä¼æ¥ãå®å ¨ãªã¹ãã¬ã¼ã¸ãµã¼ãã¹ã¨ãã¦å©ç¨ãã¦ãã.
ã¡ãªã¿ã«ä»å¹´ç±³å½æé2æ15æ¥ååä¸ã«, æ°æéã»ã©ãã¦ã³ãããããªã®ã§, ã¾ã ã¾ã å®å ¨ãªæè¡ã¨ããããã«ã¯ãããªãããã . 2007å¹´ã®1æ4æ¥ã¼7æ¥ããã«ãæ§è½ã®ä½ä¸ãå ±åããã¦ãã.
ãå¤æ®µ
EC2 ã®ãã¹ãã£ã³ã°ã¯åºæ¬çã«ç±³å½ã®ã¿ã§è¡ããã¦ããããã ã, S3ã¯ç±³å½ã®ä»ã«, ã¨ã¼ãããã§ããã¹ãã£ã³ã°ããã¦ãã. å½ç¶ã ãä¸çä¸ã®ã©ãããã§ã両æ¹ã使ç¨ãããã¨ãã§ããã, ã¬ã¤ãã³ã·ããã³ãå¹
ã¯å¤ãã£ã¦ãã.
é¢ç½ãã®ã¯, ãã®ä¸¡è
ã§å¾®å¦ã«ä¾¡æ ¼ãéããã¨. ç±³å½ã®ã»ããå¾®å¦ã«å®ã. ã¦ã¼ãé«ã®å½±é¿ã ããã? ã¾ã, èªã¿åºãæ¸ãè¾¼ã¿ã ãã§ãªã, ãªã¯ã¨ã¹ããã®ãã®ã«å¯¾ãã¦ã(æ¬å½ã«ãããã«ã ã)課éããã¦ããã®ãé¢ç½ã.
ç±³å½
ãã¼ã¿ä¿æ: 1GB 15ã»ã³ã/æ ãã¼ã¿è»¢é: æ¸ã込㿠- 10ã»ã³ã/1GB èªã¿åºã - 17ã»ã³ã/1GB æåã®10TBã¾ã§ 13ã»ã³ã/1GB 次ã®40TB 11ã»ã³ã/1GB 次ã®100TB 10ã»ã³ã/1GB ãã以é ãªã¯ã¨ã¹ã: 1000åã®PUT/POST/LIST ã«å¯¾ã㦠1ã»ã³ã 10000åã®GETã«å¯¾ã㦠1ã»ã³ã DELETEã¯ç¡æ
ã¨ã¼ããã
ãã¼ã¿ä¿æ: 1GB 18ã»ã³ã/æ ãã¼ã¿è»¢é: æ¸ã込㿠- 10ã»ã³ã/1GB èªã¿åºã - 17ã»ã³ã/1GB æåã®10TBã¾ã§ 13ã»ã³ã/1GB 次ã®40TB 11ã»ã³ã/1GB 次ã®100TB 10ã»ã³ã/1GB ãã以é ãªã¯ã¨ã¹ã: 1000åã®PUT/POST/LIST ã«å¯¾ã㦠1.2ã»ã³ã 10000åã®GETã«å¯¾ã㦠1.2ã»ã³ã DELETEã¯ç¡æ
Service Level Agreement
ã¨ã©ã¼ãçãã¦, å¯ç¨çãä½ãã£ãå ´åã«ã¯, è²»ç¨ã®å²ãå¼ãããã.
å¯ç¨ç 99%-99.9%: 10%å²ãå¼ã å¯ç¨ç 99%以ä¸: 25%å²ãå¼ã
ãã¨ãã°å¯ç¨çã50%ã§ã99%以ä¸ã¨ãããã¨ã§, 25%ããè¿ã£ã¦ããªã. ã¾ã,ãããªã«è½ã¡ããã¨ã¯ãªã, ã¨ããèªä¿¡ããããã ãã. å¯ç¨çã¯ä»¥ä¸ã®ããã«å®ç¾©ããã¦ãã.
- 課éåºéã§ããã²ã¨æã5åã¥ã¤ã«åºåã.
- ãã®5åãã¨ã«ã¨ã©ã¼ã¬ã¼ããè¨ç®ã, ããã100%ããå¼ãã¦ãã
- ã¨ã©ã¼ã¬ã¼ãã¯, 5åéã®S3ã¸ã®ãªã¯ã¨ã¹ãã®ãã¡, å é¨ã¨ã©ã¼(InternalError ããã㯠ServiceUnavailable) ã§å¦çã«å¤±æããçã¨å®ç¾©ããã¦ãã.
5ååä½ã®ã¨ã©ã¼çãç©ç®ãã¦ããå½¢ã«ãªã£ã¦ããã®ãé¢ç½ã. ä¾ãã°0.01ãã¼ã»ã³ãã®ã¨ã©ã¼çã50å(10 x 5å)ç¶ãã¨, å¯ç¨ç㯠100 - 0.01 * 10 = 99.9 ã«ãªãããã .
ã¡ãã£ã¨æ°ã«ãªãã®ã¯, ã¬ã¹ãã³ã¹ã¿ã¤ã ã®ä¿è¨¼ãè¦å®ããã¦ããªãç¹. ã¾ã, è¦å®ãããã¨ã©ã¼ãè¿ããªãå ´åã, ãããããããã¯ã¼ã¯ãåãã¡ãã£ã¦ä½¿ããªããªã£ã¡ãã£ããããªå ´å, ãã®å®ç¾©ã ã¨ã¨ã©ã¼ã«ãªããªããããªæ°ããã. ãããã¯ã¼ã¯åæã¯èª°ã責任ãã¨ãã¹ããªã®ãä¸è¬ã«ã¯åãããªãã®ã§, è£åããã®ã¯é£ãããããããªãã.
ã¡ãªã¿ã«å²ãæ»ããåããã«ã¯, èªåã§ãã°ãåã£ã¦ããã¦, ã¡ã¤ã«ãæ¸ãã¦ã¯ã¬ã¼ã ããªããã°ãªããªãããã . ã©ããå é¨ã§ããã°ãåã£ã¦ãã ãããã, èªåçã«å¦çã§ããããªãã®ã ã. ãã®è¾º, ã¢ã¡ãªã«çã§ãã.
ã¤ã³ã¿ã¼ãã§ã¤ã¹
S3ã¯é常ã®ãã£ã¬ã¯ããªãã¼ã¹ã®ãã¡ã¤ã«ã·ã¹ãã ã¨ã¯å°ãéãã¦ã¼ã¶ãã¥ã¼ãæä¾ãã. ã¦ã¼ã¶ã¯bucketã¨å¼ã¶ãã£ã¬ã¯ããªã®ãããªãã®ãä½ã, ãã®ä¸ã«object(ãã¡ã¤ã«ç¸å½)ããã.
- bucket åä½ã§ç±³å½ãã¨ã¼ãããã«é ç½®ãã.
- bucket ã¯ãã¹ã¦ã®ã¦ã¼ã¶ã«å¯¾ãã¦åä¸ã®åå空éã§ãã. ããªãã¡, ä»ã®ã¦ã¼ã¶ããã§ã«ä½ã£ãbucketåã®bucketãã¤ãããã¨ã¯ã§ããªã.
- bucket ã®ä¸ãããã«é層åãããã¨ã¯ã§ããªã. ãã©ãããªåå空éã¨ãªã£ã¦ãã.
- ã¢ã¯ã»ã¹å¶å¾¡ã¯bucketåä½, ããã³objectåä½ã§è¡ããã¨ãã§ãã.
ãã©ã¦ã¶ããã®ã¢ãããã¼ã, ãã¦ã³ãã¼ã
åobjectã«å¯¾ãã¦ã¯, ä¸ã®ãããªURLãä¸ããããããã. ãªã®ã§, ACLã§ãªã¼ãã®ãã¼ããã·ã§ã³ãåºãã¦ããã°, Webãã©ã¦ã¶ãããã¦ã³ãã¼ããããã¨ã¯ç°¡åã«ã§ãã.
http://BUCKET_NAME.s3.amazonaws.com/OBJECT_NAME
åé¡ã¯ã¢ãããã¼ã. èªè¨¼ããªããã°ãããªãã®ã§, ç°¡åã«ã¯ã§ããªã.
このページã«ã¢ã¯ã»ã¹ãã¼ãããã·ã¥ããæ
å ±ãå«ãã ç¹æ®ãªãã©ã¼ã ãã¤ãããã¨ã§, ãã©ã¦ã¶ããã®å®å
¨ãªã¢ãããã¼ãæ³ãæ¸ãããã¦ãã.
使ãæ¹
ãã¨ãã¨S3ã¯Webãµã¼ãã¹ã¤ã³ã¿ã¼ãã§ã¤ã¹ããæä¾ããã¦ããªãã®ã ã, ããã«ç®ããã¶ãã¦, 楽ã«ä½¿ããããã«ãã¦ããããã¼ã«ãå±±ã®ããã«æä¾ããã¦ãã. ã¡ãã£ã¨æ¤ç´¢ãã¦è¦ã¤ãããã®ããã£ã¨ã¾ã¨ãã¦ã¿ã.
S3Fox
ã¯ã©ã¤ã¢ã³ãããç°¡åã«ã¢ãããã¼ãã§ãããã¼ã«ã¨ãã¦ã¯Firefoxã®ã¢ããªã³ã§ããS3Foxããã. ããã¯, Firefoxå
ã«ããããGUI FTPã¯ã©ã¤ã¢ã³ãã®ãããªãã¥ã¼ãæ示ãã¦, ããã§ç°¡åãªã¢ãããã¼ã, ãã¦ã³ãã¼ã, ãã©ã¼ãªã³ã°ãã§ããããã«ãªã£ã¦ãã. ç°¡åã«å©ç¨ããã«ã¯é常ã«ä¾¿å©ã ãã.
ã¾ã, æ¬æ¥S3ã§ã¯ãµãã¼ãããã¦ããªããã£ã¬ã¯ããªæ§é ãæ¬ä¼¼çã«ãªãã¸ã§ã¯ãåã¨ãã¦ããããã¦ããããã. ãªã®ã§, ããã§ã¢ãããã¼ãããobjectãå¥ã®ãã¼ã«ã§è¦ãã¨, ãã¹åããã£ãobjectãã§ãã¦ãããã¨ã«ãªã.
Jungle Disk
Jungle Diskã¯, é常ã®ãã£ã¹ã¯ã®ããã«S3ããã¦ã³ãããã·ã¹ãã ã§, Windows, Mac OS X, Linuxã§æä¾ããã¦ãã. å é¨çã«ã¯, ãã¼ã«ã«ã§ç¹æ®ãªWebDAVãµã¼ããç«ã¦, ãããããããã®OSãããã¦ã³ããã¦ãã. WebDAVãµã¼ãããã¼ã¿ãæå·åãã¦S3ã«ã¢ãããã¼ãããããã . WebDAVã§OSã®ç¸éãå¸åãã¦ããããã . è³¢ã.
æåã§, S3ã®ã¢ã«ã¦ã³ãä¸ã¤ã«ã¤ã20ãã«. ãããããªPCã«ã¤ã³ã¹ãã¼ã«ãã¦å ±æãã¦ã20ãã«. 便å©ãããããªã.
ãã ã, Jungle Diskã¯æå·åçã®å¦çãããã®ã§, S3ä¸ã«ã¢ãããã¼ããããã¡ã¤ã«ãç´æ¥HTTPã§ã¢ã¯ã»ã¹ãããã¨ã¯ã§ããªã. ãããè£ãããã® Jungle Disk Plusã¨ãã1æ1ãã«ã®ãµã¼ãã¹ãæä¾ããã¦ãã, ããã使ãã¨HTTPã§ã®ãã¦ã³ãã¼ããå¯è½ã«ãªã. Jungle Diskã®æä¾ããä¸ç¶ãµã¼ãçµç±ã§ã¢ãããã¼ã, ãã¦ã³ãã¼ããããã¨ã«ãªãããã . ãã®å ´å, amazonã®ãã¼ã®ããããå ¨é¨ä¸ç¶ãµã¼ãã«é ãããã¨ã«ãªãã®ã§ã¯ãªãã ããã. ã¡ãã£ã¨æ°æã¡æªã.
s3fs
EC2ãã使ãå ´å, ãã¯ããã¡ã¤ã«ã·ã¹ãã ã¨ãã¦è¦ãã¦ããæ¹ãããããã. Jungle Disk ã使ã£ã¦ãããã®ã ã, ãã£ã¨å®ä¸ãããªæ¹æ³ããã. FUSEã使ã£ã¦S3ããã¦ã³ãããs3fs. ç¡å.
ElasticDrive
ãããã¯ããã¤ã¹ã¨ãã¦S3ããã¦ã³ãããElasticDriveã¨ãããã®ããã. ããã使ãã¨, S3ä¸ã«RAIDãçµãã ããããã¨ãã§ããããã. æå³ããããã©ããã¯ç¥ããªã.
ãã¡ãã¯5ã®ã¬ã¾ã§å¯¾å¿ãããã®ã¯ç¡åã ã, ãã以ä¸ã®å®¹éã§ä½¿ãããå ´åã¯æå.