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
about CloudAtCost
Search
MSR
April 30, 2016
1
4.1k
about CloudAtCost
CloudAtCostという買い切りVPSってどうなん? カナダのVPS業者、CloudAtCostの紹介。
※情報は発表当時(2016/4/30)のものです。
MSR
April 30, 2016
Tweet
Share
More Decks by MSR
See All by MSR
horizon
msr_i386
0
1.2k
fujiaire by shell
msr_i386
0
850
colaboratory
msr_i386
0
140
yes command faster
msr_i386
0
340
Amazon Dash Hack
msr_i386
0
1.4k
cgroup
msr_i386
0
1.3k
discover fork-bomb
msr_i386
0
1.8k
kanji banner
msr_i386
0
1.8k
ASCII art oneliner
msr_i386
0
1.9k
Featured
See All Featured
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
GitHub's CSS Performance
jonrohan
1030
460k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
28
4.5k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
132
33k
Code Reviewing Like a Champion
maltzj
521
39k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
How STYLIGHT went responsive
nonsquared
96
5.3k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
19
2.3k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
Fashionably flexible responsive web design (full day workshop)
malarkey
406
66k
YesSQL, Process and Tooling at Scale
rocio
170
14k
Embracing the Ebb and Flow
colly
84
4.5k
Transcript
CLOUD AT COST ങ͍ΓVPSͬͯͲ͏ͳΜ?
ങ͍ΓVPSͬͯͲ͏ͳΜ? ࣍ ▸ ࣗݾհ ▸ Cloud At Costͷಛ ▸ ࣮ࡍʹ࡞ͯ͠Έͨ݁Ռ
▸ ༻ྫ
ങ͍ΓVPSͬͯͲ͏ͳΜ? ࣗݾհ ▸ ϋϯυϧωʔϜ: MSR ▸ ݱࡏٻ৬த ▸ C++ϓϩάϥϛϯάɺαʔόʔӡ༻͕ಘҙ ▸
Webϒϥβ࡞ͬͯ·͢ http://app.tungsten-start.net/
ങ͍ΓVPSͬͯͲ͏ͳΜ? CLOUD AT COSTͱ ▸ ΧφμʹຊࣾΛஔ͘VPSۀऀͷ1ͭ ▸ ΧφμͷISPͰ͋ΔFiberneticsࣾͱఏܞ ▸ ͜Ε͚ͩݟΕͨͩͷւ֎VPSۀऀ͕ͩɾɾɾ
(ಛ1) ങ͍ΓɻՃྉۚҰͳ͠!
(ಛ2) ॊೈͳϦιʔε ▸ ܖͰͳ͘Ϧιʔεܖ ߪೖͨ͠ϓϥϯʹԠͯ͡CPUɺϝϞ ϦɺσΟεΫͷ༻Մೳ༰ྔ͕૿Ճ ▸ CPU͕ෳݸ͋Εɺ1ʹ·ͱΊ Δ͜ͱɺ2Ҏ্ʹ͚Δ͜ͱ Մೳ
(ಛ3) ઐ༻αʔόʔ͋Δ ▸ ֹ݄99υϧ ˞ৗ࣌50%Φϑηʔϧத $49.5 ▸ SLA 99.99%Λ͏͍ͨͬͯΔ͕ɺ҆ ఆੑෆ໌
▸ ৄࡉলུ
ςΩετ ಛ(4) աܹͳܹ҆ηʔϧ ▸ ৗ࣌50%Φϑ ▸ Ӧۀ࣌ؒͳΒΦϯϥΠϯνϟοτͰ60%Φϑ(ະ֬ೝ) ▸ ݄ʹ70%ʙ80%ΦϑʹͳΔ͜ͱ͕͋Δ ▸
ϒϥοΫϑϥΠσʔʹͳΔͱ90%Φϑ͋ͬͨ ▸ …࠷ܹۙ҆ηʔϧΛ࿈ൃ͍ͯ͠Δ͚Ͳɺେৎͳͷ͔??
ങ͍ΓͰେৎͳΜ? ▸ Cloud At CostͷFAQʹΑΔͱ ▸ ࣗલͰΠϯϑϥߏஙΛ͍ͬͯΔ (αʔόʔࣗલͰௐୡ) ▸ ISPͱఏܞ͍ͯ͠Δ͓͔͛Ͱճઢίετ͕͔ͳΓ͍҆
▸ σʔληϯλʔͷɺిؾ͔ͳΓ͍҆ ▸ …ͳͷͰେৎͱͷ͜ͱ ຊͷDCʹͳ͍ત·͍͠ཁૉ͕ἧ͍ͬͯΔΒ͍͠
࣮ࡍʹͬͯ Έͨ
༻ҙ͞Ε͍ͯΔOS͜Μͳײ͡ ϥΠηϯε͕ ո͍͠
࡞ʹ͕͔͔࣌ؒΔ ▸ ཁٻ͢ΔϦιʔεͷଟ͞ʹൺྫ? ▸ ࠞࡶ͍ͯ͠ͳ͚Ε1΄ͲͰ࡞͕ྃ͢Δ͕… ▸ ηʔϧͰࠞࡶ͍ͯ͠Δͱ1िؒҎ্͔͔Δ߹͋Δ ▸ IPΞυϨε͕֬อͰ͖ࣦͣഊ͢Δ߹͋Δ
࡞ʹޭͯ͠ɾɾɾ ▸ IP͕…ڝ߹ͯ͠Δorz [root@c999943622-cloudpro-187723535 ~]# ifconfig eth0 eth0 Link encap:Ethernet
HWaddr 00:50:56:BE:C4:D0 inet6 addr: fe80::250:56ff:febe:4c0d/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX Packets:13 errors:0 dropped:0 overruns:0 frame:0 TX Packets:10 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0b) TX bytes:0 (0.0b) [root@c999943622-cloudpro-187723535 ~]# ifconfig eth0 | grep ipv4 [root@c999943622-cloudpro-187723535 ~]# [root@c999943622-cloudpro-187723535 ~]# arping -D 45.62.XXX.XXX -c 1 ARPING 45.62.XXX.XXX from 0.0.0.0 eth0 (45.62.XXX.XXX) at 00:50:56:BE:XX:XX [ether] on eth0 Sent 1 probes (1 broadcast(s)) Received 1 responce(s) [root@c999943622-cloudpro-187723535 ~]# rm -rf /
ԾϚγϯͷCPUߏ ▸ CPUɺXeon L5520ɺX7560ɺE7450ͷ͍ͣΕ͔ ▸ ίΞΛ૿͗͢͠Δͱ1ίΞ͋ͨΓͷੑೳ͕Լ͕Δ (Φʔόʔίϛοτٙ) ▸ 1ίΞ1ιέοτͱͯ͠ೝࣝ
ԾϚγϯͷσΟεΫ ▸ SSDͱ໊͍ͬͯΔͷʹ͍ ▸ 400IOPSग़Εྑ͍ํ ▸ ηʔϧதͳͲͷൟظ6IOPS͔͠ग़ͳ͍߹͋Γ ▸ SSDSuper Slow
Diskͷུ?
ԾϚγϯͷωοτϫʔΫ ▸ ݻఆάϩʔόϧIPΞυϨε(IPv4ͷΈ) ▸ ΧφμࠃͰ͋Ε࣮ଌ50Mbpsఔ ▸ ຊ͔ΒͩͱRTT180ms͙Β͍
▸ ࣭શવμϝ ▸ αʔόʔ࡞ʹ͕͔͔࣌ؒΔࣦ͠ഊ͢Δ͜ͱ͋Δ ▸ ࠶ىಈͨ͠Βͦͷ··্͕ͬͯ͜ͳ͍͜ͱ͕͋Δ ▸ ηʔϧ͕࢝·ΔͱCPUσΟεΫܶʹͳΔ ▸
σΟεΫͷεφοϓγϣοτόοΫΞοϓػೳ͕ͳ͍ ▸ 7ܦաͰࣗಈతʹిݯΛམͱ͢᠘(ηʔϑϞʔυ)͕σϑΥ ϧτͰ༗ޮ
༻ྫ ▸ ͍ͭىಈͰ͖ͳ͘ͳΔ͔Θ͔Βͳ͍ڪා ڥߏஙࣗಈԽͷେֶ͕͞Δ (γΣϧܳʹຏ͖͕͔͔Δ!?) ▸ ͍ͭσʔλ͕ফࣦ͢Δ͔Θ͔Βͳ͍ڪා σʔλӬଓԽͷେֶ͕͞Δ ▸ ͍ͭࢭ·ͬͯ͠·͏͔Θ͔Βͳ͍ڪා
ηʔϧΛૂ͑Խख๏͕֨҆ͰֶΔ ▸ IPΞυϨεڝ߹Ͱ͍ʹͳΒͳ͍࣌ɺةݥγΣϧܳͰؾҰ৽ (ྑ͍ࢠਅࣅ͠ͳ͍Ͱ͍ͩ͘͞)
·ͱΊ ▸ CloudAtCostങ͍ΓͷVPSۀऀ ▸ աͳηʔϧ࿈ൃͰɺ͍ͭ௵ΕΔ͔Θ͔Βͳ͍ ▸ αʔόʔͷ࡞͕͍ɾࣦഊ͢Δ͜ͱ͋Δ ▸ ຊ-ΧφμؒͷRTT͕͍ͷͰϦϞʔτૢ࡞ετϨε͕ ͨ·Δ͔
▸ ӡ༻ʹશ͔͘ͳ͍͕ɺγΣϧܳΛຏ͘ͷʹ࠷ద!?
ςΩετ ࢀߟ ▸ CloudAtCost http://cloudatcost.com ▸ Twitter @cloudatcost https://twitter.com/cloudatcost ▸
ਓப: ܹ҆VPSͷcloudatcostΛࢼͯ͠Έͨ http://qiita.com/sharow/items/70d1584752322af812cc