The cell differentiation process that results in commitment of a cell to become part of the ectoderm.