AWS EC2 Contd..
- When we create an EC2 instance,
- we select AMI and from contents of AMI a disk called as EBS gets created
- We select subnet i.e we select AZ and network interface will be created in the same subnet and gets attached to ec2 instance
- Around network interface we selct security group where we describe what traffic is allowed to access ec2 instance

- Lets create an ec2 instance







- to connect to linux instance
ssh -i <path to private key> username@ipaddress - Command in this case is
ssh -i awslearning.pem ubuntu@3.91.185.15

- Hard disk for ec2 is called as EBS Volume

- Network interface


- We have create a linux vm
- Lets create a Windows 2019 Server
- To connect to windows system using remote desktop
mstsc -v <ip address> - For windows instances we need to generate password from pem file.
