Silo (originally titled Wool) by Hugh Howey. In a ruined and hostile landscape, in a future few have been unlucky enough to survive, a community exists in a giant underground silo. If you're a fan of the TV series, the TV series covers about half of this novel.
eBay