Boundary Controller and Boundary Worker on AWS redhat linux VM

Hi Guys,
I have deployed AWS redhat linux vm each for boundary conroller and worker. Boundary controller started successfully however not able to browse web ui within AWS workspace and also worker is not able to connect to the controller. I am using AWS private ip only. both controller and worker machines are in the same VPC and subnet.
it looks I need to configure security group for allowing connections. Does someone know what rules need to confiure to allow worker to connect to the controller.