Slide 1

Slide 1 text

Copyright © 2021 Present ANDPAD Inc. This information is confidential and was prepared by ANDPAD Inc. for the use of our client. It is not to be relied on by and 3rd party. Proprietary & Confidential 無断転載・無断複製の禁止 モノリシックサービスのレガシーインフラを EKSに移 行するにあたり、他マイクロサービスと共通化した部 分としなかった部分 浜田諭

Slide 2

Slide 2 text

Copyright © 2021 Present ANDPAD Inc. This information is confidential and was prepared by ANDPAD Inc. for the use of our client. It is not to be relied on by and 3rd party. Proprietary & Confidential 無断転載・無断複製の禁止 自己紹介 浜田 諭 / Satoshi Hamada 職種: サーバーサイドエンジニア 担当: 認証基盤移行プロジェクト コンテナ移行プロジェクト 入社: 2021年2月 趣味: 旅行、料理、習字

Slide 3

Slide 3 text

Copyright © 2021 Present ANDPAD Inc. This information is confidential and was prepared by ANDPAD Inc. for the use of our client. It is not to be relied on by and 3rd party. Proprietary & Confidential 無断転載・無断複製の禁止 モノリシックなレガシーインフラを EKSに移行 移行前の全体像

Slide 4

Slide 4 text

Copyright © 2021 Present ANDPAD Inc. This information is confidential and was prepared by ANDPAD Inc. for the use of our client. It is not to be relied on by and 3rd party. Proprietary & Confidential 無断転載・無断複製の禁止 モノリシックなレガシーインフラを EKSに移行 EKSに移行するにあたり2つの選択肢

Slide 5

Slide 5 text

Copyright © 2021 Present ANDPAD Inc. This information is confidential and was prepared by ANDPAD Inc. for the use of our client. It is not to be relied on by and 3rd party. Proprietary & Confidential 無断転載・無断複製の禁止 モノリシックなレガシーインフラを EKSに移行 マイクロサービス基盤のEKSクラスタ内に移行

Slide 6

Slide 6 text

Copyright © 2021 Present ANDPAD Inc. This information is confidential and was prepared by ANDPAD Inc. for the use of our client. It is not to be relied on by and 3rd party. Proprietary & Confidential 無断転載・無断複製の禁止 モノリシックなレガシーインフラを EKSに移行 独自のコンテナ実行基盤EKSクラスタの新設

Slide 7

Slide 7 text

Copyright © 2021 Present ANDPAD Inc. This information is confidential and was prepared by ANDPAD Inc. for the use of our client. It is not to be relied on by and 3rd party. Proprietary & Confidential 無断転載・無断複製の禁止 他マイクロサービスと共通化した部分としなかった部分 今回の移行作業では 独自のコンテナ実行基盤EKSクラスタを新設 しました

Slide 8

Slide 8 text

Copyright © 2021 Present ANDPAD Inc. This information is confidential and was prepared by ANDPAD Inc. for the use of our client. It is not to be relied on by and 3rd party. Proprietary & Confidential 無断転載・無断複製の禁止 独自のコンテナ実行基盤EKSクラスタの新設 なぜそのような決断をしたのか

Slide 9

Slide 9 text

Copyright © 2021 Present ANDPAD Inc. This information is confidential and was prepared by ANDPAD Inc. for the use of our client. It is not to be relied on by and 3rd party. Proprietary & Confidential 無断転載・無断複製の禁止 独自のコンテナ実行基盤EKSクラスタの新設 理由 ● VPCの問題 ● EKSクラスタに求める役割 ● 既存EKSの変更ハードル ● EKSクラスタの新規構築/運用コスト

Slide 10

Slide 10 text

Copyright © 2021 Present ANDPAD Inc. This information is confidential and was prepared by ANDPAD Inc. for the use of our client. It is not to be relied on by and 3rd party. Proprietary & Confidential 無断転載・無断複製の禁止 独自のコンテナ実行基盤EKSクラスタの新設 VPCの問題 ● モノリシックサービスとマイクロサービス基盤の VPCが異なっていた ● 現行の通信やACL制御設定の維持をしたかった

Slide 11

Slide 11 text

Copyright © 2021 Present ANDPAD Inc. This information is confidential and was prepared by ANDPAD Inc. for the use of our client. It is not to be relied on by and 3rd party. Proprietary & Confidential 無断転載・無断複製の禁止 独自のコンテナ実行基盤EKSクラスタの新設 EKSクラスタに求める役割 ● マイクロサービス基盤にモノリシックサービスの まま移行することの懸念 ● 新設するEKSクラスタは一時的な立ち位置

