cloudfoundry

How does cloud foundry handle process isolation?

非 Y 不嫁゛ 提交于 2019-12-13 16:50:19
问题 Let's say that I setup my own cloud using the open source cloud foundry implementation provided on cloudfoundry.org. Will each app that I deploy be run as a separate user? Or is there any of VMWare's virtualization technology in use here? E.g. would each app run in a separate virtual machine or anything like that? How can I configure the memory, cpu, and disk resource limits for each app? 回答1: I asked this on the mailing list. Here's the response I got: If your DEA is configured to run in

How to download node application (Source code) deployed as a cloud foundry app in IBM bluemix?

杀马特。学长 韩版系。学妹 提交于 2019-12-13 08:34:51
问题 I have created a cloud foundry app to deploy node js application in bluemix. I have used the commands which they given in Getting Started, to deploy my node js application from local to bluemix. Application is deployed successfully and app starts running. Now I have to download the code (the entire project folder) I have deployed, how can I do this? 回答1: It isn't recommended to write files to the filesystem in a Cloud Foundry app on Bluemix, it's purely a runtime. If you need to store files,

Pivotal Cloud Foundry - Security Certificates

僤鯓⒐⒋嵵緔 提交于 2019-12-13 07:12:20
问题 My spring boot application is calling a number of external soap services. When I run the app in my local machine , I am required to install all the security certificates in my JVM using keytool command. However when I deploy my app to pivotal cloud foundry platform , the app is not complaining about the security certificates. The services that I consume are primarily hosted in weblogic clusters running on different data centers.Is there a possible explanation as to why the app deployed in pcf

CloudFoundry - How to understand the operating system(OS) environment of an app?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-13 05:30:34
问题 We push a java app on cloud foundry using cf push with below manifest file applications: - name: xyz-api instances: 1 memory: 1G buildpack: java_buildpack_offline path: target/xyz-api-0.1-SNAPSHOT.jar I understand that, PAAS (ex: cloud foundry) is a layer on top of IAAS(ex:vcenter hosting linux and windows VM's). In manifest file, buildpack just talks about userspace runtime libraries required to run an app. Coming from non-cloud background, and reading this manifest file, I would like to

Error deploying application from Eclipse to Bluemix

本秂侑毒 提交于 2019-12-13 05:11:18
问题 While pushing an application from Eclipse to Bluemix, I received this error: Error: Client error - Error performing operation: 500 Error I tried multiple times but received the same error whenever pushing the application. 回答1: We are currently experiencing some issues in our South region. We expect these issues to be resolved shortly. For updates on the status of our runtimes, please see the following: https://developer.ibm.com/bluemix/support/#status 来源: https://stackoverflow.com/questions

Deploying a Standard vNext WebApplication VS Next 2015 RC to Bluemix fails

霸气de小男生 提交于 2019-12-13 05:06:05
问题 I'm trying to deploy a aspnet5 Project (Template vNext WebApplication from Visual Studio) to Bluemix CF Service (Asp.net). Yet it's not possible and fails with: OUT FAILED: Writing Release YML failed, 746: unexpected token at '?{ OUT "webroot": "wwwroot", OUT "dependencies": { OUT "Microsoft.AspNet.Diagnostics": "1.0.0-beta4", OUT "Microsoft.AspNet.Mvc": "6.0.0-beta4", OUT "Microsoft.AspNet.Mvc.TagHelpers": "6.0.0-beta4", OUT "Microsoft.AspNet.Server.IIS": "1.0.0-beta4", OUT "Microsoft.AspNet

May i open a port on Cloud Foundry?

假如想象 提交于 2019-12-13 04:25:23
问题 I want to establish a UDP Connection from a terminal device to My App On Cloud Foundry. 回答1: all output from applications on Cloud Foundry is delivered by proxy via a web server (nginx) and as far as I know only http and https are open. Perhaps you should look at alternative ways of communicating with your console application, what kind of communication are you trying to achieve? 回答2: Using the CF_HOST:UDP_PORT from your terminal device should be OK. I suppose that an application (Java, Perl,

Error 310: Staging failed: 'Staging task failed: - CloudFoundry

若如初见. 提交于 2019-12-13 03:37:59
问题 Getting an Error 310 when trying to stage my Play Framework java sample. Any assistance would be much appreciated: Full error output here: https://t.co/F0Zh2bY4 回答1: Cloud Foundry requires Play apps to be pushed as zip files built with the play dist command: http://blog.cloudfoundry.com/2012/05/31/cloud-foundry-now-supports-play/ I was able to push your app on Mac OS X with the following: ~/Downloads/SecureSocial $ sbt play clean dist ~/Downloads/SecureSocial $ vmc push --path modules

Bluemix Cloud Foundry REST API

▼魔方 西西 提交于 2019-12-13 02:27:42
问题 Can I access Cloud Foundry REST API on Bluemix? If yes, how can I access it (cannot find any documentation)? 回答1: You can access the Cloud Foundry REST API on Bluemix as you would normally do with CF. In addition to that, if you need it and you are already familiar with cf curl you can take a look at the bluemix curl command. For example if you want to retrieve the information for all organizations of the current account: bluemix curl /v2/organizations Please see the Docs for more information

Error 402: App packaging failed: 'Failed synchronizing resource pool'

蓝咒 提交于 2019-12-12 20:49:56
问题 When trying to push an app to cloudfoundry.com I get this error from vmc: Error 402: App packaging failed: 'Failed synchronizing resource pool' I'm not sure what to do now. The app is STOPPED, there are no logs and no files. 回答1: This should have been fixed in an update to CloudFoundry.com in late May. Please let us know if you see it again, or file a support ticket at http://support.cloudfoundry.com 来源: https://stackoverflow.com/questions/10826721/error-402-app-packaging-failed-failed