Information for: DEVELOPERS   PARTNERS

Resources in Cloud IDE

Cloud IDE provides containers with useful resources and tools, which you can use to develop your application.

Note

For information about the software resources included with Cloud Platform applications, see Cloud Platform technology platform and supported software. For information about containers on the Cloud Platform, see Resources for containers and pipelines jobs.

Container resources

Cloud IDE provides an Ubuntu 16.04 container with the following resource limits:

  • 4 GB of memory
  • 2 CPUs
  • 60 GB of disk space

Tools

Containers in Cloud IDE include both standard Linux tooling and the following development tools:

Resource Version
Acquia CLI 1.0.0-rc1
Git 2.28.0
Imagemagick 6.8.9–9
MariaDB (MySQL) Version 14.14 Distribution 5.7.28
Apache2 2.4.18
Drush Launcher 0.6.0
Drush 8.4.0
PHP 7.2.31, 7.3.18, 7.4.6
Theia 1.2.0
Composer 1.10.10
Composer 2 2.0.0-alpha3
Node Version Manager (NVM) 0.34.0
Node.js 11.13.0
npm 6.7.0
Ruby Version Manager (RVM) 1.29.10
Ruby 2.4.9 (default), 2.4.6, 2.5.5
Google Chrome 84.0.4147.125

Plugins

Cloud IDE includes configurable plugins such as phpcs which provides several configuration options found in ~/.theia/settings.json:

  • phpcs.enable: Enables and disables the phpcs extension. The default value is true.
  • phpcs.standard: Stores the phpcs coding standard. The default value is Drupal. Other available options:

Managing your services

Users of Cloud IDE can manage services in the container using the following commands:

Command Description
supervisorctl start $SERVICE Starts the service, if it wasn’t running before.
supervisorctl stop $SERVICE Stops the service, if it was running before.
supervisorctl restart $SERVICE Restarts the service.
supervisorctl status $SERVICE Prints all the service’s status information.

Database resources

The provided version of MySQL runs on port 3306 in Cloud IDE, and has a database with the following details:

  • Database name: drupal
  • User: drupal
  • Password: drupal

You can review MySQL log files in the /var/log/mysql directory.

Altering database configuration

You can change options and variables in MySQL by creating custom MySQL configuration files in the /home/ide/configs/mysql/ directory. After creating or modifying the MySQL configuration file, restart the database service with the command supervisorctl restart mysql.

Important

Don’t change files in the /etc/mysql directory, as Dev Studio removes any changes to files in that directory when the integrated development environment restarts.

Apache web server resources

Apache and PHP are enabled in your container. Your container serves files from the /home/ide/project/docroot directory, and your Apache log files are available in the /var/log/apache2/ directory.

Although users can install packages, change system settings, and restart services, these changes aren’t guaranteed to persist.

Altering Apache configuration

To change default options in Apache or create new virtual hosts, you can create and change files in the /home/ide/configs/apache2/ directory. After creating or modifying any Apache configuration file, you must restart the apache2 service by running the following command:

supervisorctl restart apache2

Important

Don’t change files in the /etc/apache2/ directory, as Dev Studio removes any changes to files in that directory when the integrated development environment restarts.