Befor start - AWS VPC

·

3 min read

In this article i will share my lreaning and summrized infromation of VPC…


BASICS

so lets start with some basic networking thing which very imortant befor learn VPC
1. What mean by PUBLIC and PRIVATE network
2. What is Firewall
3. Protocols [ DHCP,ARP,IP,HTTPS,SSH…]
4. IP Range (CIDR) , Subnet ,Subnet Mask
5. Vireturlization
6. Load Balancer

so first i will give liitle info of all this things..

1. What mean by PUBLIC and PRIVATE network

Public Network :- A public network is accessible from anywhere over the internet. There is no isolation, and anyone can try to access your resources. Because of this, sensitive or secure data should not be exposed directly on a public network.

Example: Internet websites, public APIs, EC2 with public IP

Private Network :- A private network provides isolation from other networks. Resources inside a private network cannot be accessed directly from the internet. It supports multi-level security and controlled access.

Example: Office internal network, AWS VPC private subnets

AWS VPC allows us to create private networks in the cloud.

2. What is Firewall

A firewall is like a security guard for a network. It checks incoming and outgoing traffic based on predefined rules.

  • Allows only permitted traffic

  • Blocks unauthorized access

  • Works both ways (incoming and outgoing)

AWS Example: Security Groups and Network ACLs act as firewalls in AWS VPC.

3. Protocols [ DHCP, ARP, IP, HTTPS, SSH ]

Different protocols have different use cases:

DHCP (Dynamic Host Configuration Protocol) :- Used to automatically assign IP addresses to devices in a network.

ARP (Address Resolution Protocol) :- Used to find the MAC address of a device using its IP address inside a local network.

IP (Internet Protocol) :- Used to identify devices in a network and route data between them.

HTTPS (HyperText Transfer Protocol Secure) :- Used for secure communication between client and server using encryption.

SSH (Secure Shell) :- Used to securely access servers or instances remotely.

4. IP Range (CIDR), Subnet, Subnet Mask

IP Range / CIDR :- CIDR defines a range of IP addresses. It is used to allocate IP addresses efficiently.

Example: 10.0.0.0/16

Subnet :- A subnet is a smaller network created inside a larger network (CIDR range).

Subnet Mask :- Subnet mask defines how many IP addresses are available in a subnet and separates network and host portions.

5. Virtualization

Virtualization is the process of creating virtual resources like servers, networks, or storage from physical hardware.

  • Multiple virtual machines can run on one physical machine

  • Efficient resource usage

  • Easy scaling and management

AWS Example: EC2 instances are virtual machines.

6. Load Balancer

A load balancer distributes incoming traffic across multiple servers.

  • Improves availability

  • Prevents server overload

  • Increases fault tolerance

AWS Example: Application Load Balancer (ALB), Network Load Balancer (NLB)

Here is documet for Basics of networking - https://networkingdevopss.hashnode.space/default-guide/network