Which VCN gateway will you use to connect to an on
A virtual network interface card (VNIC), which attaches to an instance and resides in a subnet to enable a connection to the subnet’s VCN
DRG [Dynamic Routing Gateway]
LPG [Loca Perring Gateway]
Local VCN Peering
RPC [Remote Peering Gateway]
Remote Peering VCN
Private End Point
When to use what
Connection from OnPremise To OCI
Fast Connect vs IPsec VPN
Stateless vs Stateful
Stateless: They remember nothing and check packets that cross the subnet border each way: inbound and outbound. Need to define incoming and outgoing for a port separately
Stateful : They remember previous decisions made for incoming packets. For a port, if incoming allowed then outgoing also allowed
Which VCN gateway can be used to connect to the public OCI services?
2) NAT Gateway: It gives resources without public IP addresses access to the internet without allowing incoming traffic from the internet to that resources. 3) Service Gateway: It allows OCI resources to access public OCI services without the use of the Internet or NAT Gateway Eg: Object Storage.
Which gateway will you use to allow resources from within a VCN to communicate with the internet but prevent any inbound traffic?
You can add a NAT gateway to your VCN to give instances in a private subnet access to the internet. Instances in a private subnet don't have public IP addresses. With the NAT gateway, they can initiate connections to the internet and receive responses, but not receive inbound connections initiated from the internet.
What are two uses cases to use FastConnect when connecting to a VCN from on
Uses for FastConnect.
Private peering: To extend your existing infrastructure into a virtual cloud network (VCN) in Oracle Cloud Infrastructure (for example, to implement a hybrid cloud, or a lift and shift scenario). ... .
Public peering: To access public services in Oracle Cloud Infrastructure without using the internet..
What is internet gateway in OCI?
Internet Gateway: This type of gateway is directly attached to your Virtual Cloud Network (VCN) and lets your compute instances, that reside in a public subnet, to reach the Internet and being reachable from the Internet.