SlideShare a Scribd company logo
1 of 11
会社のネットワークとAWSを 
VPNで接続 
2014/11/24 
JAWSUG-CLI #7
手順 
1. Virtual Gatewayの作成 
2. Virtual GatewayをVPCにAttach 
3. Customer Gatewayの作成 
4. VPN Connectionの作成 
5. Customer Gatewayの設定 
6. Route Tableの設定 
2014/11/25 2
概要図 
6. Route Tableを設定 
virtual private cloud 
AWS cloud 
5. CGWを設定4. VPN Connectionを作成 
corporate data center 
1. VGWの作成 
2. VGWをVPCにAttach 
3. CGWを作成 
2014/11/25 3
手順1 Virtual Gatewayの作成 
コマンド 
aws ec2 create-vpn-gateway 
--type ipsec.1 
結果 
{ 
"VpnGateway": { 
"State": "available", 
"Type": "ipsec.1", 
“VpnGatewayId”: “vgw-********", 
"VpcAttachments": [] 
} 
} 
2014/11/25 4
手順2 Virtual GatewayをVPCにAttach 
コマンド 
aws ec2 attach-vpn-gateway 
--vpn-gateway-id vgw-******** 
--vpc-id vpc-******** 
結果 
{ 
"VpcAttachment": { 
"State": "attaching", 
“VpcId”: “vpc-********" 
} 
} 
2014/11/25 5
手順3 Customer Gatewayの作成 
コマンド 
aws ec2 create-customer-gateway 
--type ipsec.1 
--public-ip 203.0.113.* 
--bgp-asn 65534 
結果 
{ 
"CustomerGateway": { 
"CustomerGatewayId": "cgw-********", 
"IpAddress": "203.0.113.*", 
"State": "available", 
"Type": "ipsec.1", 
"BgpAsn": "65534" 
} 
} 
2014/11/25 6
手順4 VPN Connectionの作成 
コマンド 
aws ec2 create-vpn-connection 
--type ipsec.1 
--customer-gateway-id cgw-******** 
--vpn-gateway-id vgw-******** 
結果 
{ 
"VpnConnection": { 
"VpnConnectionId": "vpn-********", 
"CustomerGatewayConfiguration": "<?xml version="1.0" encoding="UTF-8"?>n<vpn_connection id="vpn-********">n 
<customer_gateway_id>cgw-********</customer_gateway_id>n <vpn_gateway_id>vgw-********</vpn_gateway_id>n 
<vpn_connection_type>ipsec.1</vpn_connection_type>n <ipsec_tunnel>n <customer_gateway>n <tunnel_outside_address>n 
<ip_address>203.0.113.*</ip_address>n </tunnel_outside_address>n <tunnel_inside_address>n 
<ip_address>169.254.252.26</ip_address>n <network_mask>255.255.255.252</network_mask>n <network_cidr>30</network_cidr>n 
</tunnel_inside_address>n <bgp>n <asn>65534</asn>n <hold_time>30</hold_time>n </bgp>n </customer_gateway>n 
<vpn_gateway>n <tunnel_outside_address>n <ip_address>27.0.1.61</ip_address>n </tunnel_outside_address>n 
<tunnel_inside_address>n <ip_address>169.254.252.25</ip_address>n <network_mask>255.255.255.252</network_mask>n 
<network_cidr>30</network_cidr>n </tunnel_inside_address>n <bgp>n <asn>10124</asn>n <hold_time>30</hold_time>n 
</bgp>n </vpn_gateway>n <ike>n <authentication_protocol>sha1</authentication_protocol>n <encryption_protocol>aes-128- 
cbc</encryption_protocol>n <lifetime>28800</lifetime>n <perfect_forward_secrecy>group2</perfect_forward_secrecy>n 
<mode>main</mode>n <pre_shared_key>********************************</pre_shared_key>n </ike>n <ipsec>n 
<protocol>esp</protocol>n <authentication_protocol>hmac-sha1-96</authentication_protocol>n <encryption_protocol>aes-128- 
cbc</encryption_protocol>n <lifetime>3600</lifetime>n <perfect_forward_secrecy>group2</perfect_forward_secrecy>n 
<mode>tunnel</mode>n <clear_df_bit>true</clear_df_bit>n 
<fragmentation_before_encryption>true</fragmentation_before_encryption>n <tcp_mss_adjustment>1387</tcp_mss_adjustment>n 
<dead_peer_detection>n <interval>10</interval>n <retries>3</retries>n </dead_peer_detection>n </ipsec>n 
</ipsec_tunnel>n <ipsec_tunnel>n <customer_gateway>n <tunnel_outside_address>n <ip_address>203.0.113.*</ip_address>n 
</tunnel_outside_address>n <tunnel_inside_address>n <ip_address>169.254.252.30</ip_address>n 
<network_mask>255.255.255.252</network_mask>n <network_cidr>30</network_cidr>n </tunnel_inside_address>n <bgp>n 
<asn>65534</asn>n <hold_time>30</hold_time>n </bgp>n </customer_gateway>n <vpn_gateway>n 
<tunnel_outside_address>n <ip_address>27.0.1.189</ip_address>n </tunnel_outside_address>n <tunnel_inside_address>n 
<ip_address>169.254.252.29</ip_address>n <network_mask>255.255.255.252</network_mask>n <network_cidr>30</network_cidr>n 
</tunnel_inside_address>n <bgp>n <asn>10124</asn>n <hold_time>30</hold_time>n </bgp>n </vpn_gateway>n 
<ike>n <authentication_protocol>sha1</authentication_protocol>n <encryption_protocol>aes-128-cbc</encryption_protocol>n 
<lifetime>28800</lifetime>n <perfect_forward_secrecy>group2</perfect_forward_secrecy>n <mode>main</mode>n 
<pre_shared_key>********************************</pre_shared_key>n </ike>n <ipsec>n <protocol>esp</protocol>n 
<authentication_protocol>hmac-sha1-96</authentication_protocol>n <encryption_protocol>aes-128-cbc</encryption_protocol>n 
<lifetime>3600</lifetime>n <perfect_forward_secrecy>group2</perfect_forward_secrecy>n <mode>tunnel</mode>n 
<clear_df_bit>true</clear_df_bit>n <fragmentation_before_encryption>true</fragmentation_before_encryption>n 
<tcp_mss_adjustment>1387</tcp_mss_adjustment>n <dead_peer_detection>n <interval>10</interval>n <retries>3</retries>n 
</dead_peer_detection>n </ipsec>n </ipsec_tunnel>n</vpn_connection>n", 
"State": "pending", 
"VpnGatewayId": "vgw-********", 
"CustomerGatewayId": "cgw-********" 
} 
} 
?! 
2014/11/25 7
参考設定のダウンロード 
ここでダウンロードできるものが 
戻り値に含まれています。 
2014/11/25 8
手順5 Customer Gatewayの設定 
• 各ルータのマニュアルやダウンロードした設定ファイルを参考に設定 
• YAMAHAの場合 
• http://www.rtpro.yamaha.co.jp/RT/docs/amazon-vpc/ 
• 古河電工の場合 
• http://www.furukawa.co.jp/fitelnet/product/f200/setting/detail/amazon_vpc.html 
• 設定が完了すると、VPN ConnectionのStateがAvailableになります。 
2014/11/25 9
手順6 Route Tableの設定 
コマンド(例) 
aws ec2 create-route 
--route-table-id rtb-******** 
--destination-cidr-block 0.0.0.0/0 
--gateway-id vgw-******** 
結果 
(なし) 
2014/11/25 10
おわり 
2014/11/25 11

