Cody is located 55 miles or about an hour's drive from Yellowstone's entrance on the park's east side.