Port-22- SSH: To connect to a Linux EC2 instance remotely.Port 80-HTTP: To access and serve a basic webpage through a web browser.