More Related Content

Viewers also liked

Portfolio - Artwork
Portfolio - ArtworkPortfolio - Artwork
Portfolio - ArtworkKatherine Li
 
ANTREPRENORIAT 3.0 - CUM AJUNGI LA BREAK-EVEN IN 12 LUNI
ANTREPRENORIAT 3.0 - CUM AJUNGI LA BREAK-EVEN IN 12 LUNIANTREPRENORIAT 3.0 - CUM AJUNGI LA BREAK-EVEN IN 12 LUNI
ANTREPRENORIAT 3.0 - CUM AJUNGI LA BREAK-EVEN IN 12 LUNIRadu Vilceanu
 
JAWS-UG CLI #26 LT - AWSアカウントに秘密の質問を設定する必要はあるのか?
JAWS-UG CLI #26 LT - AWSアカウントに秘密の質問を設定する必要はあるのか?JAWS-UG CLI #26 LT - AWSアカウントに秘密の質問を設定する必要はあるのか?
JAWS-UG CLI #26 LT - AWSアカウントに秘密の質問を設定する必要はあるのか?Nobuhiro Nakayama
 
Digital Citizenship
Digital CitizenshipDigital Citizenship
Digital Citizenshiplmh0265
 
Katherineli portfolio
Katherineli portfolioKatherineli portfolio
Katherineli portfolioKatherine Li
 
Design responsive pentru ecommerce @ ILPASSO.ro
Design responsive pentru ecommerce @ ILPASSO.roDesign responsive pentru ecommerce @ ILPASSO.ro
Design responsive pentru ecommerce @ ILPASSO.roRadu Vilceanu
 
JAWS-UG CLI #33 LT - AWS Directory Serviceを LDAP Serverとして 利用してみた
JAWS-UG CLI #33 LT - AWS Directory ServiceをLDAP Serverとして利用してみたJAWS-UG CLI #33 LT - AWS Directory ServiceをLDAP Serverとして利用してみた
JAWS-UG CLI #33 LT - AWS Directory Serviceを LDAP Serverとして 利用してみたNobuhiro Nakayama
 
Hubbot - Team communication made easy
Hubbot - Team communication made easyHubbot - Team communication made easy
Hubbot - Team communication made easyPraveen Yadav
 
JAWS-UG CLI専門支部 #49 Redshift入門
JAWS-UG CLI専門支部 #49 Redshift入門JAWS-UG CLI専門支部 #49 Redshift入門
JAWS-UG CLI専門支部 #49 Redshift入門Nobuhiro Nakayama
 
eCommerce instant - Cum poti crea un magazin online in 32 minute
eCommerce instant - Cum poti crea un magazin online in 32 minuteeCommerce instant - Cum poti crea un magazin online in 32 minute
eCommerce instant - Cum poti crea un magazin online in 32 minuteRadu Vilceanu
 
JAWS-UG CLI #32 - AWS Directory Service 入門
JAWS-UG CLI #32 - AWS Directory Service 入門JAWS-UG CLI #32 - AWS Directory Service 入門
JAWS-UG CLI #32 - AWS Directory Service 入門Nobuhiro Nakayama
 

Viewers also liked (12)

Portfolio - Artwork
Portfolio - ArtworkPortfolio - Artwork
Portfolio - Artwork
 
