Generally what he said above is correct, and the battery won't overpower the controller, if that is what you are worried about. (Notes are inline below)
Generally correct--but if it's got a current limit noted on it, it means it *does* have current limiting (regulation) of some form. Whether the 17A is a peak or a continuous limit is unknown, unless the controller label or manufacturer specs / manual / etc state one way or the other.
The wattage rating of the motor is not really relevant to the current draw the system may have. (that's just the amount of power the motor is designed to handle without damage to the motor, assuming that the rating is actually a real tested manufacturer rating, and not a marketing rating. Though the latter is much more common than actual tested capabilities, usually the motors can handle what they are claimed to under typical riding conditions).
The load placed on the motor, and the controller's current limit, will determine that instead.
So a 17A controller, assuming that's the max it can ever draw, will when sufficient load is placed on the motor draw that much current from the battery.