EC2ï¼microã¤ã³ã¹ã¿ã³ã¹ã®CPUãã¸ã¼ãã¨ããã話
ãã§ã«ãæ°ã¥ãã®æ¹ãå¤ãã¨æããã¾ããã
microã¤ã³ã¹ã¿ã³ã¹ã£ã¦CPUå¼±ãã§ãããã¼ã
ã§ãã以ä¸ãè¦ãã¨
ãã¹ã¢ã¼ã«ã¤ã³ã¹ã¿ã³ã¹ã¨åçããããã¯ããã¼ã¹ãã¨ããããããããéããªãããããï¼ã
ã¨åéãããã¡ã
ã¹ã¢ã¼ã« ã¤ã³ã¹ã¿ã³ã¹ï¼ããã©ã«ãï¼
http://aws.amazon.com/jp/ec2/instance-types/
1 EC2 Compute Unit (1 EC2 Compute Unitãæãã1ä»®æ³ã³ã¢)
ãã¤ã¯ãã¤ã³ã¹ã¿ã³ã¹
æ大2 EC2 Compute Units (çæã®å®æçãªãã¼ã¹ã)
ããããããããã«
ãã¤ã¯ãã¤ã³ã¹ã¿ã³ã¹ã®CPUã¯ã¹ã¢ã¼ã«ã¤ã³ã¹ã¿ã³ã¹ããé
ã
ã§ãã
ç¹ã«ãCPUãé·æéå æããmakeãªã©ã¯ããªãé¡èã«éããåºã¾ãã
ããã«ããè¦ãã¨ä»¥ä¸ã®ãããªãã¨ãæ¸ãã¦ããã¾ããã
ãã¤ã¯ãã¤ã³ã¹ã¿ã³ã¹ã¯ãå°éã®æ´åæ§ã®ããCPUãªã½ã¼ã¹ãæä¾ããä»ã®ãµã¤ã¯ã«ãå¯è½ã«ãªãã¨ãCPU容éããã¼ã¹ãã§ãã¾ããå®æçã«ããªãã®è¨ç®ãµã¤ã¯ã«ãæ¶è²»ãããå°éã®ã¹ã«ã¼ãããã¢ããªã±ã¼ã·ã§ã³ãã¦ã§ããµã¤ãã«æé©ã§ãããã¤ã¯ãã³ã¹ã¿ã³ã¹ã¯ãå®å¸¸ç¶æ ã§ã¯ãã¹ã¢ã¼ã«ã¤ã³ã¹ã¿ã³ã¹ãå®è¡ããã³ã³ãã¥ã¼ããªã½ã¼ã¹ã®ä¸é¨ãåãåãã¾ãããããã£ã¦ãè«å¤§ãªè¨ç®éãå®å¸¸ç¶æ ãå¿ è¦ã¨ããã¢ããªã±ã¼ã·ã§ã³ã«ã¯ãã¹ã¢ã¼ã« ã¤ã³ã¹ã¿ã³ã¹ï¼ã¾ãã¯ãå¿ è¦ã«å¿ãã¦ãã大ãããã®ï¼ã®ä½¿ç¨ããå§ããã¾ããããããã¤ã¯ã ã¤ã³ã¹ã¿ã³ã¹ã¯ã2 ECU ã¾ã§å®æçã«ãã¼ã¹ããããã¨ãã§ãã¾ã ï¼çæéï¼ãããã¯ãã¹ã¿ã³ãã¼ã ã¹ã¢ã¼ã« ã¤ã³ã¹ã¿ã³ã¹ã§å©ç¨å¯è½ãª ECU ã®2åã«ç¸å½ãã¾ãããããã£ã¦ãææèããã³ã³ãã¥ã¼ããµã¤ã¯ã«ã®æ¶è²»ãå¿ è¦ã¨ããæ¯è¼çä½ãã¹ã«ã¼ãããã®ã¢ããªã±ã¼ã·ã§ã³ãã¦ã§ããµã¤ãã«ã¯ããã¤ã¯ã ã¤ã³ã¹ã¿ã³ã¹ã®ä½¿ç¨ããå§ããã¾ãã
http://aws.amazon.com/jp/ec2/instance-types/
ã»ã»ã¼ããã¤ã¯ãã¤ã³ã¹ã¿ã³ã¹ã®CPUãªã½ã¼ã¹ã¯
ã¹ã¢ã¼ã«ã¤ã³ã¹ã¿ã³ã¹ãå®è¡ããã³ã³ãã¥ã¼ã¿ãªã½ã¼ã¹ã®ä¸é¨ãåãåãã
ã¨æ¸ãã¦ããã¾ããã
ã©ãããã®ããããæªããã
ã©ã®ãããæ§è½ãéãã®ã
試ãã¦ã¿ã¾ããã*1
ã¨ããã¤ã³ã¹ã¿ã³ã¹ã«muninã¨ã¼ã¸ã§ã³ããç½®ãã¦ãï¼å°ã®ãµã¼ããç£è¦ãã¦ãã¾ãã*2
muninã¯ããã©ã«ãã§5åããã«éçã«ã°ã©ããçæãã¾ããããã®æã«è² è·ãé«ããªã£ã¦ããããã§ã*3ã
CPUã°ã©ãã¯ä»¥ä¸ã®ããã«ãªãã¾ããã
å·¦å´ãmicroã¤ã³ã¹ã¿ã³ã¹ã§å®è¡ãã¦ããæã
å³ç«¯ã®ã»ãã¯éä¸ã§smallã¤ã³ã¹ã¿ã³ã¹ã«å¤æ´ããã¨ãã®ã°ã©ãã§ãã
microã¤ã³ã¹ã¿ã³ã¹ã«ã¯è¡ã®é¨ãâ¦ï¼
ãã®èµ¤ãé¨åã¯stealã¨ããå¤ã
ã²ã¹ãOSãããªã½ã¼ã¹ãããããã¨ãã£ã¦ãã®ã«ãã¹ãOSãããããããããã£ã¦è¨ã£ã¦ãå²åãããã§ãã
http://www.atmarkit.co.jp/flinux/rensai/xen05/xen05b.html
ã¡ãªã¿ã«LoadAverageã¯ãããªæãã
åããmicroã¤ã³ã¹ã¿ã³ã¹ï¼å·¦å´ï¼ã¨smallã¤ã³ã¹ã¿ã³ã¹ï¼å³å´ï¼ã*4
10åãããéãã¾ããã
çµè«
CPU使ããµã¼ãã«microã¤ã³ã¹ã¿ã³ã¹ã¯ã¾ã£ãããã£ã¦ä½¿ãã¾ããï¼ï¼
ç´ ç´ã«small以ä¸ã®ã¤ã³ã¹ã¿ã³ã¹ã使ã£ã¦ããã¾ããã