SlideShare a Scribd company logo
1 of 106
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS 公式 Webinar
https://amzn.to/JPWebinar
過去資料
https://amzn.to/JPArchive
Solutions Architect 菊池 之裕
2020/10/21
Amazon VPC
サービスカットシリーズ
[AWS Black Belt Online Seminar]
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Black Belt Online Seminar とは
「サービス別」「ソリューション別」「業種別」のそれぞれのテーマに分かれて、アマゾ
ン ウェブ サービス ジャパン株式会社が主催するオンラインセミナーシリーズです。
質問を投げることができます!
• 書き込んだ質問は、主催者にしか見えません
• 今後のロードマップに関するご質問は
お答えできませんのでご了承下さい
Twitter ハッシュタグは以下をご利用ください
#awsblackbelt
① 吹き出しをクリック
② 質問を入力
③ Sendをクリック
2
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
内容についての注意点
• 本資料では2020年10月21日時点のサービス内容および価格についてご説明しています。最新の
情報はAWS公式ウェブサイト(http://aws.amazon.com)にてご確認ください。
• 資料作成には十分注意しておりますが、資料内の価格とAWS公式ウェブサイト記載の価格に相
違があった場合、AWS公式ウェブサイトの価格を優先とさせていただきます。
• 価格は税抜表記となっています。日本居住者のお客様には別途消費税をご請求させていただきま
す。
• AWS does not offer binding price quotes. AWS pricing is publicly available and is
subject to change in accordance with the AWS Customer Agreement available at
http://aws.amazon.com/agreement/. Any pricing information included in this
document is provided only as an estimate of usage charges for AWS services based on
certain information that you have provided. Monthly charges will be based on your
actual use of AWS services, and may vary from the estimates provided.
3
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
自己紹介
名前:菊池 之裕 きくち ゆきひろ
所属:ソリューションアーキテクト ネットワークスペシャリスト
ロール: 系サービスについてのご支援
経歴: 運用、開発を経てネットワーク機器、仮想
ルータ販売会社のプリセールス、プロダクト から へ
好きな サービス
4
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
このセミナーのゴール
VPCのコンセプトに慣れる
基本的なVPCのセットアップが出来るようになる
自社の要件にあった仮想ネットワークの作り方を理解する
5
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Agenda
Amazon VPCとは?
VPCのコンポーネント
オンプレミスとのハイブリッド構成
VPCの設計
VPCの実装
VPCの運用
まとめ
6
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Agenda
Amazon VPCとは?
VPCのコンポーネント
オンプレミスとのハイブリッド構成
VPCの設計
VPCの実装
VPCの運用
まとめ
7
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
データセンターをデザインしようとするには・・・
何が必要?
8
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
オンプレミス環境でのネットワークのイメージ
土地、電源、UPS、空調、ラック、ファイバー、パッチパ
ネル、SFP等IFモジュール、スイッチ、ルータ、ストレージ、
サーバ、ロードバランサー、ファイアーウォール、WAF、
遠隔操作用ターミナルサーバ・・・
9
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
従来のITインフラ
データセンター
ラック
構築するには
要件定義
机上検討
機器選定
検証機
手配
検証
調達決裁
発注
納品待ち 検品
ラッキング
ケーブリング
設定投入 動作確認
メンテナンス時
間調整
商用導入
作業
商用運用
開始
Before
ネットワーク機器
時間(=コスト)がかかる
早くても数ヶ月、長いと半年
サービス開発グループ 調達グループ 現地作業グループ 運用グループ
10
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
クラウドで仮想ネットワークを構築
データセンター
ラック
必要な機能を抽象化
サービスとして
予め用意されている
(Network Function Virtualization)
Elastic
ネットワーク
インタフェース
バーチャル
プライベート
ゲートウェイ
ルート
テーブル
Elastic IP
仮想ルータ
NAT
ゲートウェイ
インターネット
ゲートウェイ
API
+
or
WEBマネージメントコンソール
組み合わせてすぐ利用開始!
ネットワーク機器
After
11
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
クラウドに対する悩み・不安
インターネット接
続部分のスケール
アウトは大丈夫?
社内業務アプリケー
ションはミッション
クリティカルだから
冗長とか大丈夫?
クラウドを使いたいが
社内ルール(セキュリ
ティ/ネットワーク)に
合わなそう
社内と専用線で接続
したいけど、どうや
ればいいの?
12
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
VPC(Virtual Private Cloud)で解決可能
AWS上にプライベートネットワーク空間を構築
• 任意のIPアドレスレンジが利用可能
論理的なネットワーク分離が可能
• 必要に応じてネットワーク同士を接続することも可能
ネットワーク環境のコントロールが可能
• ルートテーブルや各種ゲートウェイ、各種コンポーネント
複数のコネクティビティオプションが選択可能
• インターネット経由
• VPN/専用線(Direct Connect)
13
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Agenda
Amazon VPCとは?
VPCのコンポーネント
オンプレミスとのハイブリッド構成
VPCの設計
VPCの実装
VPCの運用
まとめ
14
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
様々なコンポーネントを用意
Elastic
ネットワーク
インタフェース
カスタマ
ゲートウェイ
バーチャル
プライベート
ゲートウェイ
インターネット
ゲートウェイ
VPN
コネクション
サブネット
ルート
テーブル
Elastic
IP
VPC
Peering仮想ルータ
VPC
エンドポイント
NAT
ゲートウェイ
Elastic
ネットワーク
アダプタ
PrivateLink
15
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
VPC
まずは全体のネットワーク空間をVPCとして定義
10.0.0.0 /16
16
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
利用するサブネットを定義
10.0.1.0/24
パブリック
サブネット
Internet
17
VPC
10.0.0.0 /16
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
VPC
インターネットへの接続を設定
10.0.1.0/24
パブリック
サブネット
10.0.0.0 /16
18
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
プライベートサブネットを追加
10.0.1.0/24
パブリックサブネット
10.0.0.0 /16
プライベート
サブネット
10.0.2.0/24
NAT
ゲートウェイ
19
VPC
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
VPC
インターネットに接続しないネットワークも作成可能
プライベート
サブネット
20
10.0.2.0/24
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
VPC
オンプレミスとの接続
プライベート
サブネット
オフィス
データセンター
VPN
or
専用線
21
10.0.2.0/24
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
VPC
ネットワーク要件に応じて自由に設定可能
10.0.1.0/24
パブリック
サブネット
プライベート
サブネット
10.0.0.0 /16
オフィス
データセンター
VPN
or
専用線
22
10.0.2.0/24
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
VPCウィザードで数画面で作成可能
➀VPCウィザー
ドの開始をク
リック
②希望のパ
ターンを選択
③選択を
クリック
④VPCの作成を
クリック
23
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
ウォークスルー:
インターネット接続VPCセットアップ
24
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
VPC
インターネットへの接続を設定するVPCを作成
パブリック
サブネット
172.31.0.0/16
172.31.0.0/24 172.31.1.0/24
ap-northeast-1a ap-northeast-1c
パブリック
サブネット
25
Availability Zone Availability Zone
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Security groupAvailability Zone
インターネット接続VPCのステップ
アドレスレンジを
選択
Availability Zone
におけるSubnetを
選択
インターネットへの
経路を設定
VPCへのIN/OUT
トラフィックを許可
➀ ② ③ ④
26
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
インターネット接続VPCのステップ
27
Security groupAvailability Zone
アドレスレンジを
選択
Availability Zone
におけるSubnetを
選択
インターネットへの
経路を設定
VPCへのIN/OUT
トラフィックを許可
➀ ② ③ ④
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
CIDR レンジのサンプル:
172.31.0.0/16
10101100 00011111 11000000 00000000
CIDR表記の再確認( Classless Inter-Domain Routing )
ネットワークアドレス部 ホストアドレス部
クラスA・・・16,777,214個(224-2)
クラスB・・・65,534個(216-2)
クラスC・・・254個(28-2)
以前のアドレス体系はクラスフルだった(IPv4の32ビットアドレス空間を8ビットで区切る)
クラスBだと多過ぎ、クラスCだと少な過ぎる場合など実際の組織のホスト数に柔軟合わせたい
8/16/24のいずれかではなく、
可変長のビットマスクで必要に
応じたアドレッシングが可能に
なった
※RFC(1518/1519を経て4632)にて定義
28
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
VPC
VPCに使うアドレスレンジの選択
172.31.0.0/16
推奨: RFC1918レンジ
衝突で使えない場合は
RFC6598(100.64.0.0/10)
推奨:/16
(65,534アドレス)
最初に作成したアドレスブロックは作成後変更はできないので注意が必要
2個目以降は追加、削除ができる。
29
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
VPCの作成
IPv4 CIDR block にアドレスレンジを入力して作成
30
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
インターネット接続VPCのステップ
31
Security groupAvailability Zone
アドレスレンジを
選択
Availability Zone
におけるSubnetを
選択
インターネットへの
経路を設定
VPCへのIN/OUT
トラフィックを許可
➀ ② ③ ④
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
VPC CIDRとサブネット数
サブネットマスク サブネット数
サブネットあたりの
IPアドレス数
/18 4 16379
/20 16 4091
/22 64 1019
/24 256 ※ 251
/26 1024 ※ 59
/28 16384 ※ 11
CIDRに/16 を設定した場合の各サブネット数と使えるIPアドレス数
※ VPCあたりのサブネット作成上限数はデフォルト200個
32
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
アベイラビリティゾーン
• 1リージョン内にAZが複数存在(大阪ローカルリージョンを除く)
• AZはお互いに地理的・電源的・ネットワーク的に分離
• 2つのAZを利用した冗長構成を容易に構築
• リージョン内のAZ間は高速専用線で接続(リージョン間も可能な限り高速
専用線で接続)
Asia Pacific (Tokyo)
AZは1つ以上のデータセンターで構成される
Availability
Zone D
Availability
Zone C
Availability
Zone B
Availability
Zone A
33
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
VPC subnetVPC subnet
Availability ZoneAvailability Zone
VPC
サブネットに対してAZとアドレスを選択
172.31.0.0/16
推奨: 各AZにSubnet
を設定
推奨: Subnetに/24
設定(251個)
ap-northeast-1a
172.31.0.0/24 172.31.1.0/24
ap-northeast-1c
34
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
サブネットを作成
・ネームタグ
・VPC
・アベイラビリティゾーン
・IPv4 CIDR block
を指定して作成
35
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
サブネットで利用できないIPアドレス(/24の例)
ホストアドレス 用途
.0 ネットワークアドレス
.1 VPCルータ
.2 Amazonが提供するDNSサービス
.3 AWSで予約
.255 ブロードキャストアドレス
(VPCではブロードキャストはサポー
トされていない)
36
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
インターネット接続VPCのステップ
37
Security groupAvailability Zone
アドレスレンジを
選択
Availability Zone
におけるSubnetを
選択
インターネットへの
経路を設定
VPCへのIN/OUT
トラフィックを許可
➀ ② ③ ④
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
VPC内におけるルーティング
• ルートテーブルはパケットがどこに向かえば良
いかを示すもの
• VPC作成時にデフォルトで1つルートテーブル
が作成される
• VPC内は作成時に指定したCIDRアドレスでルー
ティングされる
38
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
送信先が同一のセグ
メントであれば同一
セグメントに送信
(VPC作成時にデ
フォルトで作成)
ルートテーブルの確認
39
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
インターネットゲートウェイを作成、VPCにアタッチ
VPCからインター
ネットへの接続がア
タッチされた
40
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
仮想ルータとルートテーブルの関係(ルートLook up)
インターネット
ゲートウェイ
仮想ルータ
送信元
172.31.1.10
送信先
1.1.1.1
データ
送信元
172.31.1.10
送信先
172.31.1.20
データ
Local
送信元
172.31.1.10
送信先
172.31.1.20
データ
③テーブル
Look Up
②パケット到着
④ターゲットへ
パケット転送
← 送信先172.31.1.20はこっち行けば良い
EC2
インスタンス
➀パケット送信
igw-29454e4c
← 送信先 1.1.1.1 はこっち行けば良い 41
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
VPC
パブリックサブネットとプライベートサブネット
プライベートサブネット パブリックサブネット
172.31.0.0/24 172.31.1.0/24
VPC CIDR: 172.31.0.0/16
プライベートIPで通信 パブリックIPで通信
パブリックIP: 54.0.0.100
EC2のOSで確認できるのは
プライベートIPのみ パブリックサブネットのIPが
IGW経由でインターネット
またはAWSクラウドと通信す
るときにパブリックIPを利用
42
プライベートIP:
172.31.0.100
プライベートIP:
172.31.1.100
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
インターネット接続VPCのステップ
43
Security groupAvailability Zone
アドレスレンジを
選択
Availability Zone
におけるSubnetを
選択
インターネットへの
経路を設定
VPCへのIN/OUT
トラフィックを許可
➀ ② ③ ④
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
セキュリティグループ = ステートフル Firewall
デフォルトで許可されてい
るのは同じセキュリティグ
ループ内通信のみ
(外からの通信は禁止)
その為、必要な通信例えば、
WEB公開する場合は
インターネット(0.0.0.0/0)
から80ポートを許可
44
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Network ACLs = ステートレス Firewall
デフォルトでは全て
の送信元IPを許可
サブネット単位で
適用される
45
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
VPC
VPCセキュリティコントロール
Route
Table
Route
Table
Subnet 172.31.0.0/24 Subnet 172.31.1.0/24
インターネット
ゲートウェイ
バーチャルプライベート
ゲートウェイ
Virtual
Router
VPC 172.31.0.0/16
EC2
Instance 2
172.31.0.7
EC2
Instance 3
172.31.1.8
46
EC2
Instance 1
172.31.0.6
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
ネットワークACL vs セキュリティグループ
ネットワークACL セキュリティグループ
サブネットレベルで効果 サーバレベルで効果
Allow/DenyをIN・OUTで指定可能
(ブラックリスト型)
AllowのみをIN・OUTで指定可能
(ホワイトリスト型)
ステートレスなので、戻りのトラフィックも明示
的に許可設定する
ステートフルなので、戻りのトラフィックを考慮
しなくてよい
番号の順序通りに適用 全てのルールを適用
サブネット内のすべてのインスタンスがACLの管
理下に入る
インスタンス管理者がセキュリティグループを適
用すればその管理下になる
47
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
48
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
カスタマーマネージドプレフィックスリスト
• お客様自身で複数のアドレスブロックをまとめてプレフィックスが設定可能に
• セキュリティグループ、サブネットおよびTransit Gatewayのルーティングテーブル
で利用可能
• 作成したプレフィックスリストはRAMで他アカウントから参照可能
https://aws.amazon.com/jp/about-aws/whats-new/2020/06/amazon-virtual-private-cloud-
customers-use-prefix-lists-simplify-configuration-security-groups-route-tables/
49
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Ingress Routing
50
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Ingress Routing
• Internet Gateway/VGWに対するアウトバウンド・イ
ンバウンド双方のトラフィックを特定EC2インスタン
スのENIに向ける事ができる
• VPCに出入りする全トラフィックが特定EC2インスタ
ンスを通過することを強制するため、IDS/IPSや
Firewallによる監視・通信制御を効果的に実行可能
• Ingress Routingは全てのリージョンで利用可能
51
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Ingress Routing 注意点
• IGW/VGW用のルーティングテーブルを作成し、それをIGW/VGWにアタッチする。
• サブネットに関連付けたルーティングテーブルやVPC作成時のルーティングテーブルはIngress Routingには
紐付けできない。
• ENIをターゲットにするのでAZ/インスタンス障害時にlambdaなどでルーティングテーブルを切り替える仕
組みが必要(TGWのインライン監査と同じ)
• 他のサブネットのIGW/VGW向けのルーティングは指定したENIに向けること(非対称になる)
• 指定できるCIDRはすでに作成されているサブネットと完全一致が必要
52
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
VPCセットアップの補足
53
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
サブネット内のDHCP
ENI
(eth0)
DHCP機能
サブネット
・サブネット内のENI(Elasticネットワーク
インタフェース)にIPを自動割当て
・プライベートIPを固定にした場合は
DHCP経由で該当のIPが割当てられる
(EC2インスタンスのOS上のNIC
設定はDHCP設定とする)
• EC2インスタンスを再起動しても、割り
当てられた固定IPは変わらない。
54
VPC
MACアドレス
プライベートIP
の割当て
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
アベイラビリティゾーン A
VPC
Route53 resolver(AmazonProvidedDNS)
・Amazonが提供するDNSサービス
・以下の2つのアドレスが利用可能
①VPCのネットワーク範囲(CIDR)の
アドレスに+2をプラスしたIP
(10.0.0.0/16の場合は10.0.0.2)
②169.254.169.253
・VPC内のEC2インスタンスからのみ
参照可能
(VPNや専用線経由では参照できない)
• Route 53 Resolver for Hybridsで解決
http://docs.aws.amazon.com/ja_jp/AmazonVPC/latest/UserGuide/VPC_DHCP_Options.html#AmazonDNS
サブネット サブネット
アベイラビリティゾーン B
10.0.1.0/24 10.0.10.0/24
VPC CIDR: 10.0.0.0 /16
データセンター
Route53 Resolver
10.0.0.2 or 169.254.169.253
55
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Route 53 Resolver for Hybrid Clouds
https://aws.amazon.com/jp/blogs/aws/new-amazon-route-53-resolver-for-hybrid-clouds/
• オンプレミスからDirect
Connect/VPN経由によるVPC
Provided DNSへの直接アクセ
ス可能なDNSエンドポイントを提
供
• 逆方向(VPC内からオンプレミス
への特定ドメイン参照)も可能
• 複数AZに跨ったエンドポイント設
定による冗長
56
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
DNS機能の有効化とホストへのDNS名割当て
Enable DNS resolution
基本はyesとする
NoにするとVPCのDNS機能が無効となる
Enable DNS hostname
TrueにするとDNS名が割り当てられる
“Enable DNS resolution”をtrueにしないと有効にならない
57
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Time Sync Service
• VPC内で稼働する全てのインスタンスからNTP
で利用できる高精度な時刻同期サービス
• EC2インスタンス内でNTPサーバのIPアドレス
としてとして169.254.169.123を設定するだ
けで利用できる
– このアドレスはリンクローカルアドレスなので、外部インターネットへ
のアクセスは不要。プライベートサブネット内でも利用できる
• Leap Smearingによる「うるう秒」への対策が
実装済み
• 無料で全リージョンで利用可能
58
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
VPC
AWS Cloud
IPv6の対応
https://aws.amazon.com/jp/blogs/news/new-ipv6-support-for-ec2-instances-in-virtual-private-clouds/
プライベート
サブネット
10.0.0.0 /16
オフィス
データセンター
Direct
Connect
Amazon
S3
Application
Load Balancer
AWS WAF
Site-to-Site VPNでIPv6対応開始
Amazon
CloudFront
Amazon
Route 53
WEB
Internet
gateway
Egress-only Gateway(EGW) を利用して
IPv6においてもプライベート利用が可能
Basion
2001:db8:1234:1a01::/64 2001:db8:1234:1a00::/64
2001:db8:1234:1a00::/56
Egress-only
Internet
Gateway
パブリック
サブネット
10.0.2.0/24 10.0.1.0/24Site-to-Site
VPN
59
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
VPCにおけるIPv4とIPv6の特徴と制限
IPv4 IPv6
アドレス体系 32bit 128bit
VPCでの利用 デフォルトで適用
オプトイン
(自動適用ではなく任意)
CIDRブロックサイズ
16〜28bitで選択
自分で任意のアドレスを設定可能
56bit固定
かつ自動で56bit CIDRが
アサインされる(選べない)
サブネット
ブロックサイズ
16〜28bitで選択 64bit固定
パブリックIP/
プライベートIP
それぞれ存在
(NATを介してパブリックIPをプライマリプライ
ベートIPにMAP)
パブリックのみ
(プライベートにするにはEgress-only Internet
Gatewayを利用)
インスタンスタイプ 全てのインスタンスタイプ
M3、G2を除く全ての現行世代の
インスタンスタイプでサポート
アマゾン提供DNS
プライベートIP、Elastic IPに対する
それぞれのDNSホスト名を受信
提供されるDNSホスト名はなし
閉域接続 VPN、Direct Connect VPN、Direct Connect
http://docs.aws.amazon.com/ja_jp/AmazonVPC/latest/UserGuide/vpc-ip-addressing.html
60
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Agenda
Amazon VPCとは?
VPCのコンポーネント
VPCのセキュリティ
オンプレミスとのハイブリッド構成
VPCの設計
VPCの設定
VPCの運用
まとめ
61
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
VPCとのプライベートネットワーク接続
AWS Direct Connectを利用し、一貫性のあるネットワーク接続を実現
本番サービス向け
バーチャルプライベートゲートウェイを利用したサイト間VPN
エンドポイントを利用したClient VPN
VPN接続
専用線接続
62
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Site-to-Site VPN接続構成
バーチャル
プライベート
ゲートウェイ
カスタマ
ゲートウェイ
トンネル#1
トンネル#2
VPN接続
・1つのVPN接続は2つのIPsec
トンネルで冗長化
・ルーティングは
静的(スタティック)
動的(ダイナミック:BGP)
が選択可能
63
VPC
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Client VPN接続構成
• OpenVPNベースでのクライア
ントVPN接続を提供するマ
ネージドサービス
• どこからでもAWS・オンプレ
ミス上リソースへの安全なア
クセスを提供
• AWS上に配置されたClient
VPNのエンドポイントを経由
し、オンプレミス内のシステ
ムへ接続可能
64
VPC
自宅
VPN Client
出先/社内
VPN Client
クライアントVPN
エンドポイント
ENI
AWS Client VPN
ENI
Subnet
Subnet
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
VPC
専用線(Direct Connect)接続構成
バーチャル
プライベート
ゲートウェイ
カスタマ
ゲートウェイ
相互接続ポイント
(Equinix TY2 6-8 or OS1
or @Tokyo CC1
or Chief Telecom LY
or Chunghwa Telecom)
・AWSとお客様設備を専用線で
ネットワーク接続
・相互接続ポイントへ専用線を敷設
し、AWSのルータと相互接続
・東京リージョンの相互接続ポイントは
東京(Equinix TY2 6-8,@Tokyo CC1)
大阪(Equinix OS1)
台北(Chief Telecom LY, Chunghwa
Telecom)
・ルーティングはBGPのみ
・接続先は以下の3つ
VPC(プライベート接続)
AWSクラウド(パブリック接続)
Transit Gateway(トランジット接続)
・VPNよりも一貫性がある
・帯域のパフォーマンスも向上
・ネットワークコストも削減 65
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
VPC
VPCからオンプレミスへのルート設定
Route Table
Destination Target
10.1.0.0/16 local
192.168.10.0/24 vgw
192.168.10.0/24
10.1.0.0/24
10.1.0.0/16
・VPCからオンプレミスへの通信を
するためには各サブネットの
ルートテーブルの設定が必要
宛先: オンプレミスのIP
ターゲット:VGWのID
・ルートテーブルで”ルート伝達
(プロパゲート)”を有効にすると
VGWで受信したルート情報を
ルートテーブルに自動的に伝達
(頻繁にオンプレのルートが更新
される場合はこちらを利用)
伝達
66
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
• Direct Connect GatewayがHubになり、同一アカウントに所属する複数のリー
ジョンの複数のロケーションから複数リージョンの複数のVPCに接続できる機
能。
• Direct Connectから世界の全リージョン(中国除く)のVPCに接続することがで
きる。
• 1つのDirect Connectの仮想インターフェイスから複数のVPCに接続することがで
きる。
• 複数のDirect Connectの仮想インターフェイスをDirect Connect Gatewayに接続す
ることができる。
Direct Connect Gateway
1つ以上のDirect Connect ロケーションに繋げば
全世界の全リージョン(中国除く)に閉域網接続でき
同一リージョンまたは世界の複数リージョンをまたいで複数のVPCに接続できる機能
67
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
VPC
VPC
VPC
Direct Connect Gatewayの接続例
オフィス
データセンター
Direct Connect
Connection
東京リージョン
シンガポールリージョン
VGW
DXGW
VIF
オフィス
データセンター
VIF
68
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
インターネットVPN vs 専用線
インターネットVPN 専用線
コスト
安価なベストエフォート
回線も利用可能
キャリアの専用線サービス
の契約が必要
リードタイム 即時~ 数週間~
帯域
暗号化のオーバーヘッドに
より制限あり
ポート当たり1G/10Gbps
/LAG可能
品質
インターネットベースの
ため経路上のネットワーク
状態の影響を受ける
キャリアにより高い品質が
保証されている
障害時の切り分け
インターネットベースの
ため自社で保持している
範囲以外での切り分けが
難しい
エンドツーエンドでどの
経路を利用しているか把握
できているため比較的容易
69
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
VPNとDirect Connectの冗長化
192.168.10.0/24
10.0.0.0/24
10.0.0.0/16
VPN
Direct
Connect
・VPNとDirect Connectを同じVGW
に接続することが可能
Direct Connect =アクティブ
VPN =スタンバイ
・この場合VPCから見たOutbound
は必ずDirect Connectが優先
される
(VPNを優先したい場合はVPNルータから
Direct Connectより長いPrefixを広告)
・VPNへのフェールオーバー時は
レイテンシなど回線品質に注意
優先
70
VPC
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Transit Gateway
1000以上のVPCとオンプレミス間の相互接続を簡単に
オンプレミス
データセンター
Amazon VPC
AWS Transit
Gateway
71
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Transit GatewayのMulticast対応
Multicast
• AWS Transit Gatewayの機能として、データスト
リームを仮想的に複数のアプリケーションに配信
することが可能に
• 株価配信やマルチメディアコンテンツ配信など、
データを購読者にストリームする際に最適
• バージニア、フランクフルト、サンパウロ、バー
レーン、香港、ソウルリージョンで利用可能
AWS Transit Gateway
Instance
Instance Instance Instance
72
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
リファレンスアーキテクチャ
AWS VPN AWS Direct
Connect
Account Account Account Account IAM, クロスアカウント ロール
ルーティング
テーブル
ルーティング
テーブル
Transit Gateway
Account Account
Account Account
Account Account
Account Account
Account Account
Account Account
Interne
t
73
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Agenda
Amazon VPCとは?
VPCのコンポーネント
VPCのセキュリティ
オンプレミスとのハイブリッド構成
VPCの設計
VPCの設定
VPCの運用
まとめ
74
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
• CIDR(IPアドレス)は既存のVPC、社内のDCやオフィスと被らないアドレス帯を
アサイン
プライベートアドレスで無い場合は100.64.0.0/10 CGNAT を使うのも手
• 複数のアベイラビリティゾーンを利用し、可用性の高いシステムを構築
• パブリック/プライベートサブネットへのリソースの
配置を慎重に検討
• 適切なセキュリティ対策を適用する
• システムの境界を明らかにし、VPCをどのように分割
するか将来を見据えてしっかりと検討する
VPC設計のポイント
75
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWSクラウドとVPC
データセンター 本社オフィス
SNS DynamoDB IoT Kinesis
SQS S3
アベイラビリティゾーン 1 アベイラビリティゾーン 2
Elastic
SearchService
・VPC内と外のどちらにリソースや
エンドポイントが存在するかサービスに
よって異なる
・VPCからAWSクラウドへのリソースは
IGW経由の通信となる
プライベートサブネットからは→
NATゲートウェイ
S3であればVPCエンドポイントの利用も可能
パブリックサブネットからは→
自動割当てまたはEIPのパブリックIPから直接アクセス
・S3,DynamoDBへのアクセスはVPCエンドポ
イント(Gateway型)が利用可能
パブリックサブネットパブリックサブネット
AWSクラウド
※:表示しているサービスは一部のみです。
EC2
RDS
Elasti
Cache
Redshift
ECS
EMR
NAT
ゲートウェイ ELB
Lambda
Lambda
VPCエンドポイント
76
プライベートサブネット プライベートサブネット
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
VPC
AWS Cloud
VPC Endpoint概要
VPC Endpointは、グローバル
IPをもつAWSのサービスに対
して、VPC内部から直接アク
セスするための出口
S3
Dynamo DB
VPC
Endpoint
77
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
VPC
AWS Cloud
動作比較
• サブネットに特殊な
ルーティングを設定し、
VPC内部から直接サー
ビスと通信する。
• 通信先のIPアドレスは
グローバルIPアドレス
Gateway型の動作
S3
Dynamo DB
VPC Endpoint
(vpce-1a2b3c)
ルートテーブ
ル
「S3へはvpce-1a2bc3を通れ」
S3向けのIPアドレスはpl-xxxxxと
いう論理名で表され、実際の
DestinationはAWSが管理している。
Amazon Provided DNS
①S3のIPは? ② 52.219.68.108だよ
③ 52.219.68.108へ通信
78
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
VPC
動作比較
• サブネットにエンドポイ
ント用のプライベートIP
アドレスが生成される。
• VPC内部のDNSがエンド
ポイント向けの名前解決
に対してしてプライベー
トIPアドレスで回答する。
• エンドポイント用プライ
ベートIPアドレス向け通
信が内部的にサービスに
届けられる。
PrivateLink (Interface型)の動作
EC2 API
Kinesis Streams API
Amazon Provided DNS
API
EC2用 VPC エンドポイント
例)10.0.0.100
EC2用 VPC エンドポイント
例)10.0.1.100
② 10.0.0.100 or
10.0.1.100だよ
③ 10.0.0.100へ通信
④ AWS内部で
EC2 APIに転送
API
79
AWS Cloud
エンドポイント用 プライベートIP
サービスごとに設定が必要で、IPアド
レスは自動で採番される。(ELBやRDS
などと似ている)
①EC2のAPIのIPは?
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
機能比較
Gateway型 PrivateLink(Interface型)
アクセス制御 エンドポイントポリシー セキュリティグループ
IAM Policyと同じ構文でアクセス先のリソース
を制限可能。
セキュリティグループでアクセス元IP、ポートを制御
可能。対象のサービスの特定のリソースへのアクセス
制御は不可。
利用料金 無料 有料
サービスごとに、1プライベートIP毎に下記の料金。
0.014 USD/時間(東京)+ 0.01 USD/ GB
https://aws.amazon.com/jp/vpc/pricing/
冗長性 ユーザー側で意識する必要なし マルチAZ設計
マルチAZで配置するように設定する。
80
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
PrivateLink for Customers and Partners
“Provider” VPC“Client” VPC
PrivateLinkはユーザが自分で作ることもできる
81
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
PrivateLinkはオンプレミスにネイティブ対応
AWS Services (対応増加中)
AWS KMS Amazon
Kinesis
AWS STS Amazon
SNS
Amazon EC2
Systems Manager
Amazon
EC2 APIs
Amazon API
Gateway
Amazon
CloudWatch
AWS Direct
Connect
VPN
Connection
corporate data center
サービス
サービス
Corporat
e
data
center
VPC
82
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
0/0 – NAT-A
VPC
パブリックサブネット1
プライベートサブネット1
パブリックサブネット2
プライベートサブネット2
NATゲートウェイ
VPC
アベイラビリティゾーン 1 アベイラビリティゾーン 2
・AWSによるマネージドNATサービス
・プライベートサブネットのリソースが
インターネットまたはAWSクラウドへ通信
するために必要
・EIPを割当て
・高パフォーマンス(45Gbpsまで自動的に拡張)
・高可用性(ビルトインで冗長化)
・アベイラビリティゾーン毎に設置するのが
ベストプラクティス
Route Table
Destination Target
10.0.0.0/16 local
0.0.0.0/0 NATゲートウェイ
83
0/0 – NAT-B
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
VPCの接続バリエーション
VPC peering
• 1vs1の関係
• 100 VPCまで
• VPC間のSecurity groups
• Inter-region対応
AWS Transit Gateway
• 1vs1でも1vsNでもroute table次
第
• スケーラブル
• AZごとのエンドポイント費用
• Inter-region対応
AWS PrivateLink
• 1 vs Nの関係
• スケーラブル
• IPアドレス重複でもOK
• NLBとエンドポイント費用
• Inter-region対応
84
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Transit Gateway と PrivateLinkはスケーラブル
AWS Transit Gateway
Account Account
Account Account
Development
Account Account
Account Account
Testing
Account Account
Account Account
Production Shared Services
R
o
u
t
e
T
a
b
l
e
s
R
o
u
t
e
T
a
b
l
e
sTransit Gateway
Scope アプリケーション
Trust model
Dependencies
Scale
Scope ネットワーク
Trust model
Dependencies
Scale
AWS PrivateLink
• 1 vs Nの関係
• スケーラブル
• IPアドレス重複で
もOK
• NLBとエンドポイ
ント費用
• 1vs1でも1vsNでもroute
table次第
• スケーラブル
• AZごとのエンドポイント費
用
85
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
VPCシェアリング
App A Production Account App A Test/UAT Account App A Development Account
Master Account
App B Production Account App B Test/UAT Account App B Development Account
Business Unit A
Business Unit B
Prod VPC VPC
VPC
Dev/Test VPCNAT gateway NAT gateway
Private VIF Private VIF
86
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Admin Users
Account A (VPC Owner) Account B (Participant)
Common VPC
Same AWS Organization
AWS Resource
Access Manager
Shared Subnet
Share subnet
with Resource
Share
EC2
Instance
owned by
Account A
RDS
Instance
owned by
Account B
Traffic
87
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Agenda
Amazon VPCとは?
VPCのコンポーネント
VPCのセキュリティ
オンプレミスとのハイブリッド構成
VPCの設計
VPCの設定
VPCの運用
まとめ
88
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
VPCの設定方法
aws ec2 create-vpc
--cidr-block 10.0.0.0/16
from vpc.boto import VPCConnection
c = VPCConnecction()
vpc = c.create_vpc('10.0.0.0/16')
マネージメント
コンソール
AWS CLI
AWS SDK
サードパーティツール
resource "aws_vpc" "main" {
cidr_block = "10.0.0.0/16"
tags {
Name = "main"
}
}
AWS CloudFormation
{
"AWSTemplateFormatVersion" : "2010-09-09",
"Resources" : {
"myVPC" : {
"Type" : "AWS::EC2::VPC",
"Properties" : {
"CidrBlock" : "10.0.0.0/16",
"EnableDnsSupport" : "false",
"EnableDnsHostnames" : "false",
"InstanceTenancy" : "dedicated",
"Tags" : [ {
"Key" : "foo",
"Value" : "bar”
} ]
}
}
}
}
89
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
VPC
CLI - VPC作成
aws ec2 create-vpc --cidr 10.10.0.0/16
aws ec2 create-subnet --vpc vpc-c15180a4 --cidr 10.10.1.0/24 --a us-west-2a
aws ec2 create-subnet --vpc vpc-c15180a4 --cidr 10.10.2.0/24 --a us-west-2b
90
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Private subnet
VPC
AWS CloudFormation
{
"AWSTemplateFormatVersion" : "2010-09-09",
"Resources" : {
"myVPC" : {
"Type" : "AWS::EC2::VPC",
"Properties" : {
"CidrBlock" : "10.0.0.0/16",
"EnableDnsSupport" : "false",
"EnableDnsHostnames" : "false",
"InstanceTenancy" : "dedicated",
"Tags" : [ {
"Key" : "foo",
"Value" : "bar”
} ]
}
}
}
}
テンプレート
(JSON形式)
CloudFormation AWS環境(スタック)が完成
JSON/YAMLテンプレートを元にAWS環境を構築
http://docs.aws.amazon.com/ja_jp/AWSCloudFormation/latest/UserGuide/CHAP_TemplateQuickRef.htmlテンプレートサンプル: 91
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS CloudFormationデザイナー
GUIでテンプレートの作成が可能
92
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Agenda
Amazon VPCとは?
VPCのコンポーネント
VPCのセキュリティ
オンプレミスとのハイブリッド構成
VPCの設計
VPCの設定
VPCの運用
まとめ
93
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
VPC Flow Logsとは
・ネットワークトラフィックをキャプチャ
し、CloudWatch Logs、S3へPublishする機能
・ネットワークインタフェースを送信元/
送信先とするトラフィックが対象
・セキュリティグループとネットワークACL
のルールでaccepted/rejectされた
トラフィックログを取得
・キャプチャウインドウと言われる時間枠
(約10分間)で収集、プロセッシング、
保存
・RDS, Redshift、ElasticCache
WorkSpacesのネットワークインタフェー
ストラフィックも取得可能
・追加料金はなし(CloudWatch Logs,S3の標準
料金は課金)
94
VPC
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
VPC Traffic Mirroring
https://aws.amazon.com/jp/about-aws/whats-new/2019/06/announcing-amazon-vpc-traffic-mirroring-for-amazon-ec2-instances/
EC2
インスタンス
(Nitroベース)
ネットワーク
トラフィック(IN/OUT)
[VPC Traffic Mirror機能のユースケース]
1. 脅威検出(フォレンジック)
2. コンテンツモニタリング
3. 問題判別
• VPCフローログには含まれない、
パケット内容の取得が可能
ミラートラフィック
送信先
このネットワークトラフィック
をコピー(ミラー)し、VXLANで
カプセル化して宛先に送信
EC2インスタンスのENIからネットワークトラフィックをミラーリングする機能
95
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
VPC Traffic Mirroring機能の設定要素(リソース)
VPC Traffic Mirroringは「ソース」「フィルタ」「ターゲット」と
それらを結びつける「セッション」の4つのリソースで構成される
https://aws.amazon.com/jp/about-aws/whats-new/2019/06/announcing-amazon-vpc-traffic-mirroring-for-amazon-ec2-instances/
EC2
インスタンス
(Nitroベース)
通常のネットワーク
トラフィック(IN/OUT)
VXLAN
パケット
Mirror
ターゲットMirror フィルタ
4789
/udp
パケット
Mirror
セッション
参照(関連付け)
ENI
VPC Traffic Mirroringミラー
を有効化するENI
Mirror ソース
参照(関連付け)
参照(関連付け)
96
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Mirror ソース/フィルタ/ターゲット/セッション
同一リージョンを前提として、下図の構成が可能
Mirror ター
ゲット
Mirror ソース
Mirror
セッション
同一アカウント&同一VPC内
Mirror ター
ゲット
Mirror ソース
Mirror
セッション
Mirror ソース
Mirror
ターゲット
同一アカウント&異なるVPC間
Mirror
セッション
アカウントA
のVPC-1
アカウントA
のVPC-1
アカウントA
のVPC-2
アカウントB
のVPC-1
アカウントA
のVPC-x
アカウントC
のVPC-α
Mirror ソース
Mirror
セッション
アカウントA→B, アカウントA→C
それぞれでアカウントAのMirror
ターゲットをRAMを用いて共有
異なるアカウント&異なるVPC間
97
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
GuardDuty による脅威の検知と通知
悪意のあるスキャン
インスタンスへの脅威
アカウントへの脅威
Amazon
GuardDut
y
DNS Logs
CloudTrail
HIGH
MEDIU
M
LOW
Findingデータ ソース脅威の種類
98
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon GuardDuty
• AWS環境における、脅威検出を目的としたマネージドサービス
• EC2またはIAMにおける脅威を検出
• 機械学習による、異常検知の仕組み
• エージェント、センサー、ネットワーク アプライアンス等は不要
• エコシステムの充実
• シンプルなコスト形体と30日間の無料枠
99
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
利用例:Elasticsearch Service + kibanaによる可視化
VPC CloudWatch
Logs
Elasticsearch
Service
kibana
Elasticsearchへ
PUT
https://blogs.aws.amazon.com/security/post/Tx246GOZNFIW79N/How-to-
Optimize-and-Visualize-Your-Security-Groups 100
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon VPC のクォータ関連
• デフォルトの上限値が増加したも
のもあり
– http://docs.aws.amazon.com/AmazonV
PC/latest/UserGuide/VPC_Appendix_Lim
its.html
• Webサイトから制限解除申請可能
– http://aws.amazon.com/jp/contact-
us/vpc-request/
• 不明点はAWSサポートや担当営業
までお問い合わせください。
リソース 数
リージョン当たりの VPC の数 5
VPC 当たりのサブネットの数 200
AWS アカウント当たり、1 リージョン内の Elastic IP 数 5
ルートテーブル当たりのルートの数 100
VPCあたりのセキュリティグループの数 500
セキュリティグループあたりのルール数(In/Out) 50
ネットワークインタフェースあたりのセキュリティグループ 5
VPC当たりのアクティブなVPCピア接続 125
VPCあたり(仮想プライベートゲートウェイ)のVPN接続数 10
代表的なVPCのクオータ
101
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
まとめ
• VPCにより、さまざまな要件に合わせたネットワーク
を簡単に作成可能
• 設計時には将来の拡張も見据えたアドレッシングや
他ネットワークとの接続性も考慮する
• VPC構成は自社のITオペレーションモデルに合わせる
• VPC単体ではなくVPC全体の関係性も視野に入れる
• 実装や運用を補助するツールも有効利用
102
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Q&A
お答えできなかったご質問については
AWS Japan Blog 「https://aws.amazon.com/jp/blogs/news/」にて
後日掲載します。
103
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS の日本語資料の場所「AWS 資料」で検索
https://amzn.to/JPArchive
106
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
毎週” 個別技術相談会”を実施中
• のソリューションアーキテクト に
対策などを相談することも可能
• 申込みはイベント告知サイトから
(https://aws.amazon.com/jp/about-aws/events/)
AWS Well-Architected 個別技術相談会
107
© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS 公式 Webinar
https://amzn.to/JPWebinar
過去資料
https://amzn.to/JPArchive
ご視聴ありがとうございました

More Related Content

More from Amazon Web Services Japan

202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用
202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用
202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用Amazon Web Services Japan
 
202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf
202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf
202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdfAmazon Web Services Japan
 
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介Amazon Web Services Japan
 
Amazon QuickSight の組み込み方法をちょっぴりDD
Amazon QuickSight の組み込み方法をちょっぴりDDAmazon QuickSight の組み込み方法をちょっぴりDD
Amazon QuickSight の組み込み方法をちょっぴりDDAmazon Web Services Japan
 
マルチテナント化で知っておきたいデータベースのこと
マルチテナント化で知っておきたいデータベースのことマルチテナント化で知っておきたいデータベースのこと
マルチテナント化で知っておきたいデータベースのことAmazon Web Services Japan
 
機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ
機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ
機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチAmazon Web Services Japan
 
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介Amazon Web Services Japan
 
202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles
202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles
202202 AWS Black Belt Online Seminar Amazon Connect Customer ProfilesAmazon Web Services Japan
 
Amazon Game Tech Night #24 KPIダッシュボードを最速で用意するために
Amazon Game Tech Night #24 KPIダッシュボードを最速で用意するためにAmazon Game Tech Night #24 KPIダッシュボードを最速で用意するために
Amazon Game Tech Night #24 KPIダッシュボードを最速で用意するためにAmazon Web Services Japan
 
202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨
202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨
202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨Amazon Web Services Japan
 
[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介
[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介
[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介Amazon Web Services Japan
 
202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介
202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介
202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介Amazon Web Services Japan
 
202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...
202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...
202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...Amazon Web Services Japan
 
202112 AWS Black Belt Online Seminar 店内の「今」をお届けする小売業向けリアルタイム配信基盤のレシピ
202112 AWS Black Belt Online Seminar 店内の「今」をお届けする小売業向けリアルタイム配信基盤のレシピ202112 AWS Black Belt Online Seminar 店内の「今」をお届けする小売業向けリアルタイム配信基盤のレシピ
202112 AWS Black Belt Online Seminar 店内の「今」をお届けする小売業向けリアルタイム配信基盤のレシピAmazon Web Services Japan
 
20211209 Ops-JAWS Re invent2021re-cap-cloud operations
20211209 Ops-JAWS Re invent2021re-cap-cloud operations20211209 Ops-JAWS Re invent2021re-cap-cloud operations
20211209 Ops-JAWS Re invent2021re-cap-cloud operationsAmazon Web Services Japan
 
20211203 AWS Black Belt Online Seminar AWS re:Invent 2021アップデート速報
20211203 AWS Black Belt Online Seminar AWS re:Invent 2021アップデート速報20211203 AWS Black Belt Online Seminar AWS re:Invent 2021アップデート速報
20211203 AWS Black Belt Online Seminar AWS re:Invent 2021アップデート速報Amazon Web Services Japan
 
[AWS EXpert Online for JAWS-UG 18] 見せてやるよ、Step Functions の本気ってやつをな
[AWS EXpert Online for JAWS-UG 18] 見せてやるよ、Step Functions の本気ってやつをな[AWS EXpert Online for JAWS-UG 18] 見せてやるよ、Step Functions の本気ってやつをな
[AWS EXpert Online for JAWS-UG 18] 見せてやるよ、Step Functions の本気ってやつをなAmazon Web Services Japan
 
202110 AWS Black Belt Online Seminar AWS Site-to-Site VPN
202110 AWS Black Belt Online Seminar AWS Site-to-Site VPN202110 AWS Black Belt Online Seminar AWS Site-to-Site VPN
202110 AWS Black Belt Online Seminar AWS Site-to-Site VPNAmazon Web Services Japan
 

More from Amazon Web Services Japan (20)

202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用
202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用
202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用
 
202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf
202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf
202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf
 
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介
 
Amazon QuickSight の組み込み方法をちょっぴりDD
Amazon QuickSight の組み込み方法をちょっぴりDDAmazon QuickSight の組み込み方法をちょっぴりDD
Amazon QuickSight の組み込み方法をちょっぴりDD
 
マルチテナント化で知っておきたいデータベースのこと
マルチテナント化で知っておきたいデータベースのことマルチテナント化で知っておきたいデータベースのこと
マルチテナント化で知っておきたいデータベースのこと
 
機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ
機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ
機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ
 
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介
 
202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles
202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles
202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles
 
Amazon Game Tech Night #24 KPIダッシュボードを最速で用意するために
Amazon Game Tech Night #24 KPIダッシュボードを最速で用意するためにAmazon Game Tech Night #24 KPIダッシュボードを最速で用意するために
Amazon Game Tech Night #24 KPIダッシュボードを最速で用意するために
 
202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨
202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨
202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨
 
[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介
[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介
[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介
 
202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介
202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介
202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介
 
202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...
202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...
202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...
 
202112 AWS Black Belt Online Seminar 店内の「今」をお届けする小売業向けリアルタイム配信基盤のレシピ
202112 AWS Black Belt Online Seminar 店内の「今」をお届けする小売業向けリアルタイム配信基盤のレシピ202112 AWS Black Belt Online Seminar 店内の「今」をお届けする小売業向けリアルタイム配信基盤のレシピ
202112 AWS Black Belt Online Seminar 店内の「今」をお届けする小売業向けリアルタイム配信基盤のレシピ
 
20211209 Ops-JAWS Re invent2021re-cap-cloud operations
20211209 Ops-JAWS Re invent2021re-cap-cloud operations20211209 Ops-JAWS Re invent2021re-cap-cloud operations
20211209 Ops-JAWS Re invent2021re-cap-cloud operations
 
20211203 AWS Black Belt Online Seminar AWS re:Invent 2021アップデート速報
20211203 AWS Black Belt Online Seminar AWS re:Invent 2021アップデート速報20211203 AWS Black Belt Online Seminar AWS re:Invent 2021アップデート速報
20211203 AWS Black Belt Online Seminar AWS re:Invent 2021アップデート速報
 
[AWS EXpert Online for JAWS-UG 18] 見せてやるよ、Step Functions の本気ってやつをな
[AWS EXpert Online for JAWS-UG 18] 見せてやるよ、Step Functions の本気ってやつをな[AWS EXpert Online for JAWS-UG 18] 見せてやるよ、Step Functions の本気ってやつをな
[AWS EXpert Online for JAWS-UG 18] 見せてやるよ、Step Functions の本気ってやつをな
 
20211109 JAWS-UG SRE keynotes
20211109 JAWS-UG SRE keynotes20211109 JAWS-UG SRE keynotes
20211109 JAWS-UG SRE keynotes
 
20211109 bleaの使い方(基本編)
20211109 bleaの使い方(基本編)20211109 bleaの使い方(基本編)
20211109 bleaの使い方(基本編)
 
202110 AWS Black Belt Online Seminar AWS Site-to-Site VPN
202110 AWS Black Belt Online Seminar AWS Site-to-Site VPN202110 AWS Black Belt Online Seminar AWS Site-to-Site VPN
202110 AWS Black Belt Online Seminar AWS Site-to-Site VPN
 

Recently uploaded

08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 

Recently uploaded (20)

08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 

20201021 AWS Black Belt Online Seminar Amazon VPC

  • 1. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS 公式 Webinar https://amzn.to/JPWebinar 過去資料 https://amzn.to/JPArchive Solutions Architect 菊池 之裕 2020/10/21 Amazon VPC サービスカットシリーズ [AWS Black Belt Online Seminar]
  • 2. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Black Belt Online Seminar とは 「サービス別」「ソリューション別」「業種別」のそれぞれのテーマに分かれて、アマゾ ン ウェブ サービス ジャパン株式会社が主催するオンラインセミナーシリーズです。 質問を投げることができます! • 書き込んだ質問は、主催者にしか見えません • 今後のロードマップに関するご質問は お答えできませんのでご了承下さい Twitter ハッシュタグは以下をご利用ください #awsblackbelt ① 吹き出しをクリック ② 質問を入力 ③ Sendをクリック 2
  • 3. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 内容についての注意点 • 本資料では2020年10月21日時点のサービス内容および価格についてご説明しています。最新の 情報はAWS公式ウェブサイト(http://aws.amazon.com)にてご確認ください。 • 資料作成には十分注意しておりますが、資料内の価格とAWS公式ウェブサイト記載の価格に相 違があった場合、AWS公式ウェブサイトの価格を優先とさせていただきます。 • 価格は税抜表記となっています。日本居住者のお客様には別途消費税をご請求させていただきま す。 • AWS does not offer binding price quotes. AWS pricing is publicly available and is subject to change in accordance with the AWS Customer Agreement available at http://aws.amazon.com/agreement/. Any pricing information included in this document is provided only as an estimate of usage charges for AWS services based on certain information that you have provided. Monthly charges will be based on your actual use of AWS services, and may vary from the estimates provided. 3
  • 4. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 自己紹介 名前:菊池 之裕 きくち ゆきひろ 所属:ソリューションアーキテクト ネットワークスペシャリスト ロール: 系サービスについてのご支援 経歴: 運用、開発を経てネットワーク機器、仮想 ルータ販売会社のプリセールス、プロダクト から へ 好きな サービス 4
  • 5. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. このセミナーのゴール VPCのコンセプトに慣れる 基本的なVPCのセットアップが出来るようになる 自社の要件にあった仮想ネットワークの作り方を理解する 5
  • 6. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Agenda Amazon VPCとは? VPCのコンポーネント オンプレミスとのハイブリッド構成 VPCの設計 VPCの実装 VPCの運用 まとめ 6
  • 7. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Agenda Amazon VPCとは? VPCのコンポーネント オンプレミスとのハイブリッド構成 VPCの設計 VPCの実装 VPCの運用 まとめ 7
  • 8. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. データセンターをデザインしようとするには・・・ 何が必要? 8
  • 9. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. オンプレミス環境でのネットワークのイメージ 土地、電源、UPS、空調、ラック、ファイバー、パッチパ ネル、SFP等IFモジュール、スイッチ、ルータ、ストレージ、 サーバ、ロードバランサー、ファイアーウォール、WAF、 遠隔操作用ターミナルサーバ・・・ 9
  • 10. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 従来のITインフラ データセンター ラック 構築するには 要件定義 机上検討 機器選定 検証機 手配 検証 調達決裁 発注 納品待ち 検品 ラッキング ケーブリング 設定投入 動作確認 メンテナンス時 間調整 商用導入 作業 商用運用 開始 Before ネットワーク機器 時間(=コスト)がかかる 早くても数ヶ月、長いと半年 サービス開発グループ 調達グループ 現地作業グループ 運用グループ 10
  • 11. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. クラウドで仮想ネットワークを構築 データセンター ラック 必要な機能を抽象化 サービスとして 予め用意されている (Network Function Virtualization) Elastic ネットワーク インタフェース バーチャル プライベート ゲートウェイ ルート テーブル Elastic IP 仮想ルータ NAT ゲートウェイ インターネット ゲートウェイ API + or WEBマネージメントコンソール 組み合わせてすぐ利用開始! ネットワーク機器 After 11
  • 12. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. クラウドに対する悩み・不安 インターネット接 続部分のスケール アウトは大丈夫? 社内業務アプリケー ションはミッション クリティカルだから 冗長とか大丈夫? クラウドを使いたいが 社内ルール(セキュリ ティ/ネットワーク)に 合わなそう 社内と専用線で接続 したいけど、どうや ればいいの? 12
  • 13. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. VPC(Virtual Private Cloud)で解決可能 AWS上にプライベートネットワーク空間を構築 • 任意のIPアドレスレンジが利用可能 論理的なネットワーク分離が可能 • 必要に応じてネットワーク同士を接続することも可能 ネットワーク環境のコントロールが可能 • ルートテーブルや各種ゲートウェイ、各種コンポーネント 複数のコネクティビティオプションが選択可能 • インターネット経由 • VPN/専用線(Direct Connect) 13
  • 14. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Agenda Amazon VPCとは? VPCのコンポーネント オンプレミスとのハイブリッド構成 VPCの設計 VPCの実装 VPCの運用 まとめ 14
  • 15. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 様々なコンポーネントを用意 Elastic ネットワーク インタフェース カスタマ ゲートウェイ バーチャル プライベート ゲートウェイ インターネット ゲートウェイ VPN コネクション サブネット ルート テーブル Elastic IP VPC Peering仮想ルータ VPC エンドポイント NAT ゲートウェイ Elastic ネットワーク アダプタ PrivateLink 15
  • 16. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. VPC まずは全体のネットワーク空間をVPCとして定義 10.0.0.0 /16 16
  • 17. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 利用するサブネットを定義 10.0.1.0/24 パブリック サブネット Internet 17 VPC 10.0.0.0 /16
  • 18. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. VPC インターネットへの接続を設定 10.0.1.0/24 パブリック サブネット 10.0.0.0 /16 18
  • 19. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. プライベートサブネットを追加 10.0.1.0/24 パブリックサブネット 10.0.0.0 /16 プライベート サブネット 10.0.2.0/24 NAT ゲートウェイ 19 VPC
  • 20. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. VPC インターネットに接続しないネットワークも作成可能 プライベート サブネット 20 10.0.2.0/24
  • 21. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. VPC オンプレミスとの接続 プライベート サブネット オフィス データセンター VPN or 専用線 21 10.0.2.0/24
  • 22. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. VPC ネットワーク要件に応じて自由に設定可能 10.0.1.0/24 パブリック サブネット プライベート サブネット 10.0.0.0 /16 オフィス データセンター VPN or 専用線 22 10.0.2.0/24
  • 23. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. VPCウィザードで数画面で作成可能 ➀VPCウィザー ドの開始をク リック ②希望のパ ターンを選択 ③選択を クリック ④VPCの作成を クリック 23
  • 24. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ウォークスルー: インターネット接続VPCセットアップ 24
  • 25. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. VPC インターネットへの接続を設定するVPCを作成 パブリック サブネット 172.31.0.0/16 172.31.0.0/24 172.31.1.0/24 ap-northeast-1a ap-northeast-1c パブリック サブネット 25 Availability Zone Availability Zone
  • 26. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Security groupAvailability Zone インターネット接続VPCのステップ アドレスレンジを 選択 Availability Zone におけるSubnetを 選択 インターネットへの 経路を設定 VPCへのIN/OUT トラフィックを許可 ➀ ② ③ ④ 26
  • 27. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. インターネット接続VPCのステップ 27 Security groupAvailability Zone アドレスレンジを 選択 Availability Zone におけるSubnetを 選択 インターネットへの 経路を設定 VPCへのIN/OUT トラフィックを許可 ➀ ② ③ ④
  • 28. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. CIDR レンジのサンプル: 172.31.0.0/16 10101100 00011111 11000000 00000000 CIDR表記の再確認( Classless Inter-Domain Routing ) ネットワークアドレス部 ホストアドレス部 クラスA・・・16,777,214個(224-2) クラスB・・・65,534個(216-2) クラスC・・・254個(28-2) 以前のアドレス体系はクラスフルだった(IPv4の32ビットアドレス空間を8ビットで区切る) クラスBだと多過ぎ、クラスCだと少な過ぎる場合など実際の組織のホスト数に柔軟合わせたい 8/16/24のいずれかではなく、 可変長のビットマスクで必要に 応じたアドレッシングが可能に なった ※RFC(1518/1519を経て4632)にて定義 28
  • 29. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. VPC VPCに使うアドレスレンジの選択 172.31.0.0/16 推奨: RFC1918レンジ 衝突で使えない場合は RFC6598(100.64.0.0/10) 推奨:/16 (65,534アドレス) 最初に作成したアドレスブロックは作成後変更はできないので注意が必要 2個目以降は追加、削除ができる。 29
  • 30. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. VPCの作成 IPv4 CIDR block にアドレスレンジを入力して作成 30
  • 31. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. インターネット接続VPCのステップ 31 Security groupAvailability Zone アドレスレンジを 選択 Availability Zone におけるSubnetを 選択 インターネットへの 経路を設定 VPCへのIN/OUT トラフィックを許可 ➀ ② ③ ④
  • 32. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. VPC CIDRとサブネット数 サブネットマスク サブネット数 サブネットあたりの IPアドレス数 /18 4 16379 /20 16 4091 /22 64 1019 /24 256 ※ 251 /26 1024 ※ 59 /28 16384 ※ 11 CIDRに/16 を設定した場合の各サブネット数と使えるIPアドレス数 ※ VPCあたりのサブネット作成上限数はデフォルト200個 32
  • 33. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. アベイラビリティゾーン • 1リージョン内にAZが複数存在(大阪ローカルリージョンを除く) • AZはお互いに地理的・電源的・ネットワーク的に分離 • 2つのAZを利用した冗長構成を容易に構築 • リージョン内のAZ間は高速専用線で接続(リージョン間も可能な限り高速 専用線で接続) Asia Pacific (Tokyo) AZは1つ以上のデータセンターで構成される Availability Zone D Availability Zone C Availability Zone B Availability Zone A 33
  • 34. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. VPC subnetVPC subnet Availability ZoneAvailability Zone VPC サブネットに対してAZとアドレスを選択 172.31.0.0/16 推奨: 各AZにSubnet を設定 推奨: Subnetに/24 設定(251個) ap-northeast-1a 172.31.0.0/24 172.31.1.0/24 ap-northeast-1c 34
  • 35. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. サブネットを作成 ・ネームタグ ・VPC ・アベイラビリティゾーン ・IPv4 CIDR block を指定して作成 35
  • 36. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. サブネットで利用できないIPアドレス(/24の例) ホストアドレス 用途 .0 ネットワークアドレス .1 VPCルータ .2 Amazonが提供するDNSサービス .3 AWSで予約 .255 ブロードキャストアドレス (VPCではブロードキャストはサポー トされていない) 36
  • 37. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. インターネット接続VPCのステップ 37 Security groupAvailability Zone アドレスレンジを 選択 Availability Zone におけるSubnetを 選択 インターネットへの 経路を設定 VPCへのIN/OUT トラフィックを許可 ➀ ② ③ ④
  • 38. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. VPC内におけるルーティング • ルートテーブルはパケットがどこに向かえば良 いかを示すもの • VPC作成時にデフォルトで1つルートテーブル が作成される • VPC内は作成時に指定したCIDRアドレスでルー ティングされる 38
  • 39. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 送信先が同一のセグ メントであれば同一 セグメントに送信 (VPC作成時にデ フォルトで作成) ルートテーブルの確認 39
  • 40. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. インターネットゲートウェイを作成、VPCにアタッチ VPCからインター ネットへの接続がア タッチされた 40
  • 41. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 仮想ルータとルートテーブルの関係(ルートLook up) インターネット ゲートウェイ 仮想ルータ 送信元 172.31.1.10 送信先 1.1.1.1 データ 送信元 172.31.1.10 送信先 172.31.1.20 データ Local 送信元 172.31.1.10 送信先 172.31.1.20 データ ③テーブル Look Up ②パケット到着 ④ターゲットへ パケット転送 ← 送信先172.31.1.20はこっち行けば良い EC2 インスタンス ➀パケット送信 igw-29454e4c ← 送信先 1.1.1.1 はこっち行けば良い 41
  • 42. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. VPC パブリックサブネットとプライベートサブネット プライベートサブネット パブリックサブネット 172.31.0.0/24 172.31.1.0/24 VPC CIDR: 172.31.0.0/16 プライベートIPで通信 パブリックIPで通信 パブリックIP: 54.0.0.100 EC2のOSで確認できるのは プライベートIPのみ パブリックサブネットのIPが IGW経由でインターネット またはAWSクラウドと通信す るときにパブリックIPを利用 42 プライベートIP: 172.31.0.100 プライベートIP: 172.31.1.100
  • 43. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. インターネット接続VPCのステップ 43 Security groupAvailability Zone アドレスレンジを 選択 Availability Zone におけるSubnetを 選択 インターネットへの 経路を設定 VPCへのIN/OUT トラフィックを許可 ➀ ② ③ ④
  • 44. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. セキュリティグループ = ステートフル Firewall デフォルトで許可されてい るのは同じセキュリティグ ループ内通信のみ (外からの通信は禁止) その為、必要な通信例えば、 WEB公開する場合は インターネット(0.0.0.0/0) から80ポートを許可 44
  • 45. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Network ACLs = ステートレス Firewall デフォルトでは全て の送信元IPを許可 サブネット単位で 適用される 45
  • 46. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. VPC VPCセキュリティコントロール Route Table Route Table Subnet 172.31.0.0/24 Subnet 172.31.1.0/24 インターネット ゲートウェイ バーチャルプライベート ゲートウェイ Virtual Router VPC 172.31.0.0/16 EC2 Instance 2 172.31.0.7 EC2 Instance 3 172.31.1.8 46 EC2 Instance 1 172.31.0.6
  • 47. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ネットワークACL vs セキュリティグループ ネットワークACL セキュリティグループ サブネットレベルで効果 サーバレベルで効果 Allow/DenyをIN・OUTで指定可能 (ブラックリスト型) AllowのみをIN・OUTで指定可能 (ホワイトリスト型) ステートレスなので、戻りのトラフィックも明示 的に許可設定する ステートフルなので、戻りのトラフィックを考慮 しなくてよい 番号の順序通りに適用 全てのルールを適用 サブネット内のすべてのインスタンスがACLの管 理下に入る インスタンス管理者がセキュリティグループを適 用すればその管理下になる 47
  • 48. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 48
  • 49. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. カスタマーマネージドプレフィックスリスト • お客様自身で複数のアドレスブロックをまとめてプレフィックスが設定可能に • セキュリティグループ、サブネットおよびTransit Gatewayのルーティングテーブル で利用可能 • 作成したプレフィックスリストはRAMで他アカウントから参照可能 https://aws.amazon.com/jp/about-aws/whats-new/2020/06/amazon-virtual-private-cloud- customers-use-prefix-lists-simplify-configuration-security-groups-route-tables/ 49
  • 50. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Ingress Routing 50
  • 51. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Ingress Routing • Internet Gateway/VGWに対するアウトバウンド・イ ンバウンド双方のトラフィックを特定EC2インスタン スのENIに向ける事ができる • VPCに出入りする全トラフィックが特定EC2インスタ ンスを通過することを強制するため、IDS/IPSや Firewallによる監視・通信制御を効果的に実行可能 • Ingress Routingは全てのリージョンで利用可能 51
  • 52. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Ingress Routing 注意点 • IGW/VGW用のルーティングテーブルを作成し、それをIGW/VGWにアタッチする。 • サブネットに関連付けたルーティングテーブルやVPC作成時のルーティングテーブルはIngress Routingには 紐付けできない。 • ENIをターゲットにするのでAZ/インスタンス障害時にlambdaなどでルーティングテーブルを切り替える仕 組みが必要(TGWのインライン監査と同じ) • 他のサブネットのIGW/VGW向けのルーティングは指定したENIに向けること(非対称になる) • 指定できるCIDRはすでに作成されているサブネットと完全一致が必要 52
  • 53. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. VPCセットアップの補足 53
  • 54. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. サブネット内のDHCP ENI (eth0) DHCP機能 サブネット ・サブネット内のENI(Elasticネットワーク インタフェース)にIPを自動割当て ・プライベートIPを固定にした場合は DHCP経由で該当のIPが割当てられる (EC2インスタンスのOS上のNIC 設定はDHCP設定とする) • EC2インスタンスを再起動しても、割り 当てられた固定IPは変わらない。 54 VPC MACアドレス プライベートIP の割当て
  • 55. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. アベイラビリティゾーン A VPC Route53 resolver(AmazonProvidedDNS) ・Amazonが提供するDNSサービス ・以下の2つのアドレスが利用可能 ①VPCのネットワーク範囲(CIDR)の アドレスに+2をプラスしたIP (10.0.0.0/16の場合は10.0.0.2) ②169.254.169.253 ・VPC内のEC2インスタンスからのみ 参照可能 (VPNや専用線経由では参照できない) • Route 53 Resolver for Hybridsで解決 http://docs.aws.amazon.com/ja_jp/AmazonVPC/latest/UserGuide/VPC_DHCP_Options.html#AmazonDNS サブネット サブネット アベイラビリティゾーン B 10.0.1.0/24 10.0.10.0/24 VPC CIDR: 10.0.0.0 /16 データセンター Route53 Resolver 10.0.0.2 or 169.254.169.253 55
  • 56. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Route 53 Resolver for Hybrid Clouds https://aws.amazon.com/jp/blogs/aws/new-amazon-route-53-resolver-for-hybrid-clouds/ • オンプレミスからDirect Connect/VPN経由によるVPC Provided DNSへの直接アクセ ス可能なDNSエンドポイントを提 供 • 逆方向(VPC内からオンプレミス への特定ドメイン参照)も可能 • 複数AZに跨ったエンドポイント設 定による冗長 56
  • 57. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. DNS機能の有効化とホストへのDNS名割当て Enable DNS resolution 基本はyesとする NoにするとVPCのDNS機能が無効となる Enable DNS hostname TrueにするとDNS名が割り当てられる “Enable DNS resolution”をtrueにしないと有効にならない 57
  • 58. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Time Sync Service • VPC内で稼働する全てのインスタンスからNTP で利用できる高精度な時刻同期サービス • EC2インスタンス内でNTPサーバのIPアドレス としてとして169.254.169.123を設定するだ けで利用できる – このアドレスはリンクローカルアドレスなので、外部インターネットへ のアクセスは不要。プライベートサブネット内でも利用できる • Leap Smearingによる「うるう秒」への対策が 実装済み • 無料で全リージョンで利用可能 58
  • 59. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. VPC AWS Cloud IPv6の対応 https://aws.amazon.com/jp/blogs/news/new-ipv6-support-for-ec2-instances-in-virtual-private-clouds/ プライベート サブネット 10.0.0.0 /16 オフィス データセンター Direct Connect Amazon S3 Application Load Balancer AWS WAF Site-to-Site VPNでIPv6対応開始 Amazon CloudFront Amazon Route 53 WEB Internet gateway Egress-only Gateway(EGW) を利用して IPv6においてもプライベート利用が可能 Basion 2001:db8:1234:1a01::/64 2001:db8:1234:1a00::/64 2001:db8:1234:1a00::/56 Egress-only Internet Gateway パブリック サブネット 10.0.2.0/24 10.0.1.0/24Site-to-Site VPN 59
  • 60. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. VPCにおけるIPv4とIPv6の特徴と制限 IPv4 IPv6 アドレス体系 32bit 128bit VPCでの利用 デフォルトで適用 オプトイン (自動適用ではなく任意) CIDRブロックサイズ 16〜28bitで選択 自分で任意のアドレスを設定可能 56bit固定 かつ自動で56bit CIDRが アサインされる(選べない) サブネット ブロックサイズ 16〜28bitで選択 64bit固定 パブリックIP/ プライベートIP それぞれ存在 (NATを介してパブリックIPをプライマリプライ ベートIPにMAP) パブリックのみ (プライベートにするにはEgress-only Internet Gatewayを利用) インスタンスタイプ 全てのインスタンスタイプ M3、G2を除く全ての現行世代の インスタンスタイプでサポート アマゾン提供DNS プライベートIP、Elastic IPに対する それぞれのDNSホスト名を受信 提供されるDNSホスト名はなし 閉域接続 VPN、Direct Connect VPN、Direct Connect http://docs.aws.amazon.com/ja_jp/AmazonVPC/latest/UserGuide/vpc-ip-addressing.html 60
  • 61. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Agenda Amazon VPCとは? VPCのコンポーネント VPCのセキュリティ オンプレミスとのハイブリッド構成 VPCの設計 VPCの設定 VPCの運用 まとめ 61
  • 62. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. VPCとのプライベートネットワーク接続 AWS Direct Connectを利用し、一貫性のあるネットワーク接続を実現 本番サービス向け バーチャルプライベートゲートウェイを利用したサイト間VPN エンドポイントを利用したClient VPN VPN接続 専用線接続 62
  • 63. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Site-to-Site VPN接続構成 バーチャル プライベート ゲートウェイ カスタマ ゲートウェイ トンネル#1 トンネル#2 VPN接続 ・1つのVPN接続は2つのIPsec トンネルで冗長化 ・ルーティングは 静的(スタティック) 動的(ダイナミック:BGP) が選択可能 63 VPC
  • 64. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Client VPN接続構成 • OpenVPNベースでのクライア ントVPN接続を提供するマ ネージドサービス • どこからでもAWS・オンプレ ミス上リソースへの安全なア クセスを提供 • AWS上に配置されたClient VPNのエンドポイントを経由 し、オンプレミス内のシステ ムへ接続可能 64 VPC 自宅 VPN Client 出先/社内 VPN Client クライアントVPN エンドポイント ENI AWS Client VPN ENI Subnet Subnet
  • 65. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. VPC 専用線(Direct Connect)接続構成 バーチャル プライベート ゲートウェイ カスタマ ゲートウェイ 相互接続ポイント (Equinix TY2 6-8 or OS1 or @Tokyo CC1 or Chief Telecom LY or Chunghwa Telecom) ・AWSとお客様設備を専用線で ネットワーク接続 ・相互接続ポイントへ専用線を敷設 し、AWSのルータと相互接続 ・東京リージョンの相互接続ポイントは 東京(Equinix TY2 6-8,@Tokyo CC1) 大阪(Equinix OS1) 台北(Chief Telecom LY, Chunghwa Telecom) ・ルーティングはBGPのみ ・接続先は以下の3つ VPC(プライベート接続) AWSクラウド(パブリック接続) Transit Gateway(トランジット接続) ・VPNよりも一貫性がある ・帯域のパフォーマンスも向上 ・ネットワークコストも削減 65
  • 66. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. VPC VPCからオンプレミスへのルート設定 Route Table Destination Target 10.1.0.0/16 local 192.168.10.0/24 vgw 192.168.10.0/24 10.1.0.0/24 10.1.0.0/16 ・VPCからオンプレミスへの通信を するためには各サブネットの ルートテーブルの設定が必要 宛先: オンプレミスのIP ターゲット:VGWのID ・ルートテーブルで”ルート伝達 (プロパゲート)”を有効にすると VGWで受信したルート情報を ルートテーブルに自動的に伝達 (頻繁にオンプレのルートが更新 される場合はこちらを利用) 伝達 66
  • 67. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. • Direct Connect GatewayがHubになり、同一アカウントに所属する複数のリー ジョンの複数のロケーションから複数リージョンの複数のVPCに接続できる機 能。 • Direct Connectから世界の全リージョン(中国除く)のVPCに接続することがで きる。 • 1つのDirect Connectの仮想インターフェイスから複数のVPCに接続することがで きる。 • 複数のDirect Connectの仮想インターフェイスをDirect Connect Gatewayに接続す ることができる。 Direct Connect Gateway 1つ以上のDirect Connect ロケーションに繋げば 全世界の全リージョン(中国除く)に閉域網接続でき 同一リージョンまたは世界の複数リージョンをまたいで複数のVPCに接続できる機能 67
  • 68. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. VPC VPC VPC Direct Connect Gatewayの接続例 オフィス データセンター Direct Connect Connection 東京リージョン シンガポールリージョン VGW DXGW VIF オフィス データセンター VIF 68
  • 69. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. インターネットVPN vs 専用線 インターネットVPN 専用線 コスト 安価なベストエフォート 回線も利用可能 キャリアの専用線サービス の契約が必要 リードタイム 即時~ 数週間~ 帯域 暗号化のオーバーヘッドに より制限あり ポート当たり1G/10Gbps /LAG可能 品質 インターネットベースの ため経路上のネットワーク 状態の影響を受ける キャリアにより高い品質が 保証されている 障害時の切り分け インターネットベースの ため自社で保持している 範囲以外での切り分けが 難しい エンドツーエンドでどの 経路を利用しているか把握 できているため比較的容易 69
  • 70. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. VPNとDirect Connectの冗長化 192.168.10.0/24 10.0.0.0/24 10.0.0.0/16 VPN Direct Connect ・VPNとDirect Connectを同じVGW に接続することが可能 Direct Connect =アクティブ VPN =スタンバイ ・この場合VPCから見たOutbound は必ずDirect Connectが優先 される (VPNを優先したい場合はVPNルータから Direct Connectより長いPrefixを広告) ・VPNへのフェールオーバー時は レイテンシなど回線品質に注意 優先 70 VPC
  • 71. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Transit Gateway 1000以上のVPCとオンプレミス間の相互接続を簡単に オンプレミス データセンター Amazon VPC AWS Transit Gateway 71
  • 72. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Transit GatewayのMulticast対応 Multicast • AWS Transit Gatewayの機能として、データスト リームを仮想的に複数のアプリケーションに配信 することが可能に • 株価配信やマルチメディアコンテンツ配信など、 データを購読者にストリームする際に最適 • バージニア、フランクフルト、サンパウロ、バー レーン、香港、ソウルリージョンで利用可能 AWS Transit Gateway Instance Instance Instance Instance 72
  • 73. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. リファレンスアーキテクチャ AWS VPN AWS Direct Connect Account Account Account Account IAM, クロスアカウント ロール ルーティング テーブル ルーティング テーブル Transit Gateway Account Account Account Account Account Account Account Account Account Account Account Account Interne t 73
  • 74. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Agenda Amazon VPCとは? VPCのコンポーネント VPCのセキュリティ オンプレミスとのハイブリッド構成 VPCの設計 VPCの設定 VPCの運用 まとめ 74
  • 75. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. • CIDR(IPアドレス)は既存のVPC、社内のDCやオフィスと被らないアドレス帯を アサイン プライベートアドレスで無い場合は100.64.0.0/10 CGNAT を使うのも手 • 複数のアベイラビリティゾーンを利用し、可用性の高いシステムを構築 • パブリック/プライベートサブネットへのリソースの 配置を慎重に検討 • 適切なセキュリティ対策を適用する • システムの境界を明らかにし、VPCをどのように分割 するか将来を見据えてしっかりと検討する VPC設計のポイント 75
  • 76. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWSクラウドとVPC データセンター 本社オフィス SNS DynamoDB IoT Kinesis SQS S3 アベイラビリティゾーン 1 アベイラビリティゾーン 2 Elastic SearchService ・VPC内と外のどちらにリソースや エンドポイントが存在するかサービスに よって異なる ・VPCからAWSクラウドへのリソースは IGW経由の通信となる プライベートサブネットからは→ NATゲートウェイ S3であればVPCエンドポイントの利用も可能 パブリックサブネットからは→ 自動割当てまたはEIPのパブリックIPから直接アクセス ・S3,DynamoDBへのアクセスはVPCエンドポ イント(Gateway型)が利用可能 パブリックサブネットパブリックサブネット AWSクラウド ※:表示しているサービスは一部のみです。 EC2 RDS Elasti Cache Redshift ECS EMR NAT ゲートウェイ ELB Lambda Lambda VPCエンドポイント 76 プライベートサブネット プライベートサブネット
  • 77. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. VPC AWS Cloud VPC Endpoint概要 VPC Endpointは、グローバル IPをもつAWSのサービスに対 して、VPC内部から直接アク セスするための出口 S3 Dynamo DB VPC Endpoint 77
  • 78. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. VPC AWS Cloud 動作比較 • サブネットに特殊な ルーティングを設定し、 VPC内部から直接サー ビスと通信する。 • 通信先のIPアドレスは グローバルIPアドレス Gateway型の動作 S3 Dynamo DB VPC Endpoint (vpce-1a2b3c) ルートテーブ ル 「S3へはvpce-1a2bc3を通れ」 S3向けのIPアドレスはpl-xxxxxと いう論理名で表され、実際の DestinationはAWSが管理している。 Amazon Provided DNS ①S3のIPは? ② 52.219.68.108だよ ③ 52.219.68.108へ通信 78
  • 79. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. VPC 動作比較 • サブネットにエンドポイ ント用のプライベートIP アドレスが生成される。 • VPC内部のDNSがエンド ポイント向けの名前解決 に対してしてプライベー トIPアドレスで回答する。 • エンドポイント用プライ ベートIPアドレス向け通 信が内部的にサービスに 届けられる。 PrivateLink (Interface型)の動作 EC2 API Kinesis Streams API Amazon Provided DNS API EC2用 VPC エンドポイント 例)10.0.0.100 EC2用 VPC エンドポイント 例)10.0.1.100 ② 10.0.0.100 or 10.0.1.100だよ ③ 10.0.0.100へ通信 ④ AWS内部で EC2 APIに転送 API 79 AWS Cloud エンドポイント用 プライベートIP サービスごとに設定が必要で、IPアド レスは自動で採番される。(ELBやRDS などと似ている) ①EC2のAPIのIPは?
  • 80. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 機能比較 Gateway型 PrivateLink(Interface型) アクセス制御 エンドポイントポリシー セキュリティグループ IAM Policyと同じ構文でアクセス先のリソース を制限可能。 セキュリティグループでアクセス元IP、ポートを制御 可能。対象のサービスの特定のリソースへのアクセス 制御は不可。 利用料金 無料 有料 サービスごとに、1プライベートIP毎に下記の料金。 0.014 USD/時間(東京)+ 0.01 USD/ GB https://aws.amazon.com/jp/vpc/pricing/ 冗長性 ユーザー側で意識する必要なし マルチAZ設計 マルチAZで配置するように設定する。 80
  • 81. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. PrivateLink for Customers and Partners “Provider” VPC“Client” VPC PrivateLinkはユーザが自分で作ることもできる 81
  • 82. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. PrivateLinkはオンプレミスにネイティブ対応 AWS Services (対応増加中) AWS KMS Amazon Kinesis AWS STS Amazon SNS Amazon EC2 Systems Manager Amazon EC2 APIs Amazon API Gateway Amazon CloudWatch AWS Direct Connect VPN Connection corporate data center サービス サービス Corporat e data center VPC 82
  • 83. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 0/0 – NAT-A VPC パブリックサブネット1 プライベートサブネット1 パブリックサブネット2 プライベートサブネット2 NATゲートウェイ VPC アベイラビリティゾーン 1 アベイラビリティゾーン 2 ・AWSによるマネージドNATサービス ・プライベートサブネットのリソースが インターネットまたはAWSクラウドへ通信 するために必要 ・EIPを割当て ・高パフォーマンス(45Gbpsまで自動的に拡張) ・高可用性(ビルトインで冗長化) ・アベイラビリティゾーン毎に設置するのが ベストプラクティス Route Table Destination Target 10.0.0.0/16 local 0.0.0.0/0 NATゲートウェイ 83 0/0 – NAT-B
  • 84. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. VPCの接続バリエーション VPC peering • 1vs1の関係 • 100 VPCまで • VPC間のSecurity groups • Inter-region対応 AWS Transit Gateway • 1vs1でも1vsNでもroute table次 第 • スケーラブル • AZごとのエンドポイント費用 • Inter-region対応 AWS PrivateLink • 1 vs Nの関係 • スケーラブル • IPアドレス重複でもOK • NLBとエンドポイント費用 • Inter-region対応 84
  • 85. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Transit Gateway と PrivateLinkはスケーラブル AWS Transit Gateway Account Account Account Account Development Account Account Account Account Testing Account Account Account Account Production Shared Services R o u t e T a b l e s R o u t e T a b l e sTransit Gateway Scope アプリケーション Trust model Dependencies Scale Scope ネットワーク Trust model Dependencies Scale AWS PrivateLink • 1 vs Nの関係 • スケーラブル • IPアドレス重複で もOK • NLBとエンドポイ ント費用 • 1vs1でも1vsNでもroute table次第 • スケーラブル • AZごとのエンドポイント費 用 85
  • 86. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. VPCシェアリング App A Production Account App A Test/UAT Account App A Development Account Master Account App B Production Account App B Test/UAT Account App B Development Account Business Unit A Business Unit B Prod VPC VPC VPC Dev/Test VPCNAT gateway NAT gateway Private VIF Private VIF 86
  • 87. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Admin Users Account A (VPC Owner) Account B (Participant) Common VPC Same AWS Organization AWS Resource Access Manager Shared Subnet Share subnet with Resource Share EC2 Instance owned by Account A RDS Instance owned by Account B Traffic 87
  • 88. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Agenda Amazon VPCとは? VPCのコンポーネント VPCのセキュリティ オンプレミスとのハイブリッド構成 VPCの設計 VPCの設定 VPCの運用 まとめ 88
  • 89. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. VPCの設定方法 aws ec2 create-vpc --cidr-block 10.0.0.0/16 from vpc.boto import VPCConnection c = VPCConnecction() vpc = c.create_vpc('10.0.0.0/16') マネージメント コンソール AWS CLI AWS SDK サードパーティツール resource "aws_vpc" "main" { cidr_block = "10.0.0.0/16" tags { Name = "main" } } AWS CloudFormation { "AWSTemplateFormatVersion" : "2010-09-09", "Resources" : { "myVPC" : { "Type" : "AWS::EC2::VPC", "Properties" : { "CidrBlock" : "10.0.0.0/16", "EnableDnsSupport" : "false", "EnableDnsHostnames" : "false", "InstanceTenancy" : "dedicated", "Tags" : [ { "Key" : "foo", "Value" : "bar” } ] } } } } 89
  • 90. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. VPC CLI - VPC作成 aws ec2 create-vpc --cidr 10.10.0.0/16 aws ec2 create-subnet --vpc vpc-c15180a4 --cidr 10.10.1.0/24 --a us-west-2a aws ec2 create-subnet --vpc vpc-c15180a4 --cidr 10.10.2.0/24 --a us-west-2b 90
  • 91. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Private subnet VPC AWS CloudFormation { "AWSTemplateFormatVersion" : "2010-09-09", "Resources" : { "myVPC" : { "Type" : "AWS::EC2::VPC", "Properties" : { "CidrBlock" : "10.0.0.0/16", "EnableDnsSupport" : "false", "EnableDnsHostnames" : "false", "InstanceTenancy" : "dedicated", "Tags" : [ { "Key" : "foo", "Value" : "bar” } ] } } } } テンプレート (JSON形式) CloudFormation AWS環境(スタック)が完成 JSON/YAMLテンプレートを元にAWS環境を構築 http://docs.aws.amazon.com/ja_jp/AWSCloudFormation/latest/UserGuide/CHAP_TemplateQuickRef.htmlテンプレートサンプル: 91
  • 92. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS CloudFormationデザイナー GUIでテンプレートの作成が可能 92
  • 93. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Agenda Amazon VPCとは? VPCのコンポーネント VPCのセキュリティ オンプレミスとのハイブリッド構成 VPCの設計 VPCの設定 VPCの運用 まとめ 93
  • 94. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. VPC Flow Logsとは ・ネットワークトラフィックをキャプチャ し、CloudWatch Logs、S3へPublishする機能 ・ネットワークインタフェースを送信元/ 送信先とするトラフィックが対象 ・セキュリティグループとネットワークACL のルールでaccepted/rejectされた トラフィックログを取得 ・キャプチャウインドウと言われる時間枠 (約10分間)で収集、プロセッシング、 保存 ・RDS, Redshift、ElasticCache WorkSpacesのネットワークインタフェー ストラフィックも取得可能 ・追加料金はなし(CloudWatch Logs,S3の標準 料金は課金) 94 VPC
  • 95. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. VPC Traffic Mirroring https://aws.amazon.com/jp/about-aws/whats-new/2019/06/announcing-amazon-vpc-traffic-mirroring-for-amazon-ec2-instances/ EC2 インスタンス (Nitroベース) ネットワーク トラフィック(IN/OUT) [VPC Traffic Mirror機能のユースケース] 1. 脅威検出(フォレンジック) 2. コンテンツモニタリング 3. 問題判別 • VPCフローログには含まれない、 パケット内容の取得が可能 ミラートラフィック 送信先 このネットワークトラフィック をコピー(ミラー)し、VXLANで カプセル化して宛先に送信 EC2インスタンスのENIからネットワークトラフィックをミラーリングする機能 95
  • 96. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. VPC Traffic Mirroring機能の設定要素(リソース) VPC Traffic Mirroringは「ソース」「フィルタ」「ターゲット」と それらを結びつける「セッション」の4つのリソースで構成される https://aws.amazon.com/jp/about-aws/whats-new/2019/06/announcing-amazon-vpc-traffic-mirroring-for-amazon-ec2-instances/ EC2 インスタンス (Nitroベース) 通常のネットワーク トラフィック(IN/OUT) VXLAN パケット Mirror ターゲットMirror フィルタ 4789 /udp パケット Mirror セッション 参照(関連付け) ENI VPC Traffic Mirroringミラー を有効化するENI Mirror ソース 参照(関連付け) 参照(関連付け) 96
  • 97. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Mirror ソース/フィルタ/ターゲット/セッション 同一リージョンを前提として、下図の構成が可能 Mirror ター ゲット Mirror ソース Mirror セッション 同一アカウント&同一VPC内 Mirror ター ゲット Mirror ソース Mirror セッション Mirror ソース Mirror ターゲット 同一アカウント&異なるVPC間 Mirror セッション アカウントA のVPC-1 アカウントA のVPC-1 アカウントA のVPC-2 アカウントB のVPC-1 アカウントA のVPC-x アカウントC のVPC-α Mirror ソース Mirror セッション アカウントA→B, アカウントA→C それぞれでアカウントAのMirror ターゲットをRAMを用いて共有 異なるアカウント&異なるVPC間 97
  • 98. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. GuardDuty による脅威の検知と通知 悪意のあるスキャン インスタンスへの脅威 アカウントへの脅威 Amazon GuardDut y DNS Logs CloudTrail HIGH MEDIU M LOW Findingデータ ソース脅威の種類 98
  • 99. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon GuardDuty • AWS環境における、脅威検出を目的としたマネージドサービス • EC2またはIAMにおける脅威を検出 • 機械学習による、異常検知の仕組み • エージェント、センサー、ネットワーク アプライアンス等は不要 • エコシステムの充実 • シンプルなコスト形体と30日間の無料枠 99
  • 100. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 利用例:Elasticsearch Service + kibanaによる可視化 VPC CloudWatch Logs Elasticsearch Service kibana Elasticsearchへ PUT https://blogs.aws.amazon.com/security/post/Tx246GOZNFIW79N/How-to- Optimize-and-Visualize-Your-Security-Groups 100
  • 101. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon VPC のクォータ関連 • デフォルトの上限値が増加したも のもあり – http://docs.aws.amazon.com/AmazonV PC/latest/UserGuide/VPC_Appendix_Lim its.html • Webサイトから制限解除申請可能 – http://aws.amazon.com/jp/contact- us/vpc-request/ • 不明点はAWSサポートや担当営業 までお問い合わせください。 リソース 数 リージョン当たりの VPC の数 5 VPC 当たりのサブネットの数 200 AWS アカウント当たり、1 リージョン内の Elastic IP 数 5 ルートテーブル当たりのルートの数 100 VPCあたりのセキュリティグループの数 500 セキュリティグループあたりのルール数(In/Out) 50 ネットワークインタフェースあたりのセキュリティグループ 5 VPC当たりのアクティブなVPCピア接続 125 VPCあたり(仮想プライベートゲートウェイ)のVPN接続数 10 代表的なVPCのクオータ 101
  • 102. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. まとめ • VPCにより、さまざまな要件に合わせたネットワーク を簡単に作成可能 • 設計時には将来の拡張も見据えたアドレッシングや 他ネットワークとの接続性も考慮する • VPC構成は自社のITオペレーションモデルに合わせる • VPC単体ではなくVPC全体の関係性も視野に入れる • 実装や運用を補助するツールも有効利用 102
  • 103. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Q&A お答えできなかったご質問については AWS Japan Blog 「https://aws.amazon.com/jp/blogs/news/」にて 後日掲載します。 103
  • 104. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS の日本語資料の場所「AWS 資料」で検索 https://amzn.to/JPArchive 106
  • 105. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 毎週” 個別技術相談会”を実施中 • のソリューションアーキテクト に 対策などを相談することも可能 • 申込みはイベント告知サイトから (https://aws.amazon.com/jp/about-aws/events/) AWS Well-Architected 個別技術相談会 107
  • 106. © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS 公式 Webinar https://amzn.to/JPWebinar 過去資料 https://amzn.to/JPArchive ご視聴ありがとうございました