Please forgive me if this repeats what has already been said. I've taken so long to think about this and type it, that I see that there are pages of fresh posts. But here goes, anyway:
Quite apart from schooling, taxation and the legal system, which others have mentioned, Scotland has a different culture from England or Wales. And different languages. And different traditions. Of course you can learn them - and be welcomed - but it might require a bit of adjustment to begin with. Plus it has very different politics....
Portobello beach is a good half-hour by bus from the city centre; longer from other city districts. There is some street parking but it gets busy. So does the beach. But many people like it: https://www.thebeachguide.co.uk/south-scotland/lothian/portobello.htm
There are other beaches within about an hour or so drive away: https://www.kayak.co.uk/news/beaches-near-edinburgh/
Edinburgh is also:
- one of the five most expensive places in Scotland to buy a house (the others are St Andrews, two outer suburbs of Glasgow - Beardsen and Newton Mearns - and Giffnock (further out, SW of Glasgow)
- horribly over-full of tourists, especially in the festivals (plural) season. The Royal Mile is full of tacky shops selling tourist tat. And dirty and crowded.
- cold in winter, cool for most of the rest of the year. (It's the same latitude approx as Moscow, though of course the climate is moderated by the sea.) According to the Met Office, the mean daily temperature in July/Aug is just over 19 C, and between 7 - 8 C from Dec to Feb. And it's very often windy.
- not all beauty and glamour. There are some rough districts, and a big gap between rich and poor. There is serious poverty and disadvantage. Life expectancy in some districts is falling. https://www.edinburghhsc.scot/the-ijb/jsna/populationanddhealthinequalities/ There are drugs (over 100 drug-related deaths in the city in 2013).
Compared with Glasgow, I find it aloof, uptight and unfriendly. But I know Glasgow much better, so this might be unfair.
It's a fabulous place to visit, but I would not like to live there.
Edinburgh is also, of course, very very beautiful, with a great range of art and music - all kinds- and drama, and world class galleries and museums with activities for children, plus foodie stuff and lots of fancy shops and restaurants, and the summer festivals and a (very busy) Christmas market, and parks and historic buildings and universities with all kinds of opportunities, and a botanic garden and a zoo. So perhaps these may compensate for the above.