Information for: DEVELOPERS   PARTNERS   SUPPORT

Resources in Cloud IDE

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

Note

Container resources

Cloud IDE provides Ubuntu containers with a 60 GB disk.

Tools

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

Resource Version
Acquia CLI 2.5.1
Composer 2 2.4.2
Composer 1 1.10.26
Git 2.38.0
GitHub CLI 2.20.2
GitLab CLI 1.22.0
MariaDB (MySQL) Version 14.14 Distribution 5.7.39-42
Apache2 2.4.41
PHP 7.4.30, 8.0.22, 8.1.7
Xdebug 2.9.0, 3.0.2
Drush 8.4.11
Theia 1.31.1
Node Version Manager (NVM) 0.39.2
Node.js 14.19.1
npm 6.14.17
Ruby Version Manager (RVM) 1.29.12
Ruby 2.7.6, 3.0.4p208
Imagemagick 6.9.10-23
Google Chrome 107.0.5304.110-1
ChromeDriver 107.0.5304.62

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
acli ide:service-start $SERVICE Starts the service, if it wasn’t running before.
acli ide:service-stop $SERVICE Stops the service, if it was running before.
acli ide:service-restart $SERVICE Restarts the service.

Note

Cloud IDE users don’t have access to sudo or root user.

Apache web server resources

Apache and PHP are enabled in your container. Your container serves files from the /home/ide/project/docroot directory. Your Apache access file and PHP error 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:

acli ide:service-restart apache