Altered Carbon (2002) is a novel by Richard Morgan. Set in a future four hundred years from now, on a few exoplanets in a dystopian human-colonised universe, where rich people are able to get replacement bodies to make them almost immortal. Dark, violent, thrilling. If you like cyberpunk and William Gibson, this is the next best thing.