Slide 12

Slide 12 text

Copyright © 2021 Present ANDPAD Inc. This information is confidential and was prepared by ANDPAD Inc. for the use of our client. It is not to be relied on by and 3rd party. Proprietary & Confidential 無断転載・無断複製の禁止 独自のコンテナ実行基盤EKSクラスタの新設 既存EKSの変更ハードル ● 移行計画時、全リクエストの80~90%がモノリ シックサービス ● 既存EKSクラスタには他サービスが存在 ● 全体で考えることが増え、移行のスコープが大き くなりそう

Slide 13

Slide 13 text

Copyright © 2021 Present ANDPAD Inc. This information is confidential and was prepared by ANDPAD Inc. for the use of our client. It is not to be relied on by and 3rd party. Proprietary & Confidential 無断転載・無断複製の禁止 独自のコンテナ実行基盤EKSクラスタの新設 EKSクラスタの新規構築/運用コスト ● EKSクラスタの新規構築は設定を流用できそう ● 運用系システムのデプロイフローは全体で統一さ れ、個別に考える必要がなかった ● 仕組みを揃えることである程度の運用負荷は下げ られそう

Slide 14

Slide 14 text

Copyright © 2021 Present ANDPAD Inc. This information is confidential and was prepared by ANDPAD Inc. for the use of our client. It is not to be relied on by and 3rd party. Proprietary & Confidential 無断転載・無断複製の禁止 独自のコンテナ実行基盤EKSクラスタの新設 実際やってみて

Slide 15

Slide 15 text

Copyright © 2021 Present ANDPAD Inc. This information is confidential and was prepared by ANDPAD Inc. for the use of our client. It is not to be relied on by and 3rd party. Proprietary & Confidential 無断転載・無断複製の禁止 独自のコンテナ実行基盤EKSクラスタの新設 良かったこと ● プロダクトの担当者(自分)がクラスタ運用につい てもSREと共に検討、作業ができた ● 本番リリースは前もって環境準備ができた ● 運用システムの導入、設定変更の意思決定の早さ ● モノリシックサービスの既存の仕組みの流用 ● 仕組みやツール等をマイクロサービスと共通化す ることで知見を適用できた

Slide 16

Slide 16 text

Copyright © 2021 Present ANDPAD Inc. This information is confidential and was prepared by ANDPAD Inc. for the use of our client. It is not to be relied on by and 3rd party. Proprietary & Confidential 無断転載・無断複製の禁止 独自のコンテナ実行基盤EKSクラスタの新設 困っていること ● 本番環境で稼働するEKSクラスタの管理コスト ● 運用システムの設定ファイルが似通って冗長 ● バージョンアップは個別で対応が必要 ● ワーカーノードの余剰コスト

Slide 17

Slide 17 text

Copyright © 2021 Present ANDPAD Inc. This information is confidential and was prepared by ANDPAD Inc. for the use of our client. It is not to be relied on by and 3rd party. Proprietary & Confidential 無断転載・無断複製の禁止 タイトル回収 他マイクロサービスと共通化した部分 と しなかった部分

Slide 18

Slide 18 text

Copyright © 2021 Present ANDPAD Inc. This information is confidential and was prepared by ANDPAD Inc. for the use of our client. It is not to be relied on by and 3rd party. Proprietary & Confidential 無断転載・無断複製の禁止 タイトル回収 共通化しなかった部分 ● EKSクラスタ 共通化した部分 ● 運用システムのデプロイ方法 ● 利用ツールなど(Helmチャートで管理) ● クラスタの運用管理方法など ● ..etc

Slide 19

Slide 19 text

Copyright © 2021 Present ANDPAD Inc. This information is confidential and was prepared by ANDPAD Inc. for the use of our client. It is not to be relied on by and 3rd party. Proprietary & Confidential 無断転載・無断複製の禁止 タイトル回収 物理的なシステムは共通化せず 抽象的な仕組みは共通化しました

Slide 20

Slide 20 text

Copyright © 2021 Present ANDPAD Inc. This information is confidential and was prepared by ANDPAD Inc. for the use of our client. It is not to be relied on by and 3rd party. Proprietary & Confidential 無断転載・無断複製の禁止 ご清聴ありがとうございました