or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Syncing
xxxxxxxxxx
Cloud migration:Why ? How ? What happened ?
tags:
DevOpsDays Taipei 2018
9/11
13:30~14:10
Track A
歡迎來到 DevOps Days 2018 共筆
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →共筆入口:https://hackmd.io/c/DevOpsDays2018
手機版請點選上方 按鈕展開議程列表。
在大會遇到任何問題都可以在下方的問題回報區中留言
大會問題與建議回報區
about 17media
在aws 時的架構
Golang
QPS 高峰 10k/s
why migrating the cloud
latency 在晚上會飄.

How did you prepare
to reduce risks?
Risk of the new cloud
忘記註冊新的雲的 IP(into the white list) ,可能會有問題
Reduce Risk of migration process
Plan A: 1-time downtime migration
Step1. Cut-off traffic in AWS
Step2. Step Dump & restore database
Step3. Deploy containers / VM
Step4. 把流量打開
需要 4 小時
失敗了需要再 4 小時 rollback 回舊的雲
要縮短時間,需要用 sync database 的方式
分段進行
Plan B: Many online migrations
Database Migration
跟錢有關的晚點搬
VM + Redis = Container migration
因為 vm/container 會對 redis 做大量存取,latency需要低,所以需要一起搬
online migration
Reduce Risk of migration process
What happened on that day
插曲1: Migrations 往後延一天
插曲2: MongoDB Migration 延後開始
5/3 行程
3:00 集合準備
3:45 MySQL migration
4:20 VM migration
4:30 Redis + container migration
請問上面的下半場,是指加入17參加下半場嗎?
記得AWS 現在在國內比較活躍的代理商中有一家是 昕奇 他們的主要代表性客戶就是17.
不知道他們的看法會是什麼
Q.講者有說為什麼要搬嗎 ?
看到這問題為什麼要搬?讓我想八卦一下,前段時間GOOGLE從AWS挖了一狗票的人去GCP
我沒聽到,不知道是不是耳朵臨時背了>.<
沒聽到,好像沒講到?
Region 問題 (US West -> Taiwan) && GCP 比 AWS 便宜多了
看來$$+ Quality兩個面向都有助益
他們QPS 好高 (10k/sec) wow..
GoReplay –> 複製真實流量(透過Go來實現)
VM + Redis => 因為每個 request 需要存取大量 cache …
請問上面要怎麼搬才不會有 downtime 阿…? (換 cloud provider 的前提下…)
一般cloud migration 要練習3次以上,但他們練習了10次..
只有體驗不到 沒有真的沒downtime吧XD
回樓上, user 沒發現的outage就不是outage..
所以要確定目標啦 只要用戶感覺不到就算了
必須說, 他們的工程師願意配合,真的不簡單, 一般工程師對於這類事情的耐性都超級超級低。都會說,
一定沒問題,然後就出包了=口=
MongoDB sync 沒跟上指的是…? AWS + GCP 中的 Mongo DB cluster 嗎…?
上面的沒跟上應該是說GCP上的MongoDB資料還落後AWS上的MongoDB (講者分享的資訊是05:00時還落後兩小時的資料量)