简体   繁体   中英

Deploy python web server on AWS Elastic Beanstalk

I'm deploying an python web server on AWS now and I have a some question about it. I'm using websocket to communicate between back end and front end.

  1. Do I have to use framework like django or flask?
  2. If not, where should I put the index.html file? in other word, after deploying, how do AWS know the default page of my application?

Thanks in advance.

AWS doesn't "know" anything about your content. The webserver that you install will be configured to point to the "root" directory in which index.html (or something equivalent) should be.

Since it depends on which webserver (django, flask, Jinja etc) you install - you should lookup its documentation!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM