predictionio-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jenna Kwon <jinkwo...@gmail.com>
Subject Re: Running predictionIO on a web server other than localhost
Date Tue, 04 Oct 2016 00:53:05 GMT
Dear Mr. Szeto,

Thank you so much for your reply. I saw some posts demonstrating deployment
of event server & engine via Heroku. I also saw that there used to be
deployment through AWS. In what case would I want to do that instead of
keeping them local?

Best Regards,
Jenna Kwon

On Mon, Oct 3, 2016 at 5:45 PM, Donald Szeto <donald@apache.org> wrote:

> Hi Jenna,
>
> You probably want to have a reverse proxy in front of your app
> (localhost:3000) so that it is exposed to the Internet via standard ports
> (80 for HTTP or 443 for HTTPS). Your app can communicate to the event
> server and engine over localhost. They don't need to be exposed to the
> Internet. Your app should be using one of PredictionIO SDKs to interact
> with the event server and engine.
>
> Regards,
> Donald
>
> On Sun, Oct 2, 2016 at 3:07 PM, Jenna Kwon <jinkwon06@gmail.com> wrote:
>
>> Hello!
>>
>> I am a beginner so please excuse me if my question is rudimentary.
>> I've followed a demo for Tapster Comics Recommendation (
>> http://predictionio.incubator.apache.org/demo/tapster/) and have a good
>> understanding of deploying the engine, app and event server on localhost.
>>
>> My app ran on localhost:3000, engine ran on localhost:8000, and
>> eventserver ran on localhost:7000.
>>
>> I would like to now deploy these on a web server. The "app" would be a
>> specific website. How would I hook up and deploy eventserver and
>> predictionIO engine to gather information from that specific website?
>>
>> Would it just be a matter of changing environmental variables in
>> pio-env.sh (in predictionIO installation directory) as well as those in
>> app's directory? For example, would I substitute "localhost" with a web
>> server?
>>
>> Thank you!
>>
>> Best Regards,
>> Jenna Kwon
>>
>>
>> --
>> Jenna Kwon
>> B.S. Computer Science '17| Georgia Institute of Technology
>> Denning Technology and Management Scholar
>> GT Tennis Club | GT Trailblazers
>> www.jennakwon.com
>> (541)908-2963
>>
>
>


-- 
Jenna Kwon
B.S. Computer Science '17| Georgia Institute of Technology
Denning Technology and Management Scholar
GT Tennis Club | GT Trailblazers
www.jennakwon.com
(541)908-2963

Mime
View raw message