rest - Running Python RESTful API on Amazon EC2 -


i have working restful api written in python works in local machine. having serious trouble getting started amazon ec2. have managed create account , managed create instance , , lauch instance well. have connected instance via ssh , passed credentials. have required file (app.py) on ec2. have no idea how run it. if run ssh terminal, still local service.

how make public restful api?

like firewall, have open server's ports. via adding rules security group while you're configuring ec2 instance. add http rule, , allow ip addresses (0.0.0.0/0) access that. see here: http://docs.aws.amazon.com/awsec2/latest/userguide/using-network-security.html#adding-security-group-rule

you can set ssh, https, , other secure ports here (but don't want accessing ssh!).


Comments

Popular posts from this blog

python - TypeError: start must be a integer -

html - How can i make an element from a bottom stacking context stays in front of another higher stacking context? -

html - href attribute breaking an element -