2022-05-01ãã1ã¶æéã®è¨äºä¸è¦§
ã¯ã©ã¦ãã¤ã³ãã°ã¬ã¼ã·ã§ã³2é¨æè¡3課ã®å±±ä¸ã§ãã Network Load Balancerï¼ä»¥ä¸ãNLBï¼ããã¾ã使ã£ããã¨ããªãã£ãã®ã§ã ä»åãæ¹ãã¦ãå¿ è¦ãªè¨å®ãåä½ã«ã¤ãã¦ç¢ºèªãã¦ã¿ã¾ããã ï¼åæï¼ä»åã®æ§æã¨è¨å® ã¯ããã«çµè« EC2ããã¯ã©ã¤ã¢ã³ãPCã¸éâ¦
ã³ã¼ãã¼ã好ããªæ¨è°·æ è¦ã§ãã 2022å¹´5æ27æ¥ãAWS Systems Managerï¼ä»¥éãSSM ã¨è¡¨è¨ï¼ã®ã»ãã·ã§ã³ããã¼ã¸ã£ã¼ã§ãªã¢ã¼ããã¹ãã¸ã®ãã¼ããã©ã¯ã¼ãæ©è½ããµãã¼ãããã¢ãããã¼ããããã¾ããã試ãã¦ã¿ã¾ãããï¼ï¼ aws.amazon.com ãã¼ããã©ã¯ã¼â¦
Amazon Connect Salesforce CTI Adapterãè¨å®ãããã¨ã§ãContact Lensã«ããé話åæçµæãã»ã¼ã«ã¹ãã©ã¼ã¹ã¸é£æºãçµ±åãããã¨ãã§ãã¾ãã æ¦è¦ åæ æé CTI Adapter ããã±ã¼ã¸ãã¤ã³ã¹ãã¼ã« Lambdaããã±ã¼ã¸ãããã㤠Lambdaãããã¤æã®ãã©ã¡â¦
ããã«ã¡ã¯ãã¯ã©ã¦ãã¤ã³ãã°ã¬ã¼ã·ã§ã³2é¨ æè¡1課 宮形 ã§ãã Amazon Route 53 ã®ä½ç½®æ å ±ã«ã¼ãã£ã³ã°ã使ããã¨ã§ãã¯ã©ã¤ã¢ã³ãã®ä¸çã®ä½ç½®æ¯ã«ç°ãªãåå解決ãè¿ããã¨ãã§ãã¾ãã ã«ã¼ãã£ã³ã°ããªã·ã¼ã®é¸æ - Amazon Route 53 ä¾ãã°ãåç±³ãâ¦
ããã«ã¡ã¯ãæè¡ 1 課ã®æ°´æ¬ã§ãã ä½åº¦ã Marp ã使ã£ã¦èªä½ã®ãã¼ããä½æãã¤ã¤ãã¹ã©ã¤ããä½ãæ©ä¼ãçµé¨ãã¾ããã®ã§ãç¥è¦ãã¾ã¨ãã¦ã¿ããã¨ã«ãã¾ããã Markdown ã§ã¹ã©ã¤ããä½ããããªã¨èãã¦ããæ¹ã¯åèã«ãã¦ãã ããã Marp ã¨ã¯ å©ç¨å â¦
AWS CLIã好ããªãã¯ãã«ã«ãµãã¼ã課ã®å¸éã§ãã ååã®ããã°ã§ãå®éã«ãã£ã¦ã¿ã¾ãï¼ã¨ãè¨ããªããããã®ãããæ¥ã空ãã¦ãã¾ãã¾ããã blog.serverworks.co.jp æ¬è¨äºä¸ã«ãè¨è¼ãã¦ãã¾ãããç§ã®å®è¡ç°å¢ã§æãã¬è½ã¨ãç©´ãããããã´ç»åã®ã¢ãâ¦
ããã«ã¡ã¯ï¼ã¤ã¼ã´ãªã§ãã ååã®è¨äºã§ã¯ãAWS Client VPN ã®å°å ¥ã®ããã«ãµã¼ãã¼èªå·±è¨¼ææ¸åã³ã¯ã©ã¤ã¢ã³ãèªå·±è¨¼ææ¸ãçºè¡ãã¾ããããACMä¸ã®ãµã¼ãã¼è¨¼ææ¸ãã¯ã©ã¤ã¢ã³ã端æ«å´ã®ã¯ã©ã¤ã¢ã³ã証ææ¸ã®ã©ã¡ããã®æéãåãããã©ããªããã¨ããã¨â¦
AWSèªå®è©¦é¨ã§ãã Database - Specialtyã®åå¼·æ¹æ³ã¾ã¨ãè¨äºã§ãã
ã³ã¼ãã¼ã好ããªæ¨è°·æ è¦ã§ãã æ¬æ¥ã¯ Amazon Inspector v2 ãè¨å®ãã¦ã¿ã¾ããã®ã§ããã®æé ããç´¹ä»ãã¾ãã Amazon Inspector ã¨ã¯ Amazon Inspector ã®ãã¼ã¸ã§ã³ Amazon Inspector ã®è¨å® IAM ãã¼ã«ã®ä½æ EC2 ã¤ã³ã¹ã¿ã³ã¹ã®ä½æ ã³ãã¥ãã㣠AMIâ¦
ããã«ã¡ã¯ãããã¼ã¸ããµã¼ãã¹é¨MSï¼èª²ã®å¡©éã§ãã ã¿ãªããslack使ã£ã¦ã¾ããã¼ï¼ Slackã®ãã£ã³ãã«ã«èªåçã«POSTããBotãä½ãããã¦Webhookã®ãã¹ãããã¦ããã®ã§ãããcurlã³ãã³ããµã³ãã«ä¾ã«æ²¿ã£ã¦ã³ãã³ããå®è¡ãã¦ãåããªãã£ããæååãâ¦
ããã«ã¡ã¯ãã¯ã©ã¦ãã¤ã³ãã°ã¬ã¼ã·ã§ã³2é¨ æè¡1課 宮形 ã§ãã Amazon EC2 ã§ãMicrosoft Active Directory ãã¡ã¤ã³ãµã¼ãã¹ (以ä¸AD) ãéç¨ããã客æ§ããå¾ã ã«å¢ãã¦ãã¦ããå°è±¡ã§ãã ADãµã¼ãã¼ãEC2ã§æ§ç¯ãããã¨ã¯ããµã¼ãã¼ã®å¯ç¨æ§åä¸ãç½â¦
ã³ã¼ãã¼ã好ããªæ¨è°·æ è¦ã§ãã AWS Summit Japan 2022 ãçãä¸ãã£ã¦ãã¾ããï¼ æ¨æ¥ 2022 å¹´ 5 æ 24 æ¥ãEC2 ã¤ã³ã¹ã¿ã³ã¹ã®å¶çºçãªåæ¢ãé²ããStop Protectionï¼åæ¢ä¿è·ï¼ãæ©è½ãçºè¡¨ããã¾ãããä»åã¯ãã®æ©è½ããã£ãã試ãã¦ã¿ããã¨æãã¾ãâ¦
ã©ãã! swx-ochiai ã§ãã Python 3.10.x ãAmazon Linux 2 ã«ã¤ã³ã¹ãã¼ã«ãã¾ãã ãã ããããªã¤ã³ã¹ãã¼ã«ã®OpenSSLãã¼ã¸ã§ã³ã 1.1.1 æªæºã®å ´åãã¤ã³ã¹ãã¼ã«ã«å¤±æãã¾ãã ãã®ããããã®è¨äºã§ã¯ããããããããã¤ã³ããåãé¤ãããã¤ã³ã¹ãã¼â¦
ããã«ã¡ã¯ãASé¨DS1課ã®æ¸å¡ã§ãã 以åPapermillã使ãæ©ä¼ããã£ãã®ã§ãæ¬è¨äºã§ã¯Papermillã®ç¹å¾´ãç¨éã«ã¤ãã¦æ¸ãã¦ããããã¨æãã¾ãã Papermillã¨ã¯ Papermillã¯Jupyter Notebookããããå®è¡ããããã®ãã¼ã«ã§ãã Papermillã使ãã°ï¼ãã¼ãâ¦
ããã«ã¡ã¯ãDS1課ã®æ¸å¡ã§ãã ä»åã¯ãPythonã§BoxSDKã使ã£ã¦Boxä¸ã®ãã¡ã¤ã«ããã¦ã³ãã¼ãããæ¹æ³ãæ¸ãã¦ããã¾ãã ã¤ã³ã¹ãã¼ã« pip install boxsdk ãµã¼ãã¼å´JWTèªè¨¼ã使ç¨ããBoxã¢ããªã使ç¨ããå ´å pip install "boxsdk[jwt]" èªè¨¼ Box SDKãâ¦
ã«ã¹ã¿ãã¼ãµã¯ã»ã¹é¨ ä½ç«¹ã§ãã æ¬æ¥ã¯æä¾ã®ãæ±äº¬ãªã¼ã¸ã§ã³ã§æ§ç¯å¯è½ãªã¤ã³ã¹ã¿ã³ã¹ã¿ã¤ãã®ã¢ãã¤ã©ããªãã£ã¼ã¾ã¼ã³å¥ä¸è¦§è¡¨ãã®æ´æ°ããã°ã¨ãªãã¾ããæ¬ããã°ã®ææ°æ å ±ã«ã¤ãã¦ã¯ä¸è¨ãªã³ã¯ããææ°è¨äºããåç §ãã ããã ã¯ããã« C7g ã¤ã³ã¹â¦
ã³ã¼ãã¼ã好ããªæ¨è°·æ è¦ã§ãã æ§ã 㪠AWS KMS ãã¼ã§ãæå·åããã EBS ã¹ãããã·ã§ããã®ãªã¼ã¸ã§ã³éã³ãã¼ã試ãã¦ã¿ããã¨æãã¾ãã ä»åã¯ãåä¸ã® AWS ã¢ã«ã¦ã³ãå ã§å®æ½ãã¾ãã å ¨ä½å â AWS KMS ã§æå·åãã¼ãä½æãã AWS 管çã®ãã¼ãã«â¦
ããã«ã¡ã¯ãã¯ã©ã¦ãã¤ã³ãã°ã¬ã¼ã·ã§ã³2é¨ æè¡1課 宮形 ã§ãã æè¿ããµããã¡ã¤ã³ã«ã¤ãã¦èª¿ã¹ã¦ç解ãæ·±ããæ©ä¼ããã£ãã®ã§ãæ¬BLOGã«ã¦ç´¹ä»ãã¾ãã ã¨ãã社å ããã®ç¸è«ã¯ããã§ã«(AWS以å¤ã§)ãã¡ã¤ã³åå¾ã¨DNSãµã¼ãã¼ãéç¨ãã¦ããç¶æ ããããµâ¦
ããã«ã¡ã¯ï¼ã¤ã¼ã´ãªã§ãã ååã®è¨äºã§ã¯ãèªå·±è¨¼ææ¸ãçºè¡ããAWS Client VPNãæ§ç¯ãã¾ãããããµã¼ãã¼ã®è¨¼ææ¸ã¯ããã©ã«ãã®æéã2å¹´ããããã¾ããã®ã§ããã®è¨äºã§ã¯ãOpenVPN easy-rsaã§è¨¼ææ¸ã®æå¹æéã100å¹´ã«ããæ¹æ³ããç´¹ä»è´ãã¾ãã bâ¦
ããã«ã¡ã¯ï¼ã¤ã¼ã´ãªã§ãã ãã®è¨äºã§ã¯ãAWS Client VPN ã®å°å ¥ããç´¹ä»ãããã¨æãã¾ããä»åã®èªè¨¼æ¹æ³ã¨ãã¦ã¯ç¸äºèªè¨¼ï¼èªå·±è¨¼ææ¸çï¼ãé¸ã³ã¾ãã ç®æ¨ æ§æå³ åææ¡ä»¶ 証ææ¸ã®ä½æ èªå·±è¨¼æ証ãä½æããæ¹æ³ èªå·±è¨¼æ証ãä½æãã ãµã¼ãã¼è¨¼æâ¦
Amazon Connectã使ã£ã¦è²ã 試ãã¦ãããã¡ã«ä¸è¦ãªåãåããããã¼ãå¢ãã¦ãã¾ãããï¼ ä»¥åã¯åé¤ããæ¹æ³ããªããããã¼åã (202x/y/z)ãã®åãåããããã¼ã¯ä½¿ç¨ãã¦ãã¾ããï¼ ã®ããã«å¤æ´ããããªã©ã¨ãã£ãè¦ããéç¨ã«ãªã£ã¦ããã±ã¼ã¹ãããã¾â¦
æ¬è¨äºã§ã¯Amazon CloudWatch ã¢ã©ã¼ã ã®ã¢ã¯ã·ã§ã³ãä¸æçã«ç¡å¹åããæ¹æ³ããç´¹ä»ãã¾ãã ããã¼ã¸ã¡ã³ãã³ã³ã½ã¼ã«ã§ã¯ç¡å¹ååºæ¥ãªã API ã¾ã㯠AWS CLI ã§å®æ½å¯è½ã§ã æå¹åã®æ¹æ³ åè ããã¼ã¸ã¡ã³ãã³ã³ã½ã¼ã«ã§ã¯ç¡å¹ååºæ¥ãªã 2022-05-16 â¦
CI2é¨ æè¡2課ã®å±±ï¨ã§ãã ä»åã®è¨äºã§ä¼ããããã¨ã¯ä»¥ä¸ã®éãã§ãï¼ S3ãã±ããããªã·ã¼ã§PutBucketPolicyãå¶å¾¡ããéã¯ããªã·ã¼ã®è¨è¿°ãã¹ã«æ³¨æãã¾ãããï¼ S3ãã±ããããªã·ã¼ã«ã¤ãã¦ãããã ãã±ããããªã·ã¼ã«ãããPutBucketPolicyã®å¶å¾¡ã«ã¤â¦
CI2é¨ æè¡2課ã®å±±ï¨ã§ãã 4æ27æ¥ã«IAM Policy ã® Conditionè¦ç´ ã§å©ç¨å¯è½ãªGlobal Condition Key ã3ã¤è¿½å ãããã¨ããã¢ãããã¼ããããã¾ããã aws.amazon.com ä»åã¯ãã®ã¢ãããã¼ãã§ä¸ä½ä½ã便å©ã«ãªã£ãã®ããä¸é¨ãç´¹ä»ãã¾ãã Global Condiâ¦
ããã«ã¡ã¯ãã¢ããªã±ã¼ã·ã§ã³ãµã¼ãã¹é¨ ãã£ããããã¡ã³ããµã¼ãã¹2課ã®æ¨ç°ã§ãã æ¬è¨äºã§ã¯AWSåå¿è ã®æ¹åãã«ããããªãã¯ãµããããä¸ã®EC2ãããã©ã¤ãã¼ããµããããä¸ã®RDS(MySQL)ã«æ¥ç¶ãã¦ã¿ããï¼ã¨ããå 容ã§ãã ã¾ããçè èªèº«ãèºããç¹â¦
EC2ãã¼ãã¢ã«ã¢ãããã¼ããããã¾ããã®ã§ãèªåã®å ¬ééµãCloudFormationã¤ãã£ã¦ã¤ã³ãã¼ãã§ããã試ãã¦ã¿ã¾ããï¼
ããã«ã¡ã¯ æè¡èª²ã®å±±æ¬ã§ã ã´ã¼ã«ãã³ã¦ã£ã¼ã¯ã¯ç¾¤é¦¬ã«ããè³ä»å±±ã«ç»ã£ã¦ãã¾ãã ééªå¾ã®æç¼ãåã«ç»ãå§ããã®ã§äººã®è¶³è·¡ãç¡ãéããªä¸çã§ãã ãä»äºãé å¼µã£ã¦ã¾ãå±±ã«è¡ããã ã¨æ°æã¡ãæ°ãã«ãã¾ãã API Gateway (HTTP API) ã®JWTãªã¼ã½ã©â¦
ã³ã¼ãã¼ã好ããªæ¨è°·æ è¦ã§ãã 2022/4/29ã«ãEC2 ãã¼ãã¢ç¨ã«æ°ãã管çæ©è½ã追å ãããã¢ãã¦ã³ã¹ãããã¾ããã aws.amazon.com ã¢ãããã¼ãã¯å¤§ã¾ãã«ä»¥ä¸3ç¹ã§ãã 1. ãã¼ãã¢ä½ææ¥ãé²è¦§å¯è½ã«ãªã£ã 2. APIçµç±ã§ãã¼ãã¢ã®å ¬ééµãé²è¦§å¯è½ã«â¦
ããã«ã¡ã¯ãã¯ã©ã¦ãã¤ã³ãã°ã¬ã¼ã·ã§ã³2é¨ æè¡1課 宮形 ã§ãã å æ¥ç§ã®æ¥åPCãå ¥æ¿ããéãCloudFormationãã³ãã¬ã¼ã(以ä¸CFn)ã®ã¨ãã£ã¿ç°å¢ãåã»ããã¢ãããã¾ããã ç§ã¯ Microsoft Visual Studio Code (以ä¸VSCodeã¨è¨è¼) ãCFnç¨ã¨ãã£ã¿ã¨ãâ¦
AWSConfigRoleã¯ããã¡ãã¼ãã¿ã¤ãã 2022å¹´5æ4æ¥ã« AWS Health Event ã®éç¥ãåä¿¡ãã¾ããã 3è¡ã§ã¾ã¨ããã¨ä»¥ä¸ã«ãªãã¾ãã AWSConfigRole ã¨ããIAMããªã·ã¼ã¯éæ¨å¥¨ãä»å¾ã¢ã¿ããã§ããªããªãã AWSConfigRole ã¯ä½¿ãç¶ããããããããªã·ã¼ã¯ã¡ã³â¦
ããã«ã¡ã¯ãCloud Automatorã®éçºã»éç¨ããã¦ããå°¾å´ã§ãã å æ¥çºè¡¨ãããLambda Function URLsã¯å人çã«å¾ æã®æ©è½ã§ãããå¾æ¥LambdaãHTTP(s)ã§å¼ã³åºãéã«å¿ è¦ã ã£ãAPI Gatewayãä¸è¦ã«ã§ããç¹ã«ã¡ãªãããæãã¦ãã¾ãã ä»åã¯ãã®Lambda Funâ¦
ããã«ã¡ã¯ï¼ã¤ã¼ã´ãªã§ãã AWSã§ã³ã³ãããåããã«ã¯ãè¤æ°ã®ãµã¼ãã¹ã使ç¨ããå¿ è¦ãããã¾ãã ã¤ã¡ã¼ã¸ã¬ã¸ã¹ã㪠ãªã¼ã±ã¹ãã¬ã¼ã¿ã¼ å®è¡ç°å¢ Amazon Elastic Container Service ã¨ã¯ Amazon Elastic Container Service ã®ã³ã³ãã¼ãã³ã Amazon Elâ¦
ããã«ã¡ã¯ï¼æè¡4課ã®ã¤ã¼ã´ãªã§ãã Amazon ECRï¼ãAmazon Elastic Container Registryãã®çç¥ï¼ã¨ã¯ãå®å ¨ããã¼ã¸ãåã®Dockerã³ã³ããã¬ã¸ã¹ããªã§ããç°¡åã«èª¬æãã¾ãã¨ãDocker Hubã«ã¨ã¦ãä¼¼ã¦ãããµã¼ãã¹ã§ãã ä¾ãã°ãDockerfileãä½æããBuiâ¦
CS1ã®ç³äºã§ãã ç´è¿ã§ApiGatewayã使ã£ããµã¼ãã¹ã®åãæ¿ãä½æ¥ãè¡ãã¾ããã åãæ¿ãã®ä½æ¥ã®ä¸ã§èª¿æ»ããããæ°ã¥ãããã¨ãæ¬è¨äºã«ã¦ã¾ã¨ãã¾ãã åãæ¿ãä½æ¥ã®æ¦è¦ 以ä¸ã®å³ãããªæ§æã§ãapi.hoge.co.jpã¨ãããã¡ã¤ã³ã«å¯¾ãã¦éä¿¡ãè¡ããµã¼ãâ¦
ã«ã¹ã¿ãã¼ãµã¯ã»ã¹é¨ ä½ç«¹ã§ããæ¬æ¥ã¯ãS3 Intelligent-Tiering ãå©ç¨ããå®éã®ã³ã¹ãåæ¸å¹æã Cost Explorer ã®ç»é¢ãã£ããã£ã¨å ±ã«ãç´¹ä»ãã¾ãã
ããã«ã¡ã¯ãAWS CLIã好ããªç¦å³¶ã§ãã ã¯ããã« è£è¶³ ã¾ã¼ã³ç¨®å¥ã«ããéã è¨å®æ¹æ³ä»¥å¤ã®éã è£è¶³ è¨å®æ¹æ³ã®éã ãããªãã¯ãã¹ãã¾ã¼ã³ã®å ´å ãã©ã¤ãã¼ããã¹ãã¾ã¼ã³ã®å ´å ã¾ã¨ã åèæ å ± ã¯ããã« Route 53ã§ã¯ããããªãã¯ããã³ãã©ã¤ãã¼ãâ¦