Out of Country EEA Application
You can apply for EEA visa to come to the UK if you are from outside of the EEA and you are a member of the sponsor.
Members include spouse, children (under 21), grandchildren (under 21), your or your spouse’s dependent parents or grandparents.
In Country Application
You can apply for 5 years residence card if you are a member of an EEA national and are in the United Kingdom on another visa e.g. visit visa
In the UK there are different immigration rules for students, spouses or Foreign Office workers and au pairs. The rules also Vary depending on its to whether the individual wants to live in the UK on a temporary or permanent basis.