Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
  • Blog
  • Pricing
  • Documentation
Yandex project
© 2025 Yandex.Cloud LLC
Tutorials
    • All tutorials
        • Overview
        • Management console
        • Terraform
      • Creating a cluster of 1C:Enterprise Linux servers with a Managed Service for PostgreSQL cluster

In this article:

  • Prepare your cloud
  • Required paid resources
  • Create and set up a cloud network
  • Create a VM in the cloud
  • Create a MySQL® DB cluster
  • Configure your VM for 1C-Bitrix
  • Configure 1C-Bitrix
  • How to delete the resources you created
  1. Application solutions
  2. 1C
  3. 1C-Bitrix online store
  4. Management console

Creating an online store with 1C-Bitrix: Site Management using the management console

Written by
Yandex Cloud
Updated at May 7, 2025
  • Prepare your cloud
    • Required paid resources
  • Create and set up a cloud network
  • Create a VM in the cloud
  • Create a MySQL® DB cluster
  • Configure your VM for 1C-Bitrix
  • Configure 1C-Bitrix
  • How to delete the resources you created

To create an infrastructure for an online store with 1C-Bitrix: Site Management using the Yandex Cloud management console:

  1. Prepare your cloud.
  2. Create and set up a cloud network.
  3. Create a VM in the cloud.
  4. Create a MySQL® DB cluster.
  5. Configure your VM for 1C-Bitrix.
  6. Configure 1C-Bitrix.

If you no longer need the resources you created, delete them.

Prepare your cloudPrepare your cloud

Sign up in Yandex Cloud and create a billing account:

  1. Navigate to the management console and log in to Yandex Cloud or register a new account.
  2. On the Yandex Cloud Billing page, make sure you have a billing account linked and it has the ACTIVE or TRIAL_ACTIVE status. If you do not have a billing account, create one and link a cloud to it.

If you have an active billing account, you can navigate to the cloud page to create or select a folder for your infrastructure to operate in.

Learn more about clouds and folders.

Required paid resourcesRequired paid resources

The cost of supporting a 1C-Bitrix online store infrastructure includes:

  • Fee for a continuously running VM (see Yandex Compute Cloud pricing).
  • Fee for using a dynamic or static public IP address (see Yandex Virtual Private Cloud pricing).
  • Fee for using a MySQL® managed DB (see Managed Service for MySQL® pricing).

This tutorial uses the trial version of 1C-Bitrix with a 30-day trial period. You can check the cost of the product software versions on the 1C-Bitrix official website.

Create and set up a cloud networkCreate and set up a cloud network

Management console
  1. Create a network named network-1. When creating your network, disable the Create subnets option.
  2. In network-1, create two subnets in different availability zones with the following parameters:
    1. Subnet in the ru-central1-a availability zone:
      • Name: subnet-a
      • Zone: ru-central1-a
      • CIDR: 192.168.0.0/24
    2. Subnet in the ru-central1-b availability zone:
      • Name: subnet-b
      • Zone: ru-central1-b
      • CIDR: 192.168.1.0/24
  3. In network-1, create security groups:
    1. Named bitrix-sg-vm for your VM in the cloud. Set rules for the security group based on the following table:

      Traffic
      direction
      Description Port range Protocol Source /
      Destination name
      CIDR blocks
      Outgoing ANY All Any CIDR 0.0.0.0/0
      Incoming HTTP 80 TCP CIDR 0.0.0.0/0
      Incoming EXT-HTTPS 443 TCP CIDR 0.0.0.0/0
      Incoming SSH 22 TCP CIDR 0.0.0.0/0
    2. Named bitrix-sg for a MySQL® database cluster. Set rules for the security group based on the following table:

      Traffic
      direction
      Description Port range Protocol Source /
      Destination name
      CIDR blocks
      Outgoing ANY All Any CIDR 0.0.0.0/0
      Incoming EXT-HTTPS 3306 TCP CIDR 0.0.0.0/0

Create a VM in the cloudCreate a VM in the cloud

Management console
  1. On the folder page in the management console, click Create resource and select Virtual machine instance.

  2. Under Boot disk image, in the Product search field, enter Ubuntu 22.04 LTS and select a public Ubuntu 22.04 LTS image.

  3. Under Location, select the ru-central1-a availability zone.

  4. Under Disks and file storages, select the SSD disk type and specify the size: 24 GB.

  5. Under Computing resources, navigate to the Custom tab and specify the required platform, number of vCPUs, and amount of RAM:

    • Platform: Intel Ice Lake.
    • vCPU: 2.
    • Guaranteed vCPU performance: 20%.
    • RAM: 4 GB
  6. Under Network settings:

    • In the Subnet field, select the network named network-1 and the subnet named subnet-a.
    • Under Public IP address, keep Auto to assign your VM a random public IP address from the Yandex Cloud pool, or select a static address from the list if you reserved one in advance.
    • In the Security groups field, select the bitrix-sg-vm security group.
  7. Under Access, select SSH key and specify the VM access data:

    • In the Login field, enter a username, e.g., ubuntu. Do not use root or other names reserved by the OS. To perform operations requiring superuser permissions, use the sudo command.
    • In the SSH key field, select the SSH key saved in your organization user profile.

      If there are no saved SSH keys in your profile, or you want to add a new key:

      • Click Add key.
      • Enter a name for the SSH key.
      • Upload or paste the contents of the public key file. You need to create a key pair for the SSH connection to a VM yourself.
      • Click Add.

      The SSH key will be added to your organization user profile.

      If users cannot add SSH keys to their profiles in the organization, the added public SSH key will only be saved to the user profile of the VM being created.

  8. Under General information, specify the VM name: bitrixwebsite.

  9. Click Create VM.

You may need to save disk snapshots of your VM. They contain a copy of the VM file system from when the snapshot was created.

You can use disk snapshots for various purposes, e.g.:

  • Migrating data from one disk to another, for example, to a disk in a different availability zone.
  • Creating a disk backup before performing operations that can damage your data.
  • Performing disk versioning by creating snapshots on a regular basis.

Create a MySQL® DB clusterCreate a MySQL® DB cluster

Management console
  1. On the folder page in the management console, click Create resource and select MySQL cluster.

  2. In the Cluster name field, enter the cluster name, e.g., BitrixMySQL®.

  3. Under Host class, select s3-c2-m8. This configuration is enough for 1C-Bitrix to run.

  4. Under Size of storage, set storage type to network-ssd and size to 10 GB.

  5. Under Database, specify:

    • DB name​. In this tutorial, leave the default value, db1.
    • Username which serves as a username for connecting to the DB. In this tutorial, leave the default value, user1.
    • Password for 1C-Bitrix to access the MySQL® database, e.g., p@s$woRd!.
  6. Under Network settings:

    • In the Network field, select network-1 you created earlier.
    • In the Security groups field, select the bitrix-sg security group.
  7. Under Hosts, change the availability zone for the database if required. To do this, click in the line containing host info. In the window that opens, select the availability zone and click Save.

    We recommend selecting the same availability zone as when you created the VM. This reduces latency between the VM and the DB.

  8. To make your DB fault-tolerant, you can add more hosts for it. To do this, click Add host and specify the availability zone to place it in.

  9. Leave the other fields unchanged.

  10. Click Create cluster.

Creating a DB cluster may take a few minutes. To check that the new cluster is available, select Managed Service for MySQL in the Yandex Cloud management console. On the Clusters tab, the cluster status must be Running and its state, Alive.

Configure your VM for 1C-BitrixConfigure your VM for 1C-Bitrix

To configure a server for 1C-Bitrix:

  1. Connect to the VM over SSH on behalf of the user specified when creating the VM, e.g., ubuntu:

    ssh ubuntu@<VM_public_IP_address>
    

    You can look up the VM's public IP address in the management console by checking the Public IPv4 address field under Network on the VM page.

  2. Install the required software:

    Note

    The below install commands are for Ubuntu. For other distributions, use the relevant commands of your packet manager.

    sudo apt-get update
    sudo apt-get install -y apache2 libapache2-mod-php php-gd php-mbstring php-mysql
    
  3. Go to the project's working folder and download the 1C-Bitrix: Site Management distribution:

    cd /var/www/html/
    sudo wget https://www.1c-bitrix.ru/download/business_encode.tar.gz
    
  4. Unpack the downloaded archive and delete unnecessary files:

    sudo tar -zxf business_encode.tar.gz
    sudo rm -f index.html business_encode.tar.gz
    
  5. Make the www-data user the owner of the project's working folder:

    sudo chown -R www-data:www-data /var/www/html
    

    Check the permissions and owners of the working folder:

    ls -l
    

    Result:

    total 40
    drwxrwxr-x 7 www-data www-data  4096 Jun  8  2023 bitrix
    -rwxrwxr-x 1 www-data www-data  1150 Nov 30  2020 favicon.ico
    -rwxrwxr-x 1 www-data www-data  1353 Jun  8  2023 index.php
    -rwxrwxr-x 1 www-data www-data   268 Apr 17  2023 install.config
    -rwxrwxr-x 1 www-data www-data 12821 Mar 18  2022 readme.html
    -rwxrwxr-x 1 www-data www-data   112 Mar 27  2013 readme.php
    drwxrwxr-x 2 www-data www-data  4096 Jun  8  2023 upload
    
  6. For 1C to work correctly, configure the PHP settings. To do this, use the built-in nano editor and modify the following variables in the php.ini configuration file:

    sudo nano /etc/php/8.1/apache2/php.ini
    
    Previously Now
    short_open_tag = Off short_open_tag = On
    memory_limit = 128M memory_limit = 256M
    ;date.timezone = date.timezone = Europe/Moscow
    ;opcache.revalidate_freq =2 opcache.revalidate_freq =0
    ;session.save_path = "/var/lib/php/sessions" session.save_path = "/var/lib/php/sessions"

    The php.ini file path depends on the PHP version installed. The example shows the path for version 8.1. For 8.0, enter /etc/php/8.0/apache2/php.ini; for 8.2, /etc/php/8.2/apache2/php.ini, etc.

    Tip

    To find the parameter you need in the nano editor, press Ctrl + W. Find the required parameter from the table above and save the changes using Ctrl + O. To exit the editor, press Ctrl + X.

  7. Configure the Apache web server. To do this, edit the /etc/apache2/sites-enabled/000-default.conf configuration file.

    1. Open the file in the text editor:

      sudo nano /etc/apache2/sites-enabled/000-default.conf
      
    2. After the DocumentRoot /var/www/html line, add the following section and save the changes:

      <Directory /var/www/html>
        Options Indexes FollowSymLinks
        AllowOverride All
        Require all granted
      </Directory>
      
    3. Restart the web server to apply all the updated settings:

      sudo systemctl restart apache2
      

After you run these commands, the server side will be configured for 1C-Bitrix to work correctly.

Configure 1C-BitrixConfigure 1C-Bitrix

Install and configure 1C-Bitrix:

  1. Open the 1C-Bitrix: Site Management web interface at http://<VM_public_IP_address>/ in your browser. A page will open prompting you to install 1C-Bitrix.

  2. Click Next on the installer welcome screen.

    Step 1

  3. Read the license agreement and select I accept the license agreement. Then click Next.

    Step 2

  4. You do not need to register the product (you can disable this option). Make sure the Install in UTF-8 encoding option is selected and click Next.

    Step 3

  5. 1C-Bitrix will check if the server is configured correctly. Click Next at the bottom of the page.

    Step 4

  6. Configure the database:

    1. In the Server field, enter the fully qualified domain name (FQDN) of the DB you created. To find out this name:
      1. In the management console, open the folder page in a new browser tab.
      2. In the list of services, select Managed Service for MySQL.
      3. In the window that opens, select the BitrixMySQL cluster you created earlier.
      4. Select the Hosts tab in the left-hand menu.
      5. In the Host FQDN field, hover over the host name (format: rc1c-cfazv1db********) and copy the database FQDN by clicking the icon that appears. The FQDN will be added to the host name, so the Server field should contain a name in rc1c-cfazv1db********.mdb.yandexcloud.net format.
    2. In the Username and Password fields, enter the data that you specified when creating the DB in Create a MySQL® DB cluster.
    3. In the Database name field, specify the name of the created DB (db1).
    4. Click Next.

    Step 5

  7. Wait for the system installation and DB initialization to complete.

    Step 6

  8. Create an administrator (a user to manage the system). Fill in the fields with your personal data and click Next.

    Step 7

  9. Select the Online store template and click Next.

    Step 8

  10. Confirm the selection of the only template and click Next.

    Step 9

  11. Select a color for the previously selected template and click Next.

    Step 10

  12. Fill in the fields according to your requirements for the online store and click Next.

    Step 11

  13. If necessary, enable the inventory management function and specify when to reserve items at the warehouse. Click Next.

    Step 12

  14. Enter your company information and click Next.

    Step 13

  15. Select the types of payers your online store will work with and click Next.

    Step 14

  16. Select the payment and delivery methods your online store supports and click Next.

    Step 15

  17. Wait for the system installation to complete.

    Step 16

  18. Once the installation is complete, click Go to website.

    Step 17

  19. The online store interface will open in edit mode.

    Step 18

  20. To view the website home page as a user, exit your website administration mode. To do this, click Exit in the top-right corner of the page and go to http://<VM_public_IP_address>/.
    To return to edit mode, log in to the website using the administrator credentials you provided when configuring 1C-Bitrix.

    Step 19

Tip

To get system backups, create disk snapshots on your VM from time to time.

How to delete the resources you createdHow to delete the resources you created

To stop paying for the resources you created:

  1. Delete the bitrixwebsite VM.
  2. Delete the MySQL® database cluster named Bitrix.

If you reserved a static public IP address specifically for this VM:

  1. Select Virtual Private Cloud in your folder.
  2. Go to the IP addresses tab.
  3. Find the required IP address, click , and select Delete.

See alsoSee also

  • Creating an online store with 1C-Bitrix: Site Management using Terraform.

Was the article helpful?

Previous
Overview
Next
Terraform
Yandex project
© 2025 Yandex.Cloud LLC