EC2ãšã¯(ð°)
ã¯ããã«
ããããªãèšèã ããã§ã ãã¶æ··ä¹±ããŠããã®ã§ã
äžæŠåºæ¬ããæŽçã®èªåã¡ã¢ã§ãð¥²
ãã¯ã©ãŠãã³ã³ãã¥ãŒãã£ã³ã°ããšã¯
ã€ã³ã¿ãŒããããªã©ã®ãããã¯ãŒã¯çµç±ã§ãã¯ã©ãŠããµãŒãã¹æäŸäºæ¥è ã®æäŸããã³ã³ãã¥ãŒã¿ãŒæ©èœãå©çšããä»çµã¿
åé¡ | 説æ | 代衚çãªãµãŒãã¹ |
---|---|---|
IaaS | ããŒããŠã§ã¢éšåããããã¯ãŒã¯éšåãã¯ã©ãŠããµãŒãã¹ãšããŠæäŸ | AWS EC2ãGCP GCE |
PaaS | OSãŸã§ã®ç°å¢ãOSäžã§ã¢ããªã±ãŒã·ã§ã³ãåããç°å¢ãã¯ã©ãŠããµãŒãã¹ãšããŠæäŸ | SalesforceãHeroku |
SaaS | ã¢ããªã±ãŒã·ã§ã³ãã¢ããªã±ãŒã·ã§ã³å ã®ããŒã¿ããã¹ãŠã¯ã©ãŠããµãŒãã¹ãšããŠæäŸããã | SlackãGmailãiCloud |
ä»ãŸã§äœ¿ã£ãŠããããŒã«ã«ã®ãµãŒããŒç°å¢ã¯ããªã³ãã¬ãã¹ããšåŒã°ããããã«ãªããŸããã
AWSãšã¯
- Amazon Web Servicesã®ç¥
- Amazonã®æäŸããã¯ã©ãŠãã³ã³ãã¥ãŒãã£ã³ã°ãµãŒãã¹
- ä»®æ³ãµãŒããŒïŒEC2ïŒãããŒã¿ã¹ãã¬ãŒãžïŒS3ïŒãããŒã¿ããŒã¹ïŒRDSïŒããããã¯ãŒãã³ã°ïŒVPCïŒãã³ã³ãã³ãé ä¿¡ãããã¯ãŒã¯ïŒCloudFrontïŒãªã©ãå€ãã®ãµãŒãã¹ãæäŸ
å©çšããã¡ãªãã
- æ¡åŒµæ§
äžåºŠã«å¿ èŠãªãªãœãŒã¹ã ãã確ä¿ã§ããéèŠãå¢ããã°è¿œå ã®ãªãœãŒã¹ãçæéã§è¿œå ããããšãå¯èœã§ããITã€ã³ãã©ã®æ¡åŒµãè¿ éãã€å®¹æã«è¡ãããšãã§ããŸãã
- ã³ã¹ãå¹ç
å®éã«äœ¿çšããåã ã課éãããŸãã®ã§ã倧éã®ãªãœãŒã¹ãåãã£ãŠè³Œå ¥ããå¿ èŠããããŸãããåææè³ãæãã€ã€ITã³ã¹ããå¹ççã«ç®¡çããããšãã§ããŸãã
- ä¿¡é Œæ§ãšã»ãã¥ãªãã£
AWSã¯è€æ°ã®å°ççã«åæ£ããããŒã¿ã»ã³ã¿ãŒãéçšããŠãããããé害ã®åœ±é¿ãæå°éã«æããããšãå¯èœã§ãããŸãã匷åºãªã»ãã¥ãªãã£å¯ŸçãæœãããŠãããããŒã¿ã®ä¿è·ã確å®ã«è¡ãããšãã§ããŸãã
- ãµãŒãã¹ã®è±å¯ã
AWSã¯100以äžã®ãµãŒãã¹ãæäŸããŠããŸããããã«ãããããŒã¿ããŒã¹ãã¹ãã¬ãŒãžãåæãæ©æ¢°åŠç¿ãªã©ãå€å²ã«ãããããŒãºã«å¯Ÿå¿ããããšãå¯èœã§ãã
- ã°ããŒãã«ãªç¯å²
AWSã¯äžçäžã«åºç¯ãªãããã¯ãŒã¯ãæã£ãŠããŸãã
ããã«ãããå
šäžçã©ãããã§ããµãŒãã¹ãè¿
éã«æäŸããããšãå¯èœãšãªããŸãã
äžæ¹ã§æ§ã
ãªãªã¹ã¯ããããŸãã
ç¹ã«æ³šæãã¹ãç¹ïŒ
- åŸé課éå¶ãªã®ã§ãå©çšããªããªã£ããµãŒãã¹ã®åæ¢ãåé€ã¯ãåèªã§è¡ãå¿ èŠããããŸãã
- AWSã®ã¢ã¯ã»ã¹æ段ïŒIDããã¹ã¯ãŒããããŒæ å ±ïŒãæŒæŽ©ããªãããã«æ°ãä»ããã
EC2ãšã¯
- Elastic Compute Cloudã®ç¥ïŒCã2ã€ããããEC2ïŒ
- AWSã®ã¯ã©ãŠãäžã§ãµãŒããŒãå®è¡ããããã®ãµãŒãã¹
- EC2ã§ã¯ããã®ä»®æ³ãµãŒããŒã®ããšãããã€ã³ã¹ã¿ã³ã¹ããŸãã¯ãEC2ã€ã³ã¹ã¿ã³ã¹ããšåŒãã§ãã
EC2ã®ä»®æ³åæè¡
ãä»®æ³åïŒvirtualizationïŒããšã¯ãåäžã®ç©çãµãŒããŒäžã§è€æ°ã®ä»®æ³ãµãŒããŒãå®è¡ããæè¡ã
EC2ã®ä»®æ³åæè¡ã«ã¯ããHVMïŒããŒããŠã§ã¢ä»®æ³åæ¹åŒïŒHardware-assisted Virtual MachineïŒããšãæºä»®æ³åæ¹åŒïŒPVïŒParavirtualizationïŒãããããããå€ãã®ãªãã¬ãŒãã£ã³ã°ã·ã¹ãã ããµããŒãã§ãããããçŸåšã¯HVM圢åŒãäž»æµãšãªã£ãŠããŸãã
ããŒããŠã§ã¢ä»®æ³åæ¹åŒïŒHVMïŒ
- ä»®æ³ãã·ã³ããŸãã§æ¬ç©ã®ã³ã³ãã¥ãŒã¿ã®ããã«åäœããæ¹æ³ã
- ä»®æ³ãã·ã³èªäœã¯èªåããä»®æ³ãã§ããããšãç¥ãããçŽæ¥ããŒããŠã§ã¢ã«ã¢ã¯ã»ã¹ããŠãããšæã£ãŠåäœããŸããã€ãŸããã©ããªãªãã¬ãŒãã£ã³ã°ã·ã¹ãã ã§ããã®ãŸãŸã®åœ¢ã§ä»®æ³ãã·ã³äžã§åããããšãå¯èœã§ãã
- å šãŠãæ¬ç©ã®ããŒããŠã§ã¢ã®ããã«èŠããããã®æéãããããããããã©ãŒãã³ã¹ãå°ãèœã¡ãããšããããŸãã
æºä»®æ³åæ¹åŒïŒPVïŒ
- ä»®æ³ãã·ã³ãèªåããä»®æ³ãã§ããããšãç¥ã£ãŠåäœããæ¹æ³ã
- ä»®æ³ãã·ã³ã¯ãèªåãä»®æ³ã®äžçã«ããããšãç解ãããã¹ããšãªãæ¬ç©ã®ããŒããŠã§ã¢ãšå¹ççã«é£æºããŸãã
- ããã©ãŒãã³ã¹ã¯è¯ãã®ã§ããããªãã¬ãŒãã£ã³ã°ã·ã¹ãã èªäœãç¹å¥ã«ä¿®æ£ããªããã°ãªããªããããå šãŠã®ãªãã¬ãŒãã£ã³ã°ã·ã¹ãã ã察å¿ããŠããããã§ã¯ãããŸããã
ã€ã³ã¹ã¿ã³ã¹ã®çš®é¡
EC2ã®ããŒãã³ã°ããªã·ãŒ
EC2ã®ããŒãã³ã°ããªã·ãŒã¯ããã®ã€ã³ã¹ã¿ã³ã¹ã®æ§èœããŠãŒã¹ã±ãŒã¹ãè¡šãæ å ±ãå«ãã§ããŸãã
äŸãã°ã"t2.micro"ãšããã€ã³ã¹ã¿ã³ã¹ã¿ã€ãã¯ã"t"ãã¡ããªãŒïŒæ±çšïŒã®2äžä»£ç®ã§ã"micro"ãµã€ãºã®ãªãœãŒã¹ïŒæ¯èŒçå°ããCPUãšã¡ã¢ãªïŒãæã€ã€ã³ã¹ã¿ã³ã¹ãæããŸãã
- EC2äœææã®ç»é¢
ã€ã³ã¹ã¿ã³ã¹ãã¡ããªãŒ
ã€ã³ã¹ã¿ã³ã¹ã¿ã€ãã®äž»ãªãŠãŒã¹ã±ãŒã¹ã瀺ããŸãã
äŸãã°ã"t"ã¯æ±çšã"m"ã¯ã¡ã¢ãªæé©åã"c"ã¯èšç®æé©åã"r"ã¯ã¡ã¢ãªéçŽåã"g"ã¯ã°ã©ãã£ãã¯ã¹éçŽåã"i"ã¯I/OéçŽåããªã©ã§ãã
ã€ã³ã¹ã¿ã³ã¹äžä»£
ããŒããŠã§ã¢ã®äžä»£ãŸãã¯ããŒãžã§ã³ã瀺ããŸãã
äŸãã°ã"m5"ã¯ã¡ã¢ãªæé©åãã¡ããªãŒã®5äžä»£ç®ã®ã€ã³ã¹ã¿ã³ã¹ã¿ã€ããæããŸãã
è¿œå æ©èœ
ã€ã³ã¹ã¿ã³ã¹ãã¡ããªãŒã¯ãè¿œå ããããªãã·ã§ã³ã«ãã£ãŠããã«çŽ°ååãããŸãã
ãªãã·ã§ã³ | 説æ | ç¹åŸŽ |
---|---|---|
d | ã€ã³ã¹ã¿ã³ã¹ã¹ãã¢ãè¿œå ããã€ã³ã¹ã¿ã³ã¹ãã¡ããªãŒ | ã» ã€ã³ã¹ã¿ã³ã¹ã¹ãã¢ã¯ã€ã³ã¹ã¿ã³ã¹èªäœã«çŽæ¥ã¢ã¿ãããããäžæçãªãããã¯ã¬ãã«ã¹ãã¬ãŒãžã§ãEC2ã€ã³ã¹ã¿ã³ã¹ã®å¯¿åœãšåã ã»é«éãªI/Oæ§èœãå¿ èŠã§ãæ°žç¶çãªããŒã¿ä¿ç®¡ãå¿ èŠãªãã£ãããå¥éããŒã¿ãæ°žç¶åããæ¹æ³ãããã¯ãŒã¯ããŒãã«æé© |
n | ãããã¯ãŒã¯åž¯åå¹ ãè¿œå ããã€ã³ã¹ã¿ã³ã¹ãã¡ããªãŒ | ã» é«éãªãããã¯ãŒã¯æ§èœãå¿
èŠãªã¯ãŒã¯ããŒãã«åããŠããã ã»é«åºŠãªããŒã¿åæãåæ£ã³ã³ãã¥ãŒãã£ã³ã°ãªã©ããããã¯ãŒã¯ã®åž¯åå¹ ã«äŸåããã¢ããªã±ãŒã·ã§ã³ã«å¯ŸããŠåªããæ§èœãæäŸ |
a | AMDããã»ããµãå©çšããã€ã³ã¹ã¿ã³ã¹ãã¡ããªãŒ | ã» Intelã®Xeonããã»ããµã䜿çšããåçã®ã€ã³ã¹ã¿ã³ã¹ã«æ¯ã¹ãŠäœã³ã¹ãã§å©çšããããšãå¯èœ |
ã€ã³ã¹ã¿ã³ã¹ãµã€ãº
ã€ã³ã¹ã¿ã³ã¹ã®ãªãœãŒã¹ã®èŠæš¡ã瀺ããŸãã
ãµã€ãºã¯nanoãmicroãsmallãmediumãlargeãxlargeã2xlargeçã®ããã«ãªããŸãã
ãµã€ãºã倧ããã»ã©ããã®ã€ã³ã¹ã¿ã³ã¹ã¿ã€ãã«å²ãåœãŠãããCPUãã¡ã¢ãªãã¹ãã¬ãŒãžçã®ãªãœãŒã¹ã倧ãããªããŸãã
ãããã«
é·ããªã£ãŠããŸãã®ã§ã
次ã¯ãEC2ã®ãããã¯ãŒã¯æ§æããŸãããŸãšããŠãããããšæããŸãã
Discussion