ANTREPRENORIAT 3.0 - CUM AJUNGI LA BREAK-EVEN IN 12 LUNI
ANTREPRENORIAT 3.0 - CUM AJUNGI LA BREAK-EVEN IN 12 LUNIANTREPRENORIAT 3.0 - CUM AJUNGI LA BREAK-EVEN IN 12 LUNI
ANTREPRENORIAT 3.0 - CUM AJUNGI LA BREAK-EVEN IN 12 LUNI
 
JAWS-UG CLI #26 LT - AWSアカウントに秘密の質問を設定する必要はあるのか?
JAWS-UG CLI #26 LT - AWSアカウントに秘密の質問を設定する必要はあるのか?JAWS-UG CLI #26 LT - AWSアカウントに秘密の質問を設定する必要はあるのか?
JAWS-UG CLI #26 LT - AWSアカウントに秘密の質問を設定する必要はあるのか?
 
Digital Citizenship
Digital CitizenshipDigital Citizenship
Digital Citizenship
 
Katherineli portfolio
Katherineli portfolioKatherineli portfolio
Katherineli portfolio
 
Design responsive pentru ecommerce @ ILPASSO.ro
Design responsive pentru ecommerce @ ILPASSO.roDesign responsive pentru ecommerce @ ILPASSO.ro
Design responsive pentru ecommerce @ ILPASSO.ro
 
JAWS-UG CLI #33 LT - AWS Directory Serviceを LDAP Serverとして 利用してみた
JAWS-UG CLI #33 LT - AWS Directory ServiceをLDAP Serverとして利用してみたJAWS-UG CLI #33 LT - AWS Directory ServiceをLDAP Serverとして利用してみた
JAWS-UG CLI #33 LT - AWS Directory Serviceを LDAP Serverとして 利用してみた
 
Hubbot - Team communication made easy
Hubbot - Team communication made easyHubbot - Team communication made easy
Hubbot - Team communication made easy
 
JAWS-UG CLI専門支部 #49 Redshift入門
JAWS-UG CLI専門支部 #49 Redshift入門JAWS-UG CLI専門支部 #49 Redshift入門
JAWS-UG CLI専門支部 #49 Redshift入門
 
eCommerce instant - Cum poti crea un magazin online in 32 minute
eCommerce instant - Cum poti crea un magazin online in 32 minuteeCommerce instant - Cum poti crea un magazin online in 32 minute
eCommerce instant - Cum poti crea un magazin online in 32 minute
 
Avax Dahili
Avax DahiliAvax Dahili
Avax Dahili
 
JAWS-UG CLI #32 - AWS Directory Service 入門
JAWS-UG CLI #32 - AWS Directory Service 入門JAWS-UG CLI #32 - AWS Directory Service 入門
JAWS-UG CLI #32 - AWS Directory Service 入門
 

Similar to JAWSUG CLI #7 LT VPN Connection

I'm Not a Software Developer - What Can I do on AWS
I'm Not a Software Developer - What Can I do on AWSI'm Not a Software Developer - What Can I do on AWS
I'm Not a Software Developer - What Can I do on AWSAmazon Web Services
 
GDG Cloud Southlake #9 Secure Cloud Networking - Beyond Cloud Boundaries
GDG Cloud Southlake #9 Secure Cloud Networking - Beyond Cloud BoundariesGDG Cloud Southlake #9 Secure Cloud Networking - Beyond Cloud Boundaries
GDG Cloud Southlake #9 Secure Cloud Networking - Beyond Cloud BoundariesJames Anderson
 
VPN connectivity between GCP and Azure-converted.pptx
VPN connectivity between GCP and Azure-converted.pptxVPN connectivity between GCP and Azure-converted.pptx
VPN connectivity between GCP and Azure-converted.pptxAmit Pandey
 
Deep Dive: Amazon Virtual Private Cloud
Deep Dive: Amazon Virtual Private CloudDeep Dive: Amazon Virtual Private Cloud
Deep Dive: Amazon Virtual Private CloudAmazon Web Services
 
Deep Dive: Amazon Virtual Private Cloud
Deep Dive: Amazon Virtual Private CloudDeep Dive: Amazon Virtual Private Cloud
Deep Dive: Amazon Virtual Private CloudAmazon Web Services
 
Deep Dive: Amazon Virtual Private Cloud
Deep Dive: Amazon Virtual Private CloudDeep Dive: Amazon Virtual Private Cloud
Deep Dive: Amazon Virtual Private CloudAmazon Web Services
 
idsecconf2023 - Mochammad Riyan Firmansyah - Takeover Cloud Managed Router vi...
idsecconf2023 - Mochammad Riyan Firmansyah - Takeover Cloud Managed Router vi...idsecconf2023 - Mochammad Riyan Firmansyah - Takeover Cloud Managed Router vi...
idsecconf2023 - Mochammad Riyan Firmansyah - Takeover Cloud Managed Router vi...idsecconf
 
(NET301) New Capabilities for Amazon Virtual Private Cloud
(NET301) New Capabilities for Amazon Virtual Private Cloud(NET301) New Capabilities for Amazon Virtual Private Cloud
(NET301) New Capabilities for Amazon Virtual Private CloudAmazon Web Services
 
Openstack Summit Vancouver 2018 - Multicloud Networking
Openstack Summit Vancouver 2018 - Multicloud NetworkingOpenstack Summit Vancouver 2018 - Multicloud Networking
Openstack Summit Vancouver 2018 - Multicloud NetworkingShannon McFarland
 
