Amazon EC2 Oracle 11g R2 ãã¤ã³ã¹ãã¼ã«ããã ï¼ãªããªãã°å ã«ãããXEãå¶éä»ããªçº ãã¹ã«å ±åããã製åã¡ããã¨å ¥ããã¨ã®äºãããæ¶ï¼ OS CentOS release 5.4 (Final) 32bit Oracle11gR2å ¥ããã®ã«ã¯ãããã¨å±±çãã ãã¤ãæ¸ãã¦ãªããã©rootã®ãã¹ã¯ã¼ãã å¤æ´ãã¦ãããªãã¨ã»ã»ã» passwd Authentication token manipulation error ãããªãã¨ã©ã¼ããï¼ï¼ï¼(æ) éæ»ã§google大å çã«help http://www.atmarkit.co.jp/flinux/rensai/linuxtips/428errpasswdcmd.html ä¸è¨ãåç §ãã¦è§£æ±º pwconv passwd yum grouplist ã§ä½ã®ã°ã«ã¼ããå ¥ã£ã¦ããããã§ãã¯ã»ã»ã» Installe
ããã«ã¡ã¯ãè¼ç°ã§ãã æ°ããWindows Server2012ã®AMIãå©ç¨ããæãIEã®æåãå¤ãã£ã¦ããã®ã§ããã®å 容ã¨è§£æ±ºæ¹æ³ãå ±æãããã¾ãã IEã§ããã®ã¢ããªãéãã¾ãããã¨è¡¨ç¤ºããã 対象ã®AMIã¯Windows_Server-2012-R2_RTM-Japanese-64Bit-Base-2017.03.15 - ami-44f77e24ã§ãã ã¹ã¿ã¼ãããIEãé¸æããã¨ãä¸è¨ã®ããã«è¡¨ç¤ºããã¾ããã ãã®ã¢ããªãéãã¾ãã ãã«ãã¤ã³ Administrator ã¢ã«ã¦ã³ãã使ã£ã¦ãInternet Explorer ãéãã¾ãããå¥ã®ã¢ã«ã¦ã³ãã§ãµã¤ã³ã¤ã³ãã¦ããç´ãã¦ä¸ããã ãã®è¡¨ç¤ºã¨ã¨ãã«ãIEã®æä½ã¯ä½ãåºæ¥ãéãããã¨ããåºæ¥ã¾ããã§ããã ããã¾ã§å©ç¨ãã¦ããWindows_Server-2012-R2_RTM-Japanese-64Bit-Base-
ä»åãAmazon Linux 2ç°å¢ã§rootããªã¥ã¼ã ä¸ã«swapé åãä½ãéã«ãå¾æ¥ã®ãã¹ãã»ãã©ã¯ãã£ã¹ã§å©ç¨ãã¦ããfallocateã¯swaponæã«ã¨ã©ã¼ãèµ·ãã¦ãã¾ããã¨ã確èªããã®ã§ã·ã§ã¢ãã¾ããæ å ±ã¨ãã¦ã¯å¤ã話ãã²ã£ã±ãåºãã¦ãã¾ãããä»å¾ãLTS(Long-Term Supportï¼ãã«ãããªãªã¼ã¹ãããã°ãAmazon Linux 2ãå©ç¨ãããã¦ã¼ã¶ã¼ãå¤ããªãã¨æãã¾ãã®ã§ããã°ã«æ¸ãã次第ã§ãã åä½ç¢ºèªç°å¢ Amazon Linux 2ã¯ç¾å¨ãRC(Release Candidate)ãªã®ã§ãLTSãã«ãã§ã¯åä½ãå¤ããå¯è½æ§ãããã¾ãã AMI IDï¼ami-c2680fa4(Amazon Linux 2 LTS Candidate AMI 2017.12.0 (HVM), SSD Volume Type) Kernelï¼4.9.76-38.79.amz
ã©ãã大ç§ã§ãã Linuxã®ã¡ã¢ãªç®¡çã§æ¬ ãããªãã®ãswapã§ããããEC2ã®ãã£ã¹ã¯ç®¡çã«ã¯ç¬ç¹ãªä»æ§ãããã®ã§ãã®è¾ºããè¸ã¾ãã¤ã¤ãEC2(Linux)ã§ã©ã®ããã«swapé åãç¨æããã®ãè¯ãã®ãã¾ã¨ãã¦ã¿ããã¨æãã¾ãã çå±ããããªããã®è§£èª¬ã«ãªãã®ã§ãå ã«æ¬ã¨ã³ããªã¼ã®çµè«ãã å ¬å¼AMIã«ã¯swapé åãå«ã¾ããªã m1.smallãc1.mediumã«ã¯900MBã®ã¹ã¯ããé åããã¾ãã§ã¤ãã¦ãã(Amazon Linux AMIã§ããã°ãCloud-initã«ãã£ã¦èªåãã¦ã³ãããã) swapé åã«ã¯ãã¤ã³ã¹ã¿ã³ã¹ã¹ãã¢(å¥åEphemeral Disk)ã使ãã¹ã ã§ã¯ãããããè¦ã¦ããã¾ãã å ¬å¼Linux AMIã®åææ§æã«ã¯swapãã¼ãã£ã·ã§ã³ãç¡ã Amazonããæä¾ãããå ¬å¼ã®Linux AMIã®ãã¼ããã£ã¹ã¯ã«ã¯ãswapãã¼ãã£ã·ã§ã³ãå«ã¾ãã¦ã
Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? ã©ãããironåèã§ãã Auto Scalingã«ã¤ãã¦ãã¦ã¼ã¶ã¬ã¤ããè¦ã¦ãã¤ã³ããã¾ã¨ãã¾ããã ãã¤ã³ãã ã確èªããã人ããã£ã¨å ¨ä½ãè¦ãã人ã«ããããã§ãã Auto Scalingã¨ã¯ ã¤ã³ã¹ã¿ã³ã¹ã®æ°ãèªåã§å¢æ¸ã§ãã ã¤ã³ã¹ã¿ã³ã¹ã®æ°ã¯æå°ãæ大ãæå®ãã å¢æ¸ã®ããªã¬ã¼ã¯CloudWatchã®ã¡ããªãã¯ã¹ãæå®ã§ãã å¢æ¸ã®ããªã¬ã¼ã¯æéãæå®ã§ãã Auto Scalingã®ã³ã³ãã¼ãã³ã Auto Scaling Groups ãªã¼ãã¹ã±ã¼ã«å¯¾è±¡ã®EC2ã¤ã³ã¹ã¿ã³ã¹ã°ã«ã¼ãã®ç®¡çåä½ EC2ã¤ã³ã¹ã¿ã³ã¹ã®æå°æ°ã
æè¿ãElastic BeanstalkãECSã¨æ¦ã£ã¦ããSREãã¼ã ã®è åã§ãã P5ãããããã®ã«PS3ãPS4ãæã£ã¦ããªãã®ã§æããããã¦ç¾¨ã¾ããã£ã¦ããæ¯æ¥ã§ãã ãã®è¨äºã§ã¯ãçªç¶ã®ã¢ã¯ã»ã¹å¢ã«åããããã«ãMySQLã®ã¹ã¬ã¼ããï¼ãï¼æéã§ã¹ã±ã¼ã«ã¢ã¦ãã§ããããã«ãã話ãæ¸ãã¾ãã MySQL on EC2 ã¯ãã¯ãããã¯å¨ç¥ã®éãAWSãå©ç¨ãã¦ãã¾ããã主è¦ãªãã¼ã¿ã¼ãã¼ã¹ã«ã¤ãã¦ã¯Amazon RDSã§ã¯ãªãMySQL on EC2ã使ã£ã¦ãã¾ãã ããã¯ä»¥ä¸ã®ãããªçç±ã«ãããã®ã§ãã æ´å²çãªçµç·¯: AWS移è¡å½æãRDSãç¡ãã£ããã¾ãã移è¡å¾ããã°ããã¯Tritonnã使ã£ã¦ãããããRDSã使ããã¨ãã§ããªãã£ã ãªã³ã©ã¤ã³ã¡ã³ããã³ã¹ã®å®ç¾: VPCã«ã¼ããã¼ãã«ã使ã£ãä»®æ³IPã¨MHA for MySQLã使ã£ã¦ãã¦ã³ã¿ã¤ã ã¼ãã®ãã¹ã¿DBã®åãæ¿ãã
ãµã¼ã AWSç°å¢ã§ELBï¼ãã¼ããã©ã³ãµã¼ï¼ã¨EC2ãµã¼ãã§apacheã使ã£ã¦ããå ´åã«httpããhttpsã«ãªãã¤ã¬ã¯ãããæ¹æ³ æ¦è¦ ã¿ãªããããã«ã¡ã¯candleã§ããä»åã¯ããã¢ãã¯ãªè¨äºã§ãããæããã¹ã¿ã¼ãã¢ããä¼æ¥ãªã©ã§ã¯ããã¨ä½¿ãå 容ã ã¨æãã®ã§ã¾ã¨ãã¦ããã¾ãã ãã®æ¹æ³ãå ¨ã¦ã®ãµã¼ãã¹ä¸ã§ãã¹ããªããæ¹ãªã®ãã©ããã¯æ£ç´åããã¾ãããç´¹ä»ããå 容ã¯ãªãã¤ã¬ã¯ããããï¼ã¤ã®ããæ¹ã§ãã ä¸ã®ãããªAWSç°å¢ã§ãªãã¤ã¬ã¯ããè¡ãããã¨æãã¾ãã ãã®ç°å¢ã§ã¯ELBã¨ã¦ã¼ã¶ã¼éã§httpséä¿¡ãããäºã§ãããããã®EC2ãµã¼ãã«SSLã®è¨å®ãããªãã¦ãã¿ã¾ãããµã¼ãã¨ELBéã§ã¯httpéä¿¡ããã¦ãã¾ãã ä»åã¯ELBã«SSLã®è¨å®ãããæ¹æ³ã¯èª¬æãã¾ããããã§ã«ãELBã«SSLã®ç»é²ãããã¦ããäºãåæã«ãªãã¾ãã ãã®ä¸ã§ãhttpããhttpsã¸ãªãã¤ã¬ã¯ãããã
AWS Elastic Load Balancer 㧠HTTPSï¼SSLï¼éä¿¡ãè¡ãããã®æºåãè¨å®ã«ã¤ãã¦ã®ã¡ã¢ãç®æ¨ã¨ãããµã¼ãã¼ç°å¢ã®ã¤ã¡ã¼ã¸ã¯ä¸è¨ã®éãã Web ã¢ããªã±ã¼ã·ã§ã³ãµã¼ãã¼ã Amazon EC2 ä¸ã«ãApache ã§æ§ç¯ãã è² è·åæ£ã¨ã㦠Elastic Load Balancer ã使ã ã¯ã©ã¤ã¢ã³ãã¨ã¢ããªã±ã¼ã·ã§ã³ã®é㯠HTTPSï¼SSLï¼ã§éä¿¡ãã Elastic Load Balancer ã®è¨å® - Listener Configuration Elastic Load Balancerï¼ä»¥ä¸ãELBï¼ã¨ã¯ï¼ Elastic Load Balancing - Amazon Web Services ELB ã®ä¸è¬çãªè¨å®æ¹æ³ã¯ãä¸è¨ã®è¨äºãåèã«ãªã£ãã Amaon EC2ãELBè¨å®ç·¨ã | ãã¬ã³ã AWSã¬ã·ã ä»åãã¯ã©ã¤ã¢ã³ãã¨ã¢ããªã±
AWS ã¢ã«ã¦ã³ããè¤æ°äººã§ä½¿ã£ã¦ã·ã¹ãã ãä½ã£ã¦ããæã«ã ã»ãã¥ãªãã£ã®é¢ããããã¹ããã¨ã«ã¤ãã¦ã 主㫠Web ã¢ããªã±ã¼ã·ã§ã³ãæ³å®ããå 容ã§ãããç¹ã«æ¸ãã¦ãããã¨ã¯ç¹æ®ã§ã¯ãªãã¨æãã¾ãã åæã® Blog ã«ãè¨äºæ¸ããã¦ã¾ããæã£ã¦ãããã¨ãã¤ãã¤ãã¨æ¸ãã¦ã¿ã¾ãã ãªããå¤ãªãã¨è¨ã£ã¦ãããææãã ããã åè: AWSã®ã»ãã¥ãªãã£ãæ°ã«ãªããªãèªãã§ããã¹ãAWSã»ãã¥ãªãã£ã®ãã¹ããã©ã¯ãã£ã¹ - yoshidashingo ã¯ããã« (AWS ã¢ã«ã¦ã³ã㨠IAM ã¦ã¼ã¶) åæã¨ãããç¨èªã®è©±ã AWS ã¢ã«ã¦ã³ã ã¢ã«ã¦ã³ãä½ææã®ã¡ã¼ã«ã¢ãã¬ã¹ããã¹ã¯ã¼ãã§ãã°ã¤ã³ãã¦ä½¿ãã¦ã¼ã¶ IAM ã¦ã¼ã¶ AWS ã¢ã«ã¦ã³ãããçºè¡ã§ãããã¦ã¼ã¶åã¨ãã¹ã¯ã¼ãã§ãã°ã¤ã³ãã¦ä½¿ãã¦ã¼ã¶ AWS ã¢ã«ã¦ã³ãå¨ã AWS ã¢ã«ã¦ã³ã (ã«ã¼ãã¦ã¼ã¶) ã§ä½æ¥ã§ããªãããã«
ã¡ã³ããã³ã¹
ãç¥ãã
é害
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}