AWS ã® Fargate ã®ãã¼ããã©ã³ãµã¼ã®è¨å®ã§ãã¡ããã¡ãããã£ã
AWS ã®Fargate ã§ãã¡ããã¡ãããã£ã
çµè«ããããã¨åããªãåå ã¯ããã¼ããã©ã³ãµã¼ã®ã¿ã¼ã²ããã®ç¨®é¡ã¯ipã§ããå¿ è¦ããã£ãã
ããã¯å
¬å¼ããã¥ã¡ã³ãã«ãå½ç¶æ¸ãã¦ãã
https://docs.aws.amazon.com/ja_jp/AmazonECS/latest/developerguide/AWS_Fargate.html
awsvpc ãããã¯ã¼ã¯ã¢ã¼ãã使ç¨ããã¿ã¹ã¯ãå«ããµã¼ãã¹ (ä¾: èµ·åã¿ã¤ãã Fargate ã®ãµã¼ãã¹) ã§ã¯ ... ã¿ã¼ã²ããã¿ã¤ãã¨ã㦠instance ã§ã¯ãªããip ãé¸æããå¿ è¦ãããã¾ãã
ãã®åé¡ã«ããããã¤ã³ãã¯ï¼ã¤ãã£ã¦ã
- ã¿ã¼ã²ããã®ç¨®é¡ã®ããã©ã«ã㯠instance ãªã®ã§ãç¹ã«ä½ãèããã«è¨å®ãã㨠instance ã«ãªã£ã¦ãã¾ã
- ãµã¼ãã¹ã Fargate ã§æ§ç¯ããæãã¿ã¼ã²ããã°ã«ã¼ãã instance ã®ãã¼ããã©ã³ãµã¼ãé¸æã§ãã¦ãã¾ã
ã¨ãããåé¡ããããç¹ã«äºçªç®ã¯æ¤åºãã¦è¦åãªãåºãã¦ã»ããã
ã¡ããã£ã¨ããã£ãã¨ãã
ãã¼ããã©ã³ãµã¼ã®ã¢ãã¤ã©ããªãã£ãã¾ã¼ã³ã¯ããµã¼ãã¹ã¨åããã
ããã¨
ãã
ãã«ã¹ãã§ãã¯ã®ãã¹ã¯ã¡ããã¨å¿çããã¨ããã«ãã(404ã¨ãããã ã)
ã¤ã¾ãå½ããåãããããªããã©ãFargate ã¯HTTP(S)ãµã¼ãã¼ãããªãã¨ã ãã
ãããªãã¯IP ã®èªåå²å½ã¯ ENABLED ã®ã»ããè¯ãããã
ãµã¼ãã¹ãã³ã³ããããä½ãåæã§ãdocker pull ããããã«ã¯ public ip ãå¿
è¦ã ã¨æãããã®ã§ãã§ããããããã VPC å
ãã docker pull ã§ããã° public ip å¿
è¦ãªãæ°ããããã»ãã¥ãªãã£çã«ã¢ã¯ã»ã¹ã§ããªãã»ãããããã
ã©ããã¦ãåããªãã¨ãã¯
å
¬å¼ã®ãã¥ã¼ããªã¢ã«ã«ãã£ã¦åããã°ã¨ããããåãã¨æãã®ã§ãåããã®ã¨åããªããã®ãæ¯è¼ãã¦èããããå
¬å¼ã®ããã¥ã¡ã³ããï¼ããèªãã®ãããã¨æã(åããªãã¨ãã«ã°ã°ãã®ãé£ãã)
https://ap-northeast-1.console.aws.amazon.com/ecs/home?region=ap-northeast-1#/firstRun