Deep Dive - Amazon Virtual Private Cloud (VPC)
Deep Dive - Amazon Virtual Private Cloud (VPC)Deep Dive - Amazon Virtual Private Cloud (VPC)
Deep Dive - Amazon Virtual Private Cloud (VPC)Amazon Web Services
 
Kong API Gateway
Kong API Gateway Kong API Gateway
Kong API Gateway Chris Mague
 
GCP - GCE, Cloud SQL, Cloud Storage, BigQuery Basic Training
GCP - GCE, Cloud SQL, Cloud Storage, BigQuery Basic TrainingGCP - GCE, Cloud SQL, Cloud Storage, BigQuery Basic Training
GCP - GCE, Cloud SQL, Cloud Storage, BigQuery Basic TrainingSimon Su
 
Deep Dive: Amazon Virtual Private Cloud (March 2017)
Deep Dive: Amazon Virtual Private Cloud (March 2017)Deep Dive: Amazon Virtual Private Cloud (March 2017)
Deep Dive: Amazon Virtual Private Cloud (March 2017)Julien SIMON
 
Deep Dive VPC - Pop-up Loft TLV 2017
Deep Dive VPC - Pop-up Loft TLV 2017Deep Dive VPC - Pop-up Loft TLV 2017
Deep Dive VPC - Pop-up Loft TLV 2017Amazon Web Services
 
Consul First Steps
Consul First StepsConsul First Steps
Consul First StepsMarc Cluet
 
Distributed Automation(2018) - London Test Automation in Devops Meetup
Distributed Automation(2018) - London Test Automation in Devops MeetupDistributed Automation(2018) - London Test Automation in Devops Meetup
Distributed Automation(2018) - London Test Automation in Devops Meetuparagavan
 
Deep Dive - Amazon Virtual Private Cloud (VPC)
Deep Dive - Amazon Virtual Private Cloud (VPC)Deep Dive - Amazon Virtual Private Cloud (VPC)
Deep Dive - Amazon Virtual Private Cloud (VPC)Amazon Web Services
 
Plan B: Service to Service Authentication with OAuth
Plan B: Service to Service Authentication with OAuthPlan B: Service to Service Authentication with OAuth
Plan B: Service to Service Authentication with OAuthHenning Jacobs
 

Similar to JAWSUG CLI #7 LT VPN Connection (20)

I'm Not a Software Developer - What Can I do on AWS
I'm Not a Software Developer - What Can I do on AWSI'm Not a Software Developer - What Can I do on AWS
I'm Not a Software Developer - What Can I do on AWS
 
GDG Cloud Southlake #9 Secure Cloud Networking - Beyond Cloud Boundaries
GDG Cloud Southlake #9 Secure Cloud Networking - Beyond Cloud BoundariesGDG Cloud Southlake #9 Secure Cloud Networking - Beyond Cloud Boundaries
GDG Cloud Southlake #9 Secure Cloud Networking - Beyond Cloud Boundaries
 
VPN connectivity between GCP and Azure-converted.pptx
VPN connectivity between GCP and Azure-converted.pptxVPN connectivity between GCP and Azure-converted.pptx
VPN connectivity between GCP and Azure-converted.pptx
 
Deep Dive: Amazon Virtual Private Cloud
Deep Dive: Amazon Virtual Private CloudDeep Dive: Amazon Virtual Private Cloud
Deep Dive: Amazon Virtual Private Cloud
 
Deep Dive: Amazon Virtual Private Cloud
Deep Dive: Amazon Virtual Private CloudDeep Dive: Amazon Virtual Private Cloud
Deep Dive: Amazon Virtual Private Cloud
 
Deep Dive: Amazon Virtual Private Cloud
Deep Dive: Amazon Virtual Private CloudDeep Dive: Amazon Virtual Private Cloud
Deep Dive: Amazon Virtual Private Cloud
 
idsecconf2023 - Mochammad Riyan Firmansyah - Takeover Cloud Managed Router vi...
idsecconf2023 - Mochammad Riyan Firmansyah - Takeover Cloud Managed Router vi...idsecconf2023 - Mochammad Riyan Firmansyah - Takeover Cloud Managed Router vi...
idsecconf2023 - Mochammad Riyan Firmansyah - Takeover Cloud Managed Router vi...
 
(NET301) New Capabilities for Amazon Virtual Private Cloud
(NET301) New Capabilities for Amazon Virtual Private Cloud(NET301) New Capabilities for Amazon Virtual Private Cloud
(NET301) New Capabilities for Amazon Virtual Private Cloud
 
Single sign-on
Single sign-onSingle sign-on
Single sign-on
 
WCF - In a Week
WCF - In a WeekWCF - In a Week
WCF - In a Week
 
Openstack Summit Vancouver 2018 - Multicloud Networking
Openstack Summit Vancouver 2018 - Multicloud NetworkingOpenstack Summit Vancouver 2018 - Multicloud Networking
Openstack Summit Vancouver 2018 - Multicloud Networking
 
Deep Dive - Amazon Virtual Private Cloud (VPC)
Deep Dive - Amazon Virtual Private Cloud (VPC)Deep Dive - Amazon Virtual Private Cloud (VPC)
Deep Dive - Amazon Virtual Private Cloud (VPC)
 
Kong API Gateway
Kong API Gateway Kong API Gateway
Kong API Gateway
 
