Variable speed motor swap Whisperflo 011523 WFDS-8

I would like to swap out my dual speed with a variable speed pump. It appears to be a 56Y motor. Motor part number is 177457. HP is 2.0/.25 and SF HP is 2.60/.33. 230V 60Hz.

What motor would be a direct swap replacement and do I need a different impeller?

Gasket set too?

What about a controller?

We’d be glad to assist you. The variable speed motor for your Whisperflo pump would be model ECM27SQU.

The gasket kit is GOKIT32. Use GOKIT32SALT for salt water.

The controller is included and is located on top of the motor.