ようへいの日々精進XP

よかろうもん

2018 年 09 月 13 日 (木)

ジョギング

  • 香椎浜 x 2 周
  • 引き続き体重いなあ

日課

  • おやすみ

JAWS-UG 福岡もくもく会

週一回のお楽しみ. 集中して AWS のことを考えることが出来る時間として.

いつも場所の提供をしてくださっているオルターブースさんには本当に感謝.

今日のトゥウィート

モカとモニカが似ている気がした.

そういう訳ではなかったので安心した.

今日の AWS ~ AWS Certified Solutions Architect – Professional Level のサンプル問題に挑む ~

公開されているサンプル試験問題を解く. なぜ, その答えになるのかをちゃんと理解する必要がある.

Q1. ディザスタリカバリ戦略

設問

以下のようなアーキテクチャのアプリケーションを運用している.

  • Application Tier – Java code on a JBoss application server
  • Database Tier – Oracle database regularly backed up to Amazon Simple Storage Service (S3) using the Oracle RMAN backup utility
  • Static Content – stored on a 512GB gateway stored Storage Gateway volume attached to the application server via the iSCSI interface

以下のどの DR 対策が RTO を最小限に出来るか.

選択肢

A) Deploy the Oracle database and the JBoss app server on EC2. Restore the RMAN Oracle backups from Amazon S3. Generate an EBS volume of static content from the Storage Gateway and attach it to the JBoss EC2 server.

B) Deploy the Oracle database on RDS. Deploy the JBoss app server on EC2. Restore the RMAN Oracle backups from Amazon Glacier. Generate an EBS volume of static content from the Storage Gateway and attach it to the JBoss EC2 server.

C) Deploy the Oracle database and the JBoss app server on EC2. Restore the RMAN Oracle backups from Amazon S3. Restore the static content by attaching an AWS Storage Gateway running on Amazon EC2 as an iSCSI volume to the JBoss EC2 server.

D) Deploy the Oracle database and the JBoss app server on EC2. Restore the RMAN Oracle backups from Amazon S3. Restore the static content from an AWS Storage Gateway-VTL running on Amazon EC2

解答

  • 多分, A かな

なぜ, その答えなん?

消去法でいくと...

  • まず, B は絶対に消える, なぜならレストアに Glacier を使っているので, 復元には時間を要する
  • Storage Gateway-VTL のテープアーカイブ自体は Glacier になるので, データの読み出しには時間を要するので, 多分, D も無し
  • そもそも, 「EC2 上で動作する AWS Storage GatewayiSCSIボリューム として JBoss EC2 サーバーに接続」ということが出来るのか怪しいので C も無し
    • 「EC2 上で動作する AWS Storage Gateway」というのは Gateway Cached Volumes
    • Gateway Cached Volumes を更に JBoss EC2 サーバーに接続というのは違和感アリアリ

消去法でしか答えられないという...

せっかくなので Storage Gateway について整理

参考はこことか, こことかここを参考にしています.

  • オンプレミスのソフトウェアアプライアンスクラウドベースのストレージと接続し、お客様のオンプレミスの IT 環境と AWS のストレージインフラストラクチャとの間にデータセキュリティ機能を備えたシームレスな統合を実現するサービス
  • 3 つのソリューション

Gateway Type についてメモ

  • ファイルゲートウェイ
    • オンプレミス・仮想サーバー上のファイルデータを Storage Gateway 経由で S3 のオブジェクトとして保存
    • 仮想アプライアンスNFS v3/v4.1 の I/F を提供
    • 更新データは非同期で AWS に転送される
    • ファイルとオブジェクトのマッピングは 1 対 1
    • S3 の各種機能が利用可能
  • ボリュームゲートウェイ
    • オンプレミス環境のディスクデータを Storage Gateway 経由でスナップショットとして S3 に保存する
    • インターフェースは iSCSI, ブロックデバイスとして提供
    • オンプレミス側の Storage Gateway へのレストア, AWS 上において EBS ディスクへのレストアも可能
  • テープゲートウェイ
    • VTL 対応のソフトウェアを利用して Storage Gateway 経由でバックアップデータを S3 及び Glacier に格納する
    • バックアップソフトウェアにてテープの取り出しオペレーションを行うことで, より安価なアーカイブストレージにデータの退避が可能

Gateway Stored Volume によるシステム DR 環境

aws-black-belt-online-seminar-2017-aws-storage-gateway-31-638.jpg?cb=1487836351

Storage Gateway 奥深い...