predictionio-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mars Hall <>
Subject Re: Running predictionIO on a web server other than localhost
Date Tue, 04 Oct 2016 15:28:22 GMT
Hi Jenna,

Today at Dreamforce (the Salesforce conference) we're presenting this PredictionIO Heroku
buildpack in a developer session called "Exploring Machine Learning on Heroku": <>

The README is a tailored guide to getting an attribute-based classifier running. To use the
buildpack for engines of your own choosing, follow the more generalized (and more complex)
CUSTOM docs: <>

If you decide to try it out, please post Github issues with questions, problems, or feedback!

*Mars Hall
Customer Facing Architect
Salesforce App Cloud / Heroku
San Francisco, California

On Tue, Oct 4, 2016 at 05:34 Sunny < <>>
Hello Jenna,

Deployment in local is fine if you are running lightweight jobs and using it just for hands-on
and learning purpose, no need to bear extra cost of the additional computing power of cloud
In case you are into heavy weight research work or running a production system and wants it
to be accessible from around the globe, private or hybrid or using available cloud services
like AWS is must.

-- Tapo

On Tue, 4 Oct 2016 at 06:23 Jenna Kwon < <>>
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 < <>>
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.


On Sun, Oct 2, 2016 at 3:07 PM, Jenna Kwon < <>>

I am a beginner so please excuse me if my question is rudimentary.
I've followed a demo for Tapster Comics Recommendation (
<>) 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 (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 <>
(541)908-2963 <tel:%28541%29908-2963>

Jenna Kwon
B.S. Computer Science '17| Georgia Institute of Technology 
Denning Technology and Management Scholar 
GT Tennis Club | GT Trailblazers <>

View raw message