Final Plan

Steve “Stefan” Fan
Jun 5 · 2 min read

(Note: this is part the salvation of my old blog, that a catastrophic event has recently happened me, I’m very sad now, and I will make an postmortem later)

終於成功migrate啦~今日搞咗成q日啦。

到最後我都係做咗Plan A,姐係將啲config同data抄走落新嘅server到,但係我做咗啲小變種。

咁究竟我係點做嘅呢

我將啲config同data抄走,然後將佢Dockerize,之後再restore一個個container,而呢個恢復過程幾乎係無縫交接。

而且用Docker我可以isolate走啲port,呢家除咗完全唔駛煩俾人port knock之外(因為所有container都係係一個圍爐NAT,係host完全無expose呢個port),

更加唔駛煩會唔會俾人用0day搞: 就算俾你pwn咗,你都係得個殼。

今次我終於見識到Docker嘅強大。

(Originally Published Date: 2018–12–18T13:39:50.416Z)

    Steve “Stefan” Fan

    Written by

    A mad lad