Please enable JavaScript.
Coggle requires JavaScript to display documents.
MIND MAP CHAPTER 3 :VPC IN AWS - Coggle Diagram
MIND MAP CHAPTER 3 :VPC IN AWS
explain public and elastic ip addresses
public ip addresses
It is assigned to your launched instance.
when an instance is terminated the public IP attached to it gets released and further when you relaunch the same instance new IP address is assigned.
elastic ip address
is a static IPv4 address designed for dynamic cloud computing. An Elastic IP address is allocated to your AWS account, and is yours until you release it.
An Elastic IP address is a public IPv4 address, which is reachable from the internet. If your instance does not have a public IPv4 address, you can associate an Elastic IP address with your instance to enable communication with the internet. For example, this allows you to connect to your instance from your local computer.
you can mask the failure of an instance or software by rapidly remapping the address to another instance in your account. Alternatively, you can specify the Elastic IP address in a DNS record for your domain, so that your domain points to your instance.
explain elastic network interfaces in VPC
1)Primary and secondary private ip addresses
PRIMARY
A primary private IPv4 address from the IPv4 address range of your VPC
SECONDARY
Multiple application usage
If your ECS instance hosts multiple applications, you can assign multiple secondary private IP addresses to the corresponding ENIs. This way, each application uses a separate IP address for services, which optimizes the usage of the ECS instance.
When you assign a secondary private IP address to a primary ENI, the instance to which the primary ENI is bound is in the Running or Stopped state.
2) attaching elastic network interface
You can attach a network interface to any of your stopped or running instances, using either the Instances or Network Interfaces pages of the Amazon EC2 console
you can specify an existing network interface or attach an additional network interface when you launch an instance.
If the public IPv4 address on your instance is released, it does not receive a new one if there is more than one network interface attached to the instance
describe CIDR blocks:
1) secondary CIDR blocks
Similar to the primary CIDR block, secondary CIDR blocks are also supported by all the AWS services including Elastic Load Balancing and NAT Gateway.
2) ipv6 CIDR blocks
CIDR notation is a standard syntax for writing IPv6 addresses with a routing prefix. It consists of an IPv6 address, a slash, then a number of bits to measure the routing prefix. 2002::1234:abcd:ffff:c0a8:101/64 is an example of IPv6 CIDR notation.
what is VPC (virtual private cloud in AWS)
-service that lets you launch AWS resources in a logically isolated virtual network that you define. You have complete control over your virtual networking environment, including selection of your own IP address range, creation of subnets, and configuration of route tables and network gateways
-You can use both IPv4 and IPv6 for most resources in your virtual private cloud, helping to ensure secure and easy access to resources and applications.