Board logo

標題: aws 其實玩Load balancer, 兩個instance D 野點sync? [打印本頁]

作者: 二師兄    時間: 2016-7-20 16:43     標題: aws 其實玩Load balancer, 兩個instance D 野點sync?

有冇人識?
作者: a2940u2w    時間: 2016-7-20 17:41

Check this
https://aws.amazon.com/elasticloadbalancing/
http://docs.aws.amazon.com/Amazo ... load-balancing.html

回覆 1# 二師兄
作者: chi251155    時間: 2016-7-20 22:44

load balance個application layer咋嘛,persistent layer你一係用一個instance,一係用cluster
作者: 二師兄    時間: 2016-7-21 11:18

how to sync server config between multiple instances?
how to sync program code between multiple instances?
作者: 梁炳    時間: 2016-7-21 13:22

你似係唔識deploy...
Program code同config應該係deploy time做,如果識自動sync你就要驚
唔係唔得,係無乜人會咁做
data, sessions先係要run time sync/集中一點
作者: 二師兄    時間: 2016-7-21 13:53

回覆 5# 梁炳


    i asked here
   http://stackoverflow.com/questio ... i/38494732#38494732
作者: chi251155    時間: 2016-7-21 23:05

回覆 6# 二師兄

用git做version control,寫下script就可以deploy同update啲instances啦
作者: ip4368    時間: 2016-7-25 20:02

回覆  二師兄

用git做version control,寫下script就可以deploy同update啲instances啦
chi251155 發表於 2016-7-21 23:05


唔應該再咁sync,行docker,用container好過。再用kubernetes做rolling update
其實宜家唔應該再諗sync code,應該sync container,因為container應該有一樣behaviour
作者: chi251155    時間: 2016-7-26 01:23

回覆 8# ip4368
你啱,一開始就學container其實都唔會比舊式方法難。





歡迎光臨 電腦領域 HKEPC Hardware (https://www.hkepc.com/forum/) Powered by Discuz! 7.2