Slide 1

Slide 1 text

!ZBNBNPUPGFCD ͘͞ΒͷϚΠΫϩίϛϡχςΟ $-*"1*Ϣʔβʔͷձ WPM https://github.com/sacloud/autoscaler

Slide 2

Slide 2 text

Φʔτεέʔϧͱ͸

Slide 3

Slide 3 text

Φʔτεέʔϧͱ͸ ʮαʔϏεͷఏڙʯΛߦ͏ͨΊʹɺ ʮ੍໿ʯΛकΓͳ͕Βɺ ʮϦιʔεྔΛ࠷దԽʯ͢Δ࢓૊Έ

Slide 4

Slide 4 text

ʮΦʔτεέʔϧʯʹඞཁͳ΋ͷ ɾ؂ࢹܭଌ ϝʔλϦϯά ɾ੍໿ ίϯτϩʔϥ Ϧιʔεͷૢ࡞ ࡞੒มߋ࡟আ

Slide 5

Slide 5 text

ʮΦʔτεέʔϧʯʹඞཁͳ΋ͷ ʮݱࡏͷঢ়گʯΛड͚ʮ͋Δ΂͖࢟ʯΛࢉग़ ྫ ɾԿ୆ͷαʔό͕ඞཁ ɾ$16ϝϞϦαΠζ͸ ɾ؂ࢹܭଌ ϝʔλϦϯά ɾ੍໿ ίϯτϩʔϥ Ϧιʔεͷૢ࡞ ࡞੒มߋ࡟আ

Slide 6

Slide 6 text

ͷकඋൣғ ɾ؂ࢹܭଌ ϝʔλϦϯά ɾ੍໿ ίϯτϩʔϥ Ϧιʔεͷૢ࡞ ࡞੒มߋ࡟আ

Slide 7

Slide 7 text

ɾ؂ࢹܭଌ ϝʔλϦϯά ɾ੍໿ ίϯτϩʔϥ Ϧιʔεͷૢ࡞ ࡞੒มߋ࡟আ ͷकඋൣғ ʁ

Slide 8

Slide 8 text

ɾ؂ࢹܭଌ ϝʔλϦϯά ɾ੍໿ ίϯτϩʔϥ Ϧιʔεͷૢ࡞ ࡞੒มߋ࡟আ ͷकඋൣғ

Slide 9

Slide 9 text

Inputs Core Handlers Trigger from Monitoring System via Webhook Compute Desired State Provisioning Fetch Current State

Slide 10

Slide 10 text

࢖͍ํ

Slide 11

Slide 11 text

αʔόͷਨ௚εέʔϧ &-#͔ΒͷσλονΞλον &-#ͷਨ௚εέʔϧ $14มߋ ૢ࡞͍ͨ͠ϦιʔεΛఆٛ छྨ ηϨΫλ *%PS/BNFPS5BHT κʔϯ "VUP4DBMFS $PSFͷઃఆϑΝΠϧ࡞੒

Slide 12

Slide 12 text

"VUP4DBMFS $PSF αʔό Λىಈ 714΍Ϩϯλϧαʔόɺ ΦϯϓϨͰ΋0, ઃఆϑΝΠϧ Core $ autoscaler server start

Slide 13

Slide 13 text

"VUP4DBMFS *OQVUT αʔό Λىಈ $PSFͱಉ͡Ϛγϯ্Ͱ΋0, ઃఆϑΝΠϧ Core $ autoscaler server start $ autoscaler inputs grafana Inputs

Slide 14

Slide 14 text

ઃఆϑΝΠϧ Core $ autoscaler server start ؂ࢹπʔϧଆͰ8FCIPPLૹ৴ Ξϥʔτ ઃఆ ΞϥʔτΛઃఆ͠ɺ 8FCIPPLͰ*OQVUT΁ૹ৴ $ autoscaler inputs grafana Inputs

Slide 15

Slide 15 text

ઃఆϑΝΠϧ Core $ autoscaler server start )BOEMFST͸ىಈ͠ͳ͍͍ͯ͘ͷ Α͘࢖͏ϋϯυϥʔ͸ $PSFʹϏϧτΠϯ͞Ε͍ͯΔ $ autoscaler inputs grafana Inputs Handlers

Slide 16

Slide 16 text

Inputsͷఏڙൣғ (SBGBOB "MFSU.BOBHFS ;BCCJY ൚༻8FCIPPL .BDLFSFMͱ͔%BUB%PHͱ͔ ఆظ࣮ߦ DSPO %JSFDU $-*

Slide 17

Slide 17 text

Handlers 4FSWFS &-# (4-# &-# -# "QQMJBODF 3PVUFS ਨ௚εέʔϧܥ σλονΞλονܥ ͦͷଞ 4FSWFS(SPVQ ਫฏεέʔϧ γΣϧεΫϦϓτ "84࿈ܞͳͲ ˞جຊతͳϋϯυϥ͸ϏϧτΠϯͰɺH31$ܦ༝Ͱ͸ͳ͍ ίΞʹόϯυϧ͞Ε͍ͯΔ

Slide 18

Slide 18 text

ϩʔυϚοϓ ͍ΘΏΔ.71 ͱΓ͋͑ͣಈ͘ W • ෳ਺ϦιʔεରԠ • -#ରԠ W • ਫฏεέʔϧ • 5-4ରԠ • ;BCCJYରԠ • ͦͷଞ Wd ͍·͜͜

Slide 19

Slide 19 text

https://github.com/sacloud/autoscaler