GCP - GCE, Cloud SQL, Cloud Storage, BigQuery Basic Training
GCP - GCE, Cloud SQL, Cloud Storage, BigQuery Basic TrainingGCP - GCE, Cloud SQL, Cloud Storage, BigQuery Basic Training
GCP - GCE, Cloud SQL, Cloud Storage, BigQuery Basic Training
 
Deep Dive: Amazon Virtual Private Cloud (March 2017)
Deep Dive: Amazon Virtual Private Cloud (March 2017)Deep Dive: Amazon Virtual Private Cloud (March 2017)
Deep Dive: Amazon Virtual Private Cloud (March 2017)
 
Deep Dive VPC - Pop-up Loft TLV 2017
Deep Dive VPC - Pop-up Loft TLV 2017Deep Dive VPC - Pop-up Loft TLV 2017
Deep Dive VPC - Pop-up Loft TLV 2017
 
Consul First Steps
Consul First StepsConsul First Steps
Consul First Steps
 
Distributed Automation(2018) - London Test Automation in Devops Meetup
Distributed Automation(2018) - London Test Automation in Devops MeetupDistributed Automation(2018) - London Test Automation in Devops Meetup
Distributed Automation(2018) - London Test Automation in Devops Meetup
 
Deep Dive - Amazon Virtual Private Cloud (VPC)
Deep Dive - Amazon Virtual Private Cloud (VPC)Deep Dive - Amazon Virtual Private Cloud (VPC)
Deep Dive - Amazon Virtual Private Cloud (VPC)
 
Plan B: Service to Service Authentication with OAuth
Plan B: Service to Service Authentication with OAuthPlan B: Service to Service Authentication with OAuth
Plan B: Service to Service Authentication with OAuth
 

More from Nobuhiro Nakayama

New features of AWS Systems Manager
New features of AWS Systems ManagerNew features of AWS Systems Manager
New features of AWS Systems ManagerNobuhiro Nakayama
 
AWSのセキュリティを考える!「AWS Well-Architected Tool」活用術セミナー セキュリティの柱を解説
AWSのセキュリティを考える!「AWS Well-Architected Tool」活用術セミナー セキュリティの柱を解説AWSのセキュリティを考える!「AWS Well-Architected Tool」活用術セミナー セキュリティの柱を解説
AWSのセキュリティを考える!「AWS Well-Architected Tool」活用術セミナー セキュリティの柱を解説Nobuhiro Nakayama
 
Well-Architected Framework Security Pillar Deep Dive ~セキュリティからはじめるより良い設計~
Well-Architected Framework Security Pillar Deep Dive ~セキュリティからはじめるより良い設計~Well-Architected Framework Security Pillar Deep Dive ~セキュリティからはじめるより良い設計~
Well-Architected Framework Security Pillar Deep Dive ~セキュリティからはじめるより良い設計~Nobuhiro Nakayama
 
PCI DSSにおける認証認可 インフラ編
PCI DSSにおける認証認可 インフラ編PCI DSSにおける認証認可 インフラ編
PCI DSSにおける認証認可 インフラ編Nobuhiro Nakayama
 
AWS Well-Architected Tool 活用術セミナー セキュリティ編
AWS Well-Architected Tool 活用術セミナー セキュリティ編AWS Well-Architected Tool 活用術セミナー セキュリティ編
AWS Well-Architected Tool 活用術セミナー セキュリティ編Nobuhiro Nakayama
 
【勉強会資料】ネットワークアクセス制御(管理編) for PCI DSS
【勉強会資料】ネットワークアクセス制御(管理編) for PCI DSS【勉強会資料】ネットワークアクセス制御(管理編) for PCI DSS
【勉強会資料】ネットワークアクセス制御(管理編) for PCI DSSNobuhiro Nakayama
 
【勉強会資料】Systems Managerによるパッチ管理 for PCI DSS
【勉強会資料】Systems Managerによるパッチ管理 for PCI DSS【勉強会資料】Systems Managerによるパッチ管理 for PCI DSS
【勉強会資料】Systems Managerによるパッチ管理 for PCI DSSNobuhiro Nakayama
 
「AWSアカウントの現状を把握できてますか?それ、Dome9でよく見えますよ。」 Developers.IO 2019 Security
「AWSアカウントの現状を把握できてますか?それ、Dome9でよく見えますよ。」 Developers.IO 2019 Security「AWSアカウントの現状を把握できてますか?それ、Dome9でよく見えますよ。」 Developers.IO 2019 Security
「AWSアカウントの現状を把握できてますか?それ、Dome9でよく見えますよ。」 Developers.IO 2019 SecurityNobuhiro Nakayama
 
Well Architected Tool 使い方セミナー(コスト最適化編)
Well Architected Tool 使い方セミナー(コスト最適化編)Well Architected Tool 使い方セミナー(コスト最適化編)
Well Architected Tool 使い方セミナー(コスト最適化編)Nobuhiro Nakayama
 
re:Growth 2018 Tokyo:Amazon FSx for Windows File Server はみんなが夢見たファイルサーバーなのか
re:Growth 2018 Tokyo:Amazon FSx for Windows File Server はみんなが夢見たファイルサーバーなのかre:Growth 2018 Tokyo:Amazon FSx for Windows File Server はみんなが夢見たファイルサーバーなのか
re:Growth 2018 Tokyo:Amazon FSx for Windows File Server はみんなが夢見たファイルサーバーなのかNobuhiro Nakayama
 
