Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
ウェブサービスのCentOS5撤退 / Centos5 Retiring For Web Se...
Search
Yuuki Tsubouchi (yuuk1)
June 28, 2016
Technology
2
790
ウェブサービスのCentOS5撤退 / Centos5 Retiring For Web Servicies
Hosting Casual Talks #3
Yuuki Tsubouchi (yuuk1)
June 28, 2016
Tweet
Share
More Decks by Yuuki Tsubouchi (yuuk1)
See All by Yuuki Tsubouchi (yuuk1)
クラウドのテレメトリーシステム研究動向2025年
yuukit
3
830
博士論文公聴会: Scaling Telemetry Workloads in Cloud Applications: Techniques for Instrumentation, Storage, and Mining / PhD Defence
yuukit
1
120
博士学位論文予備審査 / Scaling Telemetry Workloads in Cloud Applications: Techniques for Instrumentation, Storage, and Mining
yuukit
1
1.8k
MetricSifter:クラウドアプリケーションにおける故障箇所特定の効率化のための多変量時系列データの特徴量削減 / FIT 2024
yuukit
2
230
工学としてのSRE再訪 / Revisiting SRE as Engineering
yuukit
19
13k
Cloudless Computingの論文紹介
yuukit
2
510
#SRE論文紹介 Detection is Better Than Cure: A Cloud Incidents Perspective V. Ganatra et. al., ESEC/FSE’23
yuukit
3
1.9k
エンジニアのためのSRE論文への招待 / Introduction to SRE Papers for Engineers
yuukit
2
11k
博士課程での研究まとめ 2023年1月版 / Summary of my research in the PhD course
yuukit
1
300
Other Decks in Technology
See All in Technology
React ABC Questions
hirotomoyamada
0
290
AIと開発者の共創: エージェント時代におけるAIフレンドリーなDevOpsの実践
bicstone
1
310
QA/SDETの現在と、これからの挑戦
imtnd
0
130
The Tale of Leo: Brave Lion and Curious Little Bug
canalun
1
120
AIで進化するソフトウェアテスト:mablの最新生成AI機能でQAを加速!
mfunaki
0
140
Рекомендации с нуля: как мы в Lamoda превратили главную страницу в ключевую точку входа для персонализированного шоппинга. Данил Комаров, Data Scientist, Lamoda Tech
lamodatech
0
730
読んで学ぶ Amplify Gen2 / Amplify と CDK の関係を紐解く #jawsug_tokyo
tacck
PRO
1
140
LangfuseでAIエージェントの 可観測性を高めよう!/Enhancing AI Agent Observability with Langfuse!
jnymyk
1
230
CodePipelineのアクション統合から学ぶAWS CDKの抽象化技術 / codepipeline-actions-cdk-abstraction
gotok365
5
180
3月のAWSアップデートを5分間でざっくりと!
kubomasataka
0
120
Road to Go Gem #rubykaigi
sue445
0
480
Running JavaScript within Ruby
hmsk
3
330
Featured
See All Featured
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
331
21k
How to Think Like a Performance Engineer
csswizardry
23
1.5k
Faster Mobile Websites
deanohume
306
31k
Fireside Chat
paigeccino
37
3.4k
Product Roadmaps are Hard
iamctodd
PRO
52
11k
Being A Developer After 40
akosma
91
590k
Making the Leap to Tech Lead
cromwellryan
133
9.2k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
32
2.2k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
49k
YesSQL, Process and Tooling at Scale
rocio
172
14k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
30
2k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
31
1.1k
Transcript
ΣϒαʔϏεͷ $FOU04ఫୀ Z@VVLJ )PTUJOH$BTVBM
@y_uuk1 id:y_uuki ΣϒΦϖϨʔγϣϯΤϯδχΞ @ͯͳ
CentOS 5 EOL
͋ͱ9ϲ݄
EOLΕϦεΫ • ੬ऑੑରԠ͕͘͠ͳΔ • OpenSSLͳͲͷηΩϡϦςΟύονͷ͋ͨͬͨ ύοέʔδͷߋ৽͕ͳ͘ͳΔ • ֎෦αΠτͷTLSࣄʹ͍͚ͭͳ͘ͳΓɺଓ Ͱ͖ͳ͘ͳΔ •
CentOS 5ͷOpenSSL0.9.8ܥͰݹ͍ • TLS 1.2ʹඇରԠ + SNI͕͑ͳ͍ͳͲ
1000+ CentOS5 100+ roles
ରࡦ͢Δαʔόͷબ • ϦόʔεϓϩΩγ • ֎෦͔ΒଓΛड͚͚ΔɻTLSଓ͢Δͷ༏ઌ • ΞϓϦέʔγϣϯαʔόɺόοναʔόɺϫʔΧ • ͳΜΒ͔ͷϏδωεॲཧΛ࣮ߦ͢Δαʔό •
Ϋϩʔϥ֎෦APIΛୟ͘ͱ͜ΖΛ༏ઌ • ϦεΫͷ͍σʔλϕʔεޙճ͠ • ͦͷଞ֎෦ͱͷͷͳ͍ཧܥαʔόޙճ͠
ରࡦํ • ☓ ࣗͰηΩϡϦςΟύονΛ͋ͯΔ • ࠷ऴखஈͱ͍ͨ͠ • ☓ CentOS 7ʹΞοϓάϨʔυ
• ◦ ଞͷσΟετϦҠߦ • 5લ͔Β৽αʔϏεDebian
DebianԽʢϓϩΩγʣ • ݱࡏͷڥ Apache2 or Nginx • httpd.conf͕؆୯ͳͷNginx • ؆୯Ͱͳ͍ͷApache
2ͷ࠷৽൛ • 300ߦͷRewriteRule • ςετίʔυΛॻ͍ͯಈ࡞֬ೝ͢Δ
https://github.com/yuuki/ yuuki/blob/master/misc/ proxy-config-test.md
DebianԽʢΞϓϦέʔγϣϯʣ • mod_perl1, mod_perl2ΛDebianͰϏϧυ • rpmԽ͞ΕͨCPANϞδϡʔϧཧΛ cpanfileԽ • XSͳͲCͷϥΠϒϥϦʹґଘ͢Δͷ͋ ΔͨΊɺDebianͰϏϧυͰ͖Δ͔Ͳ͏͔
mod_perl1, mod_perl2ΛϏϧυ • ϏϧυͰ͖ͳ͍ͷͳΒϞμϯͳڥʢPlackʣ ʹҠߦ͢Δඞཁ͕͋Δʢͷ͘͢͝େมʣ • DockerfileͰϏϧυ͠ϑΝΠϧαʔόʹઃஔ • ChefͰ /opt/httpdʹઃஔ͢Δ͚ͩ
• Perlґଘ͕͋ΔͨΊdebύοέʔδԽ͕໘
IUUQTHJUIVCDPNZVVLJEPDLFSpMFT USFFNBTUFSNPE@QFSM
cpanfileԽ • rpm -qa perl ͔Βੜ • ҰൃͰ carton install
͕௨ΔΑ͏ʹͳ Δ·Ͱͱʹ͔͕͘ΜΔ • ಈ࡞֬ೝͯ͠ಈ͔ͳ͔ͬͨΒɺCPAN ϞδϡʔϧͷόʔδϣϯͷࠩΛٙ͏
initεΫϦϓτ vs daemontools • Systemd … • daemontoolsͰࠔ͍ͬͯͳ͍ͷͰ daemontoolsԽ •
daemontoolsมԽ͕ͳ҆͘ఆͯ͠ ͍ͯࠓޙ҆৺
ม͑ͳ͍ͷ • Perlͷόʔδϣϯ • mod_perlϝδϟʔόʔδϣϯ • Apacheϝδϟʔόʔδϣϯ • CPANϞδϡʔϧͷόʔδϣϯ •
ݹ͍ͷ͕खʹೖΒͳ͍Մೳੑ͋Δ
Ұ൪େมͳͷ ಈ࡞֬ೝ
ಈ࡞֬ೝ • ݹ͍ΞϓϦέʔγϣϯςετ͕ͳ͍ • खಈͰ͕ΜΔ • ϓϩΩγઃఆͷςετͲ͏͢Δͷ͔ • PerlͰૉʹHTTPΛୟ͘ςετΛॻ ͍ͯΔ
ೖΕସ͑࡞ۀ • ϩʔυόϥϯαԼʹ1͚ͩೖ༷͠ ࢠݟ • ΤϥʔϩάͳͲΛSlackʹྲྀ͢ • ͕ى͖ͨΒ͢ • શೖΕସ͑
Debian8ͷEOL 2020-06ʢLTSʣ
͋ͱ4
ΞοϓσʔταΠΫϧ Λճ͠ଓ͚ΔͨΊʹ
࡞ۀ༰͓͞Β͍ • ৽OS্Ͱmod_perlϏϧυ • cpanfile࡞ • αʔόͷ࡞Γ͠ͱஔ͖͑ • ΞϓϦέʔγϣϯͷಈ࡞֬ೝ •
ϓϩΩγͷಈ࡞֬ೝ
ϛυϧΣΞґଘ͠ͳ͍ςετ • Apache => nginxͷΑ͏ʹಉׂ͡ͷϛ υϧΣΞΛϦϓϨΠε͢Δ͜ͱ͕͋Δ • ઃఆϑΝΠϧΛςετ͢ΔͷͰͳ͘ɺ ֎͔ΒΈͨৼΔ͍Λςετ͢Δ •
ϓϩΩγͷ߹ɺ࣮ࡍʹϦΫΤετ͢ ΔςετΛॻ͘
ΞϓϦέʔγϣϯڥͷ • ͍·ͩͱαʔό͝ͱ৽͘͠༻ҙͯ͠ೖΕସ ͕͑ඞཁ • ݹͯ͘ࠔΔͷΞϓϦέʔγϣϯ • ΞϓϦέʔγϣϯ࣮ߦڥΛಠཱͯ͠Ξο ϓσʔτ͍ͨ͠ •
ίϯςφԽ (chrootɺDocker)
͓ΘΓ