SQL AWS Connection Error

I have added all the egress IP’s into an inbound security group for my EC2 instance. The connection still does not work. Could someone please put out a tutorial for this?