Forums

Migrate from PA to AWS

In the concluding part of a PythnAnywhere blog post ("PythonAnywhere vs Heroku") https://blog.pythonanywhere.com/65/

The same could be said for PythonAnywhere but since we are more similar to a configured VPS it would be easier to migrate to a pure VPS provider like AWS or Rackspace.

Thanks in advance!

I would like to know what "it would be easier to migrate to a pure VPS provider like AWS." means and how that is achieved (in general terms).

I think what we were saying in that post is that your code on PythonAnywhere has access to files (common between all website worker processes) and to libraries in the same way as you would have if you were to rent a VPS from Amazon or Rackspace (or, these days, Digital Ocean). So you can structure your code in such a way that it depends on normal things like that, and if you ever move to a VPS you won't have to change much -- you'll just have to configure your own web server and WSGI process manager, eg. nginx and uWSGI or Apache and mod_wsgi.

Heroku, because they use a different virtualisation model to the one we use, require you to structure your site in a different way, where you can't use the filesystem so easily (because it's not shared between website worker processes). So it would be harder to switch.

Does that make more sense?

Thanks, Giles!

It's clear now.