Developers.IO 2018 ビジネスを阻害しない!AWS アカウントの管理
Developers.IO 2018 ビジネスを阻害しない!AWS アカウントの管理Developers.IO 2018 ビジネスを阻害しない!AWS アカウントの管理
Developers.IO 2018 ビジネスを阻害しない!AWS アカウントの管理Nobuhiro Nakayama
 
JAWS-UG CLI専門支部 #81 EC2 Systems Manager 入門
JAWS-UG CLI専門支部 #81 EC2 Systems Manager 入門JAWS-UG CLI専門支部 #81 EC2 Systems Manager 入門
JAWS-UG CLI専門支部 #81 EC2 Systems Manager 入門Nobuhiro Nakayama
 
JAWS-UG CLI専門支部 #76 Amazon AppStream 2.0 入門
JAWS-UG CLI専門支部 #76 Amazon AppStream 2.0 入門JAWS-UG CLI専門支部 #76 Amazon AppStream 2.0 入門
JAWS-UG CLI専門支部 #76 Amazon AppStream 2.0 入門Nobuhiro Nakayama
 
JAWS-UG CLI専門支部 #74 Amazon Kinesis Firehose 入門
JAWS-UG CLI専門支部 #74 Amazon Kinesis Firehose 入門JAWS-UG CLI専門支部 #74 Amazon Kinesis Firehose 入門
JAWS-UG CLI専門支部 #74 Amazon Kinesis Firehose 入門Nobuhiro Nakayama
 
JAWS-UG アーキテクチャ専門支部(ハイブリッド分科会) #9 EC2 Run Commnadのいいところ
JAWS-UG アーキテクチャ専門支部(ハイブリッド分科会) #9 EC2 Run CommnadのいいところJAWS-UG アーキテクチャ専門支部(ハイブリッド分科会) #9 EC2 Run Commnadのいいところ
JAWS-UG アーキテクチャ専門支部(ハイブリッド分科会) #9 EC2 Run CommnadのいいところNobuhiro Nakayama
 
JAWS-UG CLI専門支部 #67 Amazon Machine Learning 入門
JAWS-UG CLI専門支部 #67 Amazon Machine Learning 入門JAWS-UG CLI専門支部 #67 Amazon Machine Learning 入門
JAWS-UG CLI専門支部 #67 Amazon Machine Learning 入門Nobuhiro Nakayama
 
JAWS-UG CLI専門支部 #58 KMS入門
JAWS-UG CLI専門支部 #58 KMS入門JAWS-UG CLI専門支部 #58 KMS入門
JAWS-UG CLI専門支部 #58 KMS入門Nobuhiro Nakayama
 
JAWS-UG CLI専門支部 CLIカンファレンス2016 ハンズオン
JAWS-UG CLI専門支部 CLIカンファレンス2016 ハンズオンJAWS-UG CLI専門支部 CLIカンファレンス2016 ハンズオン
JAWS-UG CLI専門支部 CLIカンファレンス2016 ハンズオンNobuhiro Nakayama
 

More from Nobuhiro Nakayama (20)

New features of AWS Systems Manager
New features of AWS Systems ManagerNew features of AWS Systems Manager
New features of AWS Systems Manager
 
AWSのセキュリティを考える!「AWS Well-Architected Tool」活用術セミナー セキュリティの柱を解説
AWSのセキュリティを考える!「AWS Well-Architected Tool」活用術セミナー セキュリティの柱を解説AWSのセキュリティを考える!「AWS Well-Architected Tool」活用術セミナー セキュリティの柱を解説
AWSのセキュリティを考える!「AWS Well-Architected Tool」活用術セミナー セキュリティの柱を解説
 
Well-Architected Framework Security Pillar Deep Dive ~セキュリティからはじめるより良い設計~
Well-Architected Framework Security Pillar Deep Dive ~セキュリティからはじめるより良い設計~Well-Architected Framework Security Pillar Deep Dive ~セキュリティからはじめるより良い設計~
Well-Architected Framework Security Pillar Deep Dive ~セキュリティからはじめるより良い設計~
 
PCI DSSにおける認証認可 インフラ編
PCI DSSにおける認証認可 インフラ編PCI DSSにおける認証認可 インフラ編
PCI DSSにおける認証認可 インフラ編
 
AWS Well-Architected Tool 活用術セミナー セキュリティ編
AWS Well-Architected Tool 活用術セミナー セキュリティ編AWS Well-Architected Tool 活用術セミナー セキュリティ編
AWS Well-Architected Tool 活用術セミナー セキュリティ編
 
【勉強会資料】ネットワークアクセス制御(管理編) for PCI DSS
【勉強会資料】ネットワークアクセス制御(管理編) for PCI DSS【勉強会資料】ネットワークアクセス制御(管理編) for PCI DSS
【勉強会資料】ネットワークアクセス制御(管理編) for PCI DSS
 
【勉強会資料】Systems Managerによるパッチ管理 for PCI DSS
【勉強会資料】Systems Managerによるパッチ管理 for PCI DSS【勉強会資料】Systems Managerによるパッチ管理 for PCI DSS
【勉強会資料】Systems Managerによるパッチ管理 for PCI DSS
 
「AWSアカウントの現状を把握できてますか?それ、Dome9でよく見えますよ。」 Developers.IO 2019 Security
「AWSアカウントの現状を把握できてますか?それ、Dome9でよく見えますよ。」 Developers.IO 2019 Security「AWSアカウントの現状を把握できてますか?それ、Dome9でよく見えますよ。」 Developers.IO 2019 Security
「AWSアカウントの現状を把握できてますか?それ、Dome9でよく見えますよ。」 Developers.IO 2019 Security
 
