ããŒã¿ãã¯ã©ãŠãã«å®å šã«ä¿åãããã€ã§ãã©ãããã§ãã¢ã¯ã»ã¹ãããããžãã¹ããŒãœã³ãžââAmazon Web Servicesã®S3ã¯ããã®éèŠã«å¿ããããã®äžå¯æ¬ ãªãµãŒãã¹ã§ããä»åã¯S3ã®åºæ¬æŠèŠããããã®äž»èŠæ©èœãããŒã¿ç®¡çãæéäœç³»ã«è³ããŸã§ããããããã解説ããŸããã»ããã¢ããæ¹æ³ãã掻çšã·ããªãªãäžçŽæ©èœããããŠããŒã¿åæã®çµ±åã«è³ããŸã§ã®å¹ åºããããã¯ã¹ãç¶²çŸ ããS3ãå¹æçã«äœ¿ãããªãæ¹æ³ãã玹ä»ãäžãäžã®ãã©ãã«ã·ã¥ãŒãã£ã³ã°ãæé©åã®ç§èš£ãŸã§ãããã®ã¬ã€ãã§æŒãããŠãããŸãããã
1. AWS S3ã®åºæ¬ïŒã¯ã©ãŠãã¹ãã¬ãŒãžã®ç解ããå§ããã
AWS S3ïŒAmazon Simple Storage ServiceïŒã¯ãã€ã³ã¿ãŒããããéããŠå€§éã®ããŒã¿ãä¿ç®¡ãååŸããããã®ãµãŒãã¹ã§ããå€ãã®äŒæ¥ãéçºè ãAWS S3ãå©çšããŠããããã®äœ¿ãããããšæè»æ§ãé«ãè©äŸ¡ãããŠããŸãããã®ã»ã¯ã·ã§ã³ã§ã¯ãAWS S3ã®åºæ¬çãªç¹åŸŽãšå©ç¹ã«ã€ããŠè§£èª¬ããŠãããŸãã
ã¯ã©ãŠãã¹ãã¬ãŒãžã¯ãããŒã¿ããªã¢ãŒãã®ããŒã¿ã»ã³ã¿ãŒã«ä¿ç®¡ããå¿ èŠã«å¿ããŠã¢ã¯ã»ã¹ããããšãã§ãããµãŒãã¹ã®ããšãæããŸããAWS S3ã¯ãã¹ãã¬ãŒãžã®èŠæš¡ãæ°ã«ããããšãªããã©ã®éã®ããŒã¿ãä¿åã§ããç¹ã倧ããªã¡ãªããã§ãããŸããäžçäžã®ããŒã¿ã»ã³ã¿ãŒãæããŠãããããé«ãèä¹ æ§ãšå¯çšæ§ãæã€ããŒã¿ã¹ãã¬ãŒãžãå®çŸããŠããŸãã
ãããã詳ããAWS S3ã®ç¹åŸŽãæ©èœã«ã€ããŠæãäžããŠãããã¯ã©ãŠãã¹ãã¬ãŒãžã®å©çšãæ€èšããŠããæ¹ã ãAWS S3ã®å šè²ããã£ãããšç解ã§ããããã«èª¬æãé²ããŠãããŸããAWS S3ãäžæã«æŽ»çšããããšã§ãããžãã¹ã®å¹çåãããŒã¿ç®¡çã®æé©åãå³ããã§ãããã
1.1 AWS S3ãšã¯ïŒã¯ã©ãŠãã¹ãã¬ãŒãžãµãŒãã¹ã®æŠèŠ
AWS S3ã¯ãAmazon Web ServicesãæäŸããã»ãã¥ã¢ãªãªããžã§ã¯ãã¹ãã¬ãŒãžãµãŒãã¹ã§ãããªããžã§ã¯ããšã¯ããã¡ã€ã«ãšã¡ã¿ããŒã¿ã®çµ±åããåäœã§ãããS3ã§ã¯ãã®ãªããžã§ã¯ããç¡å¶éã«ä¿åã§ããŸããã€ã³ã¿ãŒããããä»ããŠãã€ã§ãã¢ã¯ã»ã¹ãå¯èœã§ãwebãµã€ãã®ãã¹ãã£ã³ã°ãããã¯ã¢ãããçœå®³åŸ©æ§ãªã©å¹ åºãçšéã«å©çšãããŠããŸãã
ãŠãŒã¶ãŒã¯AWSã®ã³ã³ãœãŒã«ãAPIããŸãã¯SDKãå©çšããŠS3ãã±ããïŒããŒã¿ãæ ŒçŽããã³ã³ããïŒã«ã¢ã¯ã»ã¹ããããŒã¿ã®ã¢ããããŒããããŠã³ããŒããç°¡åã«è¡ããŸããS3ãã±ããã¯ããŠãŒã¶ãŒããšã«ç¬èªã®ååãå²ãåœãŠãããåºå¥ãããŸãããã®ãããè€æ°ã®ãããžã§ã¯ããããŒã ã§S3ãå©çšããŠããããŒã¿ã®æ··åãé¿ããããšãã§ããã®ã§ãã
ããã«ãAWS S3ã¯èä¹ æ§ã«ãåªããŠããŠãããŒã¿ã®æ倱ãªã¹ã¯ãæå°éã«æããããšãå¯èœã§ããé«åºŠãªåé·æ§ãæã¡ãããŒã¿ã»ã³ã¿ãŒã®ç©ççãªæ éããã£ãŠãããŒã¿ã¯ä¿è·ãããŠããŸãããã®ä¿¡é Œæ§ã®é«ãããå€ãã®äŒæ¥ã«ãšã£ãŠAWS S3ãéžã¶çç±ã®äžã€ãšãªã£ãŠããã§ãããã
1.2 AWS S3ã®äž»ãªæ©èœãšãã®çšé
AWS S3ã®æ倧ã®ç¹åŸŽã¯ããã®è±å¯ãªæ©èœã«ãããŸããäŸãã°ããããŒãžã§ãã³ã°ãã«ãã£ãŠãªããžã§ã¯ãã®åããŒãžã§ã³ãç¶æããããšãã§ãã誀ã£ãŠåé€ãããäžæžããããããããŒã¿ã埩å å¯èœã§ãããŸãããã©ã€ããµã€ã¯ã«ããªã·ãŒããèšå®ããããšã§ãå€ããªã£ãããŒã¿ãèªåçã«åé€ãŸãã¯ã¢ãŒã«ã€ãããããšãã§ããŸãã
å ããŠãAWS S3ã¯ããŒã¿ã¬ã€ã¯ãšããŠã®å©çšãéçwebãµã€ãã®ãã¹ãã£ã³ã°ãããã°ããŒã¿ã®åæãšãã£ãå¹ åºãçšéã«é©ããŠããŸããããŒã¿ã¬ã€ã¯ãšã¯ãæ§ã ãªåœ¢åŒã®å€§éããŒã¿ãåäžã®ãªããžããªã«æ ŒçŽããåæã«çšããç°å¢ã®ããšãæããŸããAWS S3ã®é«ãã¹ã±ãŒã©ããªãã£ãšçµ±åæ§ã¯ãããã°ããŒã¿ã®æŽ»çšã«ãããŠéåžžã«éèŠãšãããŠããŸãã
ãŸããAWS S3ã¯ã€ãã³ãé§ååã®ã³ã³ãã¥ãŒãã£ã³ã°ãµãŒãã¹ã§ããAWS Lambdaãšçµã¿åãããããšã«ãããããŒã¿ã®ã¢ããããŒããåé€æã«èªåã§åŠçãè¡ãããšãå¯èœã§ãããã®æè»æ§ã¯ãéçºè ãå¹ççãªã·ã¹ãã ãæ§ç¯ããäžã§åœ¹ç«ã¡ãŸãã
1.3 AWS S3ã®ããŒã¿ç®¡çãšã»ãã¥ãªãã£ã®ç¹åŸŽ
AWS S3ã«ãããããŒã¿ç®¡çã¯ãå®å šæ§ãšäœ¿ãããããéèŠããŠèšèšãããŠããŸãããŠãŒã¶ãŒã¯AWS Identity and Access ManagementïŒIAMïŒã䜿çšããŠã誰ãã©ã®S3ãªãœãŒã¹ã«ã¢ã¯ã»ã¹ã§ãããã现ããå¶åŸ¡ã§ããŸããããã«ãããå¿ èŠãªäººã ããç¹å®ã®ããŒã¿ã«ã¢ã¯ã»ã¹ãã誀ã£ãæäœãé²æ¢ããããšãå¯èœã§ãã
ããã«ãããŒã¿è»¢éæã®ã»ãã¥ãªãã£ã確ä¿ããããã«ãAWS S3ã¯SSL/TLSæå·åããµããŒãããŠãããããŒã¿ã¯éä¿¡äžã«åžžã«ä¿è·ãããŸãããŸããä¿åãããããŒã¿ã«å¯ŸããŠããµãŒããŒåŽã®æå·åïŒSSEïŒãªãã·ã§ã³ãæäŸããæ å ±ã®æ©å¯æ§ã確ä¿ããŠããŸãã
ãŸããAWS S3ã¯ã³ã³ãã©ã€ã¢ã³ã¹ãšã¬ããã³ã¹ã®èŠä»¶ãæºããããã®ããŒã«ãè±å¯ã«åããŠããŸããããã«ã¯ãã°ãç£æ»æ©èœãå«ãŸãããŠãŒã¶ãŒã¯ãã€ã誰ãã©ã®ããŒã¿ã«ã¢ã¯ã»ã¹ããããªã©ã®è©³çŽ°ã远跡ã§ããŸããäŒæ¥ãèŠå¶ã«æºæ ããªããããŒã¿ã管çããã®ã«äžå¯æ¬ ã§ãã
1.4 AWS S3ã®æéäœç³»ïŒã³ã¹ãå¹çãç解ãã
AWS S3ã®æéäœç³»ã¯éåžžã«è€éã«æãããã¡ã§ãããå®éã«äœ¿ã£ãåã ããæ¯æããšããç¹ã倧ããªç¹åŸŽã§ããåºæ¬çã«ã¯ãã¹ãã¬ãŒãžå®¹éã転ééããªã¯ãšã¹ãæ°ã«ãã£ãŠè²»çšãçºçããããŒã¿ã®æ ŒçŽå ŽæïŒãªãŒãžã§ã³ïŒã«ãã£ãŠãæéãç°ãªããŸãã
äŸãã°ãé »ç¹ã«ã¢ã¯ã»ã¹ãããããŒã¿ã«ã¯ãS3 Standardããé©ããŠãããæ» å€ã«ã¢ã¯ã»ã¹ããªããä¿åãå¿ èŠãªããŒã¿ã«ã¯ãS3 Glacierããªã©ã®äœã³ã¹ããªãã·ã§ã³ãé©ããŠããŸãããŸããããŒã¿ã®åºåã«ã¯è¿œå è²»çšããããããšããããããŒã¿ã¢ãŒã«ã€ããšåŸ©å ã®ããã»ã¹ã«å¿ããŠã³ã¹ããå€ãã£ãŠããŸãã
ããŒã¿ã®äœ¿çšãã¿ãŒã³ãç解ããAWS S3ã®æ§ã ãªã¹ãã¬ãŒãžã¯ã©ã¹ãé©åã«æŽ»çšããããšã§ãã¹ãã¬ãŒãžã³ã¹ããæé©åããããšãã§ããŸããAWSã¯æéèšç®ããŒã«ãæäŸããŠãããäºåã«è²»çšãèŠç©ããããšãå¯èœã§ããããããããŒã«ãå©çšããããšã§ãS3ã®å©çšèšç»ãç«ãŠãã®ã«åœ¹ç«ã€ã§ãããã
2. AWS S3ã®ã»ããã¢ããïŒã¢ã«ãŠã³ãäœæãããã±ããã®äœæãŸã§
2.1 ã¢ã«ãŠã³ãã®äœæãšAWS管çã³ã³ãœãŒã«ã®çŽ¹ä»
Amazon Web ServicesïŒAWSïŒã䜿çšããããã®æåã®ã¹ãããã¯ãAWSã¢ã«ãŠã³ãã®äœæã§ããAWSã®å ¬åŒãŠã§ããµã€ãã«ã¢ã¯ã»ã¹ããŠããç¡æã¢ã«ãŠã³ãã®äœæããéžã³ãå¿ èŠãªæ å ±ãå ¥åããŸããããããã»ã¹ã«ã¯ãã¡ãŒã«ã¢ãã¬ã¹ãé£çµ¡å æ å ±ããããŠæ¯æãæ å ±ã®ç»é²ãå«ãŸããŸãã
AWS管çã³ã³ãœãŒã«ã¯AWSãµãŒãã¹ã管çããããã®äžå¿çãªãŠã§ãã€ã³ã¿ãŒãã§ã€ã¹ã§ããã¢ã«ãŠã³ããäœæããåŸãAWS管çã³ã³ãœãŒã«ã«ãã°ã€ã³ããããšã§ãS3ãå«ãæ§ã ãªAWSãµãŒãã¹ã«ã¢ã¯ã»ã¹ã§ããŸããã€ã³ã¿ãŒãã§ãŒã¹ã¯çŽæçã§ãæ§ã ãªãµãŒãã¹ãžç°¡åã«ããã²ãŒãã§ããããã«èšèšãããŠããŸãã
æåã«ãã°ã€ã³ããéã¯ãã»ãã¥ãªãã£ã匷åããããã«ãã«ããã¡ã¯ã¿èªèšŒïŒMFAïŒã®èšå®ããå§ãããŸããããã¯AWSã¢ã«ãŠã³ãã®ã»ãã¥ãªãã£ãä¿è·ããéèŠãªã¹ãããã®äžã€ã§ãã
2.2 ãã±ããã®äœæãšåºæ¬èšå®
Amazon S3ã§ããŒã¿ãä¿åããããã®ç¬¬äžæ©ã¯ããã±ããã®äœæã§ãããã±ããã¯ãS3ã§ããŒã¿ãæŽçããããã®ã³ã³ããã®ãããªãã®ã§ããAWS管çã³ã³ãœãŒã«ã®S3ã»ã¯ã·ã§ã³ã«ã¢ã¯ã»ã¹ããããã±ããã®äœæããã¿ã³ãã¯ãªãã¯ããŠéå§ããŸãã
ãã±ãããäœæããéãäžæãªãã±ããåãéžã³ããªãŒãžã§ã³ãéžæããå¿ èŠããããŸãããã±ããåã¯å šAWSãŠãŒã¶ãŒã®éã§éè€ããŠããªãå称ã§ããå¿ èŠããããŸãããªãŒãžã§ã³éžæã¯ãããŒã¿ã®ä¿åå Žæãšã¢ã¯ã»ã¹é床ã«åœ±é¿ãäžããããã䜿çšç®çã«é©ãããªãŒãžã§ã³ãéžã¶ããšãéèŠã§ãã
ãã®ä»ã®åºæ¬èšå®ã«ã¯ãããŒãžã§ãã³ã°ã®æå¹åããµãŒããŒã¢ã¯ã»ã¹ãã°ã®èšå®ããªããžã§ã¯ãã®ã©ã€ããµã€ã¯ã«ã«ãŒã«ã®æå®ãªã©ããããŸãããããã®èšå®ãéããŠãããŒã¿ã®ä¿åãšç®¡çã®æ¹æ³ã现ããã³ã³ãããŒã«ã§ããŸãã
2.3 ã¢ããããŒããšããŠã³ããŒãã®æ¹æ³
S3ãã±ãããæºåã§ããããããŒã¿ã®ã¢ããããŒããè¡ãããšãã§ããŸãã管çã³ã³ãœãŒã«å ã®S3ãã±ããããŒãžãããã¢ããããŒãããã¿ã³ã䜿çšããŠãã¡ã€ã«ãéžã³ãã¢ããããŒããå®è¡ããŸãããŸããAWSã®ã³ãã³ãã©ã€ã³ã€ã³ã¿ãŒãã§ã€ã¹ïŒCLIïŒã䜿çšããŠãã«ã¯ã¢ããããŒããå¯èœã§ãã
ããŠã³ããŒãã«é¢ããŠããã³ã³ãœãŒã«ããçŽæ¥ãã¡ã€ã«ãéžãã§ãããŠã³ããŒãããã¿ã³ãã¯ãªãã¯ããããCLIãå©çšããŠããŒã«ã«ç°å¢ãžããŠã³ããŒãããããšãã§ããŸããããŠã³ããŒãã®ããã»ã¹ã¯ãã¢ããããŒããšåæ§ã«çŽæçãã€ç°¡åã§ãã
ãŸããããŒã¿ã®ã¢ããããŒããšããŠã³ããŒãã«ã¯ãæš©é管çãéèŠã«ãªããŸããããã«ã¯åŸè¿°ããIAMããªã·ãŒãé¢äžããŠãããå¿ èŠãªãŠãŒã¶ãŒã®ã¿ãæäœã§ããããã«èšå®ããããšãå¯èœã§ãã
2.4 AWS S3ãšIAMããªã·ãŒïŒã¢ã¯ã»ã¹ç®¡çã®èšå®
Amazon S3ã®åŒ·åãªæ©èœã®äžã€ã«ã现ãããªã¢ã¯ã»ã¹ç®¡çããããŸããããã¯IAMïŒIdentity and Access ManagementïŒããªã·ãŒãéããŠå®çŸãããŸããIAMããªã·ãŒã䜿çšããŠãç¹å®ã®ãŠãŒã¶ãŒãŸãã¯ã°ã«ãŒãã«å¯ŸããŠãS3ãã±ããããªããžã§ã¯ããžã®ã¢ã¯ã»ã¹æš©éãä»äžã»æåŠã§ããŸãã
IAMããªã·ãŒã®èšå®ã¯JSON圢åŒã®ããªã·ãŒããã¥ã¡ã³ããäœæããããããŠãŒã¶ãŒãŸãã¯ã°ã«ãŒãã«å²ãåœãŠã圢ã§è¡ããŸããããªã·ãŒããã¥ã¡ã³ãã¯ãEffectãããActionãããResourceããªã©ã®èŠçŽ ã§æ§æããããããã«ãã£ãŠå ·äœçãªæš©éãæå®ããŸãã
é©åãªIAMããªã·ãŒãèšå®ããããšã§ãS3ããŒã¿ã«å¯Ÿãã誀ã£ãã¢ã¯ã»ã¹ãäžæ£äœ¿çšãé²æ¢ããã»ãã¥ãªãã£ã確ä¿ããããšãã§ããŸããS3ãšIAMã¯å¯æ¥ã«é£æºããŠãããå®å šãªããŒã¿ç®¡çãæ¯ããããã«ã¯æ£ããç解ãšå©çšãæ±ããããŸãã
3. AWS S3ã®æŽ»çšã·ããªãªïŒå®çšäŸãèŠãŠã¿ãã
3.1 ãŠã§ããµã€ããã¹ãã£ã³ã°ãšããŠã®å©çšæ¹æ³
AWS S3ã䜿çšããäŒæ¥ãéçºè ã«ãšã£ãŠããŠã§ããµã€ããã¹ãã£ã³ã°ã¯éåžžã«éèŠãªå©çšæ¹æ³ã®äžã€ã§ããAWS S3ã¯ãéçãŠã§ããµã€ãã®ãã¡ã€ã«ãä¿åããå ¬éããããã®å ç¢ãã€ä¿¡é Œæ§ã®é«ããã©ãããã©ãŒã ãæäŸããŠããŸãããŠãŒã¶ãŒã¯ãHTMLãCSSãJavaScriptãªã©ã®éçãã¡ã€ã«ãS3ã«ã¢ããããŒãããã ãã§ãå³åº§ã«ã¢ã¯ã»ã¹å ¬éãå¯èœã«ãªããŸãã
ããã«ãS3ã¯èä¹ æ§ãšå¯çšæ§ãé«ããèªåçã«ããŒã¿ãè€æ°ã®æœèšã«åæ£ããŠä¿åãããããé«ãã©ãã£ãã¯æã§ããŠã§ããµã€ããã¹ã ãŒãºã«æ©èœãç¶ããŸãããŸããAWS CloudFrontãšçµã¿åãããããšã§ãã³ã³ãã³ãé ä¿¡ãããã¯ãŒã¯ïŒCDNïŒã掻çšããäžçåå°ã®ãšã³ããŠãŒã¶ãŒã«å¯ŸããŠè¿ éã«ã³ã³ãã³ããæäŸããããšãã§ããŸãã
ã³ã¹ãå¹çã®é¢ã§ããå¿ èŠãªã¹ãã¬ãŒãžã¹ããŒã¹ããã©ãã£ãã¯éã«å¿ããŠèª²éãããåŸé課éå¶ãæ¡çšãããŠãããå°èŠæš¡ãã倧èŠæš¡ãªãŠã§ããµã€ããŸã§ãå¹ åºãããŒãºã«æè»ã«å¯Ÿå¿ããŠããŸããããã«ãããäºæž¬äžå¯èœãªãã©ãã£ãã¯ã®å¢æžã«ãæè»ã«èª¿æŽããªããéçšããããšãå¯èœã§ãã
3.2 ããã¯ã¢ãããšçœå®³åŸ©æ§ã®ããã®ããŒã¿ã¹ãã¬ãŒãž
S3ã¯ã倧éã®ããŒã¿ãå®å šã«ä¿ç®¡ããããã®ããã¯ã¢ãããœãªã¥ãŒã·ã§ã³ãšããŠãéåžžã«æå¹ã§ããäŒæ¥ã¯S3ãå©çšããŠãã·ã¹ãã ã®ããã¯ã¢ããã³ããŒãäœæããããŸããŸãªçœå®³ããããŒã¿ãä¿è·ããããšãã§ããŸããããŒãžã§ã³ç®¡çæ©èœã«ãããã©ã®ããã¯ã¢ããã埩å ããããéžæããæè»æ§ãæäŸããŠããŸãã
S3ã¯ããªã³ãã¬ãã¹ã®ã¹ãã¬ãŒãžã·ã¹ãã ã«ä»£ããã³ã¹ãå¹çã®é«ã代æ¿æ段ãšããŠã泚ç®ãããŠããŸããèªååãããããŒã¿ã¬ããªã±ãŒã·ã§ã³ã掻çšããããšã§ãããŒã¿ãè€æ°ã®AWSãªãŒãžã§ã³éã§åæãããçœå®³åŸ©æ§æ å¢ãæŽããããšãå¯èœã§ããããã«ãããäžãäžã®äºæ ãçºçããŠããããžãã¹ã®ç¶ç¶æ§ã確ä¿ããªããè¿ éã«ã·ã¹ãã ãå皌åãããããšãã§ããŸãã
å ããŠãé »ç¹ã«ã¢ã¯ã»ã¹ãããªããé·æçã«ä¿ç®¡ãããå¿ èŠãããã¢ãŒã«ã€ãããŒã¿ã«ã€ããŠããäœã³ã¹ãã®ã¹ãã¬ãŒãžã¯ã©ã¹ãæäŸããããšã§ç®¡çã容æã«ãªããŸããS3 Glacierãªã©ã®ã¹ãã¬ãŒãžã¯ã©ã¹ã¯ãã³ã¹ããæãã€ã€ãé©å®ããŒã¿ã«ã¢ã¯ã»ã¹å¯èœãªæ§é ãæäŸããŠããŸãã
3.3 ããŒã¿ã¬ã€ã¯ãšããŠã®æŽ»çš
è¿å¹ŽãããŒã¿é§ååã®ææ決å®ãéèŠèŠãããäžã§ãããŒã¿ã¬ã€ã¯ã®æ§ç¯ãäŒæ¥ã«ãšã£ãŠäžå¯æ¬ ãšãªã£ãŠããŸããããŒã¿ã¬ã€ã¯ã¯ãæ§é åãããŠããªãããŒã¿ããæ§é åãããããŒã¿ãŸã§ããããã圢åŒã®ããŒã¿ããã®ãŸãŸä¿åããå¿ èŠã«å¿ããŠåæã§ãããªããžããªã§ããAWS S3ã¯ããã®åºç¯ãªã¹ã±ãŒã©ããªãã£ãšæè»æ§ãããããŒã¿ã¬ã€ã¯ã®åºç€ãšããŠçæ³çãªç°å¢ãæäŸããŠããŸãã
S3ã«ã¯ãèšå€§ãªéã®ããŒã¿ãä¿åããAWSã®åæããŒã«ãšé£æºããããã®è±å¯ãªæ©èœãåãã£ãŠããŸããäŸãã°ãAWS GlueãçšããŠããŒã¿ã«ã¿ãã°ãäœæããS3ã«ä¿åãããããŒã¿ã«å¯ŸããŠæ§é ãå®çŸ©ããããšãã§ããŸããããã«ãããããŒã¿åæããŒã«ã§ããAmazon AthenaãAmazon Redshiftãå©çšããŠå¹æçã«ããŒã¿åæãè¡ãããšãã§ããããã«ãªããŸãã
ãŸããããŒã¿ã®ã»ãã¥ãªãã£ã¯æåªå äºé ãšãããS3ã«ã¯ããŒã¿ã®æå·åãã¢ã¯ã»ã¹ç®¡çãç£èŠãªã©ã®æ©èœãçµã¿èŸŒãŸããŠãããããå®å¿ããŠããŒã¿ã¬ã€ã¯ãéçšããããšãã§ããŸããæŽã«ãS3ã«æ ŒçŽãããããŒã¿ã«å¯Ÿããã¢ã¯ã»ã¹ãã¿ãŒã³ãåæããã¹ãã¬ãŒãžã¯ã©ã¹ã®èªåæé©åãè¡ãããããã³ã¹ãå¹ççãªããŒã¿ç®¡çãå¯èœã§ãã
3.4 ã¢ãã€ã«ã¢ããªã±ãŒã·ã§ã³ã§ã®ãã¡ã€ã«ã¹ãã¬ãŒãž
ã¢ãã€ã«ã¢ããªã±ãŒã·ã§ã³ã®éçºã§ã¯ããã¡ã€ã«ã®ã¢ããããŒããããŠã³ããŒããå ±æãªã©ã®æ©èœãé »ç¹ã«å©çšãããŸããAWS S3ã¯ãéçºè ããããã®æ©èœãç°¡åã«å®è£ ã§ããããã«ãããä¿¡é Œæ§ã®é«ããã¡ã€ã«ã¹ãã¬ãŒãžãµãŒãã¹ãæäŸããŠããŸãããã¡ã€ã«ãã¡ãã£ã¢ã³ã³ãã³ããS3ã«æ ŒçŽããããšã§ãã¢ããªã±ãŒã·ã§ã³ã®ããã©ãŒãã³ã¹ãåäžããããšåæã«ãããã€ã¹ã®ã¹ãã¬ãŒãžå®¹éãç¯çŽããããšãå¯èœã§ãã
SDKãAPIãéããŠS3ã®ãµãŒãã¹ã«ã¢ã¯ã»ã¹ã§ããããšãããéçºè ã¯ã¢ããªå ã§çŽæçãªãã¡ã€ã«æäœã容æã«å®è£ ã§ããŸãããŸããAWSã®ä»ã®ãµãŒãã¹ãšé£æºããããšã§ãäŸãã°Lambdaã䜿çšããŠãã¡ã€ã«ãã¢ããããŒããããéã«èªåçãªåŠçãå®è¡ããããCognitoã䜿çšããŠãŠãŒã¶ãŒèªèšŒãçµã¿èŸŒãã ãããããšãã§ããŸãã
æè»ãªã¢ã¯ã»ã¹ããªã·ãŒãéèŠãªç¹åŸŽã§ãã¢ããªã±ãŒã·ã§ã³ã䜿çšãããã¡ã€ã«ã«å¯ŸããŠããŠãŒã¶ãŒåºæã®ã¢ã¯ã»ã¹æš©éãèšå®ããããšãå¯èœã§ããããã«ãããã»ãã¥ãªãã£ãç¶æãã€ã€ããšã³ããŠãŒã¶ãŒã«å¯ŸããŠæé©ãªãã¡ã€ã«ã¹ãã¬ãŒãžäœéšãæäŸããããšãã§ããŸãã
4. AWS S3ã®äžçŽæ©èœïŒããæŽç·Žãããå©çšæ¹æ³
4.1 ããŒãžã§ãã³ã°ãšã©ã€ããµã€ã¯ã«ç®¡ç
AWS S3ã®ããŒãžã§ãã³ã°æ©èœãçšãããšãåäžã®ããŒãæã€ãªããžã§ã¯ãã«é¢ããŠè€æ°ã®ããŒãžã§ã³ãä¿æããããšãã§ããŸããããã¯ããã¡ã€ã«ã誀ã£ãŠäžæžãããããåé€ããããããå Žåã§ãã以åã®ããŒãžã§ã³ã容æã«å埩ã§ãããšãã倧ããªã¡ãªããããããŸãã
ããã«ã©ã€ããµã€ã¯ã«ç®¡çãå©çšãããšããªããžã§ã¯ãã®ããŒãžã§ã³ããšã«ä¿ææéãèšå®ããããšãã§ããŸããäžèŠãªããŒã¿ãèªåçã«åé€ããããšã§ãã¹ãã¬ãŒãžã³ã¹ããåæžã§ãããããããŒã¿ç®¡çãå¹çåã§ããŸãã
äŸãã°ãå€ãããŒãžã§ã³ã®ãªããžã§ã¯ããå®æçã«Glacierãžç§»åãããããã«äžå®æéãçµéããåŸã«å®å šã«åé€ããèšå®ãæœãããšãå¯èœã§ãããããã®ããã»ã¹ãèªååããããšã§ãããŒã¿ã®æŽçãšã³ã¹ãã®æé©åã«è²¢ç®ããŸãã
4.2 ã¯ãã¹ãªãŒãžã§ã³ã¬ããªã±ãŒã·ã§ã³ã®èšå®
ã¯ãã¹ãªãŒãžã§ã³ã¬ããªã±ãŒã·ã§ã³ã¯ããããªãŒãžã§ã³ã«ä¿åãããŠããããŒã¿ãå¥ã®ãªãŒãžã§ã³ã«èªåçã«è€è£œããæ©èœã§ããããã«ãããããŒã¿ã®èä¹ æ§ãšå¯çšæ§ãåäžããå°ççãªã¹ã¯ããããŒã¿ãä¿è·ããŸãã
ããŒã¿ã®ã¬ããªã±ãŒã·ã§ã³ã¯éåžžã«ã·ã³ãã«ãªããã»ã¹ã§ãæ°åã®ã¯ãªãã¯ã ãã§èšå®å¯èœã§ãããŸããã¬ããªã±ãŒã·ã§ã³ã掻çšããããšã§ãããŒã¿ã¢ã¯ã»ã¹ã®å°ççãªé 延ãæå°éã«æããããšãã§ãããããã°ããŒãã«ãªãŠãŒã¶ãŒããŒã¹ãæã€ã¢ããªã±ãŒã·ã§ã³ã«ãããŠããã©ãŒãã³ã¹ã®åäžãèŠèŸŒããŸãã
äžæ¹ã§ãããŒã¿ãå¥ã®ãªãŒãžã§ã³ã«ã³ããŒããããããã¹ãã¬ãŒãžã³ã¹ããåå ããããšã«ãªããŸãããã®ãããã¬ããªã±ãŒã·ã§ã³ã®å¿ èŠæ§ãšã³ã¹ããæ éã«æ€èšããæé©ãªæ§æãéžã¶ããšãéèŠã§ãã
4.3 ã€ãã³ãã«åºã¥ãåŠçã®èªåå
AWS S3ã«ã¯ãæ§ã ãªã€ãã³ãïŒãã¡ã€ã«ã®ã¢ããããŒããåé€ãªã©ïŒã«å¿ããŠèªåçã«ã¢ã¯ã·ã§ã³ãè¡ãããªã¬ãŒæ©èœããããŸããäŸãã°ãæ°ããã¢ããããŒããããç»åã«å¯ŸããŠèªåçã«ãµã ãã€ã«ãçæããåŠçãèšå®ã§ããŸãã
ãã®ããªã¬ãŒã¯ãAWS Lambdaãšçµã¿åãããããšã§ãã匷åã«ãªããŸããLambdaã¯ãµãŒããŒã¬ã¹ã³ã³ãã¥ãŒãã£ã³ã°ãµãŒãã¹ã§ãããã¹ã¯ãªãããããã°ã©ã ããµãŒããŒãæºåããããšãªãå®è¡ã§ããŸããããã«ãããã€ãã³ãé§ååã®ã¢ããªã±ãŒã·ã§ã³ã¢ãŒããã¯ãã£ãå®çŸããåŠçã®èªååãšã¹ã±ãŒã©ããªãã£ã®åäžã«å¯äžããŸãã
ã€ãã³ãããŒã¹ã®èªååèšå®ã¯ãS3ãã±ããå ã«ããããŒã¿ã®æäœãšç®¡çãç°¡çŽ åããã¢ããªã±ãŒã·ã§ã³ã®åå¿æ§ãé«ããã ãã§ãªããã³ã¹ãå¹çã®è¯ãéçšãšã¡ã³ããã³ã¹ã«ãè²¢ç®ãããããå€ãã®äŒæ¥ãæ¡çšããŠããŸãã
4.4 S3 Transfer Accelerationã®æŽ»çš
S3 Transfer Accelerationã¯ããŠãŒã¶ãŒã«ãšã£ãŠé éå°ã«ããS3ãã±ãããžã®ãã¡ã€ã«ã¢ããããŒããšããŠã³ããŒããé«éåãããæ©èœã§ããAWSã®ãšããžãã±ãŒã·ã§ã³ã掻çšããŠãããŒã¿è»¢éãæé©åããããšã§ã倧容éãã¡ã€ã«ã®ç§»åãè¿ éã«ãªããŸãã
ç¹ã«å€§ããªã¡ãã£ã¢ãã¡ã€ã«ãããã¯ã¢ããããŒã¿ãæ±ãå ŽåããŠãŒã¶ãŒã®å°ççãªäœçœ®ã«é¢ä¿ãªãã転éé床ã®åäžãèŠèŸŒããŸãããŸãã転éã«ãããæéãåæžãããããšããããããžã§ã¯ãã®ãããã©ã€ã³ãå®ãäžã§ã®å¹çåã«ãå¯äžããŸãã
ãã®æ©èœã掻çšããããã«ã¯ãè¿œå ã®æéãçºçããŸããã倧éã®ããŒã¿ãé »ç¹ã«è»¢éããå¿ èŠãããå Žåã¯ããã©ã³ã¹ãã¡ãŒã³ã¹ãã®åæžã«ç¹ããå¯èœæ§ããããããããã©ãŒãã³ã¹ãšã³ã¹ãã®ãã©ã³ã¹ãèæ ®ããããšãéèŠã§ãã
5. AWS S3ãšããŒã¿åæïŒããã°ããŒã¿ãšã®çµ±å
AWSïŒAmazon Web ServicesïŒã®S3ïŒSimple Storage ServiceïŒã¯ãé«ãèä¹ æ§ãšå¯çšæ§ãæã€ãªã³ã©ã€ã³ã®ã¹ãã¬ãŒãžãµãŒãã¹ã§ããAWS S3ã¯ãçµç¹ã«å€§éã®ããŒã¿ãä¿åãã管çããããã®æè»ãªãã©ãããã©ãŒã ãæäŸããããã°ããŒã¿ãšã®çµ±åã«ããããŒã¿åæãžã®æŽ»çšãåºãã£ãŠããŸãã
ããã°ããŒã¿ãã©ãããã©ãŒã ãšAWS S3ãçµ±åããããšã§ãã·ãŒã ã¬ã¹ãªããŒã¿åéãä¿ç®¡ããããŠåæãå®çŸããŸããåæ£åŠçãã¬ãŒã ã¯ãŒã¯ãããŒã¿ããŒã¹ã«ããŒã¿ã容æã«ã€ã³ããŒãããããšãã§ããããã«ããããŒã¿åæããã»ã¹å šäœãå¹çåãããŸãã
AWS S3ã¯ããã®ã¹ã±ãŒã©ããªãã£ãšæè»ãªæéäœç³»ã«ãããã¹ã¿ãŒãã¢ãããã倧äŒæ¥ãŸã§å¹ åºãèŠæš¡ã®ããžãã¹ã«é©ããŠããŸãããŸããAWSã®ãšã³ã·ã¹ãã å ã§ä»ã®ãµãŒãã¹ãšé£æºããããšã§ãåæã·ã¹ãã ã®æ§ç¯ãããç°¡åãã€è¿ éã«ãªããŸãã
5.1 AWS S3ãšAmazon Athenaã®é£æº
AWS S3äžã«ä¿åãããŠããããŒã¿ã¯ãAmazon Athenaãšé£æºããããšã§SQLã¯ãšãªã䜿ã£ãŠçŽæ¥åæããããšãå¯èœã§ããAthenaã¯ãµãŒããŒã¬ã¹ãªã€ã³ã¿ã©ã¯ãã£ããªã¯ãšãªãµãŒãã¹ã§ãããS3ã«ä¿åãããããŒã¿ãæšæºSQLãçšããŠåæããããšãã§ããŸãã
ãŠãŒã¶ãŒã¯ããŒã¿ããŒã¹ãããŒã¿ã»ããã®æºåãªãã«ã¯ãšãªãå®è¡ã§ãããããè¿ éã«ã€ã³ãµã€ããåŸãããšãã§ããŸããAthenaã®å©çšæéã¯ã¯ãšãªå®è¡ã«å¯ŸããŠã®ã¿çºçãããããã³ã¹ãå¹çã®é«ãããŒã¿åæãå®çŸããŸãã
倧èŠæš¡ããŒã¿ã»ããã«å¯ŸããŠãé«éãªçµæãæäŸããããŒã¿ãµã€ãšã³ãã£ã¹ããããŒã¿ã¢ããªã¹ããAWS S3äžã®ããŒã¿ãæ軜ã«æ¢çŽ¢ã§ããããã«ãªã£ãŠããŸãã
5.2 AWS S3ãšAmazon Redshiftã®çµã¿åãã
AWS S3ã¯ããã«ãããŒãžãåã®ããŒã¿ãŠã§ã¢ããŠã¹ãµãŒãã¹ã§ããAmazon Redshiftãšãçµ±åãããŠããŸããããã«ãããS3ããRedshiftãžã®ããŒã¿ã®ç§»è¡ãç°¡åãã€è¿ éã«è¡ããããŒã¿ãŠã§ã¢ããŠãžã³ã°ã«ãããéèŠãªèŠçŽ ã®äžã€ã§ãã
Redshiftã¯å€§èŠæš¡ãªããŒã¿ã»ããã®åæãè€éãªã¯ãšãªã®åŠçã«æé©åãããŠãããããŒã¿ãŠã§ã¢ããŠã¹ãšããŠã®æ©èœããã«ã«çºæ®ããŸããAWS S3ããRedshiftãžã®ããŒã¿ç§»è¡ã¯ãããŒã¿ãã€ãã©ã€ã³ãAWSã®ETLããŒã«ã䜿çšããŠèªååããããšãå¯èœã§ãã
Redshiftã®åŒ·åãªã¹ã±ãŒãªã³ã°æ©èœãšS3ã®æè»æ§ãçµã¿åãããããšã§ãäŒæ¥ã¯å¹ççãªããŒã¿ãŠã§ã¢ããŠã¹ãœãªã¥ãŒã·ã§ã³ãæ§ç¯ã§ããããžãã¹ã«å¯Ÿããæ·±ãæŽå¯ãåŸãããšãã§ããŸãã
5.3 ããŒã¿ãŠã§ã¢ããŠã¹ãžã®ããŒã¿å°å ¥
ããŒã¿ãŠã§ã¢ããŠã¹ãžã®ããŒã¿å°å ¥ã¯ãããžãã¹ã€ã³ããªãžã§ã³ã¹ã®æŽ»åã«ãšã£ãŠéèŠãªã¹ãããã§ããAWS S3ã¯ããŒã¿ã¬ã€ã¯ãšããŠæ©èœããç°ãªã圢åŒãæ§é ãæã€ããŒã¿ãäžå çã«ä¿åããããšãã§ããŸãã
ãã®ããŒã¿ãåçš®ã®åæããŒã«ã§å©çšããããã«ã¯ãããŒã¿ãŠã§ã¢ããŠã¹ãžçµç¹çã«å°å ¥ããããã»ã¹ãèŠãããŸããAWS S3ãšããŒã¿ãŠã§ã¢ããŠã¹ãšã®éã§ãããŒã¿ã®æœåºãå€æãããŒãïŒETLïŒãå®è¡ããããšã«ãã£ãŠãåæã®ããã®æºåãæŽããããšãã§ããŸãã
AWSã¯ãAWS Glueã®ãããªãããŒãžãETLãµãŒãã¹ãæäŸããè€éãªããŒã¿å°å ¥ã®ããã»ã¹ãç°¡çŽ åããŸããäžè²«ããããŒã¿ãã©ãŒããããšã¯ãªãŒã³ãªããŒã¿ã»ãããããŒã¿åæã®ç²ŸåºŠãé«ããããšã«è²¢ç®ããŸãã
5.4 ãªã¢ã«ã¿ã€ã ããŒã¿åæãšããŒã¿ãããŒã®æé©å
ããžãã¹ã¯ããªã¢ã«ã¿ã€ã ã§ã®ããŒã¿åæã«ãããããè¿ éã«ææ決å®ãè¡ãããšãæ±ããããŠããŸããAWS S3ã¯ãã¹ããªãŒãã³ã°ããŒã¿ã®åéã«ãå©çšããããªã¢ã«ã¿ã€ã åæããŒã«ã«æ¥ç¶ããããšãå¯èœã§ãã
Amazon Kinesisã®ãããªãªã¢ã«ã¿ã€ã åŠçããŒã«ãšçµã¿åãããããšã§ãAWS S3äžã«èç©ãããããŒã¿ãç¶ç¶çã«åæããå³æã«åå¿ãæ±ããããæ¥åã«å¯Ÿå¿ã§ãããšããã¡ãªããããããŸããããŒã¿ãããŒãæé©åããããšã«ãããããŒã¿ã®ã©ã€ããµã€ã¯ã«å šäœãã¹ã ãŒãºã«ãªããŸãã
æŽã«ãS3ã€ãã³ãéç¥æ©èœã䜿çšããŠãæ°ãã«ã¢ããããŒããããããŒã¿ãããå Žåã«èªåçã«åŠçãéå§ããããšãå¯èœã§ããããã«ãããåæããã»ã¹ã®èªååã匷åãããããžãã¹ã®ã¢ãžãªãã£ã倧ããåäžãããããšãã§ããŸãã
6. AWS S3ãã©ãã«ã·ã¥ãŒãã£ã³ã°ãšæé©å
6.1 äžè¬çãªåé¡ã®èšºæãšè§£æ±ºæé
Amazon Web Services (AWS) ã®Simple Storage Service (S3)ã¯ãå€ãã®äŒæ¥ãšéçºè ã«ãšã£ãŠãããŒã¿ã¹ãã¬ãŒãžã®ä¿¡é Œæ§ã®é«ããœãªã¥ãŒã·ã§ã³ãæäŸããŠããŸããããããæã«ã¯æ§ã ãªåé¡ãçºçããããšããããŸããäžè¬çã«ééããåé¡ã«ã¯ãã¢ã¯ã»ã¹èš±å¯ã®ãšã©ãŒããã±ããããªã·ãŒã®äžå ·åããã¡ã€ã«ã¢ããããŒããããŠã³ããŒãã®é 延ãªã©ãæããããŸãããããã®åé¡ã®èšºæãšè§£æ±ºã®ããã«ã¯ãAWS Management ConsoleãAWS CLIããŸãã¯SDKã䜿çšããŠãã°ãã¡ã€ã«ã確èªããããšãæå¹ã§ãã
ã¢ã¯ã»ã¹èš±å¯ã®ãšã©ãŒçºçæããŸãIAM (Identity and Access Management) èšå®ã確èªããæ£ããæš©éããŠãŒã¶ãŒãŸãã¯ã°ã«ãŒãã«ä»äžãããŠããããã§ãã¯ããŸãããããŸãããã±ããããªã·ãŒãå³å¯ãã€æ£ç¢ºã«å®çŸ©ãããŠããããšã確èªããŸããããªã·ãŒã®ãšãã£ã¿ãŒãçšããŠãããªã·ãŒãæå³ããã¢ã¯ã»ã¹æš©ãèš±å¯ããŠããã調æ»ããããšãäžå¯æ¬ ã§ãã
ã¢ããããŒããããŠã³ããŒãã®é 延ã¯ããã°ãã°ãããã¯ãŒã¯é¢é£ã®åé¡ããã¯ã©ã€ã¢ã³ãã®èšå®ãã¹ããçããŸãããããã¯ãŒã¯ç°å¢ãåæ€èšãããšãšãã«ããã«ãããŒãã¢ããããŒãã®èšå®ã䞊åæ¥ç¶ã®æé©åãè¡ãããšãé床æ¹åãžç¹ãããŸããAWSã®æäŸããç£èŠããŒã«ãCloudWatchãçšããŠãS3ã®ããã©ãŒãã³ã¹ããŒã¿ããªã¢ã«ã¿ã€ã ã§ç£èŠããç°åžžãçºçããå Žåã¯è¿ éã«å¯Ÿå¿ããããšãéèŠã§ãã
6.2 ããã©ãŒãã³ã¹ãã¥ãŒãã³ã°ãšæé©åã®ãã³ã
ããã©ãŒãã³ã¹ãã¥ãŒãã³ã°ã¯ãAWS S3ãæ倧éã«æŽ»çšããããã«äžå¯æ¬ ãªéšåã§ãã倧éã®ããŒã¿ãæ±ãéãã¬ã€ãã³ã·ãŒãã¹ã«ãŒãããã®åäžã¯ããžãã¹ã®å¹çã倧ããå·Šå³ããããã§ããããã©ãŒãã³ã¹æé©åã®ããã«ãAmazon S3 Transfer Accelerationã掻çšããããšãå¹æçã§ããããã¯ãããŒã¿ãAWS Edge Locationãžãšéä¿¡ããAmazonã®ã°ããŒãã«ãããã¯ãŒã¯ãä»ããŠS3ãã±ãããžè»¢éãããããããŒã¿ã¢ããããŒãã®é«éåãæåŸ ã§ããŸãã
ãŸããAmazon S3ã®ã¹ãã¬ãŒãžã¯ã©ã¹ãé©åã«éžæããããšããããã©ãŒãã³ã¹ãã¥ãŒãã³ã°ã«ãããŠéèŠã§ããã¢ã¯ã»ã¹é »åºŠã«åºã¥ããŠãStandardãInfrequent Access (IA)ããŸãã¯Glacierãªã©ã®ã¹ãã¬ãŒãžã¯ã©ã¹ãéžã¶ããšã«ãããããã©ãŒãã³ã¹ãšã³ã¹ãã®ãã©ã³ã¹ãåãããšãã§ããŸããå ããŠãS3ã®ã©ã€ããµã€ã¯ã«ããªã·ãŒæ©èœã䜿çšããèªåçã«ããŒã¿ãæãã³ã¹ãå¹çã®è¯ãã¹ãã¬ãŒãžã¯ã©ã¹ãžãšç§»åãããããšã§ãç¶ç¶çãªããã©ãŒãã³ã¹æé©åãè¡ããŸãã
ããã«ãããã©ãŒãã³ã¹ã®èŠ³ç¹ããã¯ãCloudFrontãªã©ã®Content Delivery Network (CDN) ãšS3ãçµã¿åããããšè¯ãã§ããããCDNãå©çšããããšã§ããšã³ããŠãŒã¶ãŒã«å¯ŸããŠãã£ãã·ã¥ãããã³ã³ãã³ããããè¿ éã«æäŸããããšãå¯èœãšãªããçµæãšããŠãŠãŒã¶ãŒãšã¯ã¹ããªãšã³ã¹ã®åäžã«å¯äžããŸãã
6.3 ã³ã¹ãåæžã®ããã®ã¹ãã©ããžãŒ
AWS S3ã®ã³ã¹ã管çã¯ããžãã¹ã®éå¶ã«ãããŠéåžžã«éèŠã§ããã¹ãã¬ãŒãžã³ã¹ããåæž¡ããããã®æŠç¥çã¢ãããŒãã«å æ¬çãªããŒã¿ç®¡çããããŸããããŒã¿ã®äœ¿çšé »åºŠãéèŠåºŠãææ¡ãããã®ããŒã¿ã«é©ããã¹ãã¬ãŒãžã¯ã©ã¹ãå²ãåœãŠãããšã§ãäžå¿ èŠãªã³ã¹ããåæžããããšãã§ããŸãã
ãŸããS3ã®ããŒã¿ã¢ãã©ã€ã¶ãŒããŒã«ãå©çšããŠãä¿åãããŠããããŒã¿ãå®æçã«ã¬ãã¥ãŒããããšãã³ã¹ãåæžã«åœ¹ç«ã¡ãŸããããã«ãããããŒã¿ãé©åã«åé¡ãããæãå¹ççãªã¹ãã¬ãŒãžãœãªã¥ãŒã·ã§ã³ã«é 眮ãããŠããããšã確èªã§ããŸããããããåæã®çµæãåºã«ãåé·ãªããŒã¿ã®åé€ãS3ã©ã€ããµã€ã¯ã«ããªã·ãŒã®å®è£ ãéããŠã¹ãã¬ãŒãžã³ã¹ãã®æé©åãå¯èœã§ãã
ããã«ããªã¯ãšã¹ããšããŒã¿è»¢éæéãç解ããããŒã¿ã®ã¢ã¯ã»ã¹ãã¿ãŒã³ãã¢ããªã±ãŒã·ã§ã³ã®ãã©ãã£ãã¯ãåæããããšãéèŠã§ãããªã¯ãšã¹ãæ°ãåæžããããã«ãCloudFrontã®ãããªCDNãµãŒãã¹ã䜿çšããããšã§ãã²ãããªã¯ãšã¹ãããã®ä»ã®æäœã«é¢é£ããã³ã¹ããåæžã§ããŸãã
6.4 å©çšç¶æ³ã®ã¢ãã¿ãªã³ã°ãšåæã¬ããŒã
AWS S3ã§ã¯ãããŒã¿ã®å©çšç¶æ³ãšã¢ã¯ã»ã¹ãã¿ãŒã³ãç£èŠããæ©èœãæäŸãããŠããããããå©çšããããšã§ãã·ã¹ãã å šäœã®ããã©ãŒãã³ã¹ãè©äŸ¡ããå¿ èŠã«å¿ããŠå¯Ÿçãè¬ããããšã容æã«ãªããŸããAWS Management Consoleããã¢ã¯ã»ã¹ã§ãããAmazon S3 Analyticsãã¯ãããŒã¿ã¢ã¯ã»ã¹ã®åŸåãç解ããã¹ãã¬ãŒãžã³ã¹ããæé©åããã®ã«åœ¹ç«ã¡ãŸãã
ç£èŠãšåæãæ åœããéèŠãªãµãŒãã¹ã«AWS CloudWatchããããŸããCloudWatchã䜿çšããããšã§ããã±ããã®ã¹ãã¬ãŒãžå®¹éããªã¯ãšã¹ãæ°ããšã©ãŒçãªã©ãããŸããŸãªã¡ããªã¯ã¹ã远跡ã§ããŸãããããã®ã¡ããªã¯ã¹ã¯æéã®çµéã«äŒŽãåŸåãæŽãããã«ãæçšã§ãç¹å®ã®ããã©ãŒãã³ã¹åé¡ãã³ã¹ãã®åå ãèŠã€ãåºãããã®æããããšãªãåŸãŸãã
æåŸã«ãå©çšç¶æ³ã®ã¢ãã¿ãªã³ã°ã¯ãã»ãã¥ãªãã£ã€ã³ã·ãã³ããçºçããå Žåã®è¿ éãªèŠåãšå¯Ÿå¿ã«ãäžå¯æ¬ ã§ããAWSã®ã»ãã¥ãªãã£ç£æ»ããŒã«ãAWS Trusted Advisorãã掻çšããããšã§ãç°åžžãªã¢ã¯ã»ã¹ãã¿ãŒã³ãè匱ãªèšå®ã«æ°ä»ããéããã«å¯ŸåŠããããšãå¯èœã§ããããããããŒã«ã䜿ãããšã§ãå®å šæ§ãšããã©ãŒãã³ã¹ãåæã«ç®¡çããããšãã§ããŸãã
7. ãŸãšã
AWS S3ãšã¯ãå®å šã§æè»ãªã¯ã©ãŠãã¹ãã¬ãŒãžãµãŒãã¹ã§ããäž»èŠæ©èœã«ã¯ããŒã¿ã®ä¿åãããã¯ã¢ããããŠã§ããµã€ãã®ãã¹ãã£ã³ã°ãªã©ããããã»ãã¥ãªãã£ãããŒã¿ç®¡çãæ矀ã§ããæéäœç³»ã¯äœ¿çšéã«å¿ãããã®ã§ãã³ã¹ãããã©ãŒãã³ã¹ã«åªããŠããŸããã¢ã«ãŠã³ãäœæãããã±ããèšå®ãŸã§ã®ã»ããã¢ããã¯ã·ã³ãã«ã§ãããå€æ§ãªæŽ»çšã·ããªãªãå¯èœãäžçŽæ©èœãé§äœ¿ããããšã§ãããé«åºŠãªããŒã¿ç®¡çãåæãè¡ããçµç¹ã®ããŒãºã«åãããã«ã¹ã¿ãã€ãºãå¯èœã§ãããã©ãã«ã·ã¥ãŒãã£ã³ã°ãæé©åããµããŒããããŠãããå¹ççãªéçšãå®çŸããŸããããžãã¹ããŒãœã³ã®çæ§ãAWS S3ã§ã¯ã©ãŠãã®ãã¯ãŒãæ倧éã«åŒãåºããŸãããïŒ