DX Flashcards

1
Q

What does private vif do?

A

Is a private virtual interface between customer and aws on a DX connection. Only connects to all private IPs in 1 VPC.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Do private vifs have encryption?

A

No. But you can layer on your own encryption, like https

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Creating private vif

A
  1. Pick the DX
  2. Choose VGW or DX gateway
  3. BGP ASN of on premises
  4. VLAN for this vif
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Maximum number of ip prefixes (cidr blocks) AWS will allow per private vif

A
  1. You can only advertise 100 prefixes via BGP to aws. Vif becomes unfunctional and idle past this limit. Hard limit.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a VLAN in DX?

A

In 1 physical cable, you might want network isolation in it. For example, different departments might want to share the same cable, so they need network isolation and VLAN helps to create virtual interfaces.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is BGP for in DX?

A

DX uses BGP as the default way to advertise what routes each side knows about. BGP also dynamically exchanges route info by default, so even if routes in your systems change, you don’t have to worry about the other party not being able to know about it.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is public VIF for and what is it not for?

A

For accessing public services (SNS, sqs, s3). Not for accessing private services (vpc)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How many regions per public vif?

A

All regions can be accessed with 1 public vif, unlike private that requires 1 per region

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How to decide between public or private vif?

A

If I want to access AWS public zone, then public. If private vpc, then private

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

VPN or MACSec for encrypting DX?

A

VPN is faster to spin up and more available but becomes a bottleneck because of cpu overhead. Side note, a common pattern is to use VPN while DX is getting set up then use VPN as backup to DX

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What’s the point of Gateway DX and whats the alternative if we don’t have Gateway DX?

A

No Gateway then stuck with limitations of public and private vifs.

Gateway DX is for all private vpcs to connect to same device, on prem will have to create private vifs (1 vif per Gateway, yes we can have multiple Gateway) that terminate at Gateway DX. Solves the problem of 1 private vif per region. Catch is, vpcs connected to same Gateway can’t talk to each other - can only communicate from on prem to aws

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How can we use Transit Gateway and DX together?

A

TGW is regional - can do hub and spoke architecture but only for vpcs within the region.
1. Create many regional tgw
2. Connect them using tgw peering
3. Set up DX Gateway to talk to the TGWs. The vif is called a Transit vif

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

A dx gateat can be associated with vpc and private vifs, and tgw and transit vif at the same time

A

No

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

The same business has 2 on prem locations and want to talk using DX Gateway

A

Can’t. Use Transit gateway. Set up 2 Gateways, one for each on prem, then use tgw as a hub. Can’t use the same DXGW for both on prem to connect and talk to each other because DXGW is a free svc and it ends up costing aws money to allow DX for free

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Whats a DX location?

A

A data centre that aws meets you in between for DX.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

DX Link Aggregation Group

A

Aggregating multiple physical connections as one. This increases the bandwidth of 1 connection. Only cables with same speed can be linked, and up to 4 can be linked.

Use case: When the max cable speed provided is not fast enough, just provision multiple cables and link them.