[Osaka/Yokohama] Looking for infrastructure/server side engineers!

[Osaka/Yokohama] Looking for infrastructure/server side engineers!

[Deployed by over 500 companies] AWS construction, operation, maintenance, and monitoring services

[Deployed by over 500 companies] AWS construction, operation, maintenance, and monitoring services

[Successor to CentOS] AlmaLinux OS server construction/migration service

[Successor to CentOS] AlmaLinux OS server construction/migration service

[For WordPress only] Cloud server “Web Speed”

[For WordPress only] Cloud server “Web Speed”

[Cheap] Website security automatic diagnosis “Quick Scanner”

[Cheap] Website security automatic diagnosis “Quick Scanner”

[Reservation system development] EDISONE customization development service

[Reservation system development] EDISONE customization development service

[Registration of 100 URLs is 0 yen] Website monitoring service “Appmill”

[Registration of 100 URLs is 0 yen] Website monitoring service “Appmill”

[Compatible with over 200 countries] Global eSIM “Beyond SIM”

[Compatible with over 200 countries] Global eSIM “Beyond SIM”

[If you are traveling, business trip, or stationed in China] Chinese SIM service “Choco SIM”

[If you are traveling, business trip, or stationed in China] Chinese SIM service “Choco SIM”

[Global exclusive service] Beyond's MSP in North America and China

[Global exclusive service] Beyond's MSP in North America and China

[YouTube] Beyond official channel “Biyomaru Channel”

[YouTube] Beyond official channel “Biyomaru Channel”

【AWS】EC2インスタンスのAMIを別リージョンにコピーする方法

インフラエンジニアの寺岡です。

今回はちょっとした便利機能、作成したAMIを別リージョンにコピーする方法をご紹介します。

1.AMIを作成

まずはコピーしたいインスタンスからAMIを作成します。

コピーしたいインスタンスを選択>イメージ>イメージの作成から作成できます。

今回は東京リージョンに「AMI-Copy-Test」という名前で事前にAMIを作成しておきました。

 

 

2.AMIのコピー

作成したAMIを別リージョンにコピーします。

今回は東京リージョンに作成したAMIをオレゴンリージョンにコピーしたいと思います。

AMIの一覧からコピーしたいAMIを選択>AMIのコピーから他リージョンへコピーが可能です。

AMIのコピーを選択すると以下のような画面が表示されます。

 

 

送信先リージョンとして「US West(Oregon)」を選択します。

名前を「AMI-Copy-Test-Oregon」に変更して「AMIのコピー」をクリックします。

 

 

AMIのコピー操作が開始されましたね。

コピー先のオレゴンリージョンのAMIの一覧を見てみましょう。

 

 

先程東京リージョンからコピーしたAMIが表示されています。

このAMIからインスタンスを作成することで

オレゴンリージョンにも全く同じ構成のインスタンスを構築することが可能です。

3.まとめ

作業自体はとても簡単ですが便利な機能です。

AWSではAMI以外にも、RDSのスナップショットなどもコピーすることが可能ですので

別リージョンに同じ構成のインフラを構築することがかなり容易に行えるようになっております。

皆様もぜひお試しください。

この記事がお役に立てば【 いいね 】のご協力をお願いいたします!
1
読み込み中...
1 票, 平均: 1.00 / 11
7,235
X facebook はてなブックマーク pocket
[2024.6.30 CentOS support ended] CentOS server migration solution

[2024.6.30 CentOS support ended] CentOS server migration solution

[2025.6.30 Amazon Linux 2 support ended] Amazon Linux server migration solution

[2025.6.30 Amazon Linux 2 support ended] Amazon Linux server migration solution

[Osaka/Yokohama] Actively recruiting infrastructure engineers and server side engineers!

[Osaka/Yokohama] Actively recruiting infrastructure engineers and server side engineers!

The person who wrote this article

About the author

Yuki Teraoka

Joined Beyond in 2016 and is currently in his 6th year as an Infrastructure Engineer
MSP, where he troubleshoots failures while
also designing and building infrastructure using public clouds such as AWS.
Recently, I
have been working with Hashicorp tools such as Terraform and Packer as part of building container infrastructure such as Docker and Kubernetes and automating operations, and I
also play the role of an evangelist who speaks at external study groups and seminars.

・GitHub
https://github.com/nezumisannn

・Presentation history
https://github.com/nezumisannn/my-profile

・Presentation materials (SpeakerDeck)
https://speakerdeck.com/nezumisannn

・Certification:
AWS Certified Solutions Architect - Associate
Google Cloud Professional Cloud Architect