Yes, the two equations are equivalent, which means essentially that they are both saying the same thing. Both have the same value of x as their solution.
In the first equation, 3x + 6 = 27, x + 6 represents the exponent on 3 that gives you 27. That means that x + 6 = 3, or equivalently, that x = -3.
In the second equation, log3 27 = x + 6, the left side simplifies to 3, giving you 3 = x + 6, or equivalently, x = -3.
Every time you have an exponential equation, there is an equivalent log equation that has the same solution (as long as the base is positive and not equal to 1). The opposite is also true; namely that every log equation has an exponential equation counterpart.