Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
TOPICS Web , JavaScript çºè¡å¹´ææ¥ 2015å¹´08æ ISBN 978-4-87311-744-7 FORMAT EPUB Mithrilã¯2014å¹´ã«ãªãªã¼ã¹ãããã¯ã©ã¤ã¢ã³ããµã¤ãMVCãã¬ã¼ã ã¯ã¼ã¯ã§ããã ããåãè½ã¨ãããå¿ è¦ãªæ©è½ã«ãã©ã¼ã«ã¹ããã¦ãããæ§æ¥ã®ãã¬ã¼ã ã¯ã¼ã¯ã§ã¯æãå¾ãªãã£ãããã©ã¼ãã³ã¹ãå¼ãåºãã¾ãã æ¬æ¸ã¯ããã®Mithrilã使ã£ãã·ã³ã°ã«ãã¼ã¸ã¢ããªã±ã¼ã·ã§ã³ã®ä½ãæ¹ã«ã¤ãã¦ç´¹ä»ãã¾ããã¾ãã·ã³ã°ã«ãã¼ã¸ã¢ããªã±ã¼ã·ã§ã³ã®æ¦è¦ãããMithrilã®å½¹å²ãã¢ããªã±ã¼ã·ã§ã³ã®ã³ã¼ããã¢ããªã±ã¼ã·ã§ã³ã®åã¬ã¤ã¤ã¼ã«ã¤ãã¦ãã¾ãã¦ã¼ã¶ã¤ã³ã¿ãã§ã¼ã¹ã®ã©ã¤ãã©ãªã®æ´»ç¨æ¹æ³ã«ã¤ãã¦ãç´¹ä»ãã¾ããããã«å¤§è¦æ¨¡ãªã¢ããªã±ã¼ã·ã§ã³éçºãè£å©ããæ©è½ã«ã¤ãã¦ãã©ã¦ã¿ã¼ã®ä»çµã¿ãã³ã³ãã¼ãã³ããã¾ãã¦ããããã¹ãã®ä»æ¹ãMithrilã®èªååæç»ã·ã¹ã
EC2 ã 㨠ELB ã®å å´ã§ã¯ãnginx ã®ã¢ã¯ã»ã¹ãã°ã« ELB ã® IP ã¢ãã¬ã¹ãè¨è¼ããã¦ãã¾ãã®ã§ãHttpRealIpModule ã使ã£ã¦ Apache ã® mod_rpafãlighttpd ã® mod_extforward ã¨åããããªæåãè¨å®ãã¾ãã configure ãªãã·ã§ã³ã« --with-http_realip_moduleãå¿ è¦ã§ãã®ã§ãnginx -V 㧠configure ãªãã·ã§ã³ã確èªãã¦ãå ¥ã£ã¦ããªãã£ããã³ã³ãã¤ã«ãç´ãã¾ãããã å®éã®è¨å®ã¯ä»¥ä¸ã§ããset_real_ip_from ã« ELB ãªã© Proxy ããã¼ããã©ã³ãµã¼ã® IP ãæå®ãã¾ããreal_ip_header ã«ã¯ãX-Real-IP ã X-FORWARDED-FOR ãªã© Proxy ã追å ãããããã¼ãæå®ãã¦ãã ããã http { set_real_i
ã¯ããã« ã¯ããã¾ãã¦ãã¯ãã¯ãããæ ªå¼ä¼ç¤¾ã®èäºï¼@ryot_a_raiï¼ã¨ç³ãã¾ãã ä»åããå ¨5åãæ§æ管çãã¼ã«ã§ããItamaeã®å ¥éããå®éã®æ´»ç¨ä¾ã¾ã§ã解説ãã¦ããã¾ããä»ã¾ã§æ§æ管çãã¼ã«ã使ã£ããã¨ããªãã£ãæ¹ãããItamaeããã§ã«ä½¿ã£ã¦ããæ¹ã¾ã§ããã²ã覧ãã ããã Itamaeã¨ã¯ Itamaeã¯çè ãä¸å¿ã¨ãªã£ã¦éçºãé²ãã¦ãããªã¼ãã³ã½ã¼ã¹ã®æ§æ管çãã¼ã«ã§ããåæ§ã®ãã¼ã«ã¨ãã¦ã¯PuppetãChefãAnsibleãªã©ãæåã§ãããItamaeã¯Chefã«å½±é¿ãåãã¦ãã¾ããChefã®è¨è¿°æ§ã»æè»æ§ãæã¡ãªãããã·ã³ãã«ã§å°å ¥ããããæ§æ管çãã¼ã«ãç®æãã¦éçºãé²ãã§ãã¾ãã æ§æ管çãã¼ã«ã®å¿ è¦æ§ Itamaeã®è§£èª¬ãå§ããåã«ãæ§æ管çãã¼ã«ã使ãçç±ã«ã¤ãã¦è»½ãèãã¦ã¿ããã¨æãã¾ãã ãµã¼ãæ§ç¯ã®èªåå æåæ§ç¯ã®æéã¨æéãæ¸ãã æåæ§ç¯ã«ã
Ansibleã¯æè¿ä½¿ãå§ãã¦ããæ¹ãå¢ãã¦ãã¦ããã¨ãã話ãèãã¾ãã Ansible Meetupã§ã¯ã使ãæ¹ãäºä¾ããã¹ããã©ã¯ãã£ã¹ã使ã£ã¦ãã¦å°ã£ãç¹ããã©ã°ã¤ã³ãã¢ã¸ã¥ã¼ã«ãªã©ããªã©ãAnsibleã«é¢ãã話ãèããã¨æãã¾ãã Ansible http://www.ansible.com/home ããã¥ã¡ã³ã http://docs.ansible.com/ ååã®meetup Ansible Meetup in Tokyo 2014.09 http://ansible-users.connpass.com/event/7942/ ã¿ã¤ã ãã¼ãã« 18:30 éå ´ 19:00 éå§ 19:10 ãAnsibleãçµæ§ä½¿ã£ã¦ã¿ãã (@bungoume) (æ¥çµé»åç) 19:40 ãAnsible 2.0ã(@r_rudi) (ãããã¯) 20åã§ã (ãã®ãããã§ä¸æ¦ä¼æ©
ä¸çææ°ã®å¤§è¦æ¨¡CDNï¼Contents Delivery Networkï¼äºæ¥è ã¨ãã¦ç¥ãããã¢ã«ãã¤ã»ãã¯ããã¸ã¼ãºãä»ããã®ä¸èº«ã¯åç»ã«éããªãããããããã©ãã£ãã¯ãé«éã«éåãããããã¨ãªãå¹ççã«ãã°ãã¤ã³ãã©ã¸ã¨æé·ãã¤ã¤ããããã®è£å´ã«è¿«ãã 2014å¹´7æãã¢ã«ãã¤ã»ãã¯ããã¸ã¼ãºã¯æ¶è²»è 端æ«åãã³ã³ãã³ãé ä¿¡ãããã¯ã¼ã¯ï¼CDNï¼ã«ããã¦ã23.1Tããã/ç§ã¨ãã帯åï¼é度ï¼ãè¨é²ããããµãã«ã¼ã®2014 FIFAã¯ã¼ã«ãã«ããã®æºæ±ºåããã©ã¸ã«ã§éå¬ãããæ¥ã®ãã¨ã ã£ãã ãã®æ°å¤ã¯2Mããã/ç§ã§ã¨ã³ã³ã¼ãããããã½ã³ã³åãHDï¼High Definitionï¼ãããªã¹ããªã¼ã ã1000ä¸äººä»¥ä¸ã«åæé ä¿¡ãã帯åã«å¹æµãããè¨ãæããã¨ããã¼ã¿ã»ã³ã¿ã¼ã«é©ç¨ããã10Gããã/ç§ã®é«éåç·ã50ï¼ ã®å¹çã§ä½¿ç¨ããã¨ä»®å®ããå ´åã4620æ¬ã®åç·ãéç¨ããã±ã¼ã¹ã«ç¸
ããã«ã¡ã¯ãYAPCéå¶ã¹ã¿ããã®å°æ²¢å®ç¾ã§ãã ã©ããå®ãããé¡ãè´ãã¾ã⪠8/22(å)ã®ãæ¼ã®æéã12æ20åãããã©ãã¯Bããã©ãã¯Cä¼å ´ã«ã¦ã æ ªå¼ä¼ç¤¾Fusicæ§ãæ ªå¼ä¼ç¤¾ã¢ãã¤ã«ãã¡ã¯ããªã¼æ§ã®ãæä¾ã§ã©ã³ãã»ãã·ã§ã³ãè¡ãã¾ãã ã©ã³ãã»ãã·ã§ã³ã¨ã¯ç°¡åã«è¨ãã¨ããã©ãã¯Bããã©ãã¯Cä¼å ´ã§ãå¼å½ãç¡æã§é å¸ããã®ã§ã ä¸è¨ã¹ãã³ãµã¼ã®æ¹ã ã®ã»ãã·ã§ã³ãèãã¤ã¤ãé£ã¹ã¦ä¸ãããï¼ã¨ãããã®ã§ãã å½æ¥ã¯å çé ã§åãä»ãã¾ãã®ã§ã7Fã®ãã©ãã¯Aããã©ãã¯Bã«ãè¶ããã ããï¼ ã¢ãã¤ã«ãã¡ã¯ããªã¼æ§ã¯ãã¢ãã¤ã«ãã¡ã¯ããªã¼ãæ¯ããä½ç½®æ å ±æè¡ãã¨é¡ãã¦é§ ã¡ã¢ã§ä½¿ç¨ããã¦ããä½ç½®æ å ±æè¡ã«ã¤ãã¦èªã£ã¦ããã ãã¾ãã Fusicæ§ã¯ãç¦å²¡ã®Webå±ããã®ç¤¾å äºæ ã«ã¤ãã¦ããããã¯ç¤¾å ã³ãã¥ãã±ã¼ã·ã§ã³ã®ããæ¹ã«ã¤ãã¦ãã¨é¡ãã¦ã対å¤çãªéçºå®ç¸¾ãªã©ã«ã¯è¼ããªãæ§ã ãªç¤¾å ã·ã¹ã
æ°åããã«ã·ã¼ããã°ã©ããï¼http://www.oreilly.co.jp/books/9784873117287/ï¼ ã®åºçãè¨å¿µããã¯ãã¯ãããã¨å ±åã¤ãã³ããéå¬ãã¾ãã ããªã©ã¤ãªã¼ã»ã¸ã£ãã³ã®7æã®æ°åããã«ã·ã¼ããã°ã©ããã¯ãããã°ã©ãã®ããã«æ¸ãããå¥åº·ã®æ¬ã§ããé·æé座ã£ãã¾ã¾ä»äºãç¶ããããã°ã©ãã«ã¯ãè °çãæé¦ã®çã¿ãç®ã®çã¿ãé çãã¤ããã®ã§ãããé£äºãæèããããå°ãä½ãåããã ãã§å¥åº·ç¶æ ã¯æ¹åãã¾ããæ¬æ¸ã§ã¯ãããã°ã©ããç´é¢ããæ§ã ãªå¥åº·åé¡ãåé¿ããããã®ã¤ãã¬ã¼ãã£ããã¤ã¤ã³ã¯ãªã¡ã³ã¿ã«ãªãã¯ããã¯ã¨Tipsãç´¹ä»ãã¾ãã ãæ¬æ¸ã®çºå£²ãè¨å¿µãã¦ããã¾ãã¾ãªã¢ã¤ãã¢ãæã¡ãå®è·µãã¦ããã¨ã³ã¸ãã¢ã®ã¿ãªããã¨ä¸ç·ã«ãå¥åº·ã¨ããã°ã©ãã³ã°ã«ã¤ãã¦èãã¦ã¿ããã¨ããã®ãä»åã¤ãã³ãã§ããå½æ¥ã¯ãã¹ãã¼ã«ã¼ã®ã¿ãªããã®å¥åº·ã«é¢ããçºè¡¨ã¨æ親ä¼ã楽ãããã¨ãã§ãã¾
rpmãS3ã«è¿½å ããããLambdaã§ã¤ã³ããã¯ã¹æ´æ°ãããã¤ãä½ããã¨æã£ããã§ãããawscli-bundle.zipããã¦ã³ãã¼ãã㦠/tmpã«è§£åã㦠ãããããªãã·ã§ã³ä»ãã¦ã¤ã³ã¹ãã¼ã«ã㦠⦠æéçã«ç¡çï¼ã¨ããçµè«ã«ãªãã¾ããã ã§ã¾ããããããèãã¦ã¿ã¦ãèªæ®ºããCloudFormationãªããããçã«ä½¿ããããªããã¨ãããã¨ã§ä½ã£ã¦ã¿ã¾ããã github.com Lambdaã¯ä»¥ä¸ã®ãããªæãã§ããã¤ãã³ããé£ãã§ããã¨ãcfnãã³ãã¬ã¼ãããã¹ã¿ãã¯ãä½æãã¾ãã #!/usr/bin/env lambchop -d /* function_name: call-cfn handler: index.handler role: arn:aws:iam::XXXXXXXXXXXX:role/lambda_basic_execution include_files
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}