DevOps My name is Fung NCCU ALPHA Camp Back-end developer - - PowerPoint PPT Presentation

devops my name is fung
SMART_READER_LITE
LIVE PREVIEW

DevOps My name is Fung NCCU ALPHA Camp Back-end developer - - PowerPoint PPT Presentation

DevOps My name is Fung NCCU ALPHA Camp Back-end developer DevOps in iCook DevOps in team


slide-1
SLIDE 1

DevOps ⽇旦常

slide-2
SLIDE 2

My name is Fung

  • NCCU
  • ALPHA Camp
  • Back-end developer
  • DevOps in iCook
slide-3
SLIDE 3

DevOps in team

slide-4
SLIDE 4

當⼤夨家在開發的時候

slide-5
SLIDE 5

當⼤夨家在部署的時候

slide-6
SLIDE 6

當服務成功上線之後

slide-7
SLIDE 7

當夜深⼈亻靜的時候

slide-8
SLIDE 8

所以我們到底在幹⿇麼?

slide-9
SLIDE 9

⼀丁個support的概念

slide-10
SLIDE 10

Environment Maintenance Monitor Deploy

slide-11
SLIDE 11

Elasticsearch Upgrade

slide-12
SLIDE 12

Security Configurations Instance

slide-13
SLIDE 13

EC2 + ELB

slide-14
SLIDE 14

Security Configurations Instance

slide-15
SLIDE 15

IAM

  • 動作
  • 對象
  • 可以做 / 不可以做
slide-16
SLIDE 16

IAM

  • 動作 => Read S3
  • 對象 => elasticsearch
  • 可以做 / 不可以做 => Allow
slide-17
SLIDE 17

Security Group

  • port
  • group
slide-18
SLIDE 18

Security Group

  • port => 9200-9300
  • group => ec2-elasticsearch-group
slide-19
SLIDE 19

Security Configurations Instance

slide-20
SLIDE 20

Chef

  • write infrastructure as code
  • online resources
slide-21
SLIDE 21

Recipe

include_recipe "monit" include_recipe "java" include_recipe "elasticsearch"

slide-22
SLIDE 22

Recipe

if url = node[:elasticsearch][:corpus][:ik] script "install_ik_data" do interpreter "bash" user "root" cwd node[:elasticsearch][:default_path] code <<-EOH wget #{url} tar -zxf ik.tar.gz EOH end end

slide-23
SLIDE 23

AWS Opswork

slide-24
SLIDE 24

Environment Maintenance Monitor Deploy

slide-25
SLIDE 25

Deploy flow Review code

slide-26
SLIDE 26

Pull request on Github

slide-27
SLIDE 27

Hound CI

slide-28
SLIDE 28

Travis CI

slide-29
SLIDE 29

Deploy flow Review code

slide-30
SLIDE 30

Hubot

slide-31
SLIDE 31

hubot deploy iCook

slide-32
SLIDE 32

Heaven Github Hubot AWS Opswork

slide-33
SLIDE 33
slide-34
SLIDE 34

Environment Maintenance Monitor Deploy

slide-35
SLIDE 35

Server Schedule Log

slide-36
SLIDE 36

Papertrail

slide-37
SLIDE 37

Loggly

slide-38
SLIDE 38

Fluentd

slide-39
SLIDE 39

Server Schedule Log

slide-40
SLIDE 40

Monit

“mysql” running “nginx” running “elasticsearch” execute failed “td-agent” restarting

slide-41
SLIDE 41

Librato

slide-42
SLIDE 42
slide-43
SLIDE 43

Pingdom

slide-44
SLIDE 44

Server Schedule Log

slide-45
SLIDE 45

Pagerduty

slide-46
SLIDE 46

Environment Maintenance Monitor Deploy

slide-47
SLIDE 47

Code Climate

slide-48
SLIDE 48

Bugsnag

slide-49
SLIDE 49

Skylight

slide-50
SLIDE 50

Lots of tools and service

slide-51
SLIDE 51

It works not only

  • n my machine
slide-52
SLIDE 52

Thank you