I quickly solved this issue by changing the security group of my instance to match the security group of my file system.