If the company I work at was forced to leave AWS and put all of our engineering teams to work on this, maybe we would finish it in 6 months, being very optimistic.
If it were forced to do this immediately, it would shut down.
Not everything is a simple web server that fits in a VPS. Some systems have thousands of moving parts, and some of those parts are proprietary services that only have one provider.