Question: what is the difference between groups and roles in aws?
Answer: AWS Groups are the standard groups which you can consider as collection of several users and a user can belong to multiple groups. A role is a set of permissions that are assigned to an AWS entity, such as an EC2 instance, so they can perform tasks that users would not normally be allowed to do.