Apache Kafka
https://jaceklaskowski.gitbooks.io/apache-kafka/kafka-brokers.html
A high throughput distributed messaging system
10.0.0.0/16. This determines how many IP addresses you can assign within the VPC. Each server you create inside the VPC will need an IP address so this address space defines the limit of how many resources you can have within the network. The 10.0.0.0/16 address space can use the addresses from 10.0.0.0 to 10.0.255.255, which is 65,536 IP addresses.+---------------+
| VPC | The Internet
| |
| |
| 10.0.0.0/16 |
| |
| |
+---------------+
10.0.1.0/24 which would allow for IPs from 10.0.1.0 to 10.0.1.255 giving 256 possible IP addresses.+---------------------------+
| VPC |
| |
+------------+ +------------+
|| Subnet 1 | | Subnet 2 ||
||10.0.1.0/24| |10.0.2.0/24||
|| | | ||
|------------+ +------------|
+---------------------------+
+----------+ +----------+
|us-ea)t-1a| |us-east-1b|
|_____(____| |__________|
| ) | | |
| ( &() | | ✔ |
| ) () &( | | 8-) |
+----------+ +----------+
0.0.0.0/0 - all IP addresses - need to go to there. Route table
+-------------------+
| 10.0.0.0/8: local | Requests within the VPC go over local connections.
+--+ 0.0.0.0/0: ig-123 | Requests to any other IPs go via the Internet Gateway.
| | |
| +-------------------+
|
|
+-----+-------+ +-------------+
| Subnet 1 | | Subnet 2 |
| 10.0.1.0/24 | | 10.0.2.0/24 |
| | | |
| | 10.0.2.9 | |
| +--------->| |
| | | |
+-------+-----+ +-------------+
| 8.8.4.4
|
| +--------+
+-->| ig-123 |
| +-----> The Internet
+--------+
+---------------------+
| Public Subnet |
| 10.0.1.0/24 |
| |
| +------------+ |
| | +-----------> The Internet
| | nat-123 | |
| | | |
| +-------^----+ |
| | |
+------------|--------+
|
| 8.8.4.4
| Route table
+------------+---------+ +---------------------+
| Private Subnet +----+ 10.0.0.0/16: local |
| 10.0.20.0/24 | | 0.0.0.0/0: nat-123 |
| | +---------------------+
+----------------------+
+---------------+
| sg-abcde |
| ALLOW TCP 443 |
+----+----------+
|
+----+------+
| i-67890 |
10.0.1.123:22 | | 10.0.1.123:443
------------------>X| <----------------
| |
+-----------+
+-------+
| ig-1 |
| |
vpc-123: 10.0.0.0/16 | | | |
+----------------------+---------+-------+--------+---------------------+
| | | |
| +-----+ | +-----+ | +-----+ |
| | NAT | | | NAT | | | NAT | |
public | | | | | | | | | |
subnets| +-----+ | +-----+ | +-----+ |
| | | |
| | | |
| | | |
| +-------+ +-------+ +-------+
| | rt-1a | | rt-1b | | rt-1c |
| 10.0.1.0/24 | | 10.0.2.0/24 | | 10.0.3.0/24 | |
-------+-----------------------------------------------------------------------+
| 10.0.4.0/24 | rt-2a | 10.0.5.0/24 | rt-2b | 10.0.6.0/24 | rt-2c |
| | | | | | |
| +-------+ +-------+ +-------+
private| | | |
subnets| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
+----------------------+--------------------------+---------------------+
| AZ 1 | AZ 2 | AZ 3 |











A copy from there - TCP Connection States Following is a brief explanation of this handshake. In this context the "client" is ...