Home  >  Q&A  >  body text

python2.7 - 如何把python代码放到某个服务器上运行?阿里云,新浪云?有免费的吗?

如何把python代码放到某个服务器上运行?阿里云,新浪云?有免费的吗?
代码有用到redis数据库

PHP中文网PHP中文网2741 days ago450

reply all(8)I'll reply

  • 黄舟

    黄舟2017-04-18 09:29:51

    If the poster is a student, you can apply for student certification from Alibaba Cloud or Tencent Cloud. Tencent Cloud student certification costs one yuan per month, domain name costs one yuan per year, and Alibaba costs 9.9 yuan per year. If you are not a student, you can apply to try out Amazon cloud services. , one year free period. As for redis, you can build it yourself on a cloud server, or you can buy it, but the cost is higher

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-04-18 09:29:51

    Amazon’s aws is free for one year.

    After you get the server, choose a Linux operating system, then install the python and redis environments, and finally upload your python code to the server, configure the environment, and you can run it.

    reply
    0
  • 阿神

    阿神2017-04-18 09:29:51

    PaaS platform uses SVN or GIT to upload code. Please refer to the product documentation for details.

    Redis should be paid in China. For domestic PaaS platforms, BAE and SAE are recommended. The lowest version of BAE is very cheap, and SAE comes with free beans.

    reply
    0
  • ringa_lee

    ringa_lee2017-04-18 09:29:51

    Heroku
    has free PostgreSQL
    CI and more

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-04-18 09:29:51

    Putting the Python code to run on the server actually means putting the code on a machine that has already installed Python and some other components used.
    If you want to choose a public cloud, Amazon's AWS is actually relatively good, but it seems that AWS China is only open to enterprise-level users now. There are many processes for personal application, including various phone calls, and you can apply for the United States. Personally, I recommend using Alibaba Cloud or UCloud. If you are unwilling to set up an environment manually, you can directly purchase N-in-one images including python, redis, mysql, nginx, etc. in the cloud market (it is said to be purchased, but in fact many are free, but You need to pay to create an instance). Alibaba Cloud previously had a 1 yuan trial for half a year, and there were other account recommendation activities, but I don’t know if they are available now. If it all costs money, I thought the tariff would be relatively lower when I used UCloud for the first time.
    Hope it helps you :)

    reply
    0
  • PHP中文网

    PHP中文网2017-04-18 09:29:51

    In fact, you can try to deploy it with docker. Several domestic sites seem to have free resources.

    reply
    0
  • 天蓬老师

    天蓬老师2017-04-18 09:29:51

    openshift

    reply
    0
  • 天蓬老师

    天蓬老师2017-04-18 09:29:51

    There’s quite a lot of useful stuff

    reply
    0
  • Cancelreply