2020-09-01ãã1ã¶æéã®è¨äºä¸è¦§
å¼ç¤¾ã®ã¯ã¦ãªããã°ç§»è¡ãè¨å¿µã«ãpython3ã§è¨äºæ¬æã¨ç»åã®æ稿ã¹ã¯ãªãããæ¸ãã¦ã¿ã¾ãã è¨äºç®å®...10å æ稿ã¹ã¯ãªããã«ã¤ã㦠Post_hatena.py "PostHatena"ã¯ã©ã¹ "PostHatenaPhoto"ã¯ã©ã¹ execution.py main() upload_text() upload_images() 使ãâ¦
ã¯ã©ã¦ãã¤ã³ãã°ã¬ã¼ã·ã§ã³é¨ã®æ³ç°ã§ãã CloudFront å©ç¨æã«ããã£ãã·ã¥ããããã¦ããã/ã©ã®ãããã®æéãã£ãã·ã¥ããã¦ãããã確èªããæ¹æ³ã«ã¤ãã¦èª¿ã¹ãæ©ä¼ããã£ããããæ¬è¨äºã«ã¾ã¨ãã¾ããã æ¦è¦ ãã£ãã·ã¥ã®ç¢ºèªãããã¨ãã«ç¢ºèªãã Hâ¦
ããã¸ã¡ã³ãã³ã³ã½ã¼ã«ã§ã¹ã¤ãããã¼ã«ãã§ãããã¨ã¯ãçãã¾ãåç¥ã¨æãã¾ãã IAM User ã« sts:AssumeRole ã®æ¨©éãä¸ãããã¨ã§ IAM Role ã®æ¨©éãå¼ãåãããã¨ãã§ãã¾ãã ã¾ã AWS CLI ãå®è¡ããã¨ãã AssumeRole ã«ãã£ã¦ IAM Role ã®æ¨©éãâ¦
SREé¨ ä½ç«¹ã§ãã æ¬æ¥ã¯ Savings Plan ã®ã¢ãããã¼ãã®ãç¥ããã§ãã2020å¹´9æ24æ¥ Savings Plan ã®äºç´æ©è½ããªãªã¼ã¹ãããåã¿ã¤ãã³ã°ã§ Savings Plan ã®æ´æ°äºç´ï¼Renewï¼ãå®è£ ããã¾ãããæ¬ããã°ã§ã¯ãSavings Plan ã®æ´æ°äºç´ã®æ©è½ãä¸å¿ã«ãâ¦
ã¯ããã« ããã«ã¡ã¯ãååã®80代ç®åå«å ¼æè¡4課ã®åã§ãã9æãããããçµããã¨ãªããå¯ããªã£ã¦ãã¾ããããç§ã¯å¯ãæ¹ã好ããªã®ã§ããã£ã¨å¤ãçµãã£ã¦å¬ããéãã§ãã ã¨ãããã¨ã§ãä»åã¯Amazon Connectã®ã¢ãããã¼ãã«é¢ããã話ãã¨ãªãã¾ããâ¦
Amazon Connectè¨å®æ¸ã¿ã®ã»ã¼ã«ã¹ãã©ã¼ã¹ã§æ¥æ¬å½å åãã«ClickToCallãè¨å®ãã¾ã
SREé¨ ä½ç«¹ã§ãã æ¬ããã°ã§ã¯ Aurora MySQL ã® Backtrack ã§ã¹ãã¬ã¼ã¸ã®ç·éï¼ã¦ã©ã¼ã¿ã¼ãã¼ã¯ï¼ãåããã¦æ»ãã®ãæ¤è¨¼ãã¦ã¿ã¾ãããçµæçã«ã¯æ大容é㯠Backtrack ã®æ©è½ã«ãã£ã¦å·»ãæ»ããã¨ããããã¾ããã®ã§ãæ¤è¨¼çµæã¨å ±ã«ãç¥ãããã¾ãã
ããã«ã¡ã¯ãæè¡1課ã®å±±ä¸ã§ãã 1 é±éã§çºè¡¨ããã AWS UPDATE ã®ä¸ããããµã¼ãã¼ã¯ã¼ã¯ã¹ã®ã¨ã³ã¸ãã¢ãæ°ã«ãªã£ããããã¯ãããã¯ã¢ãããã¦è§£èª¬ããã30åã§ããã AWS UPDATEï¼ã 第 29 åãé ä¿¡ãã¾ããã https://youtu.be/4VcrAOlBSuYyoutu.be â¦
ã¯ããã« ããã«ã¡ã¯ãæè¡4課ã®ä¿ç°ï¼ã»ã ï¼ã§ãã iOS14 ã¸ã®ã¢ãããã¼ãããããããªãé°å²æ°ãå¤ãã£ã¦ããã¯ãªãã¦ãã¾ãã ã¨ããããã§ï¼ï¼ï¼ä»æ¥ã¯ Python ã®ã話ã§ãã è¦ç´ raise æã«ã¯ from ã使ããã æ¬é¡ main é¢æ°ããå¼ã³åºãããããé¢æ°â¦
SREé¨ ä½ç«¹ã§ãã ä»åã¯Cacooã§AWSç°å¢æ§æå³ã綺éºã«æãã³ãã¨ãã¦ãåæã§ãããã¬ã¤ã¤ã¼ãã¨ããæ¦å¿µã¨ã4ã¤ã®ã³ãã«ã¤ãã¦è¨è¼ãã¾ãããããã®ã³ããæèãã¦é ããã¨ã§ãããªãã®AWSç°å¢æ§æå³ã¯ä»ã¾ã§ä»¥ä¸ã«ç¶ºéºãªãã®ã«ãªããã¨ã¯ééãããã¾ããâ¦
ããã«ã¡ã¯ãæè¡4課ã®æ²³éã§ããä»åãLINEBotã®ã話ã§ãã å ¥éç·¨ã§ã¯ã以ä¸ãç´¹ä»ãã¦ãã¾ããã ãå ¥éç·¨â ãServerless Framework 㧠ããããè¿ããLINE Bot ãä½ã ãå ¥éç·¨â¡ãServerless Framework 㧠ãããããããLINE Bot ãä½ã ä»åã¯å¿ç¨ç·¨ã¨â¦
â» [æçµæ´æ°ï¼2022å¹´6æ] ãä»ä½¿ã£ã¦ãããµã¼ãã®OSã£ã¦ãããããµãã¼ããåããï¼ã ãããããã次ã«ã©ãã«ä¹ãæãããããã®ï¼ã ã·ã¹ãã ãéç¨ãã¦ããã¨ããã®ãããªæ¤è¨ãå¿ è¦ã«ãªããã¨ãããããã¾ãã ããã§æ¯è¼çäºææ§ã®é«ãRHELã»CentOSã»Amâ¦
æ¡ä»¶ãæºããBacklog課é¡ããTrelloã«ã¼ããèªåä½æãã¾ããã æéã課é¡ãªã³ã¯ãã«ã¼ãã«åæ ãããããã®ãå人çã«å¬ããã£ãç¹ã§ãã
2020/09/14 Amazon CloudWatch ãããã·ã¥ãã¼ãã®å ±æããµãã¼ããã¾ããã®ã§ãæ¦è¦ãç´¹ä»ãã¾ãã
Amazon Connectå°ä»»æ å½ã®ä¸¸å±±ã§ãã æ¡ä»¶ã®ãç¸è«ã¯å¤§ãã2ã¿ã¤ãããã¾ãã ã¨ã«ããæ©ãã1ç§ãæ©ã使ãããããªãã¯ã㧠è¨ç»ãªãã¬ã¼ã¹ãªã®ã§ææã¯ãã®ããã㧠æ¬æ¥ã¯åè ã®æ¹ã«åãã¦ãä¸çªæ©ãAmazon Connectãéç¨ã«ã®ããæ¹æ³ããæ¡å ãããã¾ãâ¦
SREé¨ ä½ç«¹ã§ãã ä»å㯠CloudWatch Event ã® Rule ä¿®æ£æã«ããã¸ã¡ã³ãã³ã³ã½ã¼ã«ã§çºçããã¨ã©ã¼ã¨ãã®åé¿çã«ã¤ãã¦è¨è¼ãã¾ããã'statementId' failed to satisfy constraint: ã¨ããã¨ã©ã¼ãçºçãã¦æ©ãã ã¨ãã¯åèã«ãã¦ã¿ã¦ãã ããã
ããã«ã¡ã¯ãæè¡1課ã®å±±ä¸ã§ãã 1 é±éã§çºè¡¨ããã AWS UPDATE ã®ä¸ããããµã¼ãã¼ã¯ã¼ã¯ã¹ã®ã¨ã³ã¸ãã¢ãæ°ã«ãªã£ããããã¯ãããã¯ã¢ãããã¦è§£èª¬ããã30åã§ããã AWS UPDATEï¼ã 第 28 åæ¾éãã¾ããã youtu.be ä»åãç´¹ä»ããã¢ãããã¼ãã¯ä»¥â¦
ããã«ã¡ã¯ãæè¡1課ã®å°åã§ãã2020/9/14ã«ã¢ãããã¼ãããããAWS Graviton2 ããã»ããµãæè¼ããAmazon EC2 T4g ã¤ã³ã¹ã¿ã³ã¹ã使ããããã«ãªãã¾ããï¼(æ±äº¬ãªã¼ã¸ã§ã³å«ã) 2020å¹´12æ9æ¥ãç¡ææéã2021å¹´3æ31æ¥ã¾ã§ã«ä¿®æ£ãã¾ããã T4gã¤ã³ã¹â¦
SREé¨ ä½ç«¹ã§ãã ä»åã¯ãAmazon WorkSpaces Cost Optimizer ã«ããã Pricing Parameters ã®è¨å®ã«ã¤ãã¦æ·±ãæãä¸ãã¦ã¿ã¾ãããæ¬ããã°ã Amazon WorkSpaces ã®ã³ã¹ãåæ¸ã«å°ãã§ãå½¹ã«ç«ã¦ã°å¹¸ãã§ãã
ããã«ã¡ã¯ãæè¡4課ã®ä¿ç°ï¼ã»ã ï¼ã§ãã æè¿ Uber Eats ã«ãä¸è©±ã«ãªãåãã¦ãã¾ãã è¿ãã®ã¦ã¼ã¶ã¼ã¨åæé éãããã¨ã§é éææ°æã0åã«ãªãã·ã¹ãã ãããã¯ç´ æ´ãããã¨æãã¾ãã èæ¯ ãã¦çªç¶ã§ããã Lambda ã§å¥ãªã¼ã¸ã§ã³ã® Simple Notificaâ¦
ã¯ããã« ããã«ã¡ã¯ãæè¡4課ã®ä¿ç°ï¼ã»ã ï¼ã§ããããã«ã¡ã¯ã ããï¼ãããã«ã¡ã¯ããã£ã¦äºåè¨ã£ã¦ãï¼ã¾ãã§ãã㯠Lambda ã®èªåãªãã©ã¤æ©è½ã®ããã§ããï¼ï¼ ã¨ããããã§æ¬æ¥ã¯ãããã話ã§ãã è¦ç´ éåæå¼ã³åºãã®ãæ大ã¤ãã³ãçµéæéãã¨â¦
SREé¨ ä½ç«¹ã§ãã æéãå·®ãè¿«ã£ã RDS for Oracle 11g ã® EOS (End of support) ã«é¢é£ãã¦è¨è¼ãã¾ããæ¬ããã°ã¯ãAWSå ¬å¼ã®ãã¼ã¿ãã¼ã¹ããã°ã®æ¥æ¬èªç¿»è¨³è¨äºã¨ãªãã¾ãã
ã¯ããã« EC2ä¸ã§åãè¸ã¿å°ãµã¼ãã®ãã¼ã¸ã§ã³ã¢ãããè¡ãéã«ãã¦ã¼ã¶/ã°ã«ã¼ããã¡ã¤ã«ãç·¨éãããã¨ããã£ãã®ã§åå¿é²ã§ãã è¨äºç®å® - 10å ã¯ããã« ã´ã¼ã« ç¨èªã®æ´ç /etc/passwd /etc/shadow /etc/group /etc/gshadow ä½æ¥æé /etc/passwdã®ç§»â¦
ã¯ããã« freenomã§ãã¡ã¤ã³ãåå¾âRoute53ã«ç»é²ãããã¨ããã£ãã®ã§ãåå¿é²ã§ãã äºåç¥è NSã¬ã³ã¼ã ãã®ãã¡ã¤ã³ã®ç®¡çå§è¨å DNSãµã¼ããå®ç¾©ããã¬ã³ã¼ãã®ãã¨ã ãã¡ã¤ã³å ns DNS権å¨ãµã¼ã ex) example.com NS ns-xxx.xxx.com ä»åã®ä»çµã¿ãå³â¦
ããã«ã¡ã¯ãæè¡4課ã®ã¢ã¤ã³ã§ãã ä»åã¯ãAWSããã¸ã¡ã³ãã³ã³ã½ã¼ã«ã使ã£ã¦DynamoDBããã¨ã¯ã¹ãã¼ãããCSVãã¤ã³ãã¼ãããPythonã³ãã³ãã©ã¤ã³ã¤ã³ã¿ãã§ã¼ã¹ãç´¹ä»ãããã¨æãã¾ãã èæ¯ çããããµã¼ãã¼ã¬ã¹éçºã¯ãã¦ãã¾ããï¼ éçºããæã®â¦
æè¡èª²ã®æ°´å£ã§ããããã«ã¡ã¯ã çãããAuth0ã¯ãå©ç¨ããã¦ãã¾ãã§ããããã Auth0ã¯ãèªèº«ã®Webãµã¼ãã¹ãã¢ããªã«æ軽ã«èªè¨¼èªå¯ãå°å ¥ãããã¨ãã§ããèªè¨¼ç³»ãµã¼ãã¹ã§ãã ãµã¼ãã¹ã®æ¦è¦ã«ã¤ãã¦ã¯å ¬å¼ãµã¤ããã覧ããã ãã®ããå 容ãã¾ã¨ã¾ã£â¦
API Gateway HTTP API ã®ã¢ã¯ã»ã¹å¶å¾¡ã Lambda 㨠IAM ã§ã§ããããã«ãªãã¾ããï¼
ã¯ããã« ããã«ã¡ã¯ãæè¡1課ã®å±±ä¸ã§ãã åå ã«å¼ãç¶ãä»åã Amazon API Gateway ã«é¢ããã¢ãããã¼ãã§ãã aws.amazon.com HTTP API ã«ãããã¢ã¯ã»ã¹å¶å¾¡ ããã¾ã§ã JSON ã¦ã§ããã¼ã¯ã³ (JWT) ãå©ç¨ãããã¨ã§ HTTP API ã¸ã®ã¢ã¯ã»ã¹å¶å¾¡ã¯å®ç¾â¦
ããã«ã¡ã¯ããµã¼ãã¼ã¯ã¼ã¯ã¹ã®ãããã®äººãåæ¬ï¼@t_sakamï¼ã§ãã ãã¦ãæ¬æ¥9æ10æ¥12æããä¼ç¤¾ã®YouTubeã«åºæ¼ãã¾ããä»åã¯ãã®YouTubeã§è©±ãã¦ããAlexa for Businessã«é¢ããããã°è¨äºãä¸è¦§ã«ã¾ã¨ãã¦ã¿ã¾ããããã¾ã®ã¨ããã21è¨äºããã¾ãã â¦
ããã«ã¡ã¯ãæè¡1課ã®å±±ä¸ã§ãã 1 é±éã§çºè¡¨ããã AWS UPDATE ã®ä¸ããããµã¼ãã¼ã¯ã¼ã¯ã¹ã®ã¨ã³ã¸ãã¢ãæ°ã«ãªã£ããããã¯ãããã¯ã¢ãããã¦è§£èª¬ããã30åã§ããã AWS UPDATEï¼ã 第 27 åæ¾éãã¾ããã youtu.be ä»åãç´¹ä»ããã¢ãããã¼ãã¯ä»¥â¦
Amazon Connect CTI Adapter for Salesforce ã¨ã¯ æ¦è¦ å©ç¨ã¤ã¡ã¼ã¸ å©ç¨ããã«ã¯ Salesforce æ¬çªçµç¹ã¸ã®å°å ¥ãæ¤è¨ãã¦ããå ´å ã¨ã«ããèªç±ã«è©¦ãã¦ã¿ããå ´å è¨å®æé è¨å®ä¸ã®æ³¨æç¹ æ³¨æç¹1ï¼AppExchange Marketplace ã§è¨èªããè±èªãã«ãã 注æâ¦
ããã«ã¡ã¯ãæè¡4課ã®æ²³éã§ãã ä»åã¯ãLINEBot å ¥é編第äºå¼¾ã¨ãªãã¾ãã å ¥é編第ä¸å¼¾ã§ã¯ãããããè¿ããBotãç´¹ä»ãã¾ããã 第äºå¼¾ã§ã¯ããã¤ã³ã¿ã©ã¯ãã£ããªBotãç®æãã¦ããããããBotãç´¹ä»ãã¾ãã â»å½è¨äºã¯ããå ¥éç·¨â ãServerless Framewâ¦
SREé¨ ä½ç«¹ã§ãã ä»å㯠ã³ã¹ãåæ¸ãµã¼ãã¹ã®ãç¥ããã¨å ±ã«ãAWS ã«ãããã³ã¹ãåæ¸ã¨ã¯ä½ãã¨ãããã¨ã«ã¤ãã¦ã話ããã¾ããAWS ã®ã³ã¹ãåæ¸ã»ã³ã¹ãæé©åã«èå³ã®ããæ¹ã«æ¯éãä¸èªé ããã¨å¹¸ãã§ãã
æè¡4課ã®å¤å·ã§ãã Vueã¢ããªã±ã¼ã·ã§ã³ã«ãèªè¨¼æ©è½ã¨ãã¦Auth0ãå®è£ ãã¾ããã Auth0ã®å ¬å¼ãã¥ã¼ããªã¢ã«ã§ã¯ãããã³ãç»é¢ããèªè¨¼ç»é¢ã¸é·ç§»ãããå®è£ æ¹æ³ã¯è¨è¼ããã¦ãã¾ãã ããããããã³ãç»é¢ã¸ã¢ã¯ã»ã¹ããéã«èªè¨¼ç»é¢ã¸ãªãã¤ã¬ã¯ãããâ¦
ããã«ã¡ã¯ãæè¡4課ã®æ²³éã§ãã ä»åã¯ãServerless Framework ã使ç¨ãã¦LINEBot ãä½æããæ¹æ³ã«ã¤ãã¦ç´¹ä»ãã¾ãã ä½æãããã® æ§æå³ ç°å¢ å®è£ Serverless ããã¸ã§ã¯ãã®ä½æ Lambdaï¼ã¡ãã»ã¼ã¸åä¿¡ï¼ãä½æ Lambdaï¼ã¡ãã»ã¼ã¸éä¿¡ï¼ãä½æ ãâ¦
ã¯ã©ã¦ãã¤ã³ãã°ã¬ã¼ã·ã§ã³é¨ã®å®®æ¬ã§ãã ä»å㯠Snowflake ã¸ã®ã¢ã¯ã»ã¹å IP ã¢ãã¬ã¹å¶éã試ãã¦ã¿ã¾ããSnowflake ã®ã¢ã«ã¦ã³ãä½æå¾ã¯ããã©ã«ãã§ã¤ã³ã¿ã¼ãããçµç±ã§ã©ãããã§ãã¢ã¯ã»ã¹åºæ¥ãï¼ãã¹ã¯ã¼ãèªè¨¼ã®ã¿ï¼ç¶æ ã§ãããã¢ã¯ã»ã¹å IPâ¦
ããã«ã¡ã¯ãæè¡1課ã®å è¤ã§ãã 1 é±éã§çºè¡¨ããã AWS UPDATE ã®ä¸ããããµã¼ãã¼ã¯ã¼ã¯ã¹ã®ã¨ã³ã¸ãã¢ãæ°ã«ãªã£ããããã¯ãããã¯ã¢ãããã¦è§£èª¬ããã30åã§ããã AWS UPDATEï¼ã 第 26 åæ¾éãã¾ããã youtu.be ä»åãç´¹ä»ããã¢ãããã¼ãã¯ä»¥â¦
ä½ã£ããã® ã¯ããã« 2020å¹´8æããµã¼ãã¼ã¯ã¼ã¯ã¹ã¯å¤§éªãªãã£ã¹ãå¢åºãã¾ããï¼ è©³ç´°ã¯ä»¥ä¸ãã¼ã¸ãã覧ãã ããã www.serverworks.co.jp ãã¦ãä»åãå¢åºå·¥äºã®æ§åãæ®å½±ãã¦ã¿ã¤ã ã©ãã¹åç»ã«ãã¦ã¿ã¾ããã®ã§ãã®åçµå 容ããä¼ããã¾ãã â»å®ã¯å®â¦
SRE2課 ä½ç«¹ã§ãã AWS Organizations ã® SCP ãè¨è¨ãã¦ããããã§ãããããããããã¤ã³ãï¼å¶éï¼ãã¾ã¨ãã¾ãããAWS Organizations ã® SCP ãè¨è¨ããåã«ãä¸èªé ããã¨å¬ããæãã¾ãã
ããã«ã¡ã¯ä½è¤ã§ãã æ¸ããããããã°ãä¸æ°ã«æ¾åºãã¦ãã¾ãã ä»åã¯Red Hat Enterprise Linux ï¼RHELï¼ã®ãã¼ã¸ã§ã³6ãããã¼ã¸ã§ã³7ã¸ã¢ãããã¼ãã§ããã®ãï¼ã«ã¤ãã¦ç¢ºèªãã¾ããã ãã£ããçµè« AWSå ¬å¼ããã¥ã¡ã³ãä¸ã«ã¯ç¾æç¹ã§è¨åããè¨äºã¯â¦
SRE2課 ä½ç«¹ã§ãã å¼ãç¶ããAWS Organizations ã®ã話ã§ããä»å㯠IAM ã¦ã¼ã¶ã«ãããMFAã®å¼·å¶ï¼MFAãè¨å®ããã¦ããªãç¶æ ã§ã¯ã極éãããåä½ããå®è¡ã§ããªãï¼ã AWS Organizations ã® SCP ã§å®è£ ããæ¹æ³ã¨ãã®æ¤è¨¼çµæã«ã¤ãã¦è¨è¼ãã¾ããã