2022-08-01ãã1ã¶æéã®è¨äºä¸è¦§
ãã£ã¡ãå°ãã¿ã ãç¥ã£ã¦ããã£ã¦äººãå¤ãããªè©±é¡ãªã®ã ãã©ãCDKã§EC2建ç«ããã¨ãã« addUserData ã§ãªããããã®ã便å©ã ä¾ãã°ãPerlã®ææ°çãã¤ã³ã¹ãã¼ã«ãããã¨ãã¯ä»¥ä¸ã¿ãããªæãã§xbuildã使ã£ã¦éæã§ããã const bastion = new ec2.Bastioâ¦
ã¤ãæè¿ãã¯ã¦ãªããã°ã®è¦åºã(h1ããh6ã¾ã§ã®ã¿ã°)ã«idå±æ§ãä»ä¸ãããããã«ãªã£ãã staff.hatenablog.com ã¨ãããã¨ã¯ãè¦åºãã¸ã®ãªã³ã¯ãä½ã£ã¦å ±æã§ããããã æ®éã«æ®ããã¦ããã¨ããã®ãªã³ã¯ãçæããããã«Developer Toolsã表示ãã¦è¦åºãâ¦
AWSã¢ã«ã¦ã³ããçµç¹ã§ç®¡çãã¦ããã¨è¤æ°ã¢ã«ã¦ã³ãå©ç¨ããã±ã¼ã¹ã¯å¤ããã¨æããå¥ã®ã¢ã«ã¦ã³ãã«åãæ¿ããã«ã¯ãWebã³ã³ã½ã¼ã«ããSwitch Roleããã°ãããããã¦ä»¥ä¸ã®ããã« $HOME/.aws/config 㨠$HOME/.aws/credentials ãè¨å®ããã°AWS CLIãããâ¦
ã¡ãã£ã¨åã®è©±ã ãã©ã社å ã®ISUCONç·´ç¿ä¼ã§ç¹å®ã®ã¨ã³ããã¤ã³ããéãã®ããªãã¨ããããã¨ãã¦ããããã®ã¨ã³ããã¤ã³ãã¯ãã£ãã·ã¥ãã¦åé¡ãªãã®ã§æ®æ®µã¯ãã£ãã·ã¥ããè¿ãã¦1ç§ããã«ãªãã¬ãã·ã¥ããããRedisãªã©ã«å ¥ãã¦TTLãæå®ãã¦ãã£ãã·ã¥â¦