[Fiware-lab-help] Getting started with Fi-Ware PaaS

José Ignacio Carretero Guarde jicg at tid.es
Wed Jan 29 16:27:28 CET 2014


Hi,

The port is already configured in your security groups, but there seems
not to be nothing listening there.

El 29/01/14 16:08, HENAR MUÑOZ FRUTOS escribió:
>
> Hi again
>
> You need to open the port 8888 in the VM, so that, to create a rule in
> the security group. I am wondering if you have already done.
>
> Thanks,
>
> Henar
>
> *De:*Matthew Byrne [mailto:matthewpbyrne at gmail.com]
> *Enviado el:* miércoles, 29 de enero de 2014 16:00
> *Para:* HENAR MUÑOZ FRUTOS; fiware-lab-help at lists.fi-ware.eu
> *Asunto:* Re: Getting started with Fi-Ware PaaS
>
> Hi Henar
>
> After following your webinar, I have been able to ssh into an instance
> with the IP address of 130.206.82.68.... I've installed NodeJS and I
> have got it printing back to me on the console. Also, when I try to
> run (node index.js) the following code, I do not get an error and it
> seems to run as expected, but when I make an HTTP request to
> 130.206.82.68:8888 <http://130.206.82.68:8888>, I do not get a
> connection and it is not hitting my router:
>
> /index.js/
>
> var server = require("./server");
>
> var router = require("./router");
>
> server.start(router.route);
>
> exports.route = route;
>
>
> /server.js/
>
> var http = require("http");
>
> var url = require("url");
>
> function start(route) {
>
> function onRequest(request, response) {
>
> var pathname = url.parse(request.url).pathname;
>
> console.log("Request for " + pathname + " received.");
>
> route(pathname);
>
> response.writeHead(200, {"Content-Type": "text/plain"});
>
> response.write("Hello World");
>
> response.end();
>
> }
>
> http.createServer(onRequest).listen(8888);
>
> console.log("Server has started.");
>
> }
>
> exports.start = start;
>
>
> /router.js/
>
> function route(pathname) {
>
> console.log("About to route a request for " + pathname);
>
> }
>
> exports.route = route;
>
> Am I missing some setting in the FiWARE console? I really am stumped.
> Any help is much appreciated.
>
> Matthew
>
> On Wed, Jan 29, 2014 at 10:14 AM, HENAR MUÑOZ FRUTOS <henar at tid.es
> <mailto:henar at tid.es>> wrote:
>
> Hi
>
> You can install whatever software you want on the VMs.
>
> Regards,
>
> Henar
>
> *De:*Matthew Byrne [mailto:matthewpbyrne at gmail.com
> <mailto:matthewpbyrne at gmail.com>]
> *Enviado el:* miércoles, 29 de enero de 2014 13:10
>
>
> *Para:* HENAR MUÑOZ FRUTOS
> *CC:* fiware-lab-help at lists.fi-ware.eu
> <mailto:fiware-lab-help at lists.fi-ware.eu>
> *Asunto:* Re: Getting started with Fi-Ware PaaS
>
> Thanks for getting back to me again, Henar.
>
> 1 - Can I not just install Ruby or Postgres or anything I want once
> I've ssh-ed into my instance? Like this
> <https://www.digitalocean.com/community/articles/how-to-install-ruby-on-rails-on-ubuntu-12-04-lts-precise-pangolin-with-rvm>,
> for example?
> 2. Thanks. This makes sense to me now. I will try to deploy a simple
> NodeJS application in the next few hours.
>
> Thanks again for your help.
>
> On Wed, Jan 29, 2014 at 9:19 AM, HENAR MUÑOZ FRUTOS <henar at tid.es
> <mailto:henar at tid.es>> wrote:
>
> Hi
>
> 1.- Yes you are right. Right now, we don’t support ruby or postgreSQL.
> I will have a look at to check if it is possible to upload them into
> the software catalogue.
>
> 2.- About credentials, when you deploy a VM or a blueprint template,
> you should specify the keypair. You can have a look at the webminar.
> This keypair is used to access to the VM. ssh –i keypair.pem root at IP.
> Also, you will obtain the VMs IPs. For sftp, you can use it. The way
> of introducing the keypair it will depend on the software you use.
>
> Regards,
>
> Henar
>
> *De:*Matthew Byrne [mailto:matthewpbyrne at gmail.com
> <mailto:matthewpbyrne at gmail.com>]
> *Enviado el:* miércoles, 29 de enero de 2014 12:09
>
>
> *Para:* HENAR MUÑOZ FRUTOS
> *CC:* fiware-lab-help at lists.fi-ware.eu
> <mailto:fiware-lab-help at lists.fi-ware.eu>
> *Asunto:* Re: Getting started with Fi-Ware PaaS
>
> Thanks for your help, Henar.
>
> I would like to get something up and running with Fi-Ware as soon as
> possible today, so I am appreciative of knowing how to do this as soon
> as possible.
>
> Matthew
>
> On Wed, Jan 29, 2014 at 7:51 AM, Matthew Byrne
> <matthewpbyrne at gmail.com <mailto:matthewpbyrne at gmail.com>> wrote:
>
> Thanks again.
>
> 1) Can I use Chef do deploy components that I want but you don't
> support in the blueprint (for example, a Ruby environment or Postgres
> database)?
> 2) If I follow your blueprint from the webinar, where you have the
> NodeJS / MySQL stack, I can FTP a test application like the one in the
> Heroku tutorial? How do I then configure FTP? ( I assume I use the IP
> address of the NodeJS host, but I am not sure about security credentials?)
>
>
> Matthew
>
> On Wed, Jan 29, 2014 at 7:47 AM, HENAR MUÑOZ FRUTOS <henar at tid.es
> <mailto:henar at tid.es>> wrote:
>
> Hi
>
> We are using chef for deploying the components, but not the
> application yet. For pushing your application you need to use a secure
> ftp program.
>
> Regards,
>
> Henar
>
> *De:*Matthew Byrne [mailto:matthewpbyrne at gmail.com
> <mailto:matthewpbyrne at gmail.com>]
> *Enviado el:* miércoles, 29 de enero de 2014 10:43
> *Para:* HENAR MUÑOZ FRUTOS
> *CC:* fiware-lab-help at lists.fi-ware.eu
> <mailto:fiware-lab-help at lists.fi-ware.eu>
>
>
> *Asunto:* Re: Getting started with Fi-Ware PaaS
>
> Thanks for getting back to me so quickly.
>
> I understand that you deploy these components (and that I can use a
> tool like chef <http://en.wikipedia.org/wiki/Chef_%28software%29> to
> deploy additional ones that I choose?)
>
> But how do I push my application to the FI-WARE host? For example, you
> deploy your python component for me, but what do I do with the python
> code that I have written?
>
> Matthew
>
> On Wed, Jan 29, 2014 at 7:39 AM, HENAR MUÑOZ FRUTOS <henar at tid.es
> <mailto:henar at tid.es>> wrote:
>
> Hi again
>
> Ok. You are looking for a way to deploy your application. This feature
> is not already done but it is in the roadmap. Right now, we deploy the
> components you need for deploying your application (like mysql,
> python…). Sorry for any inconvenience,
>
> Regards,
>
> Henar
>
> *De:*Matthew Byrne [mailto:matthewpbyrne at gmail.com
> <mailto:matthewpbyrne at gmail.com>]
> *Enviado el:* miércoles, 29 de enero de 2014 10:33
> *Para:* HENAR MUÑOZ FRUTOS; fiware-lab-help at lists.fi-ware.eu
> <mailto:fiware-lab-help at lists.fi-ware.eu>
> *Asunto:* Re: Getting started with Fi-Ware PaaS
>
> Thanks for replying to me, Henar
>
> I have watched the whole webinar and it has helped me a little bit
> with using the menu for configuration, but does not show deploying
> application on an instance.
>
> What I'm looking for is basically the fi-ware equivalent to this:
> https://devcenter.heroku.com/articles/getting-started-with-nodejs i.e.
> A tutorial or guide where I can choose my own pace and get up and
> running with a sample "Hello World"-type application very quickly
> without wasting hours and hours with documentation and webinars before
> even beginning etc.
>
> Matthew
>
> On Wed, Jan 29, 2014 at 6:32 AM, HENAR MUÑOZ FRUTOS <henar at tid.es
> <mailto:henar at tid.es>> wrote:
> > Hi
> >
> > There is a practical webminar about Cloud and PaaS in [1]. You can
> have a look. I think there you can find the information you are
> requiring. You can find how to create a template from scratch or how
> to clone an existing template.
> > Thanks for contacting us,
> > Regards,
> > Henar
> >
> >
> > [1] http://stream.globalplaza.org/videos/fi-ware/webinar_22_1_2014_01
> >
> > -----Mensaje original-----
> > De: Matthew Byrne [mailto:matthewpbyrne at gmail.com
> <mailto:matthewpbyrne at gmail.com>]
> > Enviado el: miércoles, 29 de enero de 2014 0:00
> > Para: jsalvachua at dit.upm.es <mailto:jsalvachua at dit.upm.es>;
> john.m.kennedy at intel.com <mailto:john.m.kennedy at intel.com>; HENAR
> MUÑOZ FRUTOS; GLIKSON at il.ibm.com <mailto:GLIKSON at il.ibm.com>
> > Asunto: Getting started with Fi-Ware PaaS
> >
> > Hi all
> >
> > I'm trying to work with Fi-Ware at Campus Party in São Paulo, but I
> am struggling with: Is there some kind of "Getting Started"
> application with PaaS that I can download or generate and then push to
> an instance? NodeJS, Java, Python, PHP, Ruby etc... I don't really
> mind, I just want to see how to get up and running.
> >
> > I do not wish to be awkward or demanding, but I am looking for a
> specific link to a "Hello World"-type project, since I have spent
> several hours reading the documentation and I find it very confusing,
> if I am honest, and I am a native English speaker with a Masters
> Degree in Distributed Systems, and an abundance of experience with
> different frameworks and languages.
> >
> > Thanks in advance,
> >
> > Matthew
> >
> > ________________________________
> >
> > Este mensaje se dirige exclusivamente a su destinatario. Puede
> consultar nuestra política de envío y recepción de correo electrónico
> en el enlace situado más abajo.
> > This message is intended exclusively for its addressee. We only send
> and receive email on the basis of the terms set out at:
> > http://www.tid.es/ES/PAGINAS/disclaimer.aspx
>
> ------------------------------------------------------------------------
>
>
> Este mensaje se dirige exclusivamente a su destinatario. Puede
> consultar nuestra política de envío y recepción de correo electrónico
> en el enlace situado más abajo.
> This message is intended exclusively for its addressee. We only send
> and receive email on the basis of the terms set out at:
> http://www.tid.es/ES/PAGINAS/disclaimer.aspx
>
> ------------------------------------------------------------------------
>
>
> Este mensaje se dirige exclusivamente a su destinatario. Puede
> consultar nuestra política de envío y recepción de correo electrónico
> en el enlace situado más abajo.
> This message is intended exclusively for its addressee. We only send
> and receive email on the basis of the terms set out at:
> http://www.tid.es/ES/PAGINAS/disclaimer.aspx
>
> ------------------------------------------------------------------------
>
>
> Este mensaje se dirige exclusivamente a su destinatario. Puede
> consultar nuestra política de envío y recepción de correo electrónico
> en el enlace situado más abajo.
> This message is intended exclusively for its addressee. We only send
> and receive email on the basis of the terms set out at:
> http://www.tid.es/ES/PAGINAS/disclaimer.aspx
>
> ------------------------------------------------------------------------
>
>
> Este mensaje se dirige exclusivamente a su destinatario. Puede
> consultar nuestra política de envío y recepción de correo electrónico
> en el enlace situado más abajo.
> This message is intended exclusively for its addressee. We only send
> and receive email on the basis of the terms set out at:
> http://www.tid.es/ES/PAGINAS/disclaimer.aspx
>
>
> ------------------------------------------------------------------------
>
> Este mensaje se dirige exclusivamente a su destinatario. Puede
> consultar nuestra política de envío y recepción de correo electrónico
> en el enlace situado más abajo.
> This message is intended exclusively for its addressee. We only send
> and receive email on the basis of the terms set out at:
> http://www.tid.es/ES/PAGINAS/disclaimer.aspx
>
>
> _______________________________________________
> Fiware-lab-help mailing list
> Fiware-lab-help at lists.fi-ware.eu
> https://lists.fi-ware.eu/listinfo/fiware-lab-help


________________________________

Este mensaje se dirige exclusivamente a su destinatario. Puede consultar nuestra política de envío y recepción de correo electrónico en el enlace situado más abajo.
This message is intended exclusively for its addressee. We only send and receive email on the basis of the terms set out at:
http://www.tid.es/ES/PAGINAS/disclaimer.aspx



More information about the Fiware-lab-help mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy