Buy this if you can get more than 100MBps (it has a gigabit port) https://www.amazon.com/gp/product/B079FJKZV8/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1
If you can't get over 100Mbps then you can save some money and get this (it only has 10/100 port) https://www.amazon.com/GL-iNET-GL-MT300N-V2-Repeater-300Mbps-Performance/dp/B073TSK26W/ref=sr_1_1
Or if you have a spare Mac Mini, then you can just use that (connect M2000 to Mac Mini USB port, Unifi WAN to Mac Mini Ethernet port and choose "system preferences" - "sharing" - "internet sharing" - share connection from: "M2000" to computers using "Ethernet"). Probably can do the same with a Raspberry Pi or small Windows machine but I don't know if you'd need extra software then or not.
I first used a Mac Mini and now use GL-B1300, neither had a problem keeping the M2000 charged (I average around 3-4TB a month with 10TB+ on some months).
This all with a 16ft USB-A extender cable + 3 ft USB-C to USB-A cable (probably the max limit before you'd need a cable with a separate power supply).