Hello everyone,I'm an IT security student and I'm interested to know more of this project and maybe write my Master Degree thesis on it.I did not found enough informations about Cloudfoundry on the official website, there is some docs on "how to use it", "how to develop in it" but not so much on "how it works".I asked some more specific question here:
I would also like to learn how to create a new service, like a mysql database and how to manage the communication of the application to it.
Where can I find more documentation on these matters? Do it exist?
Thank you for your time and don't hesitate to ask me if you don't understand my questions.Best regards,Michael
--
You received this message because you are subscribed to the Google Groups "Cloud Foundry Developers" group.
To view this discussion on the web visit https://groups.google.com/a/cloudfoundry.org/d/msgid/vcap-dev/bdec37a4-e15a-4a10-8731-7e4cc11aa494%40cloudfoundry.org.
To unsubscribe from this group and stop receiving emails from it, send an email to vcap-dev+u...@cloudfoundry.org.
--
You received this message because you are subscribed to the Google Groups "Cloud Foundry Developers" group.
To view this discussion on the web visit https://groups.google.com/a/cloudfoundry.org/d/msgid/vcap-dev/d704a980-42fa-431a-9392-a186b591b7a4%40cloudfoundry.org.
Dear Daniel,many thanks for your help.I'm looking at the pivotal deploy to get familiar with this worldMy goal is to be able to:-deploy cloudfoundry on my own IaaS with BOSH-create a service (so not by selecting it on a marketplace, but provide it to the marketplace) a simple SQL database for exampleWhere can I start studing at?
-I would like to monitor the application deployed! like with the NewRelic web portal (it isnt open source so i cannot deploy it in my cloud right?)are there some free alternatives?The most important thing for me is to finally be able to track where and how the datas of the deployed application will move,so I need to know (from the app I think, like the other metrics I suppose, but you can suggest other methods) there the app is (lets suppose thereare multiple DEAs deployed.So:-You said that with BOSH i can scale the DEAs so I can add another VM in IaaS that can take deployed apps, what I need to do for doing that? justsay BOSH to add another DEA node and CloudFoundry will see that and balance the load between the nodes without any downtime?-Do cloudfoundry have its own web GUi like pivotal? or the only way to have one in 'my own cloud' is to develop it from scratch?-The concept of services isnt clear for me, read this example:I find a SQL DB service on the marketplace, i create a service called 'myDB' from it.I deploy two application( 'A' and 'B') that just have a html form to execute queries on a database.I bind both of them on the 'myDB'As i see, if I insert some data from app 'A' i can't reach it from app 'B'.Here cames my 2 questions:- how can I manage to both of the apps uses the same database?- are the different databases on the same 'Warden Box' that contains the myDb service?if yes, what if i would like to run the databases on different 'boxes'? I just have to create another service called 'myDb2'?
On Thu, Feb 5, 2015 at 6:01 AM, <michael.g...@gmail.com> wrote:Dear Daniel,many thanks for your help.I'm looking at the pivotal deploy to get familiar with this worldMy goal is to be able to:-deploy cloudfoundry on my own IaaS with BOSH-create a service (so not by selecting it on a marketplace, but provide it to the marketplace) a simple SQL database for exampleWhere can I start studing at?
See the "Custom Services" section of the docs here: http://docs.cloudfoundry.org/A good example to start with might be the self proclaimed "World's Simplest Service Broker.There are other examples on Github here.
-I would like to monitor the application deployed! like with the NewRelic web portal (it isnt open source so i cannot deploy it in my cloud right?)are there some free alternatives?
My understanding is that you can use NewRelic as long as your CF environment has a connection to the Internet. NewRelic installs along side your application and reports data out to their portal on the public Internet. As long the NR agent can report data out, it should work.There are alternatives, but I'm struggling to come up with an open source one. Maybe someone else might know of an open source alternative.
The most important thing for me is to finally be able to track where and how the datas of the deployed application will move,so I need to know (from the app I think, like the other metrics I suppose, but you can suggest other methods) there the app is (lets suppose thereare multiple DEAs deployed.So:-You said that with BOSH i can scale the DEAs so I can add another VM in IaaS that can take deployed apps, what I need to do for doing that? justsay BOSH to add another DEA node and CloudFoundry will see that and balance the load between the nodes without any downtime?
This talks a bit about scaling: http://docs.cloudfoundry.org/concepts/high-availability.html
-Do cloudfoundry have its own web GUi like pivotal? or the only way to have one in 'my own cloud' is to develop it from scratch?
The developer console that Pivotal uses isn't open source. I'm not sure what's out there in the open source space for GUI's. Someone else might be able to comment on this.
-The concept of services isnt clear for me, read this example:I find a SQL DB service on the marketplace, i create a service called 'myDB' from it.I deploy two application( 'A' and 'B') that just have a html form to execute queries on a database.I bind both of them on the 'myDB'As i see, if I insert some data from app 'A' i can't reach it from app 'B'.
You should be able to reach it from both apps. The same db instance is bound to both apps, so you're looking at the same database.
Here cames my 2 questions:- how can I manage to both of the apps uses the same database?
It's not clear from your example what's happening, but if you create one instance and bind that to two apps they'll both be looking at the same database. Maybe try using PHPMyAdmin instead of your test app. There's an example for easily deploying that to CF here.Just give different names to cf push.Ex:cf push phpmyadmin-1cf push phpmyadmin-2
- are the different databases on the same 'Warden Box' that contains the myDb service?
The service is completely external to CF. As far as CF is concerned, the service is a blackbox. It's provisioned through the service broker API and your app talks over the service's native protocol. Those are really the only restrictions CF puts on things.
if yes, what if i would like to run the databases on different 'boxes'? I just have to create another service called 'myDb2'?
How are your running your services?Dan