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

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 1.19.0
Composer 2 2.1.14
Composer 1 1.10.23
GitHub CLI 2.2.0
Git 2.34.1
MariaDB (MySQL) Version 14.14 Distribution 5.7.34
Apache2 2.4.18
PHP 7.4.24, 8.0.11
Xdebug 2.7.0beta1
Drush 8.4.6
Theia 1.13.0
Node Version Manager (NVM) 0.39.0
Node.js 12.22.1
npm 6.14.12
Google Chrome 96.0.4664.45
Ruby Version Manager (RVM) 1.29.12
Ruby 2.7.4, 3.0.2
Imagemagick 6.8.9–9
ChromeDriver 96.0.4664.45

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.

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 by running the following command:

acli ide:service-restart mysql

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