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 services. 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 <[email protected]> wrote: > 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 <[email protected]> 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 <[email protected]> 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 >
