ãšã³ããªãŒ
ãã®ã¬ããŒãã§ã¯ããã©ãããã©ãŒã ã䜿çšããAWSãµãŒãã¹ãšãç§ãããç¥ããªãAWSãµãŒãã¹ã«ã€ããŠèª¬æããŸãã ç§ã¯ãã»ãŒãã¹ãŠã®å¯èœãªãµãŒãã¹ã䜿çšãããããžã§ã¯ãã«åãçµãã§ããŸãããŸããè¿ãå°æ¥ãAmazonãæäŸããããã«å€ãã®æ©äŒãã«ããŒããããšãç®æããŠããŸãã
AWSã¯ããŠã§ãã€ã³ã¿ãŒãã§ãŒã¹ïŒAWSã³ã³ãœãŒã«ïŒãšã³ãã³ãã©ã€ã³ããŒã«ã®äž¡æ¹ã䜿çšããŠç®¡çãããŸãã ãã¹ãŠã®AWSãµãŒãã¹ã¯ã³ã³ãœãŒã«ã§åéãããŸãããèšå®æ©èœã¯ããåæãããŸãã ã³ãã³ãã©ã€ã³ã§ã¯ãç¹å®ã®ãµãŒãã¹ãããæè»ã«æ§æã§ããã³ã³ãœãŒã«ã§éããããŠããæ©èœã䜿çšã§ããŸãã
Amazon Elastic Compute CloudïŒEC2ïŒ
説æ
EC2ã¯ãä»®æ³ãµãŒããŒïŒAmazon EC2ã€ã³ã¹ã¿ã³ã¹ïŒã2çš®é¡ã®ããŒã¿ãŠã§ã¢ããŠã¹ãããã³ããŒããã©ã³ãµãŒïŒããŒããã©ã³ãµãŒïŒãæäŸããã¯ã©ãŠããµãŒãã¹ã§ãã
ããªãã®å€ãã¯VPS-Virtual Private Serverã«ç²ŸéããŠããŸãã ãããã£ãŠãEC2ã¯ããµãŒããŒãããŒãéã§ç°¡åã«ç§»è¡ã§ããã¹ãã¬ãŒãžãã»ãšãã©ç¡æ¬¡å ã«ç°¡åã«æ¡åŒµã§ãããå®éã®ã¯ã©ãŠãã§VPSãæäŸãããµãŒãã¹ã«ãããŸããã ãã®ãããååã«ElasticãšããèšèãèãããŸã-Elasticã
æ©èœæ§
EC2ã§ã¯ãOSãäºåã«ã€ã³ã¹ããŒã«ãããäºåæ§ææžã¿ã®ãµãŒããŒãå®è¡ã§ããŸãïŒAmazon LinuxãRed Hat ELãSuse ESãWindows 2008ãOracle ELããªãã¬ãŒãã£ã³ã°ã·ã¹ãã ã®éžæã¯æ¬¡ã®ããã«ãªããŸãã
ç¬èªã®ã€ã¡ãŒãžïŒAMI-Amazon Machine ImageïŒãäœæããŠãä»»æã®Linuxã䜿çšããããšãã§ããŸãã ç§ãã¡ã®ãã©ãããã©ãŒã ã¯Debian Squeezãã¡ã€ã³ã·ã¹ãã ãšããŠäœ¿çšããŠããŸããããã¡ãããCentOSãUbuntuãªã©ãã»ãŒãã¹ãŠã®Linuxãã£ã¹ããªãã¥ãŒã·ã§ã³ã§å®è¡ããã³äœæ¥ã§ããŸãã ãŸããRHELãšSuse ESããµããŒãããŠããŸãã
ãµãŒããŒã¢ã¯ã»ã¹ä¿è·ãæ§æããããšãã§ããŸãã EC2ã€ã³ã¹ã¿ã³ã¹ã¯ãIPãŸãã¯ãµããããããã®ããŒããžã®ã¢ã¯ã»ã¹ãå¶éããæ©èœãåããã»ãã¥ãªãã£ã°ã«ãŒãã«çµåãããŸãã
ã»ãã¥ãªãã£ã°ã«ãŒãã®èšå®ã¯æ¬¡ã®ãšããã§ãã
è² è·åæ£ãšèªåã¹ã±ãŒãªã³ã°ã¯EC2ã®éåžžã«éèŠãªæ©èœã§ãã ããšãã°ã1ã€ä»¥äžã®ãµãŒããŒãè² è·ã«å¯ŸåŠã§ããªãå Žåã«ããµãŒããŒã®æ°ãèªåçã«å¢ããããšãã§ããã«ãŒã«ãäœæã§ããŸãã å¥ã®AWSãµãŒãã¹ã§ããAmazon Cloud Watchã¯ããµãŒããŒã®ç¶æ ãç£èŠããŸãã ãã®ãµãŒãã¹ã䜿çšãããšãOSã®æãéèŠãªã€ã³ãžã±ãŒã¿ãç£èŠããããšã«ãããããããçš®é¡ã®ãã§ãã¯ïŒãã§ãã¯ïŒãäœæã§ããŸãã
ã»ãŒç¡ééã®ã¹ãã¬ãŒãžãåããã»ãŒç¡ééã®ãã£ã¹ã¯ãè¿œå ããŸãã EBSïŒElastic Block StorageïŒã¯ãEC2ã®ã¹ãã¬ãŒãžã®ã¿ã€ãã®1ã€ã§ãã ãã®ç¹åŸŽã¯ããã®ãã¯ãããžãŒã䜿çšããŠäœæããããã£ã¹ã¯ãVPSããŒãããç¬ç«ããŠãããä»®æ³åãµãŒããŒã«çŽæ¥é 眮ãããŠããã€ã³ã¹ã¿ã³ã¹ã¹ãã¬ãŒãžãšã¯å¯Ÿç §çã«ãç¹å¥ãªã¹ãã¬ãŒãžãµãŒããŒã«é 眮ãããŠããããšã§ãã
EBSã䜿çšãããšãå®è¡äžã®ãµãŒããŒã«ä»»æã®ãµã€ãºã®ãã©ã€ããè¿œå ã§ããŸãã
ãã£ã¹ã¯äœæïŒ
ãã£ã¹ã¯ç®¡çïŒ
Elastic IPã¢ãã¬ã¹ã䜿çšãããšãããšãã°ãäžçäžã®DNSãŸãŒã³ãæŽæ°ããDNSäŒæãåé¿ããããã«ããµãŒããŒã¢ãã¬ã¹ããã°ããå€æŽã§ããŸãã
ã€ã³ã¹ã¿ã³ãã€ã¡ãŒãžïŒã¹ãããã·ã§ããïŒãäœæãããšããã£ã¹ã¯ã®ãã£ã¹ããäœæããAMIïŒAmazon Machine ImageïŒã®ãœãŒã¹ãšããŠã ãã§ãªããOSã®åçŽãªããã¯ã¢ãããšããŠäœ¿çšã§ããŸãã
ãµãŒããŒã®çš®é¡
EC2ãµãŒããŒã¯ã次ã®è¡šã§èª¬æã§ããŸãã
* EC2ã³ã³ãã¥ãŒãã£ã³ã°ãŠããã-ããã»ããµããã©ãŒãã³ã¹ã®æž¬å®åäœã1.0ã1.2 GHzããã»ããµOpteronãŸãã¯Xeonã®ããã©ãŒãã³ã¹ã«å¹æµããŸãã
課é
EC2ã¯1æéããšã«è«æ±ãããŸãããEBSãªã©ã®ãµããµãŒãã¹ã«ã¯æããšã®è«æ±ããããŸãã åãµããµãŒãã¹ã«ã¯ãæéããšãŸãã¯æããšã«äºåã«æ±ºå®ãããäŸ¡æ Œã§åå¥ã®è«æ±ããããŸãã
ãŸããEC2ã€ã³ã¹ã¿ã³ã¹ã«ã¯ãããããäºçŽïŒäºçŽïŒããããŸã-ãµãŒããŒã®æäœã®3ã4ãæåŸã«çŽã¡ã«æ¯æãããŸãããã®åŸããµãŒããŒã®æäœæéãçŽ1.5åå®ããªããŸãã EC2ãç¶ç¶çã«äœ¿çšããå Žåã¯ãäºçŽã䟿å©ã§ã-é¢åãªç¯çŽã
Amazon Simple StorageïŒS3ïŒ
ã¢ãã¹ãã©ã¯ã
- Amazon S3ã¯ãããŒã¿ããã¡ã€ã«ã«ä¿åãããµãŒãã¹ã§ãã 1ãã€ããã5ãã©ãã€ãã®ãµã€ãºã®ãã¡ã€ã«ãä¿åããããã®ç¡æ¬¡å ã¹ããŒã¹ãæäŸãããããšã瀺ãããŠããŸãã
- ãã¡ã€ã«ã¯åå¥ã®ãã±ããã«ä¿åãããããã«ãã£ã¬ã¯ããªãšãµããã£ã¬ã¯ããªãäœæã§ããŸãã
- ãã±ããã¯ç°ãªãå°åïŒå°åïŒã«ä¿åãããŸãã ç±³åœæšæºãç±³åœè¥¿éšïŒãªã¬ãŽã³ïŒãç±³åœè¥¿éšïŒåã«ãªãã©ã«ãã¢ïŒãEUïŒã¢ã€ã«ã©ã³ãïŒãã¢ãžã¢å€ªå¹³æŽïŒã·ã³ã¬ããŒã«ïŒãã¢ãžã¢å€ªå¹³æŽïŒæ±äº¬ïŒãåã¢ã¡ãªã«ïŒãµã³ããŠãïŒãããã³GovCloudïŒç±³åœïŒãå©çšå¯èœã§ãã
- ããŸããŸãªã¿ã€ãã®ã»ãã¥ãªãã£ããªã·ãŒããã±ããã«é©çšã§ããŸãããããããã©ã€ããŒãããããªãã¯ã«ãããŠãŒã¶ãŒéã§æš©å©ãå
±æããŸãã ããšãã°ã次ã®Webãµã€ããéãããšãã§ããŸãã
bucketname.s3-website-us-east-1.amazonaws.comã«éçã³ã³ãã³ããä¿åããŸãã - S3ã¯ãªã¯ãšã¹ãããã°ã«èšé²ããã¬ããŒããå¥ã®ãã±ããã«ä¿åã§ããŸãã ããã¯ãå€ãã®ãŠãŒã¶ãŒ/ã¢ããªã±ãŒã·ã§ã³ããµãŒãã¹ã«ã¢ã¯ã»ã¹ã§ããå Žåã調æ»ãããšãã«åœ¹ç«ã¡ãŸãã
- ããŠã³ããŒããåé€ããã®ä»ã®æäœã¯RESTãŸãã¯SOAPãä»ããŠå©çšã§ããS3ããã®ããŒã¿ãã£ãã«ã®æå·åãå¯èœã§ãã
- èå³æ·±ã詳现ã¯ãhttpãã¡ã€ã³ãã¡ã€ã«ããŠã³ããŒããããã³ã«ãšããŠçœ®ãæããããšã«ãããBitTorrentãããã³ã«ãåã蟌ãããšãã§ããããšã§ãã
- 1幎ããã99.999999999ïŒ ã®æŽåæ§ä¿èšŒãš99.99ïŒ ã®ãã¡ã€ã«å¯çšæ§ãä¿èšŒãããŠããŸãã
- S3ã¯ããã¡ã€ã«ã®ããŒãžã§ã³ç®¡çãæ³å®ããŠããŸãã ãã€ã§ã以åã®ããŒãžã§ã³ã®ãã¡ã€ã«ã埩å ã§ããŸãã ç®çã®ç¶æ ã«ããŒã«ããã¯ããŸãã
- UPDïŒãã±ããåã®åå空éã¯ãã¹ãŠã®ãŠãŒã¶ãŒã«å¯ŸããŠ1ã€ã§ããããããã±ããåã¯äžæã§ããå¿ èŠããããŸã
ã€ã³ã¿ãŒãã§ãŒã¹
S3ã¯ããã®ã³ã³ãœãŒã«ã䜿çšããŠå¶åŸ¡ã§ããŸãã
å ¬åŒããã³éå ¬åŒã®ã³ãã³ãã©ã€ã³ããŒã«ããããŸãã ã¢ããªã±ãŒã·ã§ã³ãS3ã«æ¥ç¶ããããã®ããããçš®é¡ã®ããã°ã©ãã³ã°èšèªçšã®èšå€§ãªæ°ã®ã©ã€ãã©ãªããããŸãã
課é
S3ã¯ãä¿åãããããŒã¿éããªã¯ãšã¹ããããã³çºä¿¡ãã©ãã£ãã¯ã«å¯ŸããŠæ¯ææ¯æãããŸãã ç¡æãã£ã¢ããããŸã-5GBã®ã¹ããŒã¹ã20,000ããŠã³ããŒããªã¯ãšã¹ãã2,000ããŠã³ããŒããªã¯ãšã¹ãã15ã®ã¬ãã€ãã®ãã©ãã£ãã¯ã1ãæãããç¡æã§ãã
Amazon Relational Database ServiceïŒRDSïŒ
説æ
RDSã¯ãå¥ã®ãã·ã³ã§ãã¹ããããããŒã¿ããŒã¹ãµãŒãã¹ã§ãã ç°¡åã«èšãã°ããããã¯ããŒã¿ããŒã¹ãæäœããããã«æé©åãããå¥åã®VPSãµãŒããŒã§ãã
次ã®ããŒã¿ããŒã¹ç®¡çã·ã¹ãã ã¯Amazon RDSã§å©çšã§ããŸãã
- MySQLã³ãã¥ããã£ãšãã£ã·ã§ã³
- Oracle Database Standard Edition One
- Oracle Database Standard Edition
- Oracle Database Enterprise Edition
éžæã¯æ¬¡ã®ããã«ãªããŸãã
RDSã€ã³ã¹ã¿ã³ã¹ã®ãã£ã¹ã¯å®¹éãã¯ã©ã€ã¢ã³ãã«ãã£ãŠæ³šæãããŸãã ã¹ãã¢ã®æå°ãµã€ãºã¯5 GBã§ãã
ã»ãã¥ãªãã£ã°ã«ãŒãã䜿çšããŠãããŒã¿ããŒã¹ãµãŒããŒãžã®ã¢ã¯ã»ã¹ãæè»ã«æ§æã§ããŸãã åã ã®ã¢ãã¬ã¹/ãµããããããŸãã¯EC2ã»ãã¥ãªãã£ã°ã«ãŒããšãã®äžéšã§ãããã¹ãŠã®ãµãŒããŒã«ã¢ã¯ã»ã¹ã§ããŸãã ããã¯ãããšãã°ãèªåã¹ã±ãŒãªã³ã°ã®å Žåãã¢ããªã±ãŒã·ã§ã³ã®ãã¹ãŠã®ã€ã³ã¹ã¿ã³ã¹ã1ã€ã®ã°ã«ãŒãã«ãªããããŒã¿ããŒã¹ãµãŒããŒã«ã¢ã¯ã»ã¹ã§ããå Žåã«äŸ¿å©ã§ãã
ã³ã³ãœãŒã«ãŸãã¯ã³ãã³ãã©ã€ã³ãŠãŒãã£ãªãã£ã䜿çšããŠãããŒã¿ããŒã¹ãµãŒããŒéã®ã¬ããªã±ãŒã·ã§ã³ãæ§æããããšãã§ããŸãã
RDSã¯ã€ã³ã¹ã¿ã³ãã¹ãããã·ã§ãããšèªåããã¯ã¢ããããµããŒãããŠãããããããŒã¿ãè¿ éãã€æ£ç¢ºã«å埩ã§ããŸãã
ããŒããŠã§ã¢ã®åé¡ãçºçããå ŽåãRDSã¯ãã¹ããæ£åžžãªããŒãã«èªåçã«è»¢éããŸãã
æŽæ°ããªãªãŒã¹ããããšãDBMSã«èªåçã«ããããé©çšããŠåèµ·åã§ããŸãã äºåã«ã客æ§ã«éç¥ããŸãã
DBMSãžã®ã«ãŒãã¢ã¯ã»ã¹ããªãããšã«æ³šæããŠãã ããã çµã¿èŸŒã¿ããã·ãŒãžã£ã®ã¹ãã¬ãŒãžæ©èœãšåŸ®èª¿æŽã¯ãAPIããã³ã³ãã³ãã©ã€ã³ãŠãŒãã£ãªãã£ãä»ããŠå®è¡ãããŸãã
ãã¹ãŠã®RDSã€ã³ã¹ã¿ã³ã¹ã¯64ããããã©ãããã©ãŒã ã§å®è¡ãããŸãã
RDSã€ã³ã¹ã¿ã³ã¹ã®ã¿ã€ã
課é
EC2ãšåæ§ã«ãRDSã¯ã皌åäžã®ã€ã³ã¹ã¿ã³ã¹ã䜿çšãã1æéããšãã€ãŸã100æéããšã«æ¯æãããããã¯ã¢ãããšã¹ãããã·ã§ããã®ä¿åã«ã¯å¥éæéãããããŸãã I / Oæäœã®æ°ãèæ ®ãããŸãã
äºçŽããããŸãã3ã4ãæéãçŽã¡ã«éé¡ãæ¯æããŸãããã®åŸã1幎ãŸãã¯3幎éãã€ã³ã¹ã¿ã³ã¹ã®äœæ¥ã®æé絊ãå€§å¹ ã«åŒãäžããããŸãã å¹³å1.5åã
ã«ãŒã53
説æ
Route53ã¯ãAmazonã®ã¯ã©ãŠãããŒã¹ã®DNSãµãŒãã¹ã§ãã ã»ãšãã©ã®äžè¬çãªããŒã ãµãŒãã¹ã¯ãé«ãããã©ãŒãã³ã¹ãšäŸ¡æ Œãç¹åŸŽã§ãã ããã¯å®éã«ã¯å®ããµãŒãã¹ã§ãã TTLãå°ãããããªã倧ããªãŸãŒã³ããããŸããïŒ ç§ãã¡ã¯ç¡æå©çšæ ã«ããŸããéããããŸãã-CSNã®äœ¿çšãšç¡æã§å®éã®ãããŒãç¡æã§å¶éããŸãã
Route53ã®éç«ã£ãæ©èœã®1ã€ã¯ãEC2ãããŒããã©ã³ãµãŒãS3ãCloudFrontãªã©ã®ä»ã®AWSãµãŒãã¹ãšã®çµ±åã§ãã
ããŒããã©ã³ãµãŒã«ã¯éçã¢ãã¬ã¹ã¯ãããŸãããããããªãã¯DNSåããããŸãã ãµãŒãããŒãã£ã®ãµãŒãã¹ã䜿çšããå Žåããã®ååãåç §ããã«ã¯CNAMEã¬ã³ãŒãã䜿çšããå¿ èŠããããŸãããRoute53ã«ã¯ç¹å¥ãªã¿ã€ãã®ã¬ã³ãŒã-ããŒããã©ã³ãµãŒã®ãšã€ãªã¢ã¹ããããŸãã ããã«ããããããã¬ã³ããªãã§ãã©ã³ãµãŒã®å šæ©èœã䜿çšã§ããŸãã
ãŸããDNSã¬ãã«ã§è² è·åæ£ãå®è¡ã§ããWRRïŒWeighted Round RobinïŒã¬ã³ãŒãã䜿çšã§ããããšãèå³æ·±ãã§ãã
Route53ã¯ãã³ã³ãœãŒã«ãŸãã¯ã³ãã³ãã©ã€ã³ããŒã«ãä»ããŠç®¡çãããŸãã ãŸããã³ã³ãœãŒã«ãããæ確ã«ããŸãŒã³ã®ã¹ããŒã¿ã¹ã衚瀺ãããã䟿å©ãªèšå®ãæäŸãããµãŒãããŒãã£ã®ãµãŒãã¹ãããã€ããããŸãã ã³ã³ãœãŒã«ã®Condaã§ã¯ãRoute53ã管çããå¯èœæ§ã¯ãããŸããã§ããããµãŒãããŒãã£ã®ãµãŒãã¹ã¯éåžžã«äººæ°ããããŸãããããšãã°ããããã®ç®çã§https://interstate53.comããã䜿çšããŸããã
課é
æ°çŸäžåãšã¿ãªããããªã¯ãšã¹ãã«å¯ŸããŠæ¯æããè¡ãããŸãã
ã·ã³ãã«ãã¥ãŒãµãŒãã¹ïŒSQSïŒ
説æ
SQSã¯ãã€ãã³ãããã¥ãŒã«å ¥ããããã®ãµãŒãã¹ã§ãã ãã®ãããªãã¥ãŒã¯ãããšãã°ãé»åã¡ãŒã«ãäœæããããã®ã¢ããªã±ãŒã·ã§ã³ãšãã®éä¿¡ãåé¢ããå Žåã«å¿ èŠã§ãã 次ã«ãã¬ã¿ãŒã®æ¬æãããããŒãªã©ã§ãã¥ãŒèŠçŽ ãäœæãããã¡ãŒã«ãéä¿¡ããã¢ããªã±ãŒã·ã§ã³ããã¥ãŒããèŠçŽ ãèªã¿åããéä¿¡ããŸãã
SQSãã¥ãŒã䜿çšããŠãAppleãWP7ãããã³Androidããã·ã¥ã¡ãã»ãŒãžãäœæããã³éä¿¡ããŸãã ãŸããé»åã¡ãŒã«ã®éä¿¡çšã
Amazonã¯ããã¥ãŒã®æ°ãšãã¥ãŒå ã®ã¢ã€ãã ã®æ°ã«å¶éãèšããŠããŸããã
課é
è«æ±æžã¯ãç¡æå©çšæ ãè¶ ãããã¥ãŒé ç®ã®æ°ãã«ãŠã³ãããŸãã çŸæç¹ã§ã¯100,000ã§ãã 10,000ã¢ã€ãã ããšã«æ¯æãããŸãã ãã®æã®ãµãŒãã¹ã«ãã£ãŠçæããããã©ãã£ãã¯ã®è³éãè«æ±ãããŸãã
ã·ã³ãã«ãªã¡ãŒã«ãµãŒãã¹ïŒSESïŒ
説æ
SES㯠ãã¡ãŒã«ãŸãã¯ããããã¥ãŒã¹ã¬ã¿ãŒã®éä¿¡ã«äœ¿çšãããŸãã IPã¢ãã¬ã¹ã®è©å€ãé«ãããµãŒããŒã®ããã©ãŒãã³ã¹ãé«ãããã1æ¥ã«æ°äžããæ°åäžã®æåãéä¿¡ã§ãããããå°èŠæš¡ãã倧èŠæš¡ã®äŒæ¥èŠæš¡ã®äŒæ¥ã«ã¡ãã»ãŒãžãéä¿¡ã§ããŸãã
ç¹å¥ãªæ©èœã¯ã1æ¥ã«éä¿¡ãããæçŽã®å¶éã®èªåå¢å ã§ãã 1äžãã100äžãŸã§ãåºç»ã®ããŒãºã«å¿ããŠå¶éãèªåçã«äžãããŸãã 1ç§ãããã«éä¿¡ãããæåæ°ã®å¶éãå¢å ããŠããŸãã ã¢ã«ãŠã³ãã®ããã³ãã³ã°ãã®éå§æããã®å¶éã¯1ç§ããã5åã§ãã
æ©èœç
SESã§ã¯ãã¢ããªã±ãŒã·ã§ã³ããçŽæ¥-APIãä»ããŠã¬ã¿ãŒãéä¿¡ã§ããŸãã SMTPã¡ãœããããã€ãã¹ããŠã¬ã¿ãŒãéä¿¡ã§ãããã©ã°ã€ã³ã®ã©ã€ãã©ãªã¯å€æ°ãããŸãã APIãä»ããŠSESãšçµ±åã§ããªãã¢ããªã±ãŒã·ã§ã³ã®å Žåããã°ã€ã³ãã¹ã¯ãŒãèªèšŒã䜿çšããŠSMTPãµãŒããŒãæå¹ã«ãããªãã·ã§ã³ããããŸãã
課é
1ãæã«éä¿¡ããã10,000件ã®ã¡ãŒã«ããšã«SESã§æ¯æãããŸãã ãŸããã¡ãŒã«ãéä¿¡ãããšãã«çæããããã©ãã£ãã¯ã«ã¯æéãããããŸãã
Amazonã¯ã©ãŠããŠã©ãã
説æ
Cloud Watch㯠ãæšæºã®ãµãŒããŒãã«ã¹ã¢ãã¿ãªã³ã°ãããŒãã®å¯çšæ§ãã¹ãã¬ãŒãžãDBMSæäœãS3äžã®å Žæããã®ä»ã®å€ãã®ãã§ãã¯ãå«ããäž»ã«ãã¹ãŠã®AWSãµãŒãã¹ã®ãã«ã¹/ç¶æ ãç£èŠããããã«äœ¿çšãããŸãã
Cloud Watchã«ã¯ãOKãALARMãUNSUFFICIENT DATAã®3çš®é¡ã®ç¶æ ããããŸãã ååã¯ããèªäœãè¡šããŠããŸãããã§ãã¯ã¯OKç¶æ ããšã©ãŒãŸãã¯ã¢ã©ãŒã ç¶æ ããããŠäžæãªç¶æ ã§ãã ãã¹ãŠã®ç¶æ ã«ã€ããŠãã«ãŠã³ã¿ãŒããã®ç¶æ ã«å€åãããšãã«èµ·åããããªã¬ãŒãæ§æã§ããŸãã
ããšãã°ãèªåã¹ã±ãŒãªã³ã°ã¯CloudWatchã«ãŠã³ã¿ãŒã«åºã¥ããŠããŸãã CloudWatchããªã·ãŒã«ããã°ãããªã¬ãŒãããªã¬ãŒããŠããµãŒããŒã®æ°ããã³ããŒãèµ·åããã¢ããªã±ãŒã·ã§ã³ã®èœåãåäžãããè² è·ãæžãããªããäžèŠãªãµãŒããŒãæ¶æ» ãããããšãã§ããŸãã
Cloud Watch管çã³ã³ãœãŒã«ã¯æ¬¡ã®ããã«ãªããŸãã
ã³ã³ãœãŒã«ã¯Cloud Watchã®ã»ãŒãã¹ãŠã®èšå®æ©èœãæäŸããŸãããã³ãã³ãã©ã€ã³ãŠãŒãã£ãªãã£ã䜿çšãããšããŠã§ãã€ã³ã¿ãŒãã§ãŒã¹ãããã¯ããã«é«éãã€æ£ç¢ºã«èšå®ãè¡ãããšãã§ããŸãã
課é
Cloud WatchãµãŒãã¹æéã«ã¯ãç¡æå©çšæ ãè¶ ããå°åæã®æ°ãå«ãŸããŸãã ãã®å¶éå ã®åºæ¬çãªç£èŠãèšå®ããããšã¯éåžžã«å¯èœã§ãã
AWS Identity and Access ManagementïŒIAMïŒ
説æ
IAMãµãŒãã¹ã䜿çšãããšãä»ã®ãã¹ãŠã®AWSãµãŒãã¹ãžã®ã¢ã¯ã»ã¹æš©ãå¶åŸ¡ã§ããŸãã ãã¹ãŠã®ã«ãŒã«ã«åŸã£ãŠåŸæ¥å¡ã®ã¹ã¿ãããããããã管çè ãéçºè ããã¹ããšã³ãžãã¢ãªã©ãåºå¥ããå¿ èŠããããŸãã 1ã€ã®ã¢ã«ãŠã³ãå ã§ãæ倧80ã®ãŠãŒã¶ãŒã¢ã«ãŠã³ããã°ã«ãŒãã§äœæã§ããŸããããã¯ãã»ãã¥ãªãã£ããªã·ãŒã®å¯Ÿè±¡ãšãªããŸãã
åIAMãŠãŒã¶ãŒãå²ãåœãŠãããšãã§ããŸãïŒ
- ããŒãã¢
- ãŠãŒã¶ãŒåãšãã¹ã¯ãŒã
- ããã€ãã®èšŒææž
ããŒãšèšŒææžã䜿çšããŠããŠãŒã¶ãŒã¯APIãšã³ãã³ãã©ã€ã³ãŠãŒãã£ãªãã£ã«ã¢ã¯ã»ã¹ã§ããŸãã ãã°ã€ã³ãšãã¹ã¯ãŒãã䜿çšããŠ-ã³ã³ãœãŒã«ãžãããã¯çµç¹ã®ã¡ã³ããŒã®ã¿ã䜿çšã§ããŸãã ãã®ãããªã³ã³ãœãŒã«ã®ãã°ã€ã³ç»é¢ã®ã¢ãã¬ã¹ã¯ã https : //company.signin.aws.amazon.com/consoleã®ããã«ãªããŸã ã åAWSã¢ã«ãŠã³ãææè ã«ã¯ãç¬èªã®äŒæ¥ãã°ã€ã³ç»é¢ãäœæããæš©å©ããããŸãã
AWSãµãŒãã¹ãžã®ã¢ã¯ã»ã¹ãå¶éããããã®ã«ãŒã«ã¯ã次ã®åœ¢åŒã®JSON圢åŒã§çæãããŸãã
{ ãSidãïŒãStmt1327249403354ãã ãã¢ã¯ã·ã§ã³ãïŒ[ ãsesïŒ*ã ]ã ãå¹æãïŒãèš±å¯ãã ããªãœãŒã¹ãïŒ[ ã*ã ] }
ãã®äŸã䜿çšãããšãã°ã«ãŒãã®ã¡ã³ããŒã¯å®å šã«ãªãŒãã³ãªSESãµãŒãã¹ã§ãããSESã«é¢é£ãããã¹ãŠã®ã¢ã¯ã·ã§ã³ãèš±å¯ãããŸãã
ãŸããIAMã¯ããµãŒãã¹ãæ§æããããªãŒã©ã³ãµãŒãªã©ã®ãµãŒãããŒãã£ã«çæéã§æš©å©ã転éããããã«ç°¡åã«äœ¿çšã§ããŸãã ããŒã蚌ææžããã¹ã¯ãŒãã¯ç°¡åã«ããã«åãæ¶ãããšãã§ããããã«ããAWSãžã®ã¢ã¯ã»ã¹ãçµäºããŸãã
課é
IAMã®äœ¿çšã¯å®å šã«ç¡æã§ãã ãã®æéã¯ããŠãŒã¶ãŒãæ¶è²»ãããªãœãŒã¹ã«å¯ŸããŠã®ã¿è«æ±ãããŸãã
ããšãã
ãã®èšäºã§ã¯ã Amazon Web Sevicesã®ç°¡æœã§ãããŸãããã°ç解ã§ãã説æãæäŸããŸãã æ®å¿µãªãããDynamo DBãSimple DBãCloud FrontãCloud Formationãªã©ã®ãµãŒãã¹ã¯ãã®èª¬æã«åœ±é¿ããŸããã§ããã ããã¯èè ããããã®ãµãŒãã¹ã®çµéšããªãããã«ã®ã¿èµ·ãããŸããããããã«ãã®çµéšã確å®ã«çŸãã圌ã®åºç¯ãªçµéšã«åºã¥ããŠäŒæ¥èŠæš¡ã®ã€ã³ãã©ã¹ãã©ã¯ãã£ãèšèšããã³ã¹ã±ãŒãªã³ã°ã§ããããã«ãªãããšãæ¬åœã«æãã§ããŸãã