Parameter store 20190226
Parameter store 20190226Parameter store 20190226
Parameter store 20190226
 
Well Architected Tool 使い方セミナー(コスト最適化編)
Well Architected Tool 使い方セミナー(コスト最適化編)Well Architected Tool 使い方セミナー(コスト最適化編)
Well Architected Tool 使い方セミナー(コスト最適化編)
 
re:Growth 2018 Tokyo:Amazon FSx for Windows File Server はみんなが夢見たファイルサーバーなのか
re:Growth 2018 Tokyo:Amazon FSx for Windows File Server はみんなが夢見たファイルサーバーなのかre:Growth 2018 Tokyo:Amazon FSx for Windows File Server はみんなが夢見たファイルサーバーなのか
re:Growth 2018 Tokyo:Amazon FSx for Windows File Server はみんなが夢見たファイルサーバーなのか
 
Developers.IO 2018 ビジネスを阻害しない!AWS アカウントの管理
Developers.IO 2018 ビジネスを阻害しない!AWS アカウントの管理Developers.IO 2018 ビジネスを阻害しない!AWS アカウントの管理
Developers.IO 2018 ビジネスを阻害しない!AWS アカウントの管理
 
JAWS-UG CLI専門支部 #81 EC2 Systems Manager 入門
JAWS-UG CLI専門支部 #81 EC2 Systems Manager 入門JAWS-UG CLI専門支部 #81 EC2 Systems Manager 入門
JAWS-UG CLI専門支部 #81 EC2 Systems Manager 入門
 
JAWS-UG CLI専門支部 #76 Amazon AppStream 2.0 入門
JAWS-UG CLI専門支部 #76 Amazon AppStream 2.0 入門JAWS-UG CLI専門支部 #76 Amazon AppStream 2.0 入門
JAWS-UG CLI専門支部 #76 Amazon AppStream 2.0 入門
 
JAWS-UG CLI専門支部 #74 Amazon Kinesis Firehose 入門
JAWS-UG CLI専門支部 #74 Amazon Kinesis Firehose 入門JAWS-UG CLI専門支部 #74 Amazon Kinesis Firehose 入門
JAWS-UG CLI専門支部 #74 Amazon Kinesis Firehose 入門
 
JAWS-UG アーキテクチャ専門支部(ハイブリッド分科会) #9 EC2 Run Commnadのいいところ
JAWS-UG アーキテクチャ専門支部(ハイブリッド分科会) #9 EC2 Run CommnadのいいところJAWS-UG アーキテクチャ専門支部(ハイブリッド分科会) #9 EC2 Run Commnadのいいところ
JAWS-UG アーキテクチャ専門支部(ハイブリッド分科会) #9 EC2 Run Commnadのいいところ
 
JAWS-UG CLI専門支部 #67 Amazon Machine Learning 入門
JAWS-UG CLI専門支部 #67 Amazon Machine Learning 入門JAWS-UG CLI専門支部 #67 Amazon Machine Learning 入門
JAWS-UG CLI専門支部 #67 Amazon Machine Learning 入門
 
はじめてのAWS CLI
はじめてのAWS CLIはじめてのAWS CLI
はじめてのAWS CLI
 
JAWS-UG CLI専門支部 #58 KMS入門
JAWS-UG CLI専門支部 #58 KMS入門JAWS-UG CLI専門支部 #58 KMS入門
JAWS-UG CLI専門支部 #58 KMS入門
 
JAWS-UG CLI専門支部 CLIカンファレンス2016 ハンズオン
JAWS-UG CLI専門支部 CLIカンファレンス2016 ハンズオンJAWS-UG CLI専門支部 CLIカンファレンス2016 ハンズオン
JAWS-UG CLI専門支部 CLIカンファレンス2016 ハンズオン
 

Recently uploaded

The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
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
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
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
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
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
 
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
 

Recently uploaded (20)

The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
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
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
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
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
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
 
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
 

JAWSUG CLI #7 LT VPN Connection

  • 2. 手順 1. Virtual Gatewayの作成 2. Virtual GatewayをVPCにAttach 3. Customer Gatewayの作成 4. VPN Connectionの作成 5. Customer Gatewayの設定 6. Route Tableの設定 2014/11/25 2
  • 3. 概要図 6. Route Tableを設定 virtual private cloud AWS cloud 5. CGWを設定4. VPN Connectionを作成 corporate data center 1. VGWの作成 2. VGWをVPCにAttach 3. CGWを作成 2014/11/25 3
  • 4. 手順1 Virtual Gatewayの作成 コマンド aws ec2 create-vpn-gateway --type ipsec.1 結果 { "VpnGateway": { "State": "available", "Type": "ipsec.1", “VpnGatewayId”: “vgw-********", "VpcAttachments": [] } } 2014/11/25 4
  • 5. 手順2 Virtual GatewayをVPCにAttach コマンド aws ec2 attach-vpn-gateway --vpn-gateway-id vgw-******** --vpc-id vpc-******** 結果 { "VpcAttachment": { "State": "attaching", “VpcId”: “vpc-********" } } 2014/11/25 5
  • 6. 手順3 Customer Gatewayの作成 コマンド aws ec2 create-customer-gateway --type ipsec.1 --public-ip 203.0.113.* --bgp-asn 65534 結果 { "CustomerGateway": { "CustomerGatewayId": "cgw-********", "IpAddress": "203.0.113.*", "State": "available", "Type": "ipsec.1", "BgpAsn": "65534" } } 2014/11/25 6
  • 7. 手順4 VPN Connectionの作成 コマンド aws ec2 create-vpn-connection --type ipsec.1 --customer-gateway-id cgw-******** --vpn-gateway-id vgw-******** 結果 { "VpnConnection": { "VpnConnectionId": "vpn-********", "CustomerGatewayConfiguration": "<?xml version="1.0" encoding="UTF-8"?>n<vpn_connection id="vpn-********">n <customer_gateway_id>cgw-********</customer_gateway_id>n <vpn_gateway_id>vgw-********</vpn_gateway_id>n <vpn_connection_type>ipsec.1</vpn_connection_type>n <ipsec_tunnel>n <customer_gateway>n <tunnel_outside_address>n <ip_address>203.0.113.*</ip_address>n </tunnel_outside_address>n <tunnel_inside_address>n <ip_address>169.254.252.26</ip_address>n <network_mask>255.255.255.252</network_mask>n <network_cidr>30</network_cidr>n </tunnel_inside_address>n <bgp>n <asn>65534</asn>n <hold_time>30</hold_time>n </bgp>n </customer_gateway>n <vpn_gateway>n <tunnel_outside_address>n <ip_address>27.0.1.61</ip_address>n </tunnel_outside_address>n <tunnel_inside_address>n <ip_address>169.254.252.25</ip_address>n <network_mask>255.255.255.252</network_mask>n <network_cidr>30</network_cidr>n </tunnel_inside_address>n <bgp>n <asn>10124</asn>n <hold_time>30</hold_time>n </bgp>n </vpn_gateway>n <ike>n <authentication_protocol>sha1</authentication_protocol>n <encryption_protocol>aes-128- cbc</encryption_protocol>n <lifetime>28800</lifetime>n <perfect_forward_secrecy>group2</perfect_forward_secrecy>n <mode>main</mode>n <pre_shared_key>********************************</pre_shared_key>n </ike>n <ipsec>n <protocol>esp</protocol>n <authentication_protocol>hmac-sha1-96</authentication_protocol>n <encryption_protocol>aes-128- cbc</encryption_protocol>n <lifetime>3600</lifetime>n <perfect_forward_secrecy>group2</perfect_forward_secrecy>n <mode>tunnel</mode>n <clear_df_bit>true</clear_df_bit>n <fragmentation_before_encryption>true</fragmentation_before_encryption>n <tcp_mss_adjustment>1387</tcp_mss_adjustment>n <dead_peer_detection>n <interval>10</interval>n <retries>3</retries>n </dead_peer_detection>n </ipsec>n </ipsec_tunnel>n <ipsec_tunnel>n <customer_gateway>n <tunnel_outside_address>n <ip_address>203.0.113.*</ip_address>n </tunnel_outside_address>n <tunnel_inside_address>n <ip_address>169.254.252.30</ip_address>n <network_mask>255.255.255.252</network_mask>n <network_cidr>30</network_cidr>n </tunnel_inside_address>n <bgp>n <asn>65534</asn>n <hold_time>30</hold_time>n </bgp>n </customer_gateway>n <vpn_gateway>n <tunnel_outside_address>n <ip_address>27.0.1.189</ip_address>n </tunnel_outside_address>n <tunnel_inside_address>n <ip_address>169.254.252.29</ip_address>n <network_mask>255.255.255.252</network_mask>n <network_cidr>30</network_cidr>n </tunnel_inside_address>n <bgp>n <asn>10124</asn>n <hold_time>30</hold_time>n </bgp>n </vpn_gateway>n <ike>n <authentication_protocol>sha1</authentication_protocol>n <encryption_protocol>aes-128-cbc</encryption_protocol>n <lifetime>28800</lifetime>n <perfect_forward_secrecy>group2</perfect_forward_secrecy>n <mode>main</mode>n <pre_shared_key>********************************</pre_shared_key>n </ike>n <ipsec>n <protocol>esp</protocol>n <authentication_protocol>hmac-sha1-96</authentication_protocol>n <encryption_protocol>aes-128-cbc</encryption_protocol>n <lifetime>3600</lifetime>n <perfect_forward_secrecy>group2</perfect_forward_secrecy>n <mode>tunnel</mode>n <clear_df_bit>true</clear_df_bit>n <fragmentation_before_encryption>true</fragmentation_before_encryption>n <tcp_mss_adjustment>1387</tcp_mss_adjustment>n <dead_peer_detection>n <interval>10</interval>n <retries>3</retries>n </dead_peer_detection>n </ipsec>n </ipsec_tunnel>n</vpn_connection>n", "State": "pending", "VpnGatewayId": "vgw-********", "CustomerGatewayId": "cgw-********" } } ?! 2014/11/25 7
  • 9. 手順5 Customer Gatewayの設定 • 各ルータのマニュアルやダウンロードした設定ファイルを参考に設定 • YAMAHAの場合 • http://www.rtpro.yamaha.co.jp/RT/docs/amazon-vpc/ • 古河電工の場合 • http://www.furukawa.co.jp/fitelnet/product/f200/setting/detail/amazon_vpc.html • 設定が完了すると、VPN ConnectionのStateがAvailableになります。 2014/11/25 9
  • 10. 手順6 Route Tableの設定 コマンド(例) aws ec2 create-route --route-table-id rtb-******** --destination-cidr-block 0.0.0.0/0 --gateway-id vgw-******** 結果 (なし) 2014/11/25 10