- ã¯ããã«
- FSx for Windows File Serverã«ãããWindowsèªè¨¼ã«ã¤ãã¦
- æ¤è¨¼ã®ãªãã
- æ§æå³
- äºåæºå
- ãã£ããã¨
- ãããã«
ã¯ããã«
ããã«ã¡ã¯ãSA1課ã®é¿é¨ã§ãã
ä»åã¯ãFSx for Windows File Serverã®æ§ç¯æã«ãFSxã®Windowsèªè¨¼ãèªå·±ç®¡çåADã§è¡ãå¿
è¦ããã£ããããäºåã«æ¤è¨¼ããè¨å®æé ã«ã¤ãã¦ãç´¹ä»ãããã¾ãã
FSx for Windows File Serverã«ãããWindowsèªè¨¼ã«ã¤ãã¦
FSx for Windows File Serverãæ§ç¯ããéã¯ãMicrosoft Active Directoryã¨ã®é£æºãè¡ãå¿
è¦ãããã¾ãã
Active Directoryã¨é£æºãããã¨ã§ããã¡ã¤ã«ã·ã¹ãã ã«ã¢ã¯ã»ã¹ããã¦ã¼ã¶ã¼ã®èªè¨¼ãããã¡ã¤ã«ã»ãã©ã«ãã¬ãã«ã§ã®ã¢ã¯ã»ã¹å¶å¾¡ãå®ç¾ãã¦ããããã§ãã
é£æºæ¹æ³ã¯ä»¥ä¸ã®ï¼éããåå¨ãã¾ãã
- AWS Managed Microsoft Active Directory
- èªå·±ç®¡çå Microsoft Active Directory
AWS Managed Microsoft Active Directory
ãã¡ãã¯ååã®éããAWSã®Directory Serviceãç¨ãã¦ä½æããActive Directoryã¨é£æºãããã¿ã¼ã³ã§ãã
詳細ã¯ä»¥ä¸ã®ããã¥ã¡ã³ããåç
§ãã¦ãã ããã
èªå·±ç®¡çå Microsoft Active Directory
ãã¡ãã¯ãæ¢ã«ãªã³ãã¬ä¸ã«åå¨ããActive Directoryããã¯ã©ã¦ãä¸ã«åå¨ããActive Directory(EC2ä¸ã«ADæ§ç¯ç)ã¨é£æºãããã¿ã¼ã³ã«ãªãã¾ãã
詳細ã¯ä»¥ä¸ã®ããã¥ã¡ã³ããåç
§ãã¦ãã ããã
æ¤è¨¼ã®ãªãã
æ¬æé ã§ã¯ããªã³ãã¬ç°å¢ã«è¦ç«ã¦ããããã¯ã¼ã¯ãAWSä¸ã«æ§ç¯ãããã®ä¸ã«Active Directoryç¨ãµã¼ãã¼ãæ§ç¯ãã¦æ¤è¨¼ãè¡ãã¾ããã
ã¾ããä»åã®æé ã§ããã°ãªã³ãã¬âã¯ã©ã¦ãéã®æ¥ç¶ã¯VPCãã¢ãªã³ã°ã§ãååã§ããããªãã¹ãæ¬çªã«åãããããTransit Gatewayã§æ¥ç¶ãã¾ãã
å
·ä½çã«ã¯ä»¥ä¸ã®æµãã«ãªãã¾ãã
- ãªã³ãã¬ç¨VPCãæ§ç¯
- ã¯ã©ã¦ãç¨VPCãæ§ç¯
- ãªã³ãã¬ç¨VPCã«AD(EC2)ãæ§ç¯
- ãªã³ãã¬âã¯ã©ã¦ãéãTransit Gatewayã§æ¥ç¶
- ã¯ã©ã¦ãç¨VPCã«FSx for Windows File Serverãæ§ç¯
- åä½ç¢ºèª
æ§æå³
æ¬æé ã§ã¯ã以ä¸ã®æ§æã§æ¤è¨¼ãè¡ãã¾ãã
äºåæºå
以ä¸ã®é¨åã«ã¤ãã¦ã¯äºåã«å¯¾å¿æ¸ã¿ã¨ããæ¬è¨äºã§ã¯åãä¸ãã¾ããã
- ãªã³ãã¬ç¨VPCãæ§ç¯
ã¯ã©ã¦ãç¨VPCãæ§ç¯
ãªã³ãã¬âã¯ã©ã¦ãéãTransit Gatewayã§æ¥ç¶
EC2ã®ä½æ
- SSMçµç±ã§ã®EC2æ¥ç¶
ãã£ããã¨
ãªã³ãã¬ç¨VPCã«AD(EC2)ãæ§ç¯
ADåæè¨å®
ã¾ãã¯äºåã«ä½æããEC2(Windows Server2022)ã¸RDPæ¥ç¶ãã¾ãã
ããµã¼ãã¼ããã¼ã¸ã£ã¼ããããå½¹å²ã¨æ©è½ã®è¿½å ããé¸æããADæ©è½ã®ã¤ã³ã¹ãã¼ã«ãè¡ãã¾ãã
ã¤ã³ã¹ãã¼ã«ããå½¹å²ã¯ãActive Directory Domain Serviceããé¸æãã¦ãã ããã
以ä¸ã®ãããªç»é¢ã«ãªãã°ã¤ã³ã¹ãã¼ã«å®äºã§ãã
次ã«ãã¡ã¤ã³ã³ã³ããã¼ã©ã¼ã®è¨å®ããã¾ããå³ä¸ã®éç¥ãã¼ã¯ãã¯ãªãã¯ãã¾ãã
ããã®ãµã¼ãã¼ããã¡ã¤ã³ã³ã³ããã¼ã©ã¼ã«ææ ¼ããããã¯ãªãã¯ãã¾ãã
ããã¨ãæ°ãã«ã¦ã£ã¶ã¼ããèµ·åãã¾ãã®ã§ãã«ã¼ããã¡ã¤ã³ãªã©ãæ§æãã¦ããã¾ãã
ãã¡ã¤ã³ã³ã³ããã¼ã©ã¼ã®è¨å®ãå®äºãã¾ããã
FSxç¨ãµã¼ãã¹ã¢ã«ã¦ã³ãã®ä½æ
è¨å®ã«ãããã以ä¸ã®è¨äºãåèã«ãã¾ããã
FSxç¨ã®OUãä½æãã¾ãã
ä»åã¯ãFSxãã¨ããOUãæ°è¦ã§ä½æãã¾ããã
次ã«æ¨©éå§ä»»ç¨ã¦ã¼ã¶ã¼ãä½æãã¾ãã
ãFSxãOUé ä¸ã«ãFSxServiceAccountãã¨ããã¦ã¼ã¶ã¼ãä½æãã¾ããã
ç¶ãã¦ãã°ã«ã¼ããä½æãã¾ãã
ãFSxãOUé ä¸ã«ãFSxGroupãã¨ããã°ã«ã¼ããä½æãã¾ããã
ä½æããã°ã«ã¼ããFSxGroupãã«ãµã¼ãã¹ã¢ã«ã¦ã³ããFSxServiceAccountãã追å ãã¦ãã ããã
å¶å¾¡ã®å§ä»»è¨å®
ãFSxãOUã«ãã¦ã¹ã«ã¼ã½ã«ãããããç¶æ ã§å³ã¯ãªãã¯ãããå¶å¾¡ã®å§ä»»ããã¯ãªãã¯ãã¾ãã
ãã¦ã¼ã¶ã¼ãã³ã³ãã¥ã¼ã¿ã¼ã¾ãã¯ã°ã«ã¼ããç»é¢ã§ãå ç¨ä½æããã°ã«ã¼ããFSxFroupãã追å ãã¾ãã
ãå§ä»»ããã¿ã¹ã¯ãç»é¢ã§ãå§ä»»ããã«ã¹ã¿ã ã¿ã¹ã¯ãä½æããããé¸æãã¦æ¬¡ã¸é²ã¿ã¾ãã
ããã©ã«ãã¼å ã®æ¬¡ã®ãªãã¸ã§ã¯ãã®ã¿ããé¸æãã以ä¸ï¼ç®æã«ãã§ãã¯ãä»ãã¾ãã
ç¶ãã¢ã¯ã»ã¹è¨±å¯ã®è¨å®ç»é¢ã§ã¯ããå ¨è¬ããé¸æããç¶æ ã§ä»¥ä¸ï¼ã¤ã«ãã§ãã¯ãä»ãã¾ãã
ããã§å¶å¾¡ã®å§ä»»è¨å®ãå®äºãã¾ããã
ãªã³ãã¬âã¯ã©ã¦ãéãTransit Gatewayã§æ¥ç¶
æ¤è¨¼ã§ã¯VPCå士ãæ¥ç¶ãã¦ãã¾ãããæ¬çªã§ã¯Direct Connectãçµç±ãã¦ãªã³ãã¬ã«æ¥ç¶ããå¿
è¦ããããããæ¬æé ã§ã¯è©³ãã解説ãã¾ããã
ããåãããã«æ¤è¨¼ããããæ¹ã¯ã以ä¸ã®è¨äºãåèã«æ¥ç¶ãã¦ããã ããã°ã¨æãã¾ãã
ã¯ã©ã¦ãç¨VPCã«FSx for Windows File Serverãæ§ç¯
FSxç¨ã®ã»ãã¥ãªãã£ã°ã«ã¼ãä½æ
以ä¸ã®å ¬å¼ããã¥ã¡ã³ããå ã«FSxã«ã¢ã¿ããããã»ãã¥ãªãã£ã°ã«ã¼ããä½æãã¾ãã
FSx for Windows File Serverãä½æ
ããã¼ã¸ã¡ã³ãã³ã³ã½ã¼ã«ããããã¡ã¤ã«ã·ã¹ãã ã®ä½æããã¯ãªãã¯ãã¾ãã
ä»åã¯æ¤è¨¼ã®ãããã·ã³ã°ã«AZã§æ§æãã¾ãã
ãWindowsèªè¨¼ãã®é ç®ã§ããèªå·±ç®¡çå Microsoft Active Directoryããé¸æããå¿ è¦ãªæ å ±ãå ¥åãã¾ãã
ããããã¯ã¼ã¯ã¨ã»ãã¥ãªãã£ãã®é ç®ã§ãåé ã§ä½æããFSxç¨ã®ã»ãã¥ãªãã£ã°ã«ã¼ããå²ãå½ã¦ã¾ãã
æå¾ã®ç¢ºèªç»é¢ã§åé¡ãªããã°ãä½æããã¯ãªãã¯ãã¾ãã
ä½æå¦çãéå§ãããã¨ãã³ã³ã½ã¼ã«ä¸ã§ä»¥ä¸ã®è¡¨ç¤ºã«ãªãã¾ãã
30åã40åãããçµéãã¦ãã¹ãã¼ã¿ã¹æ¬ããå©ç¨å¯è½ãã«å¤ããã°ä½æå®äºã§ãã
FSxã®ä½æãå®äºããã¨ãADä¸ã§ãFSxãã³ã³ãã¥ã¼ã¿ã¼ãªãã¸ã§ã¯ãã¨ãã¦è¡¨ç¤ºãããããã«ãªãã¾ãã
åä½ç¢ºèª
ADãµã¼ãã¼ããFSx for Windows File Serverã¸ãã¦ã³ã
FSxã³ã³ã½ã¼ã«ãããæ§ç¯ãããã¡ã¤ã«ã·ã¹ãã ãé¸æããã¢ã¿ãããã¿ã³ãã¯ãªãã¯ãã¾ãã
以ä¸ã®ããã«ããã¡ã¤ã«ã·ã¹ãã ã¸ã®ãã¦ã³ãæ¹æ³ã«ã¤ãã¦ã®è¡¨ç¤ºãããã¾ãã
åææé ã«ã¤ãã¦ã¯æ¢ã«å®æ½æ¸ã¿ã®ããããã¢ã¿ããæé ã以éã®æä½ãå®æ½ãã¾ãã
æé ã¨ãã¦ã¯ããã¦ã³ãç¨ã®ã³ãã³ããã³ã³ã½ã¼ã«ä¸ã«è¡¨ç¤ºãããã®ã§ãããããã¦ã³ããããPCä¸ã§å®è¡ããã ãã§ããWindowsä¸ã§ã³ãã³ãããã³ãããèµ·åããã³ãã³ããå®è¡ãã¾ãããThe Command completed successfully.ãã¨è¡¨ç¤ºãããã°ãã¦ã³ãå®äºã§ãã
ãã¦ã³ããå®äºããã¨ãã¨ã¯ã¹ããã¼ã©ã¼ä¸ã§ããããã¯ã¼ã¯ãã©ã¤ãã¨ãã¦èªèããã¦ãããã¨ã確èªã§ãã¾ãã
試ãã«ãã©ã«ããä½æããããããã¹ããã¡ã¤ã«ãä½æãã¦ã¿ã¦ãåé¡ãªãæä½ã§ãããã¨ã確èªã§ããã°æé ã¯å®äºã§ãã
ãããã«
ãããã§ããã§ããããï¼
ä»åã®æ¤è¨¼ã§ãFSx for Windows File Serverã®æ§ç¯åã«ãªã³ãã¬ADã§å®æ½ãã¹ãè¨å®ããæ§ç¯å¾ã®ãã¦ã³ãæ¹æ³ãªã©ãå¦ã¶ãã¨ãã§ãã¾ããã
ãã®è¨äºãçæ§ã®ãå½¹ã«ç«ã¦ãã°å¹¸ãã§ãã
é¿é¨ä¼ç¹(å·çè¨äºã®ä¸è¦§)
ã¤ã³ãã©ã¨ã³ã¸ãã¢ããã¯ã©ã¦ãã¨ã³ã¸ãã¢ã¸è»¢è·ã