Questions tagged [swisscomdev]
Swisscom Application Cloud is a cloud platform based on Cloud Foundry.
218
questions
0
votes
0
answers
29
views
Backman on iAPC to backup the database service running on other cloud platform (TCI)
Need your help on configuring backman which is running on iAPC cloud foundry to take the backup of the MariaDB database which is running on swisscom internal Telco cloud TCI (sharedtcs.net) open-stack ...
0
votes
1
answer
203
views
where to point CNAME entry for cloudfoundry routes distinguished by path?
We run multiple applications in Cloudfoundry.
Now we have the requirement to distinguish app requests by path - this is clearly possible by using
cf create-route myspace mydomain.com –hostname myapp –...
0
votes
1
answer
80
views
Cannot connect to the MySQL Swsscom service on hostcenter.com
I created a MySQL database by logging into the site phpmyadmin.hostcenter.com and then tried to connect to is using ODBC (from Windows 10). I first used MySQL ODBC 8.0 Unicode Driver and then the ...
2
votes
1
answer
136
views
MariaDB Service Availability
I am currently confused whether or not MariaDB is still available as a service in the Swisscom AppCloud (Internal). I have been creating several MariaDB services in the Internal App Cloud during the ...
2
votes
0
answers
1k
views
Tensorflow/Tensorboard on s3
We log the tensorboard logs of our training process to s3 and meanwhile I would like to have a look at it. Therefore I'm executing the following command:
tensorboard --logdir=s3://mlflow/1/...
1
vote
1
answer
46
views
Customising accessHost value in Dynamic Storage service key
I have a dynamic storage service set up on Swisscom with the default service key. There is a value within that JSON which is access host:
"accessHost": "ds11s3.swisscom.com"
I was wondering if there ...
0
votes
1
answer
180
views
How do I add Flask-PyMongo to environment.yml?
I'm trying to add Flask-PyMongo as a dependency to my environment.yml but when trying to push it says the package wasn't found. How do I add Flask-PyMongo so it works?
Link to PyPi for reference
...
2
votes
1
answer
214
views
Is it possible to override disk space and memory settings with the Cloud Foundry task scheduler?
The document at https://docs.developer.swisscom.com/devguide/using-tasks.html describes how to use Cloud Foundry tasks. The document at https://docs.developer.swisscom.com/service-offerings/task-...
1
vote
1
answer
66
views
Which persistence mode is Redis using in Swisscom AppCloud?
Is it RDB or AOF? I couldn't find any information on this on the wiki or scapp-console.
1
vote
1
answer
651
views
How can I move an app from one space to another?
I have created a new space in the organisation and I have to move several apps from one space to the newly created one. How can I do this? (I don't want to rename the old space since only a subset of ...
1
vote
1
answer
89
views
Failure when trying to delete service key of s3 storage service
Deleting a service key fails with internal server error.
The following command produces the error:
cf dsk -f storage storage-keys
Deleting key storage-keys for service instance storage as user...
...
2
votes
1
answer
1k
views
How to create a secure internal route in the CloudFoundry environment (Swisscom AppCloud)
I would like to create a secure internal route between two applications within the same space/organization. It should never be possible to reach the Node.js application from the outside. My Java ...
1
vote
1
answer
91
views
https not working as expected on swisscom CloudFoundry
I have a very simple spring boot application which as one controller:
@RestController
public class HomeController {
@GetMapping(path = "/")
public String getHome() {
return "Hello ...
0
votes
1
answer
901
views
The Nginx reverse proxy does not reach the app via the internal route after restarting
We have the following setup: nginx buildpack as reverse proxy with proxy_pass set to an internal route *.apps.internal. The setup works fine until the app to which the internal route leads restarts. ...
0
votes
1
answer
83
views
Create a Cloud Foundry Service from a hosted Cloud Foundry application
I have a Cloud Foundry application hosted using Swisscom. One of the features I require from the application is that the user can set up a Cloud Foundry Service - Specifically the Swisscom Secrets-...
0
votes
1
answer
158
views
Reverse-proxy ion Swisscom appcloud cloudfoundry
in order to get a play framework app running I need to put in place a reverse proxy that will route all the traffic from the external endpoint (https) to the internal play app. I have notice that I ...
3
votes
1
answer
125
views
Automated backup within cloud foundry for maria db and s3
We use Cloud Foundry provided by swisscom for several of our applications. Now we ask ourselves how we can best implement automated backups within cloud foundry for db and s3. Any recommendations? ...
0
votes
1
answer
59
views
How to add config file while pushing default docker image to cloud foundry
As announced the Swisscom logstash buildpack is not supported any longer.
The proposed solution is to push the default docker image.
I am trying to figure out the way to attach the curator ...
0
votes
0
answers
193
views
installation stack-auditor plugin in cloudfoundry cli
I tried to install the stack-auditor plugin from https://github.com/cloudfoundry/stack-auditor. But I always get the follwoing error:
dial tcp 127.0.0.1:60499: socket: Ein ungültiges Argument wurde ...
3
votes
1
answer
338
views
How to configure Kibana for Swisscom elasticsearch public cloud (CloudFoundry)
Note: This question is specific to the Elasticsearch service provided by Swisscom
Question: (a.k.a: tl;dr)
What configuration is required to get the official Kibana docker container to connect to a ...
1
vote
1
answer
322
views
How to get the real client ip address if request was passed from one app to another?
We have a frontend app A (staticfile_buildpack) which forwards all REST requests to backend app B (nodejs-buildpack). How can we get the real client IP address in app B?
I would expect to have the ...
1
vote
1
answer
199
views
IP Address Range for Swisscom Public Application Cloud [closed]
I need to connect to a third party service API from a cloud foundry (Java) application running on Swisscom's public application cloud. This third party service is secured in a way that I need to ...
1
vote
1
answer
84
views
How can I use RabbitMQ user access management in iAPC?
I'm setting up a new RabbitMQ service in iAPC (Swisscom app cloud) and I need to control the user access of the different producer/consumer application.
My access control requirement:
Application A ...
1
vote
1
answer
163
views
How to configure CORS on Swisscom Cloudfoundry S3 dynamic storage
I need to setup some CORS rules for my S3 Bucket hosted on Swisscom Cloudfoundry. Where or how can i set my CORS rules?
In the Cloudfoundry dashboard I can't find any settings, that belongs to CORS.
...
0
votes
1
answer
186
views
http/2 on swisscom cloudfoundry?
I have a Nuxt.js/NodeJs application hosted on the swisscom cloud (cloudfoundry). Unfortunately all my files are loaded over the http/1.1 protocol and not over http/2.
Previously I had my application ...
2
votes
1
answer
48
views
Configuration of Running Redis Instance in Swisscom CloudFoundry
I am trying to read the configuration of the running Redis instance. I want to better understand how Redis is configured, especially in regard to persistence settings.
I have successfully connected ...
1
vote
1
answer
280
views
How can I restart a cloud foundry docker app from a private repository?
I am deploying docker applications to cloud foundry running on the swisscom cloud (website). Here's a snippet from my deployment script.
...
export CF_DOCKER_PASSWORD=$CI_REGISTRY_PASSWORD
cf push $...
0
votes
1
answer
106
views
Container privileges
I want to deploy an an app in cloudfoundry that needs to have access to a file system for storage purposes. As the appcloud only provides S3 support I wanted to use the https://github.com/s3fs-fuse/...
0
votes
1
answer
3k
views
Cloud Foundry environment variables not working inside nginx.conf
I am trying to create a generic nginx.conf that does a proxy_pass depending on the environment.
I am using fixture from cloud foundry staticfile-buildpack
https://github.com/cloudfoundry/staticfile-...
0
votes
1
answer
2k
views
How to fix Failed to clone git repository at https://github.com/cloudfoundry/nginx-buildpack.git during cf push
When I try to do a cf push using nginx build pack I get
Failed to clone git repository at https://github.com/cloudfoundry/nginx-buildpack.git
I am trying to do a deploy my react application using ...
0
votes
0
answers
287
views
Docker image not accessible over exposed port
I've installed a tensorflow serving docker image in to the Swisscom AppCloud
https://github.com/tensorflow/serving/blob/master/tensorflow_serving/tools/docker/Dockerfile
Locally I'm able to call the ...
1
vote
1
answer
66
views
How to create corpid-2 service and bind it to my app. Invalid UAA client config
I would like to create a corpid-2 service to be able to allow certain person to a simple web app in python.
I'm facing the problem about some parameters that needs to be given.
I am not able to find ...
0
votes
1
answer
241
views
Understanding container-to-container security for application instances in CloudFoundry
I refer to the articles about container-to-container security at https://ict.swisscom.ch/2018/05/container-networking-with-cloud-foundry/ and https://docs.cloudfoundry.org/concepts/understand-cf-...
0
votes
1
answer
2k
views
How can I scale CloudFoundry applications "down" without the risk of restarting all of them?
This is a question regarding the Swisscom Application Cloud.
I have implemented a strategy to restart already deployed CloudFoundry applications without using cf restart APP_NAME. I wanted to be able ...
0
votes
1
answer
151
views
Swisscom Cloud Foundry: Is there a way to request app instances to run in separate regions?
This is a question regarding the Swisscom CloudFoundry PaaS.
We use manifests to configure and provision our applications running in CloudFoundry. You can specify how many app instances you want to ...
2
votes
2
answers
80
views
Cloudfoundry: SSL cert for shared domain
It's not possible to request a SSL cert for a shared Domain
The domain has been shared with cf share-private-domain ORG DOMAIN
1
vote
1
answer
61
views
Cloudfoundry: Same domain in two orgs
Is it possible to use the same domain in two different orgs?
I get following error message while trying to add the domain to a second org
1
vote
1
answer
92
views
in which cpu mode does the CF run the containers?
Our go app uses Telegraf to collect CPU measurement.
Neither user nor system mode are closed to the value, which is visible via cli
cf app app_name
2
votes
2
answers
2k
views
Cloudfoundry: Docker app crashes on startup
When I try to start up my docker image, it crashes on startup because it exceeds some quota.
Is there any way to increase said quota?
Log:
"exit_description"=>"failed to create container: ...
1
vote
1
answer
283
views
How to run/install wkhtmltopdf in php-buildpack (Cloud Foundry)
i want to use wkhtmltopdf in my php application.
therefor i added wkhtmltopdf to my apt.yml file and hoped that everything will work...
...unfortunately, it doesn't.
everytime i run wkhtmltopdf ...
1
vote
1
answer
307
views
Deploy Spring Boot App to Swisscom Cloud with New Relic Java Agent
I am unsuccessful in deploying a really simple (one endpoint) spring boot app to the swisscom cloud with the new relic java agent.
Here is the main dependency found in pom.xml:
<parent>
...
1
vote
1
answer
1k
views
securing spring boot app with mTLS - running on Swisscom App Cloud
I have a spring boot app deployed to Swisscom App Cloud that should to be secured with mTLS.
Obviously there's spring security... Specific to Swisscom App Cloud I read about securing traffic on https:...
1
vote
1
answer
245
views
Application Performance monitoring on Swisscom Application Cloud
I am investigating options for monitoring our installation in Swisscom's cloud-foundry. My objectives are the following:
monitor performance indicators for deployed application (such as cpu, disk, ...
1
vote
1
answer
833
views
How to delete app with CF CLI when error occurs
Deleting an app with cf delete shows the following error:
Deleting app the-app in org my-org / space my-space as [email protected]...
FAILED
Server error, status code: 502, error code: 10001, message: ...
1
vote
4
answers
224
views
Create, restore, and download MongoDB backups automatically on Swisscom Application Cloud
We can create create backups from the Developer Portal for MongoDB, but I'm wondering if this is exposed in any other way through the CLI?
Also, how can I access the backup to inspect it on my ...
0
votes
1
answer
481
views
Cannot connect with mongo db (cf ssh) - MongoNetworkError
I want to connect my local NodeJS app with the Swisscom Cloud Foundry MongoDB service instance.
As I see in the service key, there are three ports for mongo db.
So, I bind the ports with the cf ssh ...
0
votes
1
answer
630
views
Service broker error: Internal Server Error on binding service to an app
I am working with the Application Cloud from Swisscom, based on Cloud Foundry. I have been trying unsuccessfully to bind an app with an amqp service.
When trying to bind it, I get
Unexpected ...
1
vote
1
answer
311
views
MongoDB: Couldn't add user - not authorized (CloudFoundry)
I have a MongoDB (Service Plan: small) and I would like to create an additional user but it seems I dont have the necessary privileges to do so.
db.createUser({ user: "whateverusername" , pwd: "...
0
votes
1
answer
75
views
Revoke SSL certificate
I'm trying to revoke some SSL certificates for private routes from the developer console. Some of them were successfully revoked, but some others cannot be revoked:
Revoking certificate for ...
1
vote
1
answer
106
views
Update service MongoDB failed
I'm trying to update my mongodb-2 service with
cf update-service $serviceInstance -p $newPlan
But I get :
FAILED
Server error, status code: 400, error code: 110004, message: The service ...