2019-06-01ãã1ã¶æéã®è¨äºä¸è¦§
ããã«ã¡ã¯ï¼ ãµã¼ãã¼ã¯ã¼ã¯ã¹å ¥ç¤¾1å¹´ç®ã®æ¾äºã§ãï¼ å ¥ç¤¾ãã¦3ã¶æã§ç¡äºç®æ¨ã§ãã£ãäºå ãéæãããã¨ãã§ãã¾ããï¼ï¼ ã®ã§ã OJTãå§ã¾ãåã«åæ ¼ã¾ã§ã®éã®ããæ¸ãã¦ãããã¨æãã¾ãï¼ ã¾ãå ¥ç¤¾ãã¦1ã¶æã¯ãããã¯ã¼ã¯ã¨ãµã¼ãã¼ã®æ¬ãã¿ã£ã¡ãèªâ¦
CS課ä½ç«¹ã§ãã ãã¡ãã®è¨äºã¯ä»¥å2019å¹´4æ10æ¥ã«æ稿ããã¦é ãã¾ããè¨äºã[EC2]æ±äº¬ãªã¼ã¸ã§ã³ã§æ§ç¯å¯è½ãªã¤ã³ã¹ã¿ã³ã¹ã¿ã¤ãã®ã¢ãã¤ã©ããªãã£ã¼ã¾ã¼ã³å¥ä¸è¦§è¡¨ãã®æ´æ°çã¨ãªãã¾ããããããæ±äº¬ãªã¼ã¸ã§ã³ã§æ§ç¯å¯è½ãªEC2ã®ã¤ã³ã¹ã¿ã³ã¹ã¿ã¤ãã«â¦
æ¬æ¥ãããCloud Automatorã«AWSã¢ã«ã¦ã³ãã追å ããéã«ãIAMãã¼ã«ãï¼IAMãã¼ã«ã®ARNï¼ãå©ç¨ãããã¨ãã§ããããã«ãªãã¾ããã ããã¾ã§ãCloud Automatorãå©ç¨ããããã«ã¯ãAWSå´ã«ä½æãããIAMã¦ã¼ã¶ã¼ãã®èªè¨¼æ å ±ï¼ã¢ã¯ã»ã¹ãã¼IDããã³ã·ã¼ã¯â¦
6æ11æ¥ã«Î²çã¨ãã¦å ¬éãã¾ãã ã¿ã¤ãã¼ããªã¬ã¼ããã¤ã§ãå®è¡ã§ããæ©è½ ãæ¬æ¥æ£å¼çã¨ãã¦ãªãªã¼ã¹ãã¾ããï¼ æ£å¼çã«ä¼´ããã客æ§ã«ã¦ä½ãã対å¿ããã ãå¿ è¦ã¯ãããã¾ããã æ©è½ã®ãå©ç¨æ¹æ³ãä¸è¦§ã§ããæ å ±ã¯ããã¥ã¢ã«ãã¼ã¸ãã覧ãã ããã â¦
ã²ãã£ã¨ããã¨ã¿ã¤ãã«ã®ãããªãã¨ãããªãã¨ãããªãæãæ¥ãããããã¾ããã 以ä¸ã®ããã¥ã¡ã³ããåèã«ãã¾ããã Amazon S3: IAM ã¦ã¼ã¶ã¼ãèªåã® S3 ãã¼ã ãã£ã¬ã¯ããªã«ããã°ã©ã ããã³ã³ã³ã½ã¼ã«ã§ã¢ã¯ã»ã¹ãããã¨ã許å¯ãã ä¸è¨ã®IAMããªã·â¦
æè¡ä¸èª²ã®Windowsãããããã¨ãéç°ã§ãã Amazon FSx for Windowsããæ¤è¨ã®ã客æ§ãå¤ããã¨æãã®ã§ãããDirectory Serviceã®MSADãå¿ é ã¨ãªã£ã¦ããç¹ãããã¯ã¨ããã±ã¼ã¹ãå¤ãã£ãã®ã§ã¯ãªããã¨æãã¾ãã ãã®ç¹ããææ°ã®updateã«ããæ¢åã®Actâ¦
CS課ä½ç«¹ã§ãã ã¯ããã« ä½æ ãRDSãå¤éã«åæ¢ãããã®ãï¼ 1. åæ¢æ©è½ã¯æ¤è¨¼ç¨ã®ç°å¢åãã§ãã 2. åæ¢ãéå§ã«æéããããå ´åããã 3. ãã£ãã·ãã£ä¸è¶³æã«å¯¾å¿ããæ段ãéããã¦ãã ãã£ãã·ãã£ä¸è¶³ã¨ã¯ï¼ EC2ã«ããããã£ãã·ãã£ä¸è¶³å¯¾å¿ ECâ¦
ããã«ã¡ã¯ãéå®ç©ã«ç®ããªãä½è¤ã§ãã ä»æ¥ã¯ç§ã®èªçæ¥ãªã®ã§ããã°ãæ¸ããã¨ã«ãã¾ããã ãã£ãã Elastic Beanstalkã§ãããã¤ããCLBã¯ããã©ã«ãã§ã»ãã¥ãªãã£ããªã·ã¼ããELBSecurityPolicy-2016-08ããé©ç¨ããã¦ãTLS1.0 / TLS1.1 / TLS1.2ãâ¦
ããã«ã¡ã¯ãAWSã»ã¼ã«ã¹ã¨ã³ã¸ãã¢ã®å è¤ã«ãºãã§ãã ã¸ã¼ã³ãºãã¹ãã¼ã«ã¼ãé£å ·ãTã·ã£ããããéãã ãããããªããªãã管çã大å¤ãªãã®ã£ã¦ããã¾ãããã AWSã®åãªã½ã¼ã¹ã«ã使ããæ°éã«ä¸éãè¨ãããã¦ãã¾ããããã¾ã§ã¯åå¥ã«ç®¡çããå¿ è¦ããâ¦
ããã«ã¡ã¯ããµã¼ãã¼ã¯ã¼ã¯ã¹ã®ãããã®äººãåæ¬ï¼@t_sakamï¼ã§ããä»åã¯ãAlexaã®æ°ããã¹ãã«ãããããã¯ã¤ãºãããªãªã¼ã¹ããã®ã§ããã®ãç¥ããã§ãã ããããã¯ã¤ãºãã¹ãã« ååã®éãããããã«é¢ããã¯ã¤ãºãåºé¡ããã¹ãã«ã§ããæ¥æ¬äººãªããåâ¦
ãããèµ·åãã¾ããã§ããã ã¡ãªã¿ã«OSã¯Amazon Linux 2ã§ãã $ sudo systemctl status squid â squid.service Loaded: not-found (Reason: No such file or directory) Active: failed (Result: exit-code) since Wed 2019-06-19 02:38:40 UTC; 21min agoâ¦
æ¬è¨äºã§ã¯EC2ã§Red Hat Enterprise Linux(RHEL)ãç¨ãããå ´åã®AMIã®èª¿ã¹æ¹ã«ã¤ãã¦ã2019/6/18æç¹ã§ããããã£ããè¯ãããã¨ããæ¹æ³ã»çæç¹ãã«ã¤ãã¦ãæ¡å ãã¾ãã 8ç³»ãæè¿ãªãªã¼ã¹ããã¦ãEC2ã®ä½æã¦ã£ã¶ã¼ãã®ã¯ã¤ãã¯ã¹ã¿ã¼ãã§è¡¨ç¤ºãããRHEâ¦
2019/06/12ã«Amazon Personalizeã®ä¸è¬æä¾ãéå§ããã¾ããã Amazon Personalize ã®ä¸è¬æä¾éå§ã¨æ±äº¬ãªã¼ã¸ã§ã³ã©ã¦ã³ãã®ãããã ã¢ãã«(Personalizeã§ã¯ã¬ã·ãã¨å¼ã°ãã)ããã¬ã¼ãã³ã°ããã¬ã³ã¡ã³ãã¼ã·ã§ã³æ©è½ãç°¡åã«ä½æã§ããAWSãµã¼ãã¹ã§ãâ¦
æè¡ä¸èª²ã®ææã§ããAWS Client VPN ãæ±äº¬ãªã¼ã¸ã§ã³ã«ãã£ã¦ãã¾ããã®ã§ãååã®ããã°ã§ã¯è§£èª¬ããã¦ã¿ã¾ããã AWS Client VPN ãã¢ã¸ã¢ãã·ãã£ã㯠(ã ã³ãã¤) 㨠ã¢ã¸ã¢ãã·ãã£ã㯠(æ±äº¬) ã® åAWS ãªã¼ã¸ã§ã³ã§å©ç¨å¯è½ã« å æ¥ã®ããã°ã§ã¯ããâ¦
CS課ä½ç«¹ã§ãã æ¢ã«çãã¾ãåç¥ããããã¾ããããAWSã®å ¬å¼ããã°ï¼æ¥æ¬èªçã¯ãã¡ãï¼ã«ã¦è¡¨é¡ã®ä»¶ã®ã¢ãã¦ã³ã¹ãããã¾ããã®ã§ãé£çµ¡ãããã¾ããã¾ãæ¬ããã°ã§ã¯ããS3ãSigV2ãå©ç¨ãã¦ãããã©ãããã調ã¹ãããã®æ¹æ³ãåããã¦è¨è¼ãããã¾ããâ¦
CS課ä½ç«¹ã§ãã ã¯ããã« AWS ã®èªå®è©¦é¨ã«åãã£ã¦å¾ãããééçãªå©ç¹ èªåãæã£ã¦ããç¹å ¸ã®ç¢ºèªæ¹æ³ APNãã¼ã¿ã«ã«ãµã¤ã³ã¤ã³ãã¦AWSèªå®ç»é¢ã¾ã§ç§»åãã AWSèªå®ç»é¢ããç¹å ¸ã確èªãã ç¹å ¸ã³ã¼ããå©ç¨ãã¦æ¨¡æ¬è©¦é¨ãç¡æã§è³¼å ¥ãã ã¾ã¨ã è¿½è¨ â¦
æè¡ä¸èª²ã®éç°ã§ãã WorkSpacesã®æ§ç¯ãå®äºããããæ¥ç¶ã¨ããç¶æ³ã«ãªã£ãéãæ¥ç¶æé ãåãããªãã¨ãã声ãããã ãã±ã¼ã¹ãå¢ãã¦ãã¾ããã®ã§æ¬ããã°ã«ã¦æé ãã¾ã¨ãããã¨æãã¾ãã ãã¡ãã®ããã°ã§ã¯ãSimple ADãããã¯MSAD for Directory Sâ¦
æè¡ä¸èª²ã®éç°ã§ãã WorkSpacesã®æ§ç¯ãå®äºããããæ¥ç¶ã¨ããç¶æ³ã«ãªã£ãéãæ¥ç¶æé ãåãããªãã¨ãã声ãããã ãã±ã¼ã¹ãå¢ãã¦ãã¾ããã®ã§æ¬ããã°ã«ã¦æé ãã¾ã¨ãããã¨æãã¾ãã ãã¡ãã®ããã°ã§ã¯ãAD Connectorãæ³å®ããæé ãè¨è¼ãã¦â¦
æ®æ®µãå©ç¨ããã ãã¦ããã¿ã¤ãã¼ããªã¬ã¼ã¸ã§ãããè¨å®ãã¦ããæ¥ä»/ææ¥/æéã«é¢ä¿ãªãããã¤ã§ãå®è¡ã§ããæ©è½ãããβçã¨ã㦠Cloud Automator ã«è¿½å ãã¾ããã®ã§ãç¥ããè´ãã¾ãã ï¼ æ£å¼çã®ãªãªã¼ã¹ã¯2019å¹´6æä¸æ¬ãäºå®ãã¦ããã¾ã ) ã¿ã¤â¦
åãã« Amazon Connectãçµã¿åãããã·ã¹ãã éçºãããéã«ä»¥ä¸ã®ãããªå ´é¢ã«ééãããã¨ãããã¾ãã é²é³ããããªã¼ãã£ãªãã¡ã¤ã«ãèããã é²é³ãããã¹ãã¬ãªãã¡ã¤ã«ããã¥ã¢ã«ã¢ããã¡ã¤ã«ã«å¤æãããï¼â»ï¼ â»Amazon Connectã§é²é³ããããªã¼ãâ¦
æè¡ä¸èª²ã®ææã§ããAWS Client VPN ãæ±äº¬ãªã¼ã¸ã§ã³ã«ãã£ã¦ãã¾ãããAWS Client VPN ãã¢ã¸ã¢ãã·ãã£ã㯠(ã ã³ãã¤) 㨠ã¢ã¸ã¢ãã·ãã£ã㯠(æ±äº¬) ã® åAWS ãªã¼ã¸ã§ã³ã§å©ç¨å¯è½ã«ç¹ã«ã¨ã³ã¿ã¼ãã©ã¤ãºã®ã客æ§ã«ã¨ã£ã¦ã¯ã社å ã®ã·ã¹ãã ã¨ãªã¢ã¼â¦
æè¿ãã©ãããã¶ã¤ã³ã½ããªã£ãRStudioã®Amazon Linux 2ã¸ã®ã¤ã³ã¹ãã¼ã«æ¹æ³ã§ãã ã¾ããããã¨ãã£ã¦ç¹çãã¹ãæé ã¯ããã¾ããããã¡ã¢ç¨åº¦ã«æ¸ãã¦ããã¾ãã Rã¤ã³ã¹ãã¼ã« Rãã¤ã³ã¹ãã¼ã«ããªããã°å§ã¾ãã¾ããã amazon-linux-extrasãyumã§ã¤ã³â¦
ããã«ã¡ã¯ãããã¼ã¸ããµã¼ãã¹èª²ã®å°åã§ãã 2019å¹´3æãããã¡ãã®èª²ã«æå±ãå¤ããã¾ããã ä»åã¯ãEC2ã«ãã¦ã³ããã¦ããEBSã®ããã¯ã¢ãã(ã¹ãããã·ã§ãã)ãåå¾ãã¦ãããã¨ãåæã§ãããEBSããã¡ã¤ã«åä½ã§ãªã¹ãã¢ããæ¹æ³ããç´¹ä»ãã¾ãã â¦
ããã«ã¡ã¯ãæè¡ï¼èª²ãElasticsearchåå¿è ã®åã§ãã Amazon Elasticsearch Serviceã¯ãªã¼ãã³ã½ã¼ã¹ã§ããElasticsearchã®å®å ¨ããã¼ã¸ãåã®ãµã¼ãã¹ã§ãã ãã°åæãå ¨ææ¤ç´¢ã«é©ãã¦ãããè¤æ°ã®ãã°ãéç´ãã¦å¯è¦åããã®ã«æç¨ãªãµã¼ãã¹ã§ãã htâ¦
ãããã¤ã³ã¹ã¿ã³ã¹åæ¢ä¸ãããªãã¨å®è¡ã§ãã¾ãããã¨ã©ã¼ãåºã¾ãã An error occurred (IncorrectInstanceState) when calling the ModifyInstanceAttribute operation: The instance 'i-xxxxxxxxxxxxxxxxx' is not in the 'stopped' state. åæ¢ãã¦ãâ¦
ä»å¹´ãµã¼ãã¼ã¯ã¼ã¯ã¹ã«å ¥ç¤¾ããæ°åãã¡ã¸ã®Linuxç ä¿®ãæ å½ãã¾ããã ãã¡ãããå©ç¨ãããµã¼ãã¼ã¯EC2ã§ç¨æã ç ä¿®ãªãæ¤è¨¼ãªãã§ãµã¼ãã¼ãå£ãã¦ãããã«åæ§ç¯ã§ããã®ã¯ã¯ã©ã¦ãã®ã¡ãªããã§ãããã¾ãã æ°åãã¡ã«ããå£ãã¡ãã£ã¦ãããã®ã§ã©ãâ¦
ã¯ããã« ããã«ã¡ã¯ãæè¡ä¸èª²ã®å±±ä¸ã§ãã Python ã®ã¿ã¤ã ã¾ã¼ã³ã«ã¤ãã¦ãå¦ãã ãã¨ãå¿ããªãããã«ããã°ã«ã¾ã¨ãã¾ããã Python ã®çµã¿è¾¼ã¿ã¢ã¸ã¥ã¼ã«ã§ãã datetime ãå©ç¨ãã¦ç¾å¨æå»ãåå¾ããå ´åãé常以ä¸ã®ããã«è¨è¼ããã¨æãã¾ãã defâ¦
ã¯ããã« ããã«ã¡ã¯ãæè¡ä¸èª²ã®å±±ä¸ã§ãã Lambda Layers ã AWS Lambda ã§å©ç¨ããå ´åã«ããããã¤æã®ææ°ã® Layer ã常ã«å©ç¨ããããã¨ããã£ãã®ã§ãã©ã®ããã«ããã°ããã®ãèãããã¨ã以ä¸ã«è¨ãã¾ãã Lambda Layers ã®ããã㤠ç¾å¨ãLambda Lâ¦
ã¯ããã« ããã«ã¡ã¯ãæè¡ä¸èª²ã®å±±ä¸ã§ãã æè¿ã«ãªã£ã¦ã pipenv ã使ã£ã¦éçºããå§ããã®ã§ããã Pipfile ã§ç®¡çãã¦ããã©ã¤ãã©ãªã¬ã¤ã¤ã¼ã«å«ãã¦ãããã¤ããã«ã¯ã©ã®ããã«ããã°ããã§ããããã Lambda Layers ã®ãããã¤ã«å¿ è¦ãªæ§æ Lambda Lâ¦