Canales scored from close range after striker Cristian Tello stole a ball on the left side and cleared two defenders before making a low cross to the Real Madrid playmaker near the penalty spot in the 67th. Vazquez sealed victory in a breakaway in the 85th, beating a defender and scoring easily from in front of the goal.
Spain struggled in the first 30 minutes but slowly picked up the pace to dominate the match at the Palogrande stadium. It improved even more when Canales replaced Daniel Pacheco in the 56th, giving the Spaniards more offensive power.
Canales easily scored after Tello took advantage of a defensive mistake by Ecuador and set up the opening goal. Canales then fed Vazquez with a nice through ball for the second goal, and the Espanyol striker didn't have problems with only the goalkeeper to beat inside the penalty box.
One of the top title favorites, Spain had opened with a 4-1 win over Costa Rica. Ecuador had drawn Australia 1-1.
It was Ecuador which threatened most early in Wednesday's match, while the Spaniards relied mostly on counterattacks.
Ecuador had one of the match's best chances in the 28th when Mario Pineida's dangerous cross from the right wing just missed a couple of strikers in front of the net. Midfielder Fernando Gaibor finished with the ball inside the area, but his shot was blocked.
Spain had a goal disallowed for offside in the 34th, and in the 40th Tello had the team's first significant chance by clearing a defender inside the area and firing a low cross shot that just missed.
It was striker Rodri who came close for Spain in the 50th, sending a hard shot that prompted a difficult save by Ecuador goalkeeper John Jaramillo at the near post. Jaramillo made another save after Isco's long-range shot just three minutes later.
Ecuador replied with a close-range by striker Marlon de Jesus in the 64th, forcing goalkeeper to Fernando Pacheco to make a difficult save.
It was Ecuador's last dangerous chance, though, as Spain broke the deadlock soon after.