Mastering AWS Networking: A Practical Guide to VPCs and Cloud Connectivity

sidathasiri1 61 views 24 slides Oct 09, 2024
Slide 1
Slide 1 of 24
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24

About This Presentation

This presentation covers fundamental concepts of networking in AWS, including an overview of key networking components, how to create and configure a Virtual Private Cloud (VPC), and explore essential AWS features like subnets, route tables, internet gateways, and security groups. Designed for begin...


Slide Content

Networking on AWS with VPC
Sidath Munasinghe

Networking Basics

Networking Basics
➔Private vs Public Networks
➔Private IP ranges:
◆10.0.0.0 to 10.255.255.255
◆172.16.0.0 to 172.31.255.255
◆192.168.0.0 to 192.168.255.255

NAT (Network Address Translation)
➔Allows devices within the private network to connect to the internet

Subnets/ Subnetworks
➔ Smaller network segment within a larger network
➔ Used to divide networks for organizational or security purposes

CIDR
➔IP address allocation method
➔Can be used to define IP ranges easily
➔0.0.0.0/0: The Default Route

AWS VPC

➔An AWS service to create your networks in AWS Cloud
➔Use reliable AWS infrastructure to build your network
➔Features
◆Basic network capabilities (Networks/Subnets etc.)
◆Traffic monitoring
◆VPN connections
◆Firewalls / Access control
◆VPC peering
◆High performance integration with other AWS services via AWS internal network

AWS VPC (Virtual Private Cloud)

Creating a VPC - Components
➔VPC
➔Subnets
➔NAT Gateway : Allows resources in the private subnet to access internet
➔Egress-Only Internet Gateway : NAT Gateway functionality for IPv6
➔Internet Gateway : Internet can reach your resources and vice versa
➔Route table : Define the routing rules
➔Security Group : Access control

VPC Overview

DEMO

Creating a VPC - Steps
1.Create VPC with CIDR allocation
2.Create subnets with proper CIDR allocation
3.Create internet gateway and attach it to the VPC
4.Create route table for public subnet and associate it
5.Create NAT gateway and attach Elastic IP
6.Create route table for private subnet

Using the VPC

Other Features

Security & Access Control
➔NACL (Network Access Control Lists)
➔Security Groups

NAT Gateway vs NAT Instance

VPC Peering
➔Networking connection between two VPCs that allows them to communicate with each other as if
they were within the same network
➔Supports,
◆ cross-region peering with extra cost for data transfer
◆ across multiple AWS accounts
➔Transitive Peering Is Not Supported
➔Provides low latency since connected by internal AWS network
➔The VPCs involved in peering must have non-overlapping CIDR blocks

VPC Endpoints
➔Enable to create private connections between your Virtual Private Cloud (VPC) and supported AWS services
➔Benefits
◆ Extra security
◆ Low latency
◆ No Internet/NAT Gateway required
➔Types
◆ Interface Endpoints
●Support for wide range of services
●Works by creating an ENI
◆ Gateway Endpoint
●Support only for S3 & DynamoDB
●Works by updating route tables
●Less costly

VPN Connections
➔Virtual Private Network (VPN) is a secure, encrypted connection that allows users to access a private
network over a public network like the Internet
➔Types
◆ Site-to-site VPN
◆ Point to site/Remote Access VPN
➔Need to configure,
◆ Virtual Private Gateway within VPC
◆ Customer Gateway at on premise network

Direct Connect & Direct Connect Gateway
➔Direct Connect provides a dedicated network connection (fiber) from your on-premises data center
to AWS
◆ more consistent bandwidth
◆ lower latency
◆ enhanced security
➔Direct Connect Gateway allows you to connect a single Direct Connect connection to multiple AWS
VPCs across different AWS regions

Transit Gateway
➔AWS Transit Gateway enables you to connect multiple VPCs, on-premises networks, and remote
offices together through a single gateway
➔Centralized Hub for Connectivity
➔Highly scalable

Q & A

Thanks!