The culture series by Iain M Banks comes to mind. An AI powered interstellar superpower libertarian paradise civilization goes to war with religious zealot aliens.
Discussion
The Moon Is A Harsh Mistress by Heinlein is really great. Lunar colonists start a rebellion to win independence from their Earthly masters.
In this book the moon is a libertarian paradise peopled by blue collar workers in a hostile environment.