2022-10-01ãã1ã¶æéã®è¨äºä¸è¦§
ã³ã¼ãã¼ã好ããªæ¨è°·æ è¦ã§ãã å æ¥ãã¡ãã®ããã°ã§ãAurora Serverless MySQL äºæãã¼ã¸ã§ã³ã«ãã§ãã¬ã¼ãããã¯ã¨ãªããæé ãè¨è¼ãã¾ããã blog.serverworks.co.jp ä»åã¯ã Redshift ã¯ã¨ãªã¨ãã£ã¿ v2 ã§ãã§ãã¬ã¼ãããã¯ã¨ãªã試ãã¦ã¿ã¾ããâ¦
ã¯ã©ã¦ãã¤ã³ãã°ã¬ã¼ã·ã§ã³2é¨ã®å±±ä¸ã§ãã AWS WAFã®ãã°ã¯ã2022å¹´10æç¾å¨ã以ä¸ã®ããããã«éããã¨ãã§ãã¾ãã Amazon CloudWatch Logsï¼ä»¥ä¸ãCloudWatch Logsï¼ Amazon Kinesis Data Firehoseï¼ä»¥ä¸ãKinesis Firehoseï¼ Amazon S3ï¼ä»¥ä¸ãS3ï¼ ä¸â¦
ããã«ã¡ã¯ã10æã«ãµã¼ãã¯ã¼ã¯ã¹ã«å ¥ç¤¾ããç¾å¨ASé¨IE課ã§ç ä¿®ä¸ã®åäºã§ãã æ¬è¨äºã§ã¯ãWindows Subsystem for Linux 2(以ä¸ãWSL2ï¼ä¸ã®Ubuntuã«TeraTermã§SSHæ¥ç¶ããæ¹æ³ã«ã¤ãã¦è¨è¼ãããã¨æãã¾ãã ã¯ããã« åæ æé (Ubuntuã§ã®è¨å®) SSHè¨å®â¦
pytest-cov ã¨ã¯ ã«ãã¬ãã¸ã¨ã¯ C0 ã«ãã¬ãã¸ï¼Statement coverage: å½ä»¤ç¶²ç¾ ï¼ C1 ã«ãã¬ãã¸ï¼Branch coverage: åå²ç¶²ç¾ ï¼ C2 ã«ãã¬ãã¸ï¼Condition coverage: æ¡ä»¶ç¶²ç¾ ï¼ è©¦ãã¦ã¿ã ã¤ã³ã¹ãã¼ã« å®è¡æ¹æ³ Visual Studio Code ã§å¯è¦åããã ã¾ã¨ãâ¦
ããæ©ããé©åãªãµãã¼ããå®ç¾ããããã«ãã³ã³ã¿ã¯ãããã¼å ã§ã客æ§ã«çªå·ãé¸æãã¦ããã ããåä»ãªãã¬ã¼ã¿ã®ã°ã«ã¼ãï¼ãã¥ã¼ï¼ãåå²ããããã¨ãã§ãã¾ãã ãã®éã«ãã客æ§ã®é¸æå 容ãå±æ§ã«ä¿æãããã¨ã§ãå¾ã§ãã¼ã¿ã確èªããæ¹æ³ãç´¹ä»ãâ¦
CIé¨ã®å¤å·ã§ããLambdaï¼ Edgeé¢æ°ã®å¼ã³åºãã¡ããªã¯ã¹ã確èªãããã¨ããããã¡ããªã¯ã¹ã«ãã¼ã¿ããªãï¼ã¨ï¼æéãããåµã£ã¦ãã¾ãã¾ããã Lambdaã³ã³ã½ã¼ã«ã«è¡¨ç¤ºãããªã⦠Lambdaï¼ Edgeé¢æ°ã®å¼ã³åºãã¡ããªã¯ã¹ã確èªãããã¨ãLambdaé¢æ°ã®ã³ã³ã½ã¼â¦
ã³ã¼ãã¼ã好ããªæ¨è°·æ è¦ã§ãã å æ¥ãã¡ãã®ããã°ã§ãAurora Serverless PostgreSQL äºæãã¼ã¸ã§ã³ã«ãã§ãã¬ã¼ãããã¯ã¨ãªããæé ãè¨è¼ãã¾ããã blog.serverworks.co.jp ä»å㯠Aurora Serverless MySQL äºæãã¼ã¸ã§ã³ã«ãã§ãã¬ã¼ãããã¯ã¨ãªãâ¦
æè¡èª²ã®å±±æ¬ã§ãã è¿æã®åã¢ã«ãã¹ã§ãç´ èãå§ã¾ã£ã¦ãã¾ããã Transit Gateway ã使ç¨ãã¦ãAWS Network Firewall Endpoint ã®éç´ãèãã¦ã¿ãã AWS Network Firewall ã使ç¨ãã¦ãVPCå ã®éä¿¡ãç£æ»ãããã¨ãå¢ãã¦ããããã«æãã¾ãã ããã§ãâ¦
ã¯ããã« ãã®å¤ã® åç¨ã®ä¸ã®æ¥ ã«é°»ãé£ã¹ããªãã£ãã®ã§ããã®ç§ã¯ç§åéã絶対ã«é£ã¹ããã¨ãç®æ¨ã«ãã¦ããã¢ããªã±ã¼ã·ã§ã³ãµã¼ãã¹é¨ã®æ£®ã§ãã ä»åã¯ããã¾ãã¾OSãã¯ãªã¼ã³ã¤ã³ã¹ãã¼ã«ããã®ã§ã æ°ãã«Pythonãã¤ã³ã¹ãã¼ã«ãããã¨ã«ãªã£ãã®ã§â¦
ã³ã¼ãã¼ã好ããªæ¨è°·æ è¦ã§ãã Amazon Redshift ãä½æããéãå¤ãã®æ¹ã¯æ¥åãã¼ã¿ä¿è·ã®è¦³ç¹ã§ãã©ã¤ãã¼ããµããããã«ä½æãããã®ã§ã¯ãªãã§ããããã ããã©ã¤ãã¼ããµããããã«ä½æããã®ã ããããå®å¿ãã¨æãããã®ã¯ã¾ã æ©ããRedshift å´ã§â¦
ã³ã¼ãã¼ã好ããªæ¨è°·æ è¦ã§ãã ä»åã¯ãAmazon Redshift Serverless ããã©ã¤ãã¼ããµããããã«ä½æã㦠S3 ãã±ãããããã¼ã¿ã COPY ã§ããããã«è¨å®ãã¾ãã èæ¯ æ§æå³ S3 ãã±ããã®ä½æ ãµã³ãã«ãã¼ã¿æ ¼ç´ EC2 ã¤ã³ã¹ã¿ã³ã¹ã« psql ãã¤ã³ã¹ãâ¦
ããã«ã¡ã¯ã2022å¹´10æã«ãµã¼ãã¯ã¼ã¯ã¹ã«å ¥ç¤¾ãã大åã¨ç³ãã¾ããç¾å¨ASé¨IE課ã§ç ä¿®ä¸ã§ãæ²ç¸ãããªã¢ã¼ãå¤åã§AWSãåå¼·ãã¦ãã¾ããæ¬è¨äºã§S3ãå©ç¨ãã¦ç°¡åãªãã¦ã³ãã¼ããµã¤ããä½ã£ã¦ã¿ããã¨æãã¾ãã ã¯ããã« awslabs ã«ã¤ã㦠AWS JavaScrâ¦
ããã«ã¡ã¯ãã©ã¼ãã³ã°ã¨ã¯ã¹ããªã¨ã³ã¹èª²ã®å°åã§ãã AWS Certified Solutions Architect - Professional ã®æ°ãã¼ã¸ã§ã³ (SAP-C02) ã 2022/11/15 ããåé¨ã§ãã2022/10/18 ããåé¨ç³è¾¼ãã§ããããã«ãªãã¾ãããæ§ãã¼ã¸ã§ã³ (SAP-C01) 㯠2022/11/1â¦
ã¯ã©ã¦ãã¤ã³ãã°ã¬ã¼ã·ã§ã³é¨ã®æä¸ã§ãã ä»åã¯ãSageMaker Data Wranglerã¨ã¯ã©ã®ãããªãµã¼ãã¹ãããã£ã¦å¦ã¶ãã¨ãããã¼ãã§æ¸ãã¦ããã¾ãã æ©æ¢°å¦ç¿ã«ãããSageMaker Data Wranglerã®ä½ç½®ã¥ã ãã¼ã¿ã®åå¦çã£ã¦å¤§äº SageMaker Data Wranglerã®â¦
ã³ã¼ãã¼ã好ããªæ¨è°·æ è¦ã§ãã S3 ã²ã¼ãã¦ã§ã¤å VPC ã¨ã³ããã¤ã³ãããªã·ã¼ã使ã£ã¦ãã¾ããï¼ S3 ã²ã¼ãã¦ã§ã¤å VPC ã¨ã³ããã¤ã³ãã¯ããã©ã¤ãã¼ããµããããã®ãªã½ã¼ã¹ãã S3 ãã±ããã«æ¥ç¶ããããã«ç¡æã§ä½¿ç¨ã§ããåé·æ§ã®èæ ®ä¸è¦ã§å¸¯åå¹ â¦
ããã«ã¡ã¯ãCS課ã®ä¸å±±ã§ãã ä»æ¥ãControl Towerã®è©±ããã¾ãã æ¦è¦ Account Factory ã¢ã«ã¦ã³ãä½æ ã¢ã«ã¦ã³ãä½æå¾ã®ç¢ºèª 管çã¢ã«ã¦ã³ãä¸ã§ã®ç¢ºèª ä½æããã¡ã³ãã¼ã¢ã«ã¦ã³ãä¸ã§ã®ç¢ºèª æå¾ã« ããã¥ã¡ã³ã æ¦è¦ AWS Control Towerã§AWSã¢ã«ã¦ã³â¦
ã³ã¼ãã¼ã好ããªæ¨è°·æ è¦ã§ãã æ¬è¨äºã¯ãAmazon EC2 ã¤ã³ã¹ã¿ã³ã¹ã« WordPress ãã¤ã³ã¹ãã¼ã«ã㦠Web ãµã¤ããä½æããã¦ããæ¹åãã®æ å ±ã§ãã èæ¯ æ§æ S3 ãã±ããã®è¨å® IAM ãã¼ã«ã®è¨å® WP Offload Media Lite ãã©ã°ã¤ã³ã®ã¤ã³ã¹ãã¼ã« WordPrâ¦
EC2ã§CloudWatchã¨ã¼ã¸ã§ã³ãè¨å®æããã°ã°ã«ã¼ãã®ä¿ææéãåæ ãããªã
ããã«ã¡ã¯ãæ±åã®ãµã¦ãã¼å°è ã§ãã ä»å°ã«å¼ã£è¶ãã¦ãã¦ç´3ãµæãçµã¡ã¾ããã é¢æ±åã®ãµã¦ãã«æãã馳ããä»æ¥ãã®é ã§ãã ãã¦ãæ¬æ¥ã¯EC2ã§CloudWatchã¨ã¼ã¸ã§ã³ããã¤ã³ã¹ãã¼ã«ãã ã¨ã¼ã¸ã§ã³ãã®è¨å®ãã¡ã¤ã«ã§ãã°ã°ã«ã¼ãã®ä¿ææéãã3 mâ¦
CI2-1ã®æ¾ç°ã§ããããã«ã¡ã¯ã ä»åã¯WinSCPã使ã£ã¦S3ã«ã¢ã¯ã»ã¹ããæ¹æ³ã«ã¤ãã¦ã¾ã¨ãã¾ãã æ¬è¨äºã¯ãã¾ããæ¬ç·¨ã§ãã®ã§ãWinSCPã®ä½¿ãæ¹ãªãã¦ç¥ã£ã¦ããã¨ããæ¹ãããã¾ãã®é¨åã ãã§ãç®ãéãã¦é ããã¨å¬ããã§ãã ãªãæ¬è¨äºã§ã¯ãS3ã«ã¢ã¯â¦
ã¿ãªãããããã«ã¡ã¯ãAWS CLI ã好ããªãã¯ãã«ã«ãµãã¼ã課ã®å¸éã§ãã ããã¼ã¸ããã¬ãã£ãã¯ã¹ãªã¹ããç¨ããã»ãã¥ãªãã£ã°ã«ã¼ãã®ç®¡çããæ¤è¨ã®ã客æ§ã§ãã«ã¼ã«æ°ã®è¨ç®ãåããªãå ´é¢ããããã¨ã³ããªæ°ã®è¨å®ãªã©ãããããããã¤ã³ããããã¾â¦
CS課ã®ä¸å±±ã§ãã AWS Control Towerã®æ¦è¦ã¨ãåæã»ããã¢ããã®æ§åããä¼ããã¾ãã Control Towerã§ã¯AWS Organizationsã®å©ç¨ãåæã¨ãªãã¾ãã Organizationsã«ã¤ãã¦ãç¥ãããæ¹ã¯ã¾ãã¯ãã¡ããã覧ãã ããã blog.serverworks.co.jp AWS Controâ¦
ç¾å¨ãµã¼ãã¼ã¯ã¼ã¯ã¹å ¬å¼YouTubeãã£ã³ãã«ã§ã¯ã2022å¹´8æããæ°ãããªã£ããSAA-C03 AWS èªå®ã½ãªã¥ã¼ã·ã§ã³ã¢ã¼ããã¯ã â ã¢ã½ã·ã¨ã¤ããã®ãµã³ãã«åé¡ã宮澤ã解説ããåç»ãæ¯é±éæã«æ稿ãã¦ãã¾ãã
ããã«ã¡ã¯ãå±æ ¹è£ã¨ã³ã¸ãã¢ã®ææ¸ã§ãã ä»åã¯Amazon RDSï¼ä»¥ä¸ãRDSï¼ã®ããã¯ã¢ããä¿ææéã¯ã¹ãããã·ã§ããã®ä¸ä»£æ°ã§ã¯ãªãã¨ãããã¨ãä¼ãããã¨æãã¾ãã èæ¯ æ¤è¨¼ èªåããã¯ã¢ãããæå¹ã«ããããã¯ã¢ããä¿ææéãè¨å® å¤æ´ç»é¢ ãã¼ã¿â¦
ã¿ãªããã¯å¼ç¤¾ã®Youtubeãã¿ã¦ã¾ããï¼ æ¬ããã°ã¯ãã®ä¸ã®å¼ç¤¾æè¡ããã°ã解説ããåç»ENGINEER BLOG the Movieã®æ´æ°æ å ±ããå±ããã¾ãï¼ ãããããã°å¼ç¤¾Youtubeã®ãã£ã³ãã«ç»é²ãããããé¡ããã¾ãï¼ www.youtube.com ãVPCãè¸ã¿å°çµç±ã§ã®ãã°ãªâ¦
å°åãã¼ã«ã«ã¾ã¼ã³ã試ãã¦ã¿ã¾ããã
AWS Cost Explorer ã® UI ã«ã¢ãããã¼ãããã£ãã®ã§å¤æ´ç¹ã«ã¤ãã¦è¨è¼ãã¾ã
ã«ã¹ã¿ãã¼ãµã¯ã»ã¹é¨ ä½ç«¹ã§ããæ¬ããã°ã§ã¯ãæ°ãã UI ã«ã¢ãããã¼ãããã AWS Cost Explorer ã«ã¤ãã¦æ°æ§ã® UI ãæ¯è¼ããªãããã®å¤æ´ç¹ã解説ãã¦ãã¾ããæ°ãã AWS Cost Explorer ã§ã¯ããã¹ã 9 ã¾ã§ã®è¡¨ç¤ºã¨ãããã©ã«ããç©ã¿ä¸ãã®ãStackãâ¦
Pythonã®collectionsã©ã¤ãã©ãªã«å«ã¾ããåã®ä¸ã§æç¨ãªãã®ãç´¹ä»ãã¾ããä»åã¯dequeã§ãã
Pythonã®collectionsã©ã¤ãã©ãªã«å«ã¾ããåã®ä¸ã§æç¨ãªãã®ãç´¹ä»ãã¾ããä»åã¯OrderedDictã§ãã
Pythonã®collectionsã©ã¤ãã©ãªã«å«ã¾ããåã®ä¸ã§æç¨ãªãã®ãç´¹ä»ãã¾ããä»åã¯namedtupleã§ãã
æ¦è¦ åãã¼ã«ã®å¯¾å¿ç¯å² pyenv ã®ä¸»è¦æä½ï¼Python ã®ãã¼ã¸ã§ã³ç®¡çï¼ ããã±ã¼ã¸ç®¡çãã¼ã«å¥ã®ä¸»è¦æä½ ä»®æ³ç°å¢ï¼ã·ã§ã«ï¼ã¸ã®å ¥ãæ¹ ããã±ã¼ã¸ãæå®ãã¦ã¤ã³ã¹ãã¼ã« ããã±ã¼ã¸ã requirements.txt, Pipfile, project.toml ããã¤ã³ã¹ãã¼ã« ããã±â¦
ã³ã¼ãã¼ã好ããªæ¨è°·æ è¦ã§ãã æå ã« BI ãã¼ã«ãç¡ãã¦ããEC2 ã¤ã³ã¹ã¿ã³ã¹ããæ¥ç¶ãã¡ããã°ãããããªãã ã¨ãããã¨ã§ãAmazon Redshift Serverless ã®æ¤è¨¼ããããããæ軽ã«æ¤è¨¼ç°å¢ãä½ãã¾ãã æ§æå³ VPC 㨠ãµãããããä½æãã IAM ãã¼ã«â¦
éçºè¨èªã®ãã¼ã¸ã§ã³ã管çããasdfã¨ãããã¼ã«ã®ç´¹ä»è¨äºã§ãã
ããã«ã¡ããå±æ ¹è£ã¨ã³ã¸ãã¢ã®ææ¸ã§ãã ä»åã¯Classic Load Balancerï¼ä»¥ä¸ãCLBï¼ã®ã»ãã¥ãªãã£ããªã·ã¼ãAWS CLIï¼ä»¥ä¸ãCLIï¼ã§ç¢ºèªããæ¹æ³ããç´¹ä»ãã¾ãã åè 詳細ã«ã¤ãã¦ã¯ä»¥ä¸ãã覧ãã ããã aws.amazon.com CLIããã¥ã¡ã³ã awscli.amazoâ¦
Bandit ã¨ã¯ 試ãã¦ã¿ã ã¤ã³ã¹ãã¼ã« å®è¡æ¹æ³ è¨å® ç¹å®ç®æã®ã¿ãã§ãã¯ãç¡å¹ã«ããã flake8 ã®ãã©ã°ã¤ã³ã¨ã㦠ã¾ã¨ã ãããã¦èªã¿ãã Bandit ã¨ã¯ github.com Python ã³ã¼ãã®ã»ãã¥ãªãã£åé¡ããã§ãã¯ãã¦ããããã¼ã«ã§ããAmazon CodeGuru Reâ¦