Seeing pictures of these small communities really was impressed. Living in one of these houses should be incredibly beautiful (think what they should be getting up every day with a shocking landscape) and frightening (imagine a night of storm and high winds on the top floor of one of those houses).
This photograph is of Bonifacio, France. This city is located on precarious cliffs through the years was being eroded by the Mediterranean Sea (Google Maps).
In Spain also found Castellfullit of the Rock, a municipality in the district of La Garrotxa, in the province of Gerona. Without a doubt my favorite.