photo credit: samantha celera via photopin cc â»ããªãããï¼ï¼GMOãããæ ªå¼ä¼ç¤¾ï¼ããè¨äºã¨ãã¦æ¸ãäºã¯ãäºæ¿é ãã¦ããã¾ãã ç§ã¯å é±ãããªè¨äºãæ¸ãã¾ããã ãWordPressãããã°ã®ç§»è¡ããããã¬ã³ã¿ã«ãµã¼ãã¼ã®è²»ç¨ã¾ã¨ãã¦ã¿ã ãã®ä¸ã§ç§ã¯ããæ¸ãã¾ããã ç§ã®ãã®ããã°ã¯ã¬ã³ã¿ã«ãµã¼ãã¼ããªãããï¼ã§åãã¦ããã¾ãã ç¹æ®µä½¿ãåæãªã©ããã¾ã§ã®ä¸æºã¯ãªãã®ã§ãããæè¿ãããããäºã«ã¢ã¯ã»ã¹æ°ãå¢ãã¦ããäºããã£ã¦ããã¨ã©ã¼ãå¤ããããã¦ã¬ã¹ãã³ã¹ãé ãããã£ã½ãé ãä»æ¥ãã®é ã§ãããã¾ãã ãã®æã«ã¯æ¬å½ãµã¼ãã¼ã¨ã©ã¼ãå¤ããããªããæè¿KeiKanriã®ããã°é ããªãï¼ãã¨è¨ãããäºãå¤ããã¡ãã£ã¨ã°ããããªãããï¼ã«ä¸æºã¨éçãæãã¦ãã¾ããã å®éã«å人ã®ããã¬ã¼ãä»ã®è¨äºãè¦ã¦ãµã¼ãã¼ç§»è¡ãèãã¦ãã¾ããããã¨ãããµã¼ã
ä»å¹´ã®åããããããå人çãªæè¡æ¤è¨¼ã«ã¯SSDã§åä½ãéãã1æé1åã§æéãå®ãã®ã¨ ãã±ã¼ã·ã§ã³ãSan Franciscoã«ããã¨sshã§ãã¬ã¹ãã³ã¹ãæªããªãã®ã§ãå ¨é¨Digital Oceanã使ã£ã¦ããã(徳丸å çãç´¹ä»ããåãã使ã£ã¦ãããã ï¼) Digital Oceanã«ã¤ãã¦ã¯Rebuild: 2: Rails, Redis, VPS (Kenn Ejima)ã®42åãããããè¨åããã¦ã¾ããå¿ è´ã§ãã 使ã£ã¦ãæ§åã®MacBookAirã¿ãããªè²§å¼±ãªãã·ã³ã ã¨ãã¼ã«ã«ã§VMåããã¨ãã¡ã³åãã¾ããã¨ãã§æ³£ããããªãã®ã§ãDigital Oceanã ã¨æ³£ããã«æ¸ãã§å¿«é©ã ããã§ä»æ¥Vagrantçµç±ã§Digital Oceanå©ç¨ããã¨ãã³ãã³ãã©ã¤ã³ããå¿ è¦ãªã¨ãã«æ°è¦ã¤ã³ã¹ã¿ã³ã¹(Droplet)ä½ã£ã¦ã æ¤è¨¼çµãã£ããåé¤ã¨ããæ軽ãªä½¿ãæ¨ã¦é«éãµã¼ãç°å¢ãå©ç¨
ã¢ãã¿ãªã³ã°ãã«ã¸ã¥ã¢ã«ã«ãã¼ã¯ãããMonitoring Casual Talk #3ã«ååå ãã¦ãã¾ãã ããããåå¼·ä¼ãèãã®ã§ã¯ã¡ããã¡ããåå ãã¦ã¾ãããã話ãã®ã§ã¯ Kyoto.pm ã§LTãã¦ä»¥æ¥ã®2åç®ã§ãã¾ã ããã¾ãæ £ãã¦ãªãã§ãã話ããããã¨ã¯è¨ãã(å¤å)ã®ã§ã¾ãè¯ãã£ãããªã¼ã¨ããæ触ã§ããã ãããå¨ããããããããã£ã¦ã¢ãï½ï¼ï½ï½ 話ããå 容ã¯"ã¯ã¦ãªã®Nagios" ã¯ã¦ãªã®Nagios - ã¢ãã«ã¸#3 from Shoichi Masuhara ã¯ã¦ãªãã©ã®ããã«Nagiosã使ã£ã¦ãããã¨ããã®ã¨ãããã«å ãã¦ã¯ã¦ãªã§ä½¿ã£ã¦ãããµã¼ã管çãã¼ã«ã«ã¤ãã¦ç´¹ä»ãã¦ãã¾ãããã¹ã©ã¤ãè¦ã¦ãããã¨ã¾ã空æ°ã¯ããã£ã¦ãããããã¨ã ç´¹ä»ã§ããã®ã¯ãããã®ã®ããªã¼ãã³ã½ã¼ã¹ã«ãããã§ããã¨ãè¨ã£ããã㧠ãµã¼ã管çãã¼ã«ã¯ã»ãã #monitoringcasualâ
Immutable ï¼ä¸å¤ãªï¼ Infrastructure ã¯ããµã¼ããä¸åº¦ã»ããã¢ãããããäºåº¦ã¨å¤æ´ãå ããªãã¨ããéç¨ã¹ã¿ã¤ã«ã®ãã¨ãæãã¾ãã ã¯ã©ã¦ãç°å¢ã§ã¯ãå¿ è¦ã«å¿ãã¦ããã«ãµã¼ããç¨æããä¸è¦ã«ãªã£ããç°¡åã«ç ´æ£ãããã¨ãã§ãã¾ããImmutable Infrastructure ã¯ããã®ãããªã¯ã©ã¦ãã®ç¹æ§ãæ´»ããéç¨ã¹ã¿ã¤ã«ã¨ãã¦ã注ç®ããã¤ã¤ããã¾ãã èæ¯ Immutable Infrastructure ãæå±ãããèæ¯ã«ããæè¡ã¨ãã¦ã Auto Scaling ã Blue-Green Deployment*1 ãªã©ãããã¾ãã Auto Scaling Auto Scaling ã¯ãè² è·ã«å¿ãã¦èªåçã«ãµã¼ãå°æ°ãå¢æ¸ãããæè¡ã§ã AWS ã§ã¯æ¨æºã§æä¾ããã¦ãã¾ãã常ã«å¿ è¦ãªå°æ°ã ãèµ·åãã¦ããã°ããã®ã§ãã³ã¹ãåæ¸ã«ãªãã¨ãããã®ã§ãã Auto S
æ°è¦ãµã¼ãã¹ç¨ã®ç£è¦ãNagiosããsensuã«åãæ¿ãã¦2ã¶æçµã£ãã®ã§ã å°å ¥æã®èª¿æ»ã§ç¤¾å ã§å ¬éãã¦ãissueã¨ãæå ¥ãã¦2ã¶æééç¨ããè¨é²ãå ¬éãã¦ãããã¨æãã ã¨ããã以åSensuã®äºãæ¸ãã¨å ¬è¨ãã¦ããã®ã«ããã£ãããµãã£ã¦ã㦠æ¨æ¥@ma0eããã®ããã°ãè¦ã¦ä¸è¨ã®ããåããæãåºãã¦æ¥ãã§æ¸ãã⦠@ma0e We started using it. @glidenote will report the detail soon, I think. â kentaro (@kentaro) 2013, 10æ 30 @kentaro @glidenote that would be nice â Mitsutoshi Aoe/maoe (@ma0e) 2013, 10æ 30 å°å ¥ç°å¢ã¯CentOS 6.4ã§ãå©ç¨ãã¦ããsensuã®ãã¼ã¸ã§ã³ã¯0.12.1-1ã«ãª
2024.12.9 ä»ç¤¾ãµã¼ãã¸ã®ä¹ãæãè«ãè² ãã«ä»ãã¾ã㦠2024.9.7 ãµã¼ãã¹ã®ç¶ç¶(ä¾¡æ ¼æ¹å®ãä¼´ãã¾ã)ã«ä»ãã¾ã㦠2024.8.24 ãwebã¡ã¼ã«ãã使ãã®æ¹ã(ãªãä»ã¾ã§ã®å容ãµã¼ããrs19ã§ãã£ãæ¹ã該å½ãã¾ãã)ã«ãç¥ãã 2024.5.3 å½ç¤¾ãµã¼ãã¹ç¶ç¶ã¢ã³ã±ã¼ãã®çµéãç¥ãã 2023.8.20 ãµã¤ãã®SSLåã«ä»ãã¾ã㦠2022.12.9 Gmailå®ã¦è»¢éã®ä¸åã«ä»ãã¾ã㦠2022.10.2 ã¢ã«ã¦ã³ãã®å¾©æ§ãè¦ç´ãã¾ããã 2022.8.28 Gmailå®ã¦éä¿¡ã®ä¸å ·åã«ä»ãã¾ã㦠2022.7.15 wordpressã®ã¢ãããã¼ãã«ä»ãã¦ãç¥ãã 2022.7.13 ãwebã¡ã¼ã«ãã使ãã®æ¹ã(ãªãä»ã¾ã§ã®å容ãµã¼ããrs1,rs15,rs16,rs17,rs18,rs20,rs21ã§ãã£ãæ¹ã該å½ãã¾ãã)ã«ãç¥ãã 2021.06.1
æ¦è¦ FTãµã¼ãï¼Fault Tolerant serverï¼ã¨ã¯ãä¼æ¥ã®æ å ±ã·ã¹ãã ãªã©ã§ä½¿ããããµã¼ãã³ã³ãã¥ã¼ã¿è£½åã®ãã¡ããã¹ã¦ã®é¨åãäºéåããããããã«é害ãèµ·ãã¦ãå ¨ä½ãåæ¢ããªãããè¨è¨ããããã®ã CPUãã¡ã¢ãªãã¹ãã¬ã¼ã¸ãé»æºã¦ããããªã©ãã¹ã¦ã®è£ ç½®ãäºç³»çµ±åãã常ã«ã¾ã£ããåãå¦çããããªãã稼åãããããããã®é¨åã«åé¡ãçºçãã¦åæ¢ããå ´åãæ®ã£ãçæ¹ã§å¦çãç¶è¡ãããã®éã«æ°ããé¨åã¨äº¤æãããã¨ãã§ãããã©ã®é¨åãã·ã¹ãã å ¨ä½ãåæ¢ããã«çè±å¯è½ãªæ§é ã¨ãªã£ã¦ããã å®éã®è£½åã§ã¯ãäºå°ã®ã³ã³ãã¥ã¼ã¿ãä¸çµã«ãªã£ããããªæ§é ã¨ãªã£ã¦ããã両æ¹ã«çµã¿è¾¼ã¾ããç¹æ®ãªéä¿¡ã»å¶å¾¡ç¨ã®ICããããéä¿¡ããå¦çå 容ãåæãã¦ããããã¼ããã£ã¹ã¯ãªã©ã®ã¹ãã¬ã¼ã¸ã¯RAID 1ï¼ãã©ã¼ãªã³ã°ï¼æ§æã¨ãªã£ã¦ããå ´åãå¤ãã常ã«åãå 容ãè¨é²ãããä¸æ¹ã交æãããã¨èªåçã«ãã
ãéã«ãããã¬ã³ã¿ã«ãµã¼ãã¼ãã®ãã£ã¹ã¯å®¹éã¯ãã£ãã®2MBï¼åçãæ°æã¢ããããã°ããã«éçããã¾ãï¼
Puppet ã Chef ã§æ§ç¯ãããµã¼ãã RSpec ã§ãã¹ããã ã§æ¸ããä»çµã¿ã使ããããããããã« serverspec ã¨ããåå㧠gem åãã¦ã¿ãã rubygems.org ã«ãç»é²ãã¦ããã®ã§ãgem install ã§ã¤ã³ã¹ãã¼ã«ã§ããã $ gem install serverspec ã¤ã³ã¹ãã¼ã«ããããé©å½ãªãã£ã¬ã¯ããªã§ serverspec-init ãå®è¡ãããã¨ãéå½¢ã¨ãªããã£ã¬ã¯ããªããã¡ã¤ã«ãçæããã $ serverspec-init + spec/ + spec/www.example.jp/ + spec/www.example.jp/httpd_spec.rb + spec/spec_helper.rb + Rakefile spec/www.example.jp/httpd_spec.rb ããµã³ãã«ãã¹ãã³ã¼ãã§ããããªæãã«ãªã£ã¦
Webã¢ããªã±ã¼ã·ã§ã³ã®ããã©ã¼ãã³ã¹ããã©ããã³ã°ããããã«ãapp serverã®å¦çã«ããã£ãæéãè¨é²ãããã æ¹æ³ãã以ä¸ã®ããã«åé¡ã§ããã 1. reverse proxyå´ã§ãproxyå ã®app serverãã¬ã¹ãã³ã¹ãè¿ãã¦ããã®ã«ããã£ãæéããã°ã«è¨é²ããå ´å 1.1 nginx 1.2 apache 2. app serverã§ãªã¯ã¨ã¹ãå¦çã«ããã£ãæéãåºãã¦ããã°ã«è¨é²ããå ´å 2.1 reverse proxyã§è¨é²ããå ´å 2.2 app serverã§ãã°ã«è¨é²ããå ´å 1ã¨2ã¨ã§ã¯åºã¦ããæ°åãéãã ãããã©ãæ¬ä»¶ã«å¿ è¦ãªã®ã¯ããã©ã¼ãã³ã¹æ¹åã示ãä¸è²«ããææ¨ãªã®ã§ãã©ã£ã¡ã§ãããã¨æãã 1. reverse proxyå´ã§åãå ´å 1.1 nginx log_formatãã£ã¬ã¯ãã£ãã«$upstream_response_timeã¨ããå¤æ°
ããã«ã¡ã¯ãæ«äºã§ãã ååã®NHNãã¯ããã¸ã¼ã«ã³ãã¡ã¬ã³ã¹ã«ã¦ä¼å¢ãããã第ï¼åNHNãã¯ããã¸ã¼ã«ã³ãã¡ã¬ã³ã¹ã¯åå åã«ãã¾ããã¨è¨ã£ã¦ããã®ãèãã¦ããã³ã¨æ¥ãæ¹ãããã£ãããã¾ãã§ããããï¼ãã¾ãããã ã¿ã¤ãã«ã§ãã§ã«ç´¹ä»ãã¦ãã¾ã£ã¦ããã¾ãã第ï¼åNHN ãã¯ããã¸ã¼ã«ã³ãã¡ã¬ã³ã¹ã®çªå¤ç·¨ã¨ãã¦ãWebãµã¼ãã¹ã®é«éåã«åãçµãã§ããå ¨ã¦ã®ã¨ã³ã¸ãã¢ã«ååã«ãã®è ããµãã£ã¦ãããã¹ãè¡ã£ãã¤ãã³ããï¼å¹´ä»¥ä¸ã®æãçµã¦å¸°ã£ã¦ãã¾ãï¼ãã®åããããæãã«ã¹ãã¼ãã¢ããã³ã³ãã¹ããç¥ã㦠ISU Contest (Iikanjini Speed Up Contest) #isucon2 ã§ãï¼ãã®ã¾ãã¾ã§ããisuconã¨ãã¦ã¯ï¼åç®ãªã®ã§ #isucon2 ã§ããå ¬å¼ããã·ã¥ã¿ã°ãåãã #isucon2 ã§ãã ååã®æ§åã¯ãã¡ããã覧ãã ããã¾ãã livedoor Tech
SSHã¯ã©ã¤ã¢ã³ããããã並ã¹ã¦ãã¼ã¹ããã¾ããã®ã許ãããã®ã¯å°å¦çã¾ã§ã ãã ã¨è¨ã£ã¦ã¿ããã£ãã ãã§ããããã«ã¡ã¯ã Capistranoã§ãµã¼ãæ§ç¯ãçååããæ¹æ³ãç´¹ä»ãã¾ãããµã¼ãæ§ç¯ã®èªååã¨ããã°ChefãPuppetãæåã§ãããCapistranoã¯ãµã¼ãã«SSHæ¥ç¶ããã§ããã°å©ç¨ã§ããã¡ãªãããããã¾ãããã¼ã¿ã»ã³ã¿ã«æã¡è¾¼ããã¼ãPCã«Capistranoãä»è¾¼ãã§ããã°ä¾¿å©ãªãã¼ã«ã«ãªãããçæéã«æ¤è¨¼ç¨ã®ãµã¼ããæ§ç¯ããå ´åãæç¨ãªãã¼ã«ã«ãªãã§ããããCapistranoã¯ãããã¤ãã¼ã«ã¨ãã¦ä½¿ããããã¨ãå¤ãã§ããããµã¼ãæ§ç¯ã«ãæç¨ã§ãã Capistranoã¯Rubyã§æ¸ããããã¼ã«ã§ãè¤æ°ã®ãµã¼ãã«SSHæ¥ç¶ãã¦ã³ãã³ããå®è¡ã§ãã¾ããåæ§ã®ãã¼ã«ã¨ãã¦expectãããã¾ãããCapistranoã®ã¹ã¯ãªããã¯Rubyã®å é¨DSLãªã®ã§æ¸ããããæ¡
ã¨ãã½ã¼ã250[åç»ãè¦ã, èªã]ã§ãRailsã¢ããªã±ã¼ã·ã§ã³ã«ã¼ãããèªè¨¼æ©è½ã追å ãã¾ãããæ¢åã®ãµã¼ããã¼ãã£è£½ã®ãã¼ã«ã使ãããå ´åã¯ãä¸é¨ã®æ©è½ãèªååãã¦ãããgemãããã¤ãããã¾ãããä»åã®ã¨ãã½ã¼ãã§ã¯Sorceryãç´¹ä»ãã¾ãã Sorceryã¯ã·ã³ãã«ãªãã¼ã«ã§ããããã20ã®ã¡ã½ãããæã¤ã ãã§ããããããå¿ è¦ãªèªè¨¼æ©è½ã®ãã¹ã¦ãæä¾ãã¾ãããã®ã·ã³ãã«ãã«åãã¦ãã«æ©è½ãæã¡ãã¾ãã¢ã¸ã¥ã¼ã«æ¹å¼ãã¨ã£ã¦ãããããä¾ãã°ãã¹ã¯ã¼ãã®åæåãæ´»åãã°ãªã©ãå¿ è¦ãªé¨åã®ã¿ãé¸æãã¦æå¹åã§ãã¾ããSorceryã¯ä»ã®èªè¨¼ç¨gemã¨æ¯è¼ããã¨ããä½ãã¬ãã«ã§åä½ããã³ã³ããã¼ã©å±¤ããã¥ã¼å±¤ã®ã³ã¼ãã£ã³ã°ã¯éçºè ã«ãã ãããã¦ãã¾ããä»åã®ã¨ãã½ã¼ãã§ã¯ãã®Sorceryã使ã£ã¦æ¢åã®Railsã¢ããªã±ã¼ã·ã§ã³ã«èªè¨¼æ©è½ãä»å ãã¦ããã¾ãã ã¯ãã㫠対象ã¨ããã¢ããª
Blogging is a disease: selfkleptomania, your normal condition. About GPG Public Key Deviseãéè¡ãããã®ã§ä¸é¨ã®ã¦ã¼ã¶ã«ã¯äººæ°ã®ããã·ã³ãã«æåã®ã¦ã¼ã¶èªè¨¼ç¨ãã©ã°ã¤ã³Sorceryã§ãããä¾ãã°ã管çè ãã¨ãä¸è¬ã¦ã¼ã¶ãã¿ããã«è¤æ°ã®ç¨®é¡ãããã¢ã«ã¦ã³ããããããå¥ã®ã¢ãã«ã¨ãã¦æ±ãã®ã¯ãã¾ãå¾æã§ã¯ããã¾ãããã©ã®ã¦ã§ãã¢ããªã±ã¼ã·ã§ã³ã§ãæ®éã¯ãããããã®ã¢ã«ã¦ã³ã種å¥ã¯ããã§ãããããããä¸è¬ã¦ã¼ã¶ã«ç®¡çå´ã®æ©è½ãã¢ã«ã¦ã³ãã使ããããã«ãªã£ã¦ãã¾ã£ã¦ã¯å°ãã®ã§ããã£ãããã¹ã§ã¨ãã§ããªããã¨ã«ãªããªããããããããå¥ã®ã¢ãã«ã§æ±ããããªãã®ã¯å½ç¶ã§ãããããåºæ¥ãªãã®ã§ããã°ãæè§ã·ã³ãã«ããæ°ã«å ¥ã£ã¦Sorceryã使ãå§ãã¦ããããã«æ«æãã¦ãã¾ãã¾ãã大å¤æ®å¿µã§ãã ã§ããã¾ã確ãã«å¾
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}