Step 1: Find the planet's radius from its mass and density.
\( M' = 8M \), \( \rho' = 27\rho \). Since \( M = \frac{4}{3}\pi R^3\rho \), \( 8M = \frac{4}{3}\pi R'^3(27\rho) \Rightarrow R'^3 = \frac{8R^3}{27} \Rightarrow R' = \frac{2R}{3} \).
Step 2: Calculate surface gravity ratio.
\[ \frac{g'}{g} = \frac{M'}{M}\cdot\frac{R^2}{R'^2} = 8\cdot\frac{R^2}{(2R/3)^2} = 8\cdot\frac{9}{4} = 18 \] \[ \boxed{g' = 18g} \]