From the EC2 instance launching page --> right click on the instance --> Networking -->Change Security Groups.
Assign or un assign security groups by checkbox &Click on Assign Security Groups.
From the EC2 instance launching page --> right click on the instance --> Networking -->Change Security Groups.
1. 1. Login to AWS account.
N 2.Navigate to Services à under compute section à EC2à running instance --> security groups(as highlighted below.