Bitrix
1C-Bitrix is a professional CMS and platform for creating corporate websites, online stores, and PHP web applications. It is deployed in a managed Kubernetes cluster, completely integrated with the Yandex Cloud infrastructure.
Main features and benefits
- Full-featured CMS. CMS with a visual editor and a page constructor for creating websites of any complexity.
- Ready-made solutions for e-commerce. Modules for online stores with a shopping cart, sales catalog, order placement, and integration with payment systems.
- Better performance. Kubernetes-based deployment ensures horizontal scaling, load balancing, and high availability.
- Flexible architecture. The optional components include Git for versioning, cron for automation, Push & Pull for real-time notifications, Sphinx for full-text search, Redis for caching.
- Secure data storage. Media files and backups are stored in Yandex Object Storage, and sensitive data, in Yandex Lockbox. The solution employs a Yandex Managed Service for MySQL® database with automatic backup, replication, and monitoring.
- Monitoring and metrics. Embedded support for PHP and Nginx metric export to ensure integration with monitoring systems.
- Deployment automation. SSL and TLS certificates obtained through the cert-manager or your own ones; automatic configuration of Ingress, DNS, and load balancers.
-
Create a Yandex Virtual Private Cloud network and three subnets in the
ru-central1-a,ru-central1-b, andru-central1-davailability zones. All three subnets must belong to one and the same VPC network. -
Create and delegate a public DNS zone for your domain.
-
Create a service account and assign it the
k8s.admin,vpc.admin,mdb.admin,storage.admin,dns.editor, andlockbox.payloadViewerroles for the folder where you will install your application. -
Create an authorized key and save it to a file named
key.json:yc iam key create \ --service-account-name <service_account_name> \ --format json \ --output key.json -
Create a Yandex Lockbox secret with a key:
passwordfor storing the password of the Yandex Managed Service for MySQL® database, at least 8 characters long.smtp_passwordfor storing the mailbox password.auth_jsonfor storing the contents ofkey.json.
-
In the management console, select the folder where you want to deploy the application.
-
Go to Cloud Apps.
-
In the left-hand panel, select Marketplace.
-
Select Bitrix and click Use.
-
Specify the following:
- Application name: Name of your Bitrix instance.
- Application description. This is an optional property.
- Service account you created earlier.
- VPC subnets in the
ru-central1-a,ru-central1-b, andru-central1-davailability zones. - ID of the DNS zone to host the application’s domain.
- Site subdomain. This is an optional property. The default value is
bitrix. - Number of vCPUs per Kubernetes cluster node. This is an optional property. The default value is 4.
- Amount of RAM in GB per Kubernetes cluster node. This is an optional property. The default value is 8 GB.
- Size of a Kubernetes cluster node’s disk in GB. This is an optional property. The default value is 50 GB.
- Range of IP addresses in CIDR notation for cluster pods, e.g.,
10.112.0.0/16. This is an optional property. - Range of IP addresses in CIDR notation for cluster services, e.g.,
10.96.0.0/16. This is an optional property. - CIDR block for access to the Kubernetes API (ports 443 and 6443). This is an optional property. The default value is
0.0.0.0/0, with all incoming network traffic allowed. - CIDR block for access to NodePort services (ports 30000-32767). This is an optional property. The default value is
0.0.0.0/0, with all incoming network traffic allowed. - Size of a Kubernetes volume for files, in GB. This is an optional property. The default value is 10 GB.
- Storage class for a Kubernetes volume. This is an optional property. The default value is
yc-network-hdd. For more information, see Volume. - MySQL® host class. This is an optional property. The default value is s3-c2-m8 (2 vCPUs, 8 GB RAM). For more information, see MySQL® host classes.
- Name of the Managed Service for MySQL® database for Bitrix. This is an optional property. The default value is
bitrix. - Username for the Managed Service for MySQL® database. This is an optional property. The default value is
bitrix. - ID of the secret with the DB password for accessing the Managed Service for MySQL® cluster you created earlier.
- SMTP server addresses.
- SMTP port, e.g., 587. This is an optional property.
- SMTP user, i.e., the email for SMTP authorization.
- The previously created ID of the mailbox password secret.
- ID of the authorization key secret.
- Email address to get notifications from Let’s Encrypt.
-
Optionally, enable the following:
- Enable cron for Bitrix agents: Use cron to run Bitrix agents on schedule.
- Enable Sphinx for full-text search.
- Enable Redis for caching (only available for testing).
-
Click Install and wait for the installation to complete. The installation takes around 30-50 minutes.
-
In your browser, navigate to
https://<your_domain>and follow the instructions of the Bitrix installation wizard (bitrixsetup.php). -
Complete the setup through the 1C-Bitrix web interface.
Deleting an application
- Delete all objects from the Yandex Object Storage buckets created when installing the application: you can only delete empty buckets. You can delete the bucket by running the
yc storage bucket delete bitrix-cloud-app-{application.id}command. - Delete the Bitrix instance.
- Creating corporate websites and portals with content management.
- Deploying online stores integrated with 1C to synchronize goods and orders.
- Building high-load web applications with autoscaling in Kubernetes.
- Creating multi-website solutions with centralized management.
- Developing B2B and B2C platforms integrated with payment systems and delivery services.
- Constructing corporate websites integrated with the 1C ecosystem.
Yandex Cloud technical support is available 24/7. The types of requests you can submit and the relevant response times depend on your pricing plan. You can switch to the paid support plan in the management console. You can learn more about the technical support terms and conditions here.
| Resource type | Quantity |
|---|---|
| Resource record | 1 |
| Cluster | 1 |
| Node group | 1 |
| MySQL Database | 1 |
| MySQL User | 1 |
| Service accounts | 2 |
| Static access key | 1 |
| Folder members | 7 |
| VPC Security groups | 2 |
| VPC IP-adress | 1 |
| Object Storage Bucket | 1 |