Cloud Networking
Cloud Networking
• IP addresses
• Subnets / VLSM
• Basic Routing
• Default Gateways
Software Defined Networking (SDN)
• SDN is a network management architecture that
enables, dynamic, programmable network
configuration in order to improve network
performance and monitoring.
• This architecture decouples the network control
and forwarding functions enabling the network
control to become directly programmable and the
underlying infrastructure to be abstracted for
applications and network services
Network Function Virtualization (NFV)
Auto scaling
• Speed
Monitoring • Flexibility
• Efficiency
Deployment
Security • DevOps
• CI/CD
SDN vs. NFV
Similarities Differences
• Both use network abstraction • SDN separates Network Control
• Both depend heavily on Functions from Forwarding
virtualization Functions, while NFV abstracts
all Network Functions from
underlying hardware.
• SDN defines the big picture
aspect of the infrastructure,
while NFV deliver a wide range
of specific functionalities.
Virtual Networks
Cloud networking
service which provides Logically isolated from Has one or more IP
networking functions other virtual networks. ranges.
to cloud resources.
Implementations
Can peer with other • AWS VPC (Virtual Private
Has one or more
virtual networks if IP Cloud)
subnets.
ranges do not overlap. • Azure Virtual Network
Subnets
Segments virtual network IP range even further
Enables a compute
A logical networking
instance to
component which Attaches to a compute
communicate with other
represents the network instance.
compute instances
interface card (NIC).
and/or internet.
Implementations
Can attach more than
Can have one public IP • AWS – Elastic Network
one virtual network Interface (ENI)
and one or more private
interfaces to the same • Azure – Network Interface
Ips
compute instance. Card (NIC)
Access Controlling
Implements a simple firewall functionality to control inbound and outbound traffic
to a subnet / virtual network interface.
• Rule number
• Protocol
• Source / Destination Port Ranges
• Source / Destination IP Ranges
• Allow / Deny Action
Stateless Rules
• Need to specify security rules for the request as well as the response.
Implementations
• AWS SG – Stateful
• AWS NACL – Stateless
• Azure NSG - Stateful
Network Gateway Services
Virtual Network Functions associated with providing
connectivity between cloud resources and outside
networks / internet.
Internet Gateway
NAT Gateway
VPN Gateway
Network Transit Gateway
Internet Gateway
Provides connectivity
between internet and Scales horizontally No bandwidth constraints
virtual network
Implementations
NAT Gateway should • AWS NAT Instance
be deployed in a public • AWS NAT Gateway
subnet. • Azure Virtual Network NAT
AWS Internet Gateway & NAT Gateway
VPN Gateway
• Site-to-site VPN – VPN connectivity between virtual network and on-premises network, or
between two virtual networks
• Point-to-site VPN – VPN connectivity between virtual network and a client PC with a special
client VPN software
Implementations
• AWS Transit Gateway
• Azure Virtual WAN
Hub and Spoke Architecture
AWS Transit Gateway
AWS Transit Gateway
Azure Virtual WAN
Network Peering
Allows to connect and communicate between two virtual networks.
Each virtual network can be peered to more than one virtual networks.
The bastion host must be placed in a public subnet and provided with
a public IP.
Azure Bastion Host
Hybrid Connectivity
• Provide access to PaaS services of the CSP from the virtual network without
going through the public internet.
Private Endpoints
• Provide secure and direct connectivity to Azure PaaS services over an optimized
route over the Azure backbone network.
• Traffic from the virtual network will still hit the public endpoint of the PaaS
service.
Azure Private Link
Azure Private Link
AWS Private Link
Azure Service Endpoint
Network Flow Logs
Use cases
Azure Flow Logs are captured • Troubleshooting connectivity issues
Flow log data can be stored in • Intrusion/anomaly detection
from NSGs, AWS Flow Logs
a separate object storage • Archival for
can be created for VPCs,
(AWS S3 / Azure Blobs) compliance/regulatory/legal purposes
subnets and/or ENIs.