Network interface
Elastic Network Interface – AWS
- EC2 instances in AWS connect to subnet using elastic network interface. eni gets a private ip from subnet cidr range.
- public ip if requested will be allocated from a pool of available ips and once we stop the instance, the public ip will be released where as private ip sticks with ec2 i.e. eni
-
If we want the same public ip post start, we need to create elastic ip address
-
We have created an ec2 instance without public ip address
- Now lets try to view the network interface


- Now lets add one more network interface and attach to ec2


- public ip is also attached to network interface. Public ip address is called as Elastic ip

Network Inteface Card NIC – Azure
- overview

- Refer to class room video for screen shots
- We have create a vnet and vm in it

-
Lets create a public ip address, a network interface and attach network interface to vm.
- Azure subnets available ip addresses Refer Here
2^n - 5
- AWS subnets available ip addresses Refer Here
2^n - 5
Exercise
- What is the smallest network we can create in AWS and Azure
- We have create a network in both aws and azure with cidr range 192.168.0.0/24 and inside that a subnet of cidr 192.168.0.0/24. now i need to expand this network by creating one more subnet with cidr range 192.168.10.0/24 is it possible? and how ?
