In the App Developer Controls pane, you configure restrictions and default settings for your apps.
To configure the App Developer Controls pane:
Select App Developer Controls.
Enter the Maximum file upload size in MB. This is the maximum size of an app upload, including the buildpack.
Enter the Maximum package size in MB. This is the maximum total size of an app’s files.
Enter the Default app memory in MB. This is the default amount of memory allocated to a newly-pushed app if no value is specified when pushing the app.
Enter the Default app memory quota per org in MB. This is the default memory limit for all apps in an org. The specified limit only applies to the first installation of TAS for VMs. After the initial installation, operators can use the cf CLI to change the default value.
For Maximum disk quota per app in MB, enter in MB the maximum amount of disk allowed per app.
If you allow developers to push large apps, TAS for VMs might have trouble placing them on Diego Cells. Additionally, in the event of a system upgrade or an outage that causes a rolling deploy, larger apps might not successfully redeploy if there is insufficient disk capacity. Monitor your deployment to ensure that your Diego Cells have sufficient disk to run your apps.
If you allow developers to push large apps, TAS for VMs might have trouble placing them on Diego Cells. Additionally, in the event of a system upgrade or an outage that causes a rolling deploy, larger apps might not successfully redeploy if there is insufficient disk capacity. Monitor your deployment to ensure that your Diego Cells have sufficient disk to run your apps.
Enter the Default disk quota per app in MB. This is the amount of disk allocated by default to a newly-pushed app if no value is specified when pushing the app.
Enter the Default log rate limit per app in bytes per second. This is the number of logs that a newly-pushed app is allowed to send to Loggregator if no value is specified when pushing the app.
To deactivate this feature and allow app instances to send an unlimited number of logs to Loggregator, enter -1
. App log rate limiting is deactivated by default. VMware recommends activating this feature to prevent app instances from overloading the Loggregator Agent with logs, so the Loggregator Agent does not drop logs for other app instances on the same Diego Cell.
Enter the Default service instance quota per org. The specified limit only applies to the first installation of TAS for VMs. After the initial installation, operators can use the cf CLI to change the default value.
Enter the Staging timeout in seconds. When you stage an app droplet with the Cloud Controller, the server times out after the number of seconds you specify in this field.
For Internal domains, enter one or more domains that apps use for internal DNS service discovery. If the -d
flag for domain is not available, you can specify a domain using the routes
property in the manifest so other TAS for VMs apps can reach the pushed app at APP-NAME.INTERNAL-DOMAIN
. This value defaults to apps.internal
.
Activate the Allow space developers to manage network policies check box to permit developers to manage their own network policies for their apps.
Activate the Log revision number in app logs check box include app revision id as well in apps’ log sources. (e.g. logs will have prefixes like APP/REV/1/PROC/WEB/0
intead of APP/PROC/WEB/0.
). Once activated, apps will need to be restarted to take effect. Only applies to apps with the revision feature flag activated.
Click Save.
Setting appropriate ASGs is critical for a secure deployment.
For more information about ASGs, see App Security Groups.
For more information about setting ASGs, see Restricting App Access to Internal TAS for VMs Components.