What each platform asks for
| WooCommerce | OpenCart | Magento Open Source | |
|---|---|---|---|
| Runs on | PHP, MariaDB/MySQL | PHP, MariaDB/MySQL | PHP, MySQL/MariaDB, OpenSearch, Redis |
| Heaviest part | Plugins, cart requests, background actions | Extensions, filters without indexes | Indexing, search, deployments |
| First server (starting point) | 2 vCPU, 4 GB | 1 vCPU, 2 GB | 4 vCPU, 8 GB; 16 GB is comfortable |
| When it grows | More vCPU, object cache | More RAM for the database | Separate database and search server |
| Background work | Action Scheduler through system cron | Cron for feeds and currency | Cron is mandatory, every minute |
Product count alone says little: ten thousand simple products with indexed filters are lighter than five hundred with forty attributes each. Count the people in the cart at once instead.
- Standard₼39.90/mo
2 vCPU · 4 GB RAM · 60 GB NVMe
Public IP +₼10/mo, With public IP: ₼49.90/mo
- Professional₼73.90/mo
4 vCPU · 8 GB RAM · 100 GB NVMe
Public IP +₼10/mo, With public IP: ₼83.90/mo
- Business Pro₼145.90/mo
8 vCPU · 16 GB RAM · 160 GB NVMe
Public IP +₼10/mo, With public IP: ₼155.90/mo
| Plan | vCPU | RAM | NVMe | Server, monthly | With public IP |
|---|---|---|---|---|---|
| Standard | 2 | 4 GB | 60 GB | ₼39.90/mo | ₼49.90/mo |
| Professional | 4 | 8 GB | 100 GB | ₼73.90/mo | ₼83.90/mo |
| Business Pro | 8 | 16 GB | 160 GB | ₼145.90/mo | ₼155.90/mo |
Prices in manat (AZN), billed monthly. The public IP is +₼10 a month and is assigned automatically.
A small OpenCart shop fits Starter at ₼29.90 a month, or Basic (₼37.90) with a second vCPU for imports. Standard (2 vCPU, 4 GB RAM, 60 GB NVMe) suits a first WooCommerce shop and a busy OpenCart one. Plus (₼65.90) doubles the vCPU for campaigns; Professional (₼83.90) doubles the memory as well and is where Magento begins. Business Pro is the calm choice for Magento. The prices in this paragraph are with the public IP a shop needs, ₼10 a month of each.
Calculate the peak before the campaign
Take a message sent to 10,000 subscribers. Suppose 15% open the shop within ten minutes:
- 1,500 visitors × 5 pages = 7,500 page views, or 12.5 per second.
- If the page cache answers 70%, PHP builds 3.75 pages a second.
- At 0.4 seconds of CPU per page that is 1.5 vCPU busy without a pause.
On 2 vCPU the checkout now competes with everything else; on 4 vCPU there is room. The cheap fix is visible too: raising the cache share from 70% to 90% cuts the load to a third. Sending the message in four batches, 15 minutes apart, costs nothing at all.
Check the guess on a copy of the shop, never on the live one, and from another machine:
sudo apt install apache2-utils
ab -n 500 -c 20 https://staging.example.az/category/shoesWatch top and the 95% line of the result. If the CPU is full and that line is over two seconds, you have found your limit. Configuration of nginx cache and PHP workers is on the WordPress server page; most of it applies to any PHP shop, with cart, checkout and account pages excluded.
Checkout: the path that must not break
Use the payment page or hosted fields of your bank or payment provider, so card numbers never touch your server. Then protect the messages that come back:
- The callback is a separate request. Buyers close the tab after paying. Mark the order paid from the server-to-server notification, not from the "thank you" page.
- Expect duplicates. Providers repeat notifications. Store the transaction ID with a unique index and answer success the second time without changing the order.
- Verify the signature and the amount against your own order before changing the status.
- Keep the URL reachable: no page cache, no basic auth, no redirect, a valid certificate chain. An expired certificate stops payments before visitors notice.
- Log every callback and keep the log for months: it is your evidence in a dispute.
- Reconcile daily: compare the provider's report with paid orders.
Two people buying the last item is a database problem, not a hosting one. Let one statement decide:
UPDATE stock SET qty = qty - 1 WHERE sku = 'A-100' AND qty >= 1;If it changed one row, the sale is valid. If it changed none, the item is gone; tell the buyer before payment.
Stock and accounting sync
Accounting software, the warehouse and marketplaces all want the same numbers, and a full import at noon is a classic cause of a slow shop.
- Send changes since the last run, and do the full export at night.
- Never let two runs overlap.
flockin/etc/cron.d/shop-stockdoes this:
*/10 * * * * www-data flock -n /run/lock/shop-stock.lock nice -n 10 php /var/www/shop/bin/stock-import.php 2>&1 | logger -t shop-stock- Read it with
journalctl -t shop-stock, and send yourself an alert when the last success is older than an hour. - Write to a staging table first, check that the row count is plausible, then apply. An empty file must not set the whole catalogue to zero.
- If the accounting server is yours too, connect the machines over a private network instead of opening its port to the internet.
One server or two
One server is simpler and right for most shops. Split when the database and PHP fight over memory, or when reports and imports slow down buyers. Servers ordered together share a private subnet, so the shop talks to the database server over the internal address while a firewall keeps the database port closed to the internet. The bill is simply the two plans: Professional for PHP and Standard for the database come to ₼133.80 a month with a public IP on each. If the database must have no public address at all, order it as a private network VPS behind your own router (a new network and router cost ₼35 a month, the server itself is ₼10 cheaper), and plan how it receives updates and sends backups. Keep product photos in object storage if they outgrow the disk.
Uptime habits that cost nothing
A 99.9% SLA allows about 43 minutes of downtime in a 30-day month, and it covers the platform, not a broken plugin. The rest depends on you:
- Monitor the product page, the cart and the callback URL from outside, not just the home page.
- Place a real test order every Monday and before each campaign.
- Alert at 80% disk. A full disk stops the database first.
- Freeze updates three days before a sale.
- Dump the database before any update:
sudo mariadb-dump --single-transaction --quick shop | gzip > shop-$(date +%F).sql.gz, and copy it off the server. - Restore that dump on another machine once a quarter and note how long it took.
Where buyers are matters too. For customers in Azerbaijan, Baku is close and personal data stays in the country. If you sell mostly to Turkey or Western Europe, put the shop there.
Questions shop owners ask
How much RAM does WooCommerce need?
Start with 4 GB and 2 vCPU for a live shop. 2 GB is possible with a small catalogue and few plugins, but imports and backups will compete with buyers. Measure PHP worker size before deciding.
Can Magento run on 4 GB of RAM?
It installs, but the search engine, the database and PHP leave no reserve, and reindexing becomes painful. Treat 8 GB as the minimum for production and 16 GB as normal.
Does Cloudraft connect my shop to a payment system?
No. The payment contract and the module are between you and your bank or provider. What the server gives you is a public address, root access and the ability to open the exact URLs the provider needs.
Can I upgrade for a sale and go back afterwards?
You can request more CPU, RAM or disk from the panel. Do it several days before the sale and restart at a quiet hour. Ask support in advance about returning to a smaller size, because a disk that has grown is not simple to shrink.