3
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

テナンシ間 OCI カスタム・イメージの移行

3
Last updated at Posted at 2021-03-29

今回は、テナンシーを跨ぎ、OCIカスタム・イメージの移行方法を紹介したいと思います。例えば、OCIの検証環境から他テナンシーの本番環境に、Computeインスタンスを移行したい場合、この方法は適用します。

【お知らせ】
この記事の最新版は、個人ブログ「OCI Tech Journal」で公開しています。ぜひご覧ください。👉 https://oci-tech.jp/cross-tenancy-oci-custom-image-migration/

対応OS

  • Oracle Linux 6, 7, 8, 9;
  • CentOS 7, CentOS stream 8
  • Ubuntu 18, 20, 22;
  • Windows Server 2012, 2016, 2019, 2022

検証ケース
OS: Oracle Linux 7.9 と Windows Server 2022
イメージ・タイプ:OCI

シナリオ A
image.png
作業流れ:
 1. カスタム・イメージを作成
 2. カスタム・イメージをエクスポートし、PAR(読み取り専用)を作成
 3. カスタム・イメージをインポート
 4. カスタム・イメージより、インスタンスを新規作成

※ステップ1と2は、移行元のテナンシーで実施し、ステップ3と4は、移行先のテナンシーで実施します。
以下のシナリオBと比べて、読み取り専用のPARで済みますので、ベストプラクティスとなります。

シナリオ B
image.png
作業流れ:
 1.カスタム・イメージを作成。(移行元のテナンシーで実施)
 2.PAR(読み書き)を作成。(移行先のテナンシーで実施)
   カスタム・イメージを移行先のオブジェクト・ストレージにエクスポートする。(移行元のテナンシーで実施)
 3.カスタム・イメージをインポートする。 (移行先のテナンシーで実施)
 4.カスタム・イメージより、インスタンスを作成。(移行先のテナンシーで実施)

作業手順
シナリオAを実施例にします。

上記のリンクから、詳細をご確認いただけます。

以上です。


関連記事
クラウド技術ブログ一覧
AWS EC2インスタンスをOracle Cloudに移行
AzureからWindows VMをOracle Cloudに移行

3
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?