SlideShare a Scribd company logo
1 of 23
Copyright © 2016 Bit-isle Equinix Inc. All Rights Reserved
Let us make clear the [aws directconnect ~] !
2016-07-18 16:10-16:20
@AWS CLI Conference 2016
Bit-isle Equinix Inc.
IT Infrastructure Engineering Dept.
Tomoaki Hira
Copyright © 2016 Bit-isle Equinix Inc. All Rights Reserved
Information
These slides will be uploaded to slideshare.
The json files in the slides have shown in Qiita.
‣ http://qiita.com/rfhira/items/52b402f48e86cf59fe88
2
Copyright © 2016 Bit-isle Equinix Inc. All Rights Reserved
About us
3
Copyright © 2016 Bit-isle Equinix Inc. All Rights Reserved
The company profile of Bit-isle Equinix
We were domestic Internet Datacenter Provider.
Equinix was acquired us in last year.
Equinix obtained five IBXs by acquisition.
Bit-isle Equinix provides managed AWS direct connect
service during two years.
4
Copyright © 2016 Bit-isle Equinix Inc. All Rights Reserved
Let us make clear the [aws directconnect ~] !
5
Copyright © 2016 Bit-isle Equinix Inc. All Rights Reserved
Tables of Contents
0: Components of AWS directconnect [private connection]
1: The scenario of this LT
2: See what I can build
3: Conclusion
6
Copyright © 2016 Bit-isle Equinix Inc. All Rights Reserved
Connection
0: Components of AWS directconnect
7
corporate data center
virtual private cloud
Account: #B
virtual private cloud
Account: #C
Vlan 10
169.254.0.0/30
Vlan 20
169.254.0.4/30
Vlan 30
169.254.0.8/30
Virtual
Gateway
Virtual
Gateway
Direct connect
Account: #A
Up to 4094 vlans?
Virtual Interface
Confirming the
virtual interface
Datacenter Network
The account of user dept.: #B, #C The account of admin dept.: #A
BGP Router
*Customer router
Copyright © 2016 Bit-isle Equinix Inc. All Rights Reserved
0: Components of AWS directconnect
These are commands the slides covered.
‣ describe-connections [admin dept.]
‣ describe-virtual-interfaces [user dept.]
‣ allocate-private-virtual-interface [admin dept.]
‣ confirm-private-virtual-interface [user dept.]
‣ delete-virtual-interface [user dept.]
8
Copyright © 2016 Bit-isle Equinix Inc. All Rights Reserved
VPC Subnet
172.29.0.0/20
Connection
1: The scenario of this LT
9
corporate data center
virtual private cloud
Account: #B
Virtual
Gateway
Direct connect
Account: #A
Up to 4094 vlans?
Datacenter Network
172.30.100.0/24
The account of user dept.: #B The account of admin dept.: #A
[1] We have a connection
already between the DC
to AWS(Account #A)
[2] We have already set
up the BGP router
[4] We will execute a
command “confirm-virtual-
interface”(Account #B)
[5] We will set up some
configuration of EC2/VPC.
(eg. Security Group /
Route Table)
Vlan 511
169.254.15.212/30
[3] We will execute a
command “allocate-virtual-
interface”(Account #A)
Copyright © 2016 Bit-isle Equinix Inc. All Rights Reserved
See what I can build
10
Copyright © 2016 Bit-isle Equinix Inc. All Rights Reserved
2-0: Check our environment [user dept.]
Input command
# aws ec2 describe-vpcs
# aws ec2 describe-subnets
# aws ec2 describe-vpn-gateways
# aws ec2 describe-route-tables
11
Copyright © 2016 Bit-isle Equinix Inc. All Rights Reserved
2-0: Check our environment [user dept.]
12
 Response
The response of vpcs, subnets, and vpn-gateways is omitted.
Following is a response of a part of “aws ec2 describe-route-tables”.
{
"Associations": [
{
"RouteTableAssociationId": "rtbassoc-c7c749a3",
"Main": true,
"RouteTableId": "rtb-f3629e97"
}
],
"RouteTableId": "rtb-f3629e97",
"VpcId": "vpc-07f8f462",
"PropagatingVgws": [],
"Tags": [],
"Routes": [
{
"GatewayId": "local",
"DestinationCidrBlock": "172.29.0.0/16",
"State": "active",
"Origin": "CreateRouteTable"
}
]
}
Important attributes
Copyright © 2016 Bit-isle Equinix Inc. All Rights Reserved
2-1: Check our connections [admin dept.]
Input command
# aws directconnect describe-connections
13
Response
{
"ownerAccount": "1790********",
"connectionId": "dxcon-fg0z****",
"connectionState": "available",
"bandwidth": "10Gbps",
"location": "EqTY2",
"connectionName": "DX2BACKUP",
"region": "ap-northeast-1"
}
Copyright © 2016 Bit-isle Equinix Inc. All Rights Reserved
2-2: BGP Configuration
14
 Link network : 169.254.15.212/30
 Vlan ID : 511
 Customer router IP address : 169.254.15.213/30
 Amazon router IP address : 169.254.15.214/30
 ASNumber of the customer : 65000
 BGP TCP MD5 Auth Key : fr3gUCLDLS6MQsVLVBw9zgdt
Copyright © 2016 Bit-isle Equinix Inc. All Rights Reserved
2-3: Allocate the virtual interface
Input command
# CONNECTION='dxcon-fg0z****'
# VIFNAME='NWG-HIRA-BK'
# ACCOUNTID='5651********'
# VLANID='511'
# ROUTERIP='169.254.15.213/30'
# AMAZONIP='169.254.15.214/30'
# BGPASN='65000'
# BGPMD5='fr3gUCLDLS6MQsVLVBw9zgdt‘
# aws directconnect allocate-private-virtual-interface --connection-id
$CONNECTION --owner-account $ACCOUNTID --new-private-virtual-interface-
allocation
virtualInterfaceName=$VIFNAME,vlan=$VLANID,asn=$BGPASN,authKey=$BG
PMD5,amazonAddress=$AMAZONIP,customerAddress=$ROUTERIP
15
Account ID of the User Dept
Copyright © 2016 Bit-isle Equinix Inc. All Rights Reserved
2-3: Allocate the virtual interface
Response
{
"virtualInterfaceState": "confirming",
"asn": 65000,
"vlan": 511,
"customerAddress": "169.254.15.213/30",
"ownerAccount": "5651********",
"connectionId": "dxcon-fg0z****",
"virtualInterfaceId": "dxvif-********",
"authKey": "fr3gUCLDLS6MQsVLVBw9zgdt",
"routeFilterPrefixes": [],
"location": "EqTY2",
"customerRouterConfig": "<?xml version="1.0" encoding="UTF-8…>”
}
※I removed most part of the customerRouterConfig because it is too long
16
The status will be confirming
Copyright © 2016 Bit-isle Equinix Inc. All Rights Reserved
2-4: Confirm the virtual interface
Input command
# VGWID=`aws ec2 describe-vpn-gateways |
jq .VpnGateways[0].VpnGatewayId | tr -d '"'`
# VIFID=`aws directconnect describe-virtual-interfaces |
jq .virtualInterfaces[0].virtualInterfaceId | tr -d '"'`
# cat <<ETX
VIFID=$VIFID
VGWID=$VGWID
ETX
# aws directconnect confirm-private-virtual-interface --virtual-interface-id
$VIFID --virtual-gateway-id $VGWID
17
Copyright © 2016 Bit-isle Equinix Inc. All Rights Reserved
2-4: Confirm the virtual interface
Response and a part of confirming
{
"virtualInterfaceState": "pending"
}
(This process needs few minutes)
# aws directconnect describe-virtual-interfaces
{
"virtualInterfaces": [
{
"virtualInterfaceState": "available",
…
18
virtualInterfaceState will be
changed automatically.
Copyright © 2016 Bit-isle Equinix Inc. All Rights Reserved
2-5: Some configuration for VPC [Security Group]
Input command
# aws ec2 describe-security-groups | jq .SecurityGroups[2].IpPermissions[1]
Response and a part of confirming
{
"IpProtocol": "-1",
"IpRanges": [
{
"CidrIp": "172.30.100.0/24"
}
],
"UserIdGroupPairs": [],
"PrefixListIds": []
}
19
Copyright © 2016 Bit-isle Equinix Inc. All Rights Reserved
2-5: Some configuration for VPC [vgw Route Propagation]
 Input command
# aws ec2 enable-vgw-route-propagation --route-table-id rtb-4998**** --gateway-id $VGWID
 A part of confirming
"PropagatingVgws": [
{
"GatewayId": "vgw-abbd****"
}
],
"Routes": [
…
{
"GatewayId": "vgw-abbd0baa",
"DestinationCidrBlock": "172.30.100.0/24",
"State": "active",
"Origin": "EnableVgwRoutePropagation"
}
]
20
If you want to use all of the route from BGP
router, the feature “vgw-route-propagation”
can be used.
From vgw
To RouteTable
Copyright © 2016 Bit-isle Equinix Inc. All Rights Reserved
2-6: Delete the virtual interface
Input command
# VIFID=`aws directconnect describe-virtual-interfaces |
jq .virtualInterfaces[0].virtualInterfaceId | tr -d '"'`
# cat <<ETX
VIFID: $VIFID
ETX
#aws directconnect delete-virtual-interface --virtual-interface-id $VIFID
Response and a part of confirming
{
"virtualInterfaceState": "deleting"
}
21
virtualInterfaceState will be
changed automatically.
Copyright © 2016 Bit-isle Equinix Inc. All Rights Reserved
VPC Subnet
172.29.0.0/20
Connection
4: Conclusion
22
corporate data center
virtual private cloud
Account: #B
Virtual
Gateway
Direct connect
Account: #A
Up to 4094 vlans?
Datacenter Network
172.30.100.0/24
The account of user dept.: #B The account of admin dept.: #A
[1] We have a connection
already between the DC
to AWS(Account #A)
[2] We have already set
up the BGP router
[4] We have executed a
command “confirm-virtual-
interface”(Account #B)
[5] We have set up some
configuration of EC2/VPC.
(eg. Security Group /
Route Table)
Vlan 511
169.254.15.212/30
[3] We have execute a
command “allocate-virtual-
interface”(Account #A)
Copyright © 2016 Bit-isle Equinix Inc. All Rights Reserved
ビットアイル・エクイニクス株式会社
TEL 03-5805-8154 FAX 03-3474-5538 URL http://www.bit-isle.jp/
23

More Related Content

What's hot

Deep Dive into AWS CLI - the command line interface
Deep Dive into AWS CLI - the command line interfaceDeep Dive into AWS CLI - the command line interface
Deep Dive into AWS CLI - the command line interfaceJohn Varghese
 
AWS Infrastructure as Code - September 2016 Webinar Series
AWS Infrastructure as Code - September 2016 Webinar SeriesAWS Infrastructure as Code - September 2016 Webinar Series
AWS Infrastructure as Code - September 2016 Webinar SeriesAmazon Web Services
 
(APP306) Using AWS CloudFormation for Deployment and Management at Scale | AW...
(APP306) Using AWS CloudFormation for Deployment and Management at Scale | AW...(APP306) Using AWS CloudFormation for Deployment and Management at Scale | AW...
(APP306) Using AWS CloudFormation for Deployment and Management at Scale | AW...Amazon Web Services
 
AWS CloudFormation Intrinsic Functions and Mappings
AWS CloudFormation Intrinsic Functions and Mappings AWS CloudFormation Intrinsic Functions and Mappings
AWS CloudFormation Intrinsic Functions and Mappings Adam Book
 
Masterclass Advanced Usage of the AWS CLI
Masterclass Advanced Usage of the AWS CLIMasterclass Advanced Usage of the AWS CLI
Masterclass Advanced Usage of the AWS CLIDanilo Poccia
 
Deep Dive - Advanced Usage of the AWS CLI
Deep Dive - Advanced Usage of the AWS CLIDeep Dive - Advanced Usage of the AWS CLI
Deep Dive - Advanced Usage of the AWS CLIAmazon Web Services
 
전 세계 팬들이 모일 수 있는 플랫폼 만들기 - 강진우 (beNX) :: AWS Community Day 2020
전 세계 팬들이 모일 수 있는 플랫폼 만들기 - 강진우 (beNX) :: AWS Community Day 2020 전 세계 팬들이 모일 수 있는 플랫폼 만들기 - 강진우 (beNX) :: AWS Community Day 2020
전 세계 팬들이 모일 수 있는 플랫폼 만들기 - 강진우 (beNX) :: AWS Community Day 2020 AWSKRUG - AWS한국사용자모임
 
Hashicorp @ JUST EAT - Part 2
Hashicorp @ JUST EAT - Part 2Hashicorp @ JUST EAT - Part 2
Hashicorp @ JUST EAT - Part 2Andrew Brown
 
Automation with Packer and TerraForm
Automation with Packer and TerraFormAutomation with Packer and TerraForm
Automation with Packer and TerraFormWesley Charles Blake
 
docker-machine, docker-compose, docker-swarm 覚書
docker-machine, docker-compose, docker-swarm 覚書docker-machine, docker-compose, docker-swarm 覚書
docker-machine, docker-compose, docker-swarm 覚書じゅん なかざ
 
Building Serverless APIs on AWS
Building Serverless APIs on AWSBuilding Serverless APIs on AWS
Building Serverless APIs on AWSJulien SIMON
 
(DEV305) Building Apps with the AWS SDK for PHP | AWS re:Invent 2014
(DEV305) Building Apps with the AWS SDK for PHP | AWS re:Invent 2014(DEV305) Building Apps with the AWS SDK for PHP | AWS re:Invent 2014
(DEV305) Building Apps with the AWS SDK for PHP | AWS re:Invent 2014Amazon Web Services
 
Infrastructure as Code: Manage your Architecture with Git
Infrastructure as Code: Manage your Architecture with GitInfrastructure as Code: Manage your Architecture with Git
Infrastructure as Code: Manage your Architecture with GitDanilo Poccia
 
The AWS DevOps combo (January 2017)
The AWS DevOps combo (January 2017)The AWS DevOps combo (January 2017)
The AWS DevOps combo (January 2017)Julien SIMON
 
AWS Elastic Container Service - DockerHN
AWS Elastic Container Service - DockerHNAWS Elastic Container Service - DockerHN
AWS Elastic Container Service - DockerHNNguyen Anh Tu
 
AWS CloudFormation and Puppet at PuppetConf - Jinesh Varia
AWS CloudFormation and Puppet at PuppetConf - Jinesh VariaAWS CloudFormation and Puppet at PuppetConf - Jinesh Varia
AWS CloudFormation and Puppet at PuppetConf - Jinesh VariaAmazon Web Services
 
AWS CLI: 2017 and Beyond - DEV307 - re:Invent 2017
AWS CLI: 2017 and Beyond - DEV307 - re:Invent 2017AWS CLI: 2017 and Beyond - DEV307 - re:Invent 2017
AWS CLI: 2017 and Beyond - DEV307 - re:Invent 2017Amazon Web Services
 

What's hot (20)

Deep Dive into AWS CLI - the command line interface
Deep Dive into AWS CLI - the command line interfaceDeep Dive into AWS CLI - the command line interface
Deep Dive into AWS CLI - the command line interface
 
AWS Infrastructure as Code - September 2016 Webinar Series
AWS Infrastructure as Code - September 2016 Webinar SeriesAWS Infrastructure as Code - September 2016 Webinar Series
AWS Infrastructure as Code - September 2016 Webinar Series
 
(APP306) Using AWS CloudFormation for Deployment and Management at Scale | AW...
(APP306) Using AWS CloudFormation for Deployment and Management at Scale | AW...(APP306) Using AWS CloudFormation for Deployment and Management at Scale | AW...
(APP306) Using AWS CloudFormation for Deployment and Management at Scale | AW...
 
AWS CloudFormation Intrinsic Functions and Mappings
AWS CloudFormation Intrinsic Functions and Mappings AWS CloudFormation Intrinsic Functions and Mappings
AWS CloudFormation Intrinsic Functions and Mappings
 
Masterclass Advanced Usage of the AWS CLI
Masterclass Advanced Usage of the AWS CLIMasterclass Advanced Usage of the AWS CLI
Masterclass Advanced Usage of the AWS CLI
 
Deep Dive - Advanced Usage of the AWS CLI
Deep Dive - Advanced Usage of the AWS CLIDeep Dive - Advanced Usage of the AWS CLI
Deep Dive - Advanced Usage of the AWS CLI
 
전 세계 팬들이 모일 수 있는 플랫폼 만들기 - 강진우 (beNX) :: AWS Community Day 2020
전 세계 팬들이 모일 수 있는 플랫폼 만들기 - 강진우 (beNX) :: AWS Community Day 2020 전 세계 팬들이 모일 수 있는 플랫폼 만들기 - 강진우 (beNX) :: AWS Community Day 2020
전 세계 팬들이 모일 수 있는 플랫폼 만들기 - 강진우 (beNX) :: AWS Community Day 2020
 
Hashicorp @ JUST EAT - Part 2
Hashicorp @ JUST EAT - Part 2Hashicorp @ JUST EAT - Part 2
Hashicorp @ JUST EAT - Part 2
 
Automation with Packer and TerraForm
Automation with Packer and TerraFormAutomation with Packer and TerraForm
Automation with Packer and TerraForm
 
docker-machine, docker-compose, docker-swarm 覚書
docker-machine, docker-compose, docker-swarm 覚書docker-machine, docker-compose, docker-swarm 覚書
docker-machine, docker-compose, docker-swarm 覚書
 
Building Serverless APIs on AWS
Building Serverless APIs on AWSBuilding Serverless APIs on AWS
Building Serverless APIs on AWS
 
Deploying SharePoint @ Cloud
Deploying SharePoint @ CloudDeploying SharePoint @ Cloud
Deploying SharePoint @ Cloud
 
(DEV305) Building Apps with the AWS SDK for PHP | AWS re:Invent 2014
(DEV305) Building Apps with the AWS SDK for PHP | AWS re:Invent 2014(DEV305) Building Apps with the AWS SDK for PHP | AWS re:Invent 2014
(DEV305) Building Apps with the AWS SDK for PHP | AWS re:Invent 2014
 
Infrastructure as Code: Manage your Architecture with Git
Infrastructure as Code: Manage your Architecture with GitInfrastructure as Code: Manage your Architecture with Git
Infrastructure as Code: Manage your Architecture with Git
 
CloudStack S3
CloudStack S3CloudStack S3
CloudStack S3
 
AWS CloudFormation Masterclass
AWS CloudFormation MasterclassAWS CloudFormation Masterclass
AWS CloudFormation Masterclass
 
The AWS DevOps combo (January 2017)
The AWS DevOps combo (January 2017)The AWS DevOps combo (January 2017)
The AWS DevOps combo (January 2017)
 
AWS Elastic Container Service - DockerHN
AWS Elastic Container Service - DockerHNAWS Elastic Container Service - DockerHN
AWS Elastic Container Service - DockerHN
 
AWS CloudFormation and Puppet at PuppetConf - Jinesh Varia
AWS CloudFormation and Puppet at PuppetConf - Jinesh VariaAWS CloudFormation and Puppet at PuppetConf - Jinesh Varia
AWS CloudFormation and Puppet at PuppetConf - Jinesh Varia
 
AWS CLI: 2017 and Beyond - DEV307 - re:Invent 2017
AWS CLI: 2017 and Beyond - DEV307 - re:Invent 2017AWS CLI: 2017 and Beyond - DEV307 - re:Invent 2017
AWS CLI: 2017 and Beyond - DEV307 - re:Invent 2017
 

Viewers also liked

Microsoft Office 魔改造 2014冬
Microsoft Office 魔改造 2014冬Microsoft Office 魔改造 2014冬
Microsoft Office 魔改造 2014冬Tomonari Fukuda
 
JAWS-UG CLI専門支部 CLIカンファレンス2016 ハンズオン
JAWS-UG CLI専門支部 CLIカンファレンス2016 ハンズオンJAWS-UG CLI専門支部 CLIカンファレンス2016 ハンズオン
JAWS-UG CLI専門支部 CLIカンファレンス2016 ハンズオンNobuhiro Nakayama
 
DNSキャッシュサーバ チューニングの勘所
DNSキャッシュサーバ チューニングの勘所DNSキャッシュサーバ チューニングの勘所
DNSキャッシュサーバ チューニングの勘所hdais
 
ソフトウェアの品質保証の基礎とこれから
ソフトウェアの品質保証の基礎とこれからソフトウェアの品質保証の基礎とこれから
ソフトウェアの品質保証の基礎とこれからYasuharu Nishi
 
20161218 selenium study4
20161218 selenium study420161218 selenium study4
20161218 selenium study4Naoya Kojima
 
Introducing Serverless Computing (20160802)
Introducing Serverless Computing (20160802)Introducing Serverless Computing (20160802)
Introducing Serverless Computing (20160802)Keisuke Nishitani
 
(DAT402) Amazon RDS PostgreSQL:Lessons Learned & New Features
(DAT402) Amazon RDS PostgreSQL:Lessons Learned & New Features(DAT402) Amazon RDS PostgreSQL:Lessons Learned & New Features
(DAT402) Amazon RDS PostgreSQL:Lessons Learned & New FeaturesAmazon Web Services
 
20170311 jawsdays 新訳 とあるアーキテクトのクラウドデザインパターン目録
20170311 jawsdays 新訳 とあるアーキテクトのクラウドデザインパターン目録20170311 jawsdays 新訳 とあるアーキテクトのクラウドデザインパターン目録
20170311 jawsdays 新訳 とあるアーキテクトのクラウドデザインパターン目録Naomi Yamasaki
 
ドメイン駆動で開発する ラフスケッチから実装まで
ドメイン駆動で開発する ラフスケッチから実装までドメイン駆動で開発する ラフスケッチから実装まで
ドメイン駆動で開発する ラフスケッチから実装まで増田 亨
 
JAWSDAYS2017 新訳 とあるアーキテクトのクラウドデザインパターン目録 AMI Maintenance Environment
JAWSDAYS2017 新訳 とあるアーキテクトのクラウドデザインパターン目録 AMI Maintenance EnvironmentJAWSDAYS2017 新訳 とあるアーキテクトのクラウドデザインパターン目録 AMI Maintenance Environment
JAWSDAYS2017 新訳 とあるアーキテクトのクラウドデザインパターン目録 AMI Maintenance EnvironmentJin k
 
jawsdays 2017 新訳-とある設計士の雲設計定石目録_3
jawsdays 2017 新訳-とある設計士の雲設計定石目録_3jawsdays 2017 新訳-とある設計士の雲設計定石目録_3
jawsdays 2017 新訳-とある設計士の雲設計定石目録_3a kyane
 
Kubernetesにまつわるエトセトラ(主に苦労話)
Kubernetesにまつわるエトセトラ(主に苦労話)Kubernetesにまつわるエトセトラ(主に苦労話)
Kubernetesにまつわるエトセトラ(主に苦労話)Works Applications
 
サーバーレスでシステムを開発する時に⼤切な事
サーバーレスでシステムを開発する時に⼤切な事サーバーレスでシステムを開発する時に⼤切な事
サーバーレスでシステムを開発する時に⼤切な事Hiroyuki Hiki
 
Dockerの期待と現実~Docker都市伝説はなぜ生まれるのか~
Dockerの期待と現実~Docker都市伝説はなぜ生まれるのか~Dockerの期待と現実~Docker都市伝説はなぜ生まれるのか~
Dockerの期待と現実~Docker都市伝説はなぜ生まれるのか~Masahito Zembutsu
 
サーバーレスの今とこれから
サーバーレスの今とこれからサーバーレスの今とこれから
サーバーレスの今とこれから真吾 吉田
 

Viewers also liked (18)

AWS CLI Conference 2016
AWS CLI Conference 2016AWS CLI Conference 2016
AWS CLI Conference 2016
 
Microsoft Office 魔改造 2014冬
Microsoft Office 魔改造 2014冬Microsoft Office 魔改造 2014冬
Microsoft Office 魔改造 2014冬
 
JAWS-UG CLI専門支部 CLIカンファレンス2016 ハンズオン
JAWS-UG CLI専門支部 CLIカンファレンス2016 ハンズオンJAWS-UG CLI専門支部 CLIカンファレンス2016 ハンズオン
JAWS-UG CLI専門支部 CLIカンファレンス2016 ハンズオン
 
AWS Ops service recap
AWS Ops service recapAWS Ops service recap
AWS Ops service recap
 
DNSキャッシュサーバ チューニングの勘所
DNSキャッシュサーバ チューニングの勘所DNSキャッシュサーバ チューニングの勘所
DNSキャッシュサーバ チューニングの勘所
 
ソフトウェアの品質保証の基礎とこれから
ソフトウェアの品質保証の基礎とこれからソフトウェアの品質保証の基礎とこれから
ソフトウェアの品質保証の基礎とこれから
 
20161218 selenium study4
20161218 selenium study420161218 selenium study4
20161218 selenium study4
 
Introducing Serverless Computing (20160802)
Introducing Serverless Computing (20160802)Introducing Serverless Computing (20160802)
Introducing Serverless Computing (20160802)
 
(DAT402) Amazon RDS PostgreSQL:Lessons Learned & New Features
(DAT402) Amazon RDS PostgreSQL:Lessons Learned & New Features(DAT402) Amazon RDS PostgreSQL:Lessons Learned & New Features
(DAT402) Amazon RDS PostgreSQL:Lessons Learned & New Features
 
20170311 jawsdays 新訳 とあるアーキテクトのクラウドデザインパターン目録
20170311 jawsdays 新訳 とあるアーキテクトのクラウドデザインパターン目録20170311 jawsdays 新訳 とあるアーキテクトのクラウドデザインパターン目録
20170311 jawsdays 新訳 とあるアーキテクトのクラウドデザインパターン目録
 
ドメイン駆動で開発する ラフスケッチから実装まで
ドメイン駆動で開発する ラフスケッチから実装までドメイン駆動で開発する ラフスケッチから実装まで
ドメイン駆動で開発する ラフスケッチから実装まで
 
JAWSDAYS2017 新訳 とあるアーキテクトのクラウドデザインパターン目録 AMI Maintenance Environment
JAWSDAYS2017 新訳 とあるアーキテクトのクラウドデザインパターン目録 AMI Maintenance EnvironmentJAWSDAYS2017 新訳 とあるアーキテクトのクラウドデザインパターン目録 AMI Maintenance Environment
JAWSDAYS2017 新訳 とあるアーキテクトのクラウドデザインパターン目録 AMI Maintenance Environment
 
jawsdays 2017 新訳-とある設計士の雲設計定石目録_3
jawsdays 2017 新訳-とある設計士の雲設計定石目録_3jawsdays 2017 新訳-とある設計士の雲設計定石目録_3
jawsdays 2017 新訳-とある設計士の雲設計定石目録_3
 
AWS Black Belt Online Seminar Amazon Aurora
AWS Black Belt Online Seminar Amazon AuroraAWS Black Belt Online Seminar Amazon Aurora
AWS Black Belt Online Seminar Amazon Aurora
 
Kubernetesにまつわるエトセトラ(主に苦労話)
Kubernetesにまつわるエトセトラ(主に苦労話)Kubernetesにまつわるエトセトラ(主に苦労話)
Kubernetesにまつわるエトセトラ(主に苦労話)
 
サーバーレスでシステムを開発する時に⼤切な事
サーバーレスでシステムを開発する時に⼤切な事サーバーレスでシステムを開発する時に⼤切な事
サーバーレスでシステムを開発する時に⼤切な事
 
Dockerの期待と現実~Docker都市伝説はなぜ生まれるのか~
Dockerの期待と現実~Docker都市伝説はなぜ生まれるのか~Dockerの期待と現実~Docker都市伝説はなぜ生まれるのか~
Dockerの期待と現実~Docker都市伝説はなぜ生まれるのか~
 
サーバーレスの今とこれから
サーバーレスの今とこれからサーバーレスの今とこれから
サーバーレスの今とこれから
 

Similar to Let us make clear the aws directconnect

Deep Dive - Hybrid Architectures
Deep Dive - Hybrid ArchitecturesDeep Dive - Hybrid Architectures
Deep Dive - Hybrid ArchitecturesAmazon Web Services
 
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
 
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
 
利用AWS建立企業全球化網路
利用AWS建立企業全球化網路利用AWS建立企業全球化網路
利用AWS建立企業全球化網路Amazon Web Services
 
From One to Many: Diving Deeper into Evolving VPC Design (ARC310-R2) - AWS re...
From One to Many: Diving Deeper into Evolving VPC Design (ARC310-R2) - AWS re...From One to Many: Diving Deeper into Evolving VPC Design (ARC310-R2) - AWS re...
From One to Many: Diving Deeper into Evolving VPC Design (ARC310-R2) - AWS re...Amazon Web Services
 
Planificación de arquitecturas de red de AWS - MXO211 - Mexico City Summit
Planificación de arquitecturas de red de AWS - MXO211 - Mexico City SummitPlanificación de arquitecturas de red de AWS - MXO211 - Mexico City Summit
Planificación de arquitecturas de red de AWS - MXO211 - Mexico City SummitAmazon Web Services
 
Plan Advanced AWS Networking Architectures - SRV323 - Chicago AWS Summit
Plan Advanced AWS Networking Architectures - SRV323 - Chicago AWS SummitPlan Advanced AWS Networking Architectures - SRV323 - Chicago AWS Summit
Plan Advanced AWS Networking Architectures - SRV323 - Chicago AWS SummitAmazon 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
 
PuppetConf 2013 vCloud Hybrid Service and Puppet
PuppetConf 2013 vCloud Hybrid Service and PuppetPuppetConf 2013 vCloud Hybrid Service and Puppet
PuppetConf 2013 vCloud Hybrid Service and PuppetNan Liu
 
Deploying VMware vCloud Hybrid Service with Puppet - PuppetConf 2013
Deploying VMware vCloud Hybrid Service with Puppet - PuppetConf 2013Deploying VMware vCloud Hybrid Service with Puppet - PuppetConf 2013
Deploying VMware vCloud Hybrid Service with Puppet - PuppetConf 2013Puppet
 
(ARC401) Cloud First: New Architecture for New Infrastructure
(ARC401) Cloud First: New Architecture for New Infrastructure(ARC401) Cloud First: New Architecture for New Infrastructure
(ARC401) Cloud First: New Architecture for New InfrastructureAmazon Web Services
 
GPSTEC322-GPS Creating Your Virtual Data Center VPC Fundamentals Connectivity...
GPSTEC322-GPS Creating Your Virtual Data Center VPC Fundamentals Connectivity...GPSTEC322-GPS Creating Your Virtual Data Center VPC Fundamentals Connectivity...
GPSTEC322-GPS Creating Your Virtual Data Center VPC Fundamentals Connectivity...Amazon Web Services
 
Hybrid Infrastructure Integration
Hybrid Infrastructure IntegrationHybrid Infrastructure Integration
Hybrid Infrastructure IntegrationAmazon Web Services
 
(NET406) Deep Dive: AWS Direct Connect and VPNs
(NET406) Deep Dive: AWS Direct Connect and VPNs(NET406) Deep Dive: AWS Direct Connect and VPNs
(NET406) Deep Dive: AWS Direct Connect and VPNsAmazon Web Services
 
Hybrid Infrastructure Integration
Hybrid Infrastructure IntegrationHybrid Infrastructure Integration
Hybrid Infrastructure IntegrationAmazon Web Services
 
Hybrid Infrastructure Integration
Hybrid Infrastructure IntegrationHybrid Infrastructure Integration
Hybrid Infrastructure IntegrationAmazon Web Services
 
Planning advanced AWS networking architectures - SVC304 - Chicago AWS Summit
Planning advanced AWS networking architectures - SVC304 - Chicago AWS SummitPlanning advanced AWS networking architectures - SVC304 - Chicago AWS Summit
Planning advanced AWS networking architectures - SVC304 - Chicago AWS SummitAmazon Web Services
 
Ato2019 weave-services-istio
Ato2019 weave-services-istioAto2019 weave-services-istio
Ato2019 weave-services-istioLin Sun
 

Similar to Let us make clear the aws directconnect (20)

Deep Dive - Hybrid Architectures
Deep Dive - Hybrid ArchitecturesDeep Dive - Hybrid Architectures
Deep Dive - Hybrid Architectures
 
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)
 
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)
 
VPC and DX PoP @ HKG
VPC and DX PoP @ HKGVPC and DX PoP @ HKG
VPC and DX PoP @ HKG
 
利用AWS建立企業全球化網路
利用AWS建立企業全球化網路利用AWS建立企業全球化網路
利用AWS建立企業全球化網路
 
From One to Many: Diving Deeper into Evolving VPC Design (ARC310-R2) - AWS re...
From One to Many: Diving Deeper into Evolving VPC Design (ARC310-R2) - AWS re...From One to Many: Diving Deeper into Evolving VPC Design (ARC310-R2) - AWS re...
From One to Many: Diving Deeper into Evolving VPC Design (ARC310-R2) - AWS re...
 
Planificación de arquitecturas de red de AWS - MXO211 - Mexico City Summit
Planificación de arquitecturas de red de AWS - MXO211 - Mexico City SummitPlanificación de arquitecturas de red de AWS - MXO211 - Mexico City Summit
Planificación de arquitecturas de red de AWS - MXO211 - Mexico City Summit
 
Plan Advanced AWS Networking Architectures - SRV323 - Chicago AWS Summit
Plan Advanced AWS Networking Architectures - SRV323 - Chicago AWS SummitPlan Advanced AWS Networking Architectures - SRV323 - Chicago AWS Summit
Plan Advanced AWS Networking Architectures - SRV323 - Chicago AWS Summit
 
Openstack Summit Vancouver 2018 - Multicloud Networking
Openstack Summit Vancouver 2018 - Multicloud NetworkingOpenstack Summit Vancouver 2018 - Multicloud Networking
Openstack Summit Vancouver 2018 - Multicloud Networking
 
PuppetConf 2013 vCloud Hybrid Service and Puppet
PuppetConf 2013 vCloud Hybrid Service and PuppetPuppetConf 2013 vCloud Hybrid Service and Puppet
PuppetConf 2013 vCloud Hybrid Service and Puppet
 
Deploying VMware vCloud Hybrid Service with Puppet - PuppetConf 2013
Deploying VMware vCloud Hybrid Service with Puppet - PuppetConf 2013Deploying VMware vCloud Hybrid Service with Puppet - PuppetConf 2013
Deploying VMware vCloud Hybrid Service with Puppet - PuppetConf 2013
 
Brksec 2101 deploying web security
Brksec 2101  deploying web securityBrksec 2101  deploying web security
Brksec 2101 deploying web security
 
(ARC401) Cloud First: New Architecture for New Infrastructure
(ARC401) Cloud First: New Architecture for New Infrastructure(ARC401) Cloud First: New Architecture for New Infrastructure
(ARC401) Cloud First: New Architecture for New Infrastructure
 
GPSTEC322-GPS Creating Your Virtual Data Center VPC Fundamentals Connectivity...
GPSTEC322-GPS Creating Your Virtual Data Center VPC Fundamentals Connectivity...GPSTEC322-GPS Creating Your Virtual Data Center VPC Fundamentals Connectivity...
GPSTEC322-GPS Creating Your Virtual Data Center VPC Fundamentals Connectivity...
 
Hybrid Infrastructure Integration
Hybrid Infrastructure IntegrationHybrid Infrastructure Integration
Hybrid Infrastructure Integration
 
(NET406) Deep Dive: AWS Direct Connect and VPNs
(NET406) Deep Dive: AWS Direct Connect and VPNs(NET406) Deep Dive: AWS Direct Connect and VPNs
(NET406) Deep Dive: AWS Direct Connect and VPNs
 
Hybrid Infrastructure Integration
Hybrid Infrastructure IntegrationHybrid Infrastructure Integration
Hybrid Infrastructure Integration
 
Hybrid Infrastructure Integration
Hybrid Infrastructure IntegrationHybrid Infrastructure Integration
Hybrid Infrastructure Integration
 
Planning advanced AWS networking architectures - SVC304 - Chicago AWS Summit
Planning advanced AWS networking architectures - SVC304 - Chicago AWS SummitPlanning advanced AWS networking architectures - SVC304 - Chicago AWS Summit
Planning advanced AWS networking architectures - SVC304 - Chicago AWS Summit
 
Ato2019 weave-services-istio
Ato2019 weave-services-istioAto2019 weave-services-istio
Ato2019 weave-services-istio
 

Recently uploaded

Engineering Drawing section of solid
Engineering Drawing     section of solidEngineering Drawing     section of solid
Engineering Drawing section of solidnamansinghjarodiya
 
Crystal Structure analysis and detailed information pptx
Crystal Structure analysis and detailed information pptxCrystal Structure analysis and detailed information pptx
Crystal Structure analysis and detailed information pptxachiever3003
 
Transport layer issues and challenges - Guide
Transport layer issues and challenges - GuideTransport layer issues and challenges - Guide
Transport layer issues and challenges - GuideGOPINATHS437943
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
Katarzyna Lipka-Sidor - BIM School Course
Katarzyna Lipka-Sidor - BIM School CourseKatarzyna Lipka-Sidor - BIM School Course
Katarzyna Lipka-Sidor - BIM School Coursebim.edu.pl
 
Crushers to screens in aggregate production
Crushers to screens in aggregate productionCrushers to screens in aggregate production
Crushers to screens in aggregate productionChinnuNinan
 
National Level Hackathon Participation Certificate.pdf
National Level Hackathon Participation Certificate.pdfNational Level Hackathon Participation Certificate.pdf
National Level Hackathon Participation Certificate.pdfRajuKanojiya4
 
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTIONTHE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTIONjhunlian
 
"Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ..."Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ...Erbil Polytechnic University
 
Research Methodology for Engineering pdf
Research Methodology for Engineering pdfResearch Methodology for Engineering pdf
Research Methodology for Engineering pdfCaalaaAbdulkerim
 
Internet of things -Arshdeep Bahga .pptx
Internet of things -Arshdeep Bahga .pptxInternet of things -Arshdeep Bahga .pptx
Internet of things -Arshdeep Bahga .pptxVelmuruganTECE
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfAsst.prof M.Gokilavani
 
Configuration of IoT devices - Systems managament
Configuration of IoT devices - Systems managamentConfiguration of IoT devices - Systems managament
Configuration of IoT devices - Systems managamentBharaniDharan195623
 
Energy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxEnergy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxsiddharthjain2303
 
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...Erbil Polytechnic University
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...121011101441
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfgUnit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfgsaravananr517913
 

Recently uploaded (20)

Engineering Drawing section of solid
Engineering Drawing     section of solidEngineering Drawing     section of solid
Engineering Drawing section of solid
 
Crystal Structure analysis and detailed information pptx
Crystal Structure analysis and detailed information pptxCrystal Structure analysis and detailed information pptx
Crystal Structure analysis and detailed information pptx
 
Transport layer issues and challenges - Guide
Transport layer issues and challenges - GuideTransport layer issues and challenges - Guide
Transport layer issues and challenges - Guide
 
POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
Katarzyna Lipka-Sidor - BIM School Course
Katarzyna Lipka-Sidor - BIM School CourseKatarzyna Lipka-Sidor - BIM School Course
Katarzyna Lipka-Sidor - BIM School Course
 
Crushers to screens in aggregate production
Crushers to screens in aggregate productionCrushers to screens in aggregate production
Crushers to screens in aggregate production
 
National Level Hackathon Participation Certificate.pdf
National Level Hackathon Participation Certificate.pdfNational Level Hackathon Participation Certificate.pdf
National Level Hackathon Participation Certificate.pdf
 
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTIONTHE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
 
"Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ..."Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ...
 
Research Methodology for Engineering pdf
Research Methodology for Engineering pdfResearch Methodology for Engineering pdf
Research Methodology for Engineering pdf
 
Internet of things -Arshdeep Bahga .pptx
Internet of things -Arshdeep Bahga .pptxInternet of things -Arshdeep Bahga .pptx
Internet of things -Arshdeep Bahga .pptx
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
 
Configuration of IoT devices - Systems managament
Configuration of IoT devices - Systems managamentConfiguration of IoT devices - Systems managament
Configuration of IoT devices - Systems managament
 
Energy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxEnergy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptx
 
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfgUnit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
 

Let us make clear the aws directconnect

  • 1. Copyright © 2016 Bit-isle Equinix Inc. All Rights Reserved Let us make clear the [aws directconnect ~] ! 2016-07-18 16:10-16:20 @AWS CLI Conference 2016 Bit-isle Equinix Inc. IT Infrastructure Engineering Dept. Tomoaki Hira
  • 2. Copyright © 2016 Bit-isle Equinix Inc. All Rights Reserved Information These slides will be uploaded to slideshare. The json files in the slides have shown in Qiita. ‣ http://qiita.com/rfhira/items/52b402f48e86cf59fe88 2
  • 3. Copyright © 2016 Bit-isle Equinix Inc. All Rights Reserved About us 3
  • 4. Copyright © 2016 Bit-isle Equinix Inc. All Rights Reserved The company profile of Bit-isle Equinix We were domestic Internet Datacenter Provider. Equinix was acquired us in last year. Equinix obtained five IBXs by acquisition. Bit-isle Equinix provides managed AWS direct connect service during two years. 4
  • 5. Copyright © 2016 Bit-isle Equinix Inc. All Rights Reserved Let us make clear the [aws directconnect ~] ! 5
  • 6. Copyright © 2016 Bit-isle Equinix Inc. All Rights Reserved Tables of Contents 0: Components of AWS directconnect [private connection] 1: The scenario of this LT 2: See what I can build 3: Conclusion 6
  • 7. Copyright © 2016 Bit-isle Equinix Inc. All Rights Reserved Connection 0: Components of AWS directconnect 7 corporate data center virtual private cloud Account: #B virtual private cloud Account: #C Vlan 10 169.254.0.0/30 Vlan 20 169.254.0.4/30 Vlan 30 169.254.0.8/30 Virtual Gateway Virtual Gateway Direct connect Account: #A Up to 4094 vlans? Virtual Interface Confirming the virtual interface Datacenter Network The account of user dept.: #B, #C The account of admin dept.: #A BGP Router *Customer router
  • 8. Copyright © 2016 Bit-isle Equinix Inc. All Rights Reserved 0: Components of AWS directconnect These are commands the slides covered. ‣ describe-connections [admin dept.] ‣ describe-virtual-interfaces [user dept.] ‣ allocate-private-virtual-interface [admin dept.] ‣ confirm-private-virtual-interface [user dept.] ‣ delete-virtual-interface [user dept.] 8
  • 9. Copyright © 2016 Bit-isle Equinix Inc. All Rights Reserved VPC Subnet 172.29.0.0/20 Connection 1: The scenario of this LT 9 corporate data center virtual private cloud Account: #B Virtual Gateway Direct connect Account: #A Up to 4094 vlans? Datacenter Network 172.30.100.0/24 The account of user dept.: #B The account of admin dept.: #A [1] We have a connection already between the DC to AWS(Account #A) [2] We have already set up the BGP router [4] We will execute a command “confirm-virtual- interface”(Account #B) [5] We will set up some configuration of EC2/VPC. (eg. Security Group / Route Table) Vlan 511 169.254.15.212/30 [3] We will execute a command “allocate-virtual- interface”(Account #A)
  • 10. Copyright © 2016 Bit-isle Equinix Inc. All Rights Reserved See what I can build 10
  • 11. Copyright © 2016 Bit-isle Equinix Inc. All Rights Reserved 2-0: Check our environment [user dept.] Input command # aws ec2 describe-vpcs # aws ec2 describe-subnets # aws ec2 describe-vpn-gateways # aws ec2 describe-route-tables 11
  • 12. Copyright © 2016 Bit-isle Equinix Inc. All Rights Reserved 2-0: Check our environment [user dept.] 12  Response The response of vpcs, subnets, and vpn-gateways is omitted. Following is a response of a part of “aws ec2 describe-route-tables”. { "Associations": [ { "RouteTableAssociationId": "rtbassoc-c7c749a3", "Main": true, "RouteTableId": "rtb-f3629e97" } ], "RouteTableId": "rtb-f3629e97", "VpcId": "vpc-07f8f462", "PropagatingVgws": [], "Tags": [], "Routes": [ { "GatewayId": "local", "DestinationCidrBlock": "172.29.0.0/16", "State": "active", "Origin": "CreateRouteTable" } ] } Important attributes
  • 13. Copyright © 2016 Bit-isle Equinix Inc. All Rights Reserved 2-1: Check our connections [admin dept.] Input command # aws directconnect describe-connections 13 Response { "ownerAccount": "1790********", "connectionId": "dxcon-fg0z****", "connectionState": "available", "bandwidth": "10Gbps", "location": "EqTY2", "connectionName": "DX2BACKUP", "region": "ap-northeast-1" }
  • 14. Copyright © 2016 Bit-isle Equinix Inc. All Rights Reserved 2-2: BGP Configuration 14  Link network : 169.254.15.212/30  Vlan ID : 511  Customer router IP address : 169.254.15.213/30  Amazon router IP address : 169.254.15.214/30  ASNumber of the customer : 65000  BGP TCP MD5 Auth Key : fr3gUCLDLS6MQsVLVBw9zgdt
  • 15. Copyright © 2016 Bit-isle Equinix Inc. All Rights Reserved 2-3: Allocate the virtual interface Input command # CONNECTION='dxcon-fg0z****' # VIFNAME='NWG-HIRA-BK' # ACCOUNTID='5651********' # VLANID='511' # ROUTERIP='169.254.15.213/30' # AMAZONIP='169.254.15.214/30' # BGPASN='65000' # BGPMD5='fr3gUCLDLS6MQsVLVBw9zgdt‘ # aws directconnect allocate-private-virtual-interface --connection-id $CONNECTION --owner-account $ACCOUNTID --new-private-virtual-interface- allocation virtualInterfaceName=$VIFNAME,vlan=$VLANID,asn=$BGPASN,authKey=$BG PMD5,amazonAddress=$AMAZONIP,customerAddress=$ROUTERIP 15 Account ID of the User Dept
  • 16. Copyright © 2016 Bit-isle Equinix Inc. All Rights Reserved 2-3: Allocate the virtual interface Response { "virtualInterfaceState": "confirming", "asn": 65000, "vlan": 511, "customerAddress": "169.254.15.213/30", "ownerAccount": "5651********", "connectionId": "dxcon-fg0z****", "virtualInterfaceId": "dxvif-********", "authKey": "fr3gUCLDLS6MQsVLVBw9zgdt", "routeFilterPrefixes": [], "location": "EqTY2", "customerRouterConfig": "<?xml version="1.0" encoding="UTF-8…>” } ※I removed most part of the customerRouterConfig because it is too long 16 The status will be confirming
  • 17. Copyright © 2016 Bit-isle Equinix Inc. All Rights Reserved 2-4: Confirm the virtual interface Input command # VGWID=`aws ec2 describe-vpn-gateways | jq .VpnGateways[0].VpnGatewayId | tr -d '"'` # VIFID=`aws directconnect describe-virtual-interfaces | jq .virtualInterfaces[0].virtualInterfaceId | tr -d '"'` # cat <<ETX VIFID=$VIFID VGWID=$VGWID ETX # aws directconnect confirm-private-virtual-interface --virtual-interface-id $VIFID --virtual-gateway-id $VGWID 17
  • 18. Copyright © 2016 Bit-isle Equinix Inc. All Rights Reserved 2-4: Confirm the virtual interface Response and a part of confirming { "virtualInterfaceState": "pending" } (This process needs few minutes) # aws directconnect describe-virtual-interfaces { "virtualInterfaces": [ { "virtualInterfaceState": "available", … 18 virtualInterfaceState will be changed automatically.
  • 19. Copyright © 2016 Bit-isle Equinix Inc. All Rights Reserved 2-5: Some configuration for VPC [Security Group] Input command # aws ec2 describe-security-groups | jq .SecurityGroups[2].IpPermissions[1] Response and a part of confirming { "IpProtocol": "-1", "IpRanges": [ { "CidrIp": "172.30.100.0/24" } ], "UserIdGroupPairs": [], "PrefixListIds": [] } 19
  • 20. Copyright © 2016 Bit-isle Equinix Inc. All Rights Reserved 2-5: Some configuration for VPC [vgw Route Propagation]  Input command # aws ec2 enable-vgw-route-propagation --route-table-id rtb-4998**** --gateway-id $VGWID  A part of confirming "PropagatingVgws": [ { "GatewayId": "vgw-abbd****" } ], "Routes": [ … { "GatewayId": "vgw-abbd0baa", "DestinationCidrBlock": "172.30.100.0/24", "State": "active", "Origin": "EnableVgwRoutePropagation" } ] 20 If you want to use all of the route from BGP router, the feature “vgw-route-propagation” can be used. From vgw To RouteTable
  • 21. Copyright © 2016 Bit-isle Equinix Inc. All Rights Reserved 2-6: Delete the virtual interface Input command # VIFID=`aws directconnect describe-virtual-interfaces | jq .virtualInterfaces[0].virtualInterfaceId | tr -d '"'` # cat <<ETX VIFID: $VIFID ETX #aws directconnect delete-virtual-interface --virtual-interface-id $VIFID Response and a part of confirming { "virtualInterfaceState": "deleting" } 21 virtualInterfaceState will be changed automatically.
  • 22. Copyright © 2016 Bit-isle Equinix Inc. All Rights Reserved VPC Subnet 172.29.0.0/20 Connection 4: Conclusion 22 corporate data center virtual private cloud Account: #B Virtual Gateway Direct connect Account: #A Up to 4094 vlans? Datacenter Network 172.30.100.0/24 The account of user dept.: #B The account of admin dept.: #A [1] We have a connection already between the DC to AWS(Account #A) [2] We have already set up the BGP router [4] We have executed a command “confirm-virtual- interface”(Account #B) [5] We have set up some configuration of EC2/VPC. (eg. Security Group / Route Table) Vlan 511 169.254.15.212/30 [3] We have execute a command “allocate-virtual- interface”(Account #A)
  • 23. Copyright © 2016 Bit-isle Equinix Inc. All Rights Reserved ビットアイル・エクイニクス株式会社 TEL 03-5805-8154 FAX 03-3474-5538 URL http://www.bit-isle.jp/ 23