← Back to blog

Published on

Zenifra, Magalu Cloud, Square Cloud, Discloud, or AWS São Paulo: where should you host an app with a database in Brazil?

For an always-on web app with managed PostgreSQL, paid in Brazilian reais, with the application and database confirmed in Brazil, Zenifra has the lowest cost in this comparison: R$ 41.80 per month (Basic + DB-Starter) plus R$ 0.20 per GB of database disk. Discloud and Square Cloud cost less for bots and small apps (Square Cloud runs in New York), Magalu Cloud is a full IaaS with two regions in Brazil, and AWS has the largest ecosystem, with a São Paulo region and prices in dollars; this guide compares all five with official sources read on November 6, 2026, the cost math laid out, and latency measured from Brazil.

Short answer: where to host an app with a database and pay in reais

For an always-on web app with managed PostgreSQL, paid in Brazilian reais, with the application and database confirmed in Brazil, Zenifra is the lowest-cost option in this comparison: R$ 41.80 per month (Basic + DB-Starter) plus R$ 0.20 per GB of database disk, paid by PIX, boleto, or card, with no IOF. If the project is a bot or a small app and server location matters little, Discloud and Square Cloud charge less; if you need virtual machines, Kubernetes, or two regions in Brazil, Magalu Cloud fits, and if your company already depends on AWS, Lightsail and RDS run in São Paulo with prices in dollars and an invoice in reais.

The five options do not sell the same thing, and comparing only the entry price is misleading. Zenifra is a managed platform (PaaS): you deploy from GitHub, Forgejo, or a Docker image, and the platform handles HTTPS, deploys, the database, and backups. Magalu Cloud is infrastructure as a service (IaaS): it provides virtual machines, Kubernetes, and a managed database, and the rest of the setup is up to you. Square Cloud and Discloud are PaaS offerings aimed at bots and small applications, where the database runs inside the memory of the plan itself. AWS, in the São Paulo region (sa-east-1), ranges from Lightsail’s fixed-price bundles to RDS and Elastic Beanstalk.

The numbers in this guide come from each company’s official pages, read on November 6, 2026, and from Zenifra’s public catalog, queried the same day. AWS dollar prices were converted at the PTAX selling rate of November 5, 2026 (R$ 5.4621), with no IOF, because AWS Serviços Brasil (AWS SBL) issues the invoice in reais; the taxes AWS charges separately appear in the cost section. Information without an official source was left out of the text, and the table says so when a data point could not be confirmed.

The cost scenario is the most common one for anyone launching a product: a web application or API running 24 hours a day, with a managed PostgreSQL database next to it. For bots, static sites, or large databases, the math changes, and each option’s section shows where it has the edge over Zenifra and where it falls behind.

Zenifra, Magalu Cloud, Square Cloud, Discloud, and AWS side by side

The table summarizes what each official page said on November 6, 2026. "Smallest web app" is the smallest plan that runs an application with a backend reachable over the web, and "smallest PostgreSQL" is the smallest plan where PostgreSQL is available. On Square Cloud and Discloud, the database runs inside the plan’s memory, next to the application, rather than as a separately billed product.

Three details explain the first entry for each option. On Zenifra, the Static plan (R$ 5.90) is for static sites only and does not run a backend, so the web app starts on Basic. On Magalu Cloud, the smallest option for an application is a virtual machine, where you install the operating system, the runtime, and the web server. On AWS, the smallest managed-container path in São Paulo is the Lightsail container service, because App Runner does not exist in sa-east-1 and does not accept new customers.

On Zenifra’s side, applications and databases run in São Paulo and are separate projects. PostgreSQL goes from 1 to 6 instances, with automatic failover from 2 instances up, and automatic backups are included in the plan: on DB-Starter, one backup per day, kept for 7 days. Besides PostgreSQL, the catalog has MariaDB, Valkey (key-value, cache, and queues), and ClickHouse for analytics, and the application talks to the database over a private connection that does not cross the internet. The catalog has no virtual machines and no Kubernetes: if you need those pieces, you fit the Magalu Cloud or AWS profile.

OptionTypeRegionCurrency and paymentManaged databaseSmallest web appSmallest PostgreSQLFree
ZenifraPaaS (deploys from GitHub, Forgejo, or a Docker image)São PauloReais; PIX, boleto, or card, no IOFPostgreSQL, MariaDB, Valkey, and ClickHouse, as separate projectsBasic: R$ 29.90/month (0.5 vCPU, 512 MB)DB-Starter: R$ 11.90/month (0.3 vCPU, 256 MB) + R$ 0.20 per GB of diskNone; hourly billing from R$ 0.05 on Basic; 5 GB free on Armazém
Magalu CloudIaaS (VMs, Kubernetes, Container Registry, DBaaS, Block and Object Storage, VPC)br-se1 (Southeast, 3 zones) and br-ne1 (Northeast, 2 zones)Reais, taxes included; Brazilian card required; PIX and boleto only through support or salesMySQL and PostgreSQL (DBaaS)VM BV1-1-10: R$ 34.99/month (1 vCPU, 1 GB, 10 GB)BV1-4 (1 vCPU, 4 GB): R$ 94.22/month; with a 1 GiB volume, R$ 95.03No; R$ 100 in credits (R$ 50 in month 1 and R$ 50 in month 2), with a card
Square CloudPaaS for bots, sites, APIs, SaaS, and databases (deploys from GitHub, CLI, or ZIP)New York (Telehouse New York Teleport, Staten Island)Reais; one-off PIX and Brazilian or international cardsMongoDB, PostgreSQL 17, MySQL, and Redis, inside the plan’s RAM, from Standard upHobby: R$ 12.49/month (1 vCPU, 1 GB; up to 2 sites, each with at least 512 MB)Standard: R$ 44.99/month (4 GB for the app and the database; PostgreSQL needs at least 1 GB)No
DiscloudPaaS focused on bots; also sites, APIs, and Dockerfile applicationsNot confirmed by an official sourceReais; site payments processed by Stripe; PayPal and Revolut by ticketPostgreSQL 17, MySQL 9.0, MongoDB 8.0, Redis 8.0, and Valkey 7.2, inside the plan’s RAMPlatinum: R$ 10.99/month (2 GB)Diamond: R$ 24.00/month (4 GB shared with the application)100 MB, 1 bot, and no sites; free apps left offline are deleted after 30 days
AWS (São Paulo)IaaS and managed services (Lightsail, RDS, Elastic Beanstalk)São Paulo (sa-east-1)Priced in dollars; invoiced in reais by AWS SBL, taxes billed separately; card, TED, or PIX (if the account meets the requirements)Lightsail database (MySQL and PostgreSQL) and RDSLightsail Nano container: US$ 7/month (0.25 vCPU, 512 MB)Lightsail 1 GB database: US$ 15/month (40 GB SSD); RDS db.t4g.micro with 20 GiB: US$ 29.20/monthUp to US$ 200 in credits for 6 months; Lightsail three-month free trial

Two quick readings. On the price of an app with a database, Discloud has the lowest entry point (R$ 24.00 on Diamond), followed by Zenifra (R$ 41.80 plus disk) and Square Cloud (R$ 44.99); Magalu Cloud and AWS go above R$ 100 in this scenario. On data in Brazil, the confirmed options are Zenifra, Magalu Cloud, and AWS in São Paulo; Square Cloud runs in New York, and we could not confirm Discloud’s region in an official source.

Magalu Cloud: full infrastructure in two Brazilian regions

Magalu Cloud is an infrastructure cloud: virtual machines, Kubernetes, a Docker-standard Container Registry, a managed database (DBaaS) with MySQL and PostgreSQL, block and object storage, and private networks (VPC). The pricing page lists no PaaS and no direct deploys from GitHub, so the way to publish an application is a VM or a Kubernetes cluster that you configure.

What it does better than Zenifra: it has two regions in Brazil, br-se1 in the Southeast, with 3 zones, and br-ne1 in the Northeast, with 2 zones, while Zenifra runs applications and databases in São Paulo. If you need to spread the application across zones, want to serve the Northeast from closer by, or need VMs and Kubernetes with full control of the system, Magalu offers pieces Zenifra does not sell. Prices are in reais with taxes included, and the smallest VM, BV1-1-10, has 1 vCPU, 1 GB, and 10 GB of disk for R$ 34.99 per month: twice the CPU and memory of Zenifra’s Basic (0.5 vCPU and 512 MB), for R$ 5.09 more.

On the database side, the first tier also has more memory. The smallest PostgreSQL, BV1-4, has 1 vCPU and 4 GB of RAM for R$ 94.22 per month, or R$ 95.03 with the minimum 1 GiB volume and R$ 175.22 with 100 GiB. If your database needs 4 GB of memory, Magalu gets there for less than what Zenifra charges for db-premium, with 2 vCPU and 2 GB (R$ 129.90 per month, plus disk).

Where it falls behind: for a small app, the bill starts high. The smallest PostgreSQL costs R$ 94.22, against R$ 11.90 for Zenifra’s DB-Starter, and there is no free plan, only R$ 100 in credits split across the first two months, unlocked with a card. Payment requires a Brazilian credit card (Visa, Mastercard, or Elo) to unlock resources, international cards are not accepted, and PIX or boleto are available only through support or sales. And because it is IaaS, running the application is your job: the operating system, security updates, the runtime, the reverse proxy, the TLS certificate, and the deploy process. The VPS or managed platform guide shows how much time that work usually takes.

Square Cloud: low prices for bots and small apps, with servers in New York

Square Cloud is a PaaS for bots, sites, APIs, SaaS, and databases, with deploys from GitHub, from the CLI, or by uploading a ZIP file. Prices are in reais, and payment accepts one-off PIX and Brazilian or international cards. The data center listed on its infrastructure page is Telehouse New York Teleport, in Staten Island, New York: the servers are outside Brazil.

What it does better than Zenifra: the entry price for bots and small applications. The Hobby plan costs R$ 12.49 per month (R$ 9.99 per month on the yearly plan), with 1 vCPU and 1 GB of memory, and holds up to 4 bots or 2 sites, each site with at least 512 MB. Zenifra’s Basic costs R$ 29.90 with 0.5 vCPU and 512 MB. If you host bots or a site with a light backend and do not depend on a server in Brazil, you pay less and get more CPU and memory on Square Cloud.

In the database scenario, Square Cloud also has a strong argument. The Standard plan, at R$ 44.99 per month (R$ 35.99 per month on the yearly plan), comes with 4 GB of memory to share between the application and the databases, with PostgreSQL 17, MongoDB, MySQL, and Redis available. On Zenifra, R$ 41.80 (plus disk) pays for 512 MB for the application and 256 MB for the database, separately. In memory per real, Square Cloud delivers more.

Where it falls behind: the region. With the data center in New York, every connection from a user in Brazil crosses the continent, and data that must stay in the country, by contract or internal policy, does not. Databases only appear from Standard up and use the plan’s RAM, so a memory spike in the application competes with the database, and PostgreSQL 17 needs at least 1 GB of those 4 GB. There is no free plan either: to test it, you have to buy Hobby.

Discloud: the cheapest entry for bots, with databases inside the plan

Discloud’s plans page carries the headline "Hospedagem de Bots Grátis" (free bot hosting), and its About page describes a PaaS for bots, sites, APIs, and Dockerfile applications. Automatic deploys from GitHub are available from the Gold plan up. Paid plans go from Gold, with 1 GB for R$ 5.99, to Ruby, with 8 GB for R$ 48.00, through Platinum (2 GB, R$ 10.99) and Diamond (4 GB, R$ 24.00).

What it does better than Zenifra: cost for bots and small projects. A bot fits on Gold, at R$ 5.99, and the free plan accepts 1 bot with 100 MB. For the web, Platinum costs R$ 10.99 with 2 GB, less than half the price of Zenifra’s Basic, with four times the memory. In the database scenario, Diamond puts the application and the database in 4 GB for R$ 24.00, the lowest price in this comparison, and the list of engines is long: PostgreSQL 17, MySQL 9.0, MongoDB 8.0, Redis 8.0, and Valkey 7.2. MongoDB, for example, is not in Zenifra’s database catalog.

Where it falls behind: the tiers weigh on web applications. Gold does not accept sites; sites and APIs start on Platinum, with at least 512 MB per site, and databases only appear on Diamond, sharing the 4 GB with the application. The free plan does not accept sites, and free applications that stay offline are deleted after 30 days. Site payments are processed by Stripe; PayPal and Revolut are handled by ticket.

We did not find, in an official source, the region where Discloud’s applications run, so it is left out of this guide’s latency comparison. If data in Brazil is a requirement for your project, confirm the location with Discloud before buying. The same care applies to Discloud and Square Cloud when the database holds customer data: since it runs inside the plan, read each provider’s documentation on how backup and restore work before taking the project to production.

AWS in São Paulo: the largest ecosystem, priced in dollars

AWS has a region in São Paulo (sa-east-1) and the largest ecosystem of the five options, and teams that already use AWS for other projects can reuse the accounts, permissions, and tools they have. To start simple, Lightsail runs in sa-east-1 with fixed-price bundles, and the Lightsail container service runs container images. Elastic Beanstalk has no charge of its own: you pay only for the resources it creates, such as EC2 instances.

What it does better than Zenifra: breadth and growth paths within the same provider. A project that starts on Lightsail can move its database to RDS or orchestrate instances with Elastic Beanstalk without switching accounts. AWS Serviços Brasil (AWS SBL) issues NFS-e invoices in reais and accepts cards (Visa, Mastercard, Amex, and Elo), TED, and PIX when the account meets the requirements. The free plan gives up to US$ 200 in credits for 6 months, and an account on that plan closes when the period ends; Lightsail also advertises a three-month free trial, without saying on the page which bundles it covers.

Where it falls behind: prices stay in dollars. The invoice comes in reais, but converted at the exchange rate on the invoice date, so the same usage can cost different amounts in reais from one month to the next. Taxes are billed separately: AWS’s tax page for Brazil lists PIS/COFINS at 9.25% and ISS at 2.9%. And App Runner does not exist in sa-east-1 and does not accept new customers, which leaves Lightsail or a combination of services as the path in São Paulo.

In resources, the Lightsail Nano container has 0.25 vCPU and 512 MB for US$ 7 (R$ 38.23 at the PTAX rate): half the CPU of Zenifra’s Basic, for R$ 8.33 more before taxes. The Lightsail 0.5 GB VM costs US$ 5 and comes with 2 vCPUs, 20 GB of SSD, and 1 TB of transfer, with half of that allowance in São Paulo, but then the operating system and deploys are yours. On RDS, the PostgreSQL db.t4g.micro costs US$ 0.034 per hour, and gp2 or gp3 storage costs US$ 0.219 per GB-month, with a 20 GiB minimum.

What an always-on app with managed PostgreSQL costs on each option

The scenario is the same for everyone: a web application or API running all month and a managed PostgreSQL database. We used each option’s smallest plan where the scenario works, on monthly billing, with the math laid out so you can redo it. For Zenifra, prices come from the public catalog in cents: Basic 2990, DB-Starter 1190, and 20 cents per GB of database disk per month, the amount the public calculator applies to the PostgreSQL volume.

For AWS, RDS was calculated with 730 hours in the month, and every dollar amount was multiplied by the PTAX selling rate of November 5, 2026, R$ 5.4621, with the result rounded to the cent. Magalu Cloud, Square Cloud, and Discloud already publish prices in reais; Magalu’s include taxes.

Option and configurationApplicationPostgreSQLMathMonthly total
Zenifra: Basic + DB-Starter, 1 GB of diskR$ 29.90 (0.5 vCPU, 512 MB)R$ 11.90 (0.3 vCPU, 256 MB) + 1 GB × R$ 0.2029.90 + 11.90 + 0.20R$ 42.00, no IOF
Zenifra: Basic + DB-Starter, 20 GB of diskR$ 29.90R$ 11.90 + 20 GB × R$ 0.2029.90 + 11.90 + 4.00R$ 45.80, no IOF
Discloud: DiamondInside the plan (4 GB in total)Inside the plan, in the same RAMR$ 24.00R$ 24.00
Square Cloud: StandardInside the plan (4 GB in total)PostgreSQL 17, at least 1 GB of the 4 GBR$ 44.99R$ 44.99 (R$ 35.99 per month on the yearly plan)
Magalu Cloud: VM BV1-1-10 + PostgreSQL BV1-4 with 1 GiBR$ 34.99 (1 vCPU, 1 GB, 10 GB)R$ 95.03 (1 vCPU, 4 GB, 1 GiB volume)34.99 + 95.03R$ 130.02, taxes included
AWS: Lightsail 0.5 GB VM + Lightsail 1 GB databaseUS$ 5 (2 vCPUs, 0.5 GB, 20 GB SSD)US$ 15 (1 GB, 40 GB SSD)(5 + 15) × 5.4621R$ 109.24 + PIS/COFINS and ISS
AWS: Lightsail Nano container + Lightsail 1 GB databaseUS$ 7 (0.25 vCPU, 512 MB)US$ 15 (1 GB, 40 GB SSD)(7 + 15) × 5.4621R$ 120.17 + PIS/COFINS and ISS
AWS: Lightsail Nano container + RDS db.t4g.micro with 20 GiBUS$ 70.034 × 730 h = US$ 24.82 + 20 GiB × US$ 0.219 = US$ 4.38(7 + 24.82 + 4.38) × 5.4621R$ 197.73 + PIS/COFINS and ISS

An honest reading of the table: on price, Discloud wins comfortably, and Square Cloud is close to Zenifra on monthly billing and below it on the yearly plan. Both deliver more memory per real, because the application and the database share 4 GB; in exchange, the database competes with the application for memory, Square Cloud runs in New York, and Discloud’s region is not confirmed. Among the options with the application and the database confirmed in Brazil, Zenifra comes to R$ 42.00 with 1 GB of disk, against R$ 109.24 to R$ 197.73 on AWS before taxes and R$ 130.02 on Magalu Cloud.

The resources are not identical, and that changes the reading. Magalu’s VM has 1 vCPU and 1 GB, and its PostgreSQL has 4 GB of RAM; the Lightsail database has 1 GB and 40 GB of SSD; Zenifra’s DB-Starter has 0.3 vCPU, 256 MB, and up to 15 simultaneous connections. If your database needs more headroom, compare with Zenifra’s db-basic (1 vCPU, 1 GB, 72 connections, R$ 49.90) or db-premium (2 vCPU, 2 GB, 147 connections, R$ 129.90), always plus disk. With 40 GB of disk, the same as the Lightsail database, Zenifra’s scenario comes to R$ 49.80.

For production, Zenifra’s documentation recommends at least 2 application instances and 2 to 6 PostgreSQL instances, so a replica can take over if the primary fails. Each instance is billed at the plan price, and database disk is billed per GB on each instance. With 2 Basic instances and 2 DB-Starter instances with 1 GB each, the bill comes to 2 × 29.90 + 2 × (11.90 + 0.20) = R$ 84.00 per month. The other options also charge more for redundancy, and each one calculates it differently; compare the configuration you will actually run.

On AWS, the November 5, 2026 PTAX rate is only a reference: AWS SBL converts at the exchange rate on the invoice date and adds PIS/COFINS (9.25%) and ISS (2.9%), which its tax page lists as billed separately. Since the tax base for those taxes only appears on the invoice, the table shows the amount before them. We did not apply the 3.5% IOF on international card purchases because the AWS SBL invoice is issued in reais.

Zenifra’s other billing modes: on the yearly contract, the scenario costs R$ 328.90 (Basic) + R$ 130.90 (DB-Starter) + R$ 2.40 (1 GB × R$ 0.20 × 12) = R$ 462.20 per year. On hourly billing, Basic costs R$ 0.05 per hour; running for 720 hours, that is R$ 36.00, more than the monthly plan, so hourly billing pays off for applications that run fewer than 598 hours in the cycle.

Where does the data live, and how much does distance add to latency?

The data lives in the region where the application and the database run: on Zenifra, in São Paulo; on AWS, in sa-east-1, when you choose that region; on Magalu Cloud, in br-se1 or br-ne1; and on Square Cloud, in New York. Distance adds hundreds of milliseconds per new connection: in the benchmark Zenifra published, a server in São Paulo answered a new HTTPS connection made from São Paulo in 18 ms, against 378 ms for a server in Washington.

The measurement is in the Cloud hosting in Brazil guide and used the public Globalping API on November 6, 2026, with 8 rounds per city and target pair, from residential connections in São Paulo, Rio de Janeiro, and Fortaleza. The reference targets are the same AWS endpoint, DynamoDB’s /ping, in sa-east-1 and in us-east-1 (Northern Virginia, the region Vercel calls Washington). Zenifra runs in São Paulo, so the sa-east-1 row is the distance reference for it. The table shows the median time to first byte for a new HTTPS connection, without DNS.

OptionWhere the application runsWhat was measuredFrom São PauloFrom Rio de JaneiroFrom Fortaleza
Reference in São Paulo, Zenifra’s city: AWS sa-east-1São Paulo (sa-east-1)DynamoDB /ping in sa-east-1, the same region as Lightsail and RDS in São Paulo18 ms44 ms162 ms
Reference outside Brazil: AWS us-east-1Washington (Northern Virginia)DynamoDB /ping in us-east-1378 ms335 ms304 ms
Square CloudNew York (Staten Island)Not measuredNot measuredNot measuredNot measured
Magalu Cloudbr-se1 (Southeast) or br-ne1 (Northeast)Not measuredNot measuredNot measuredNot measured
DiscloudNot confirmed by an official sourceNot measuredNot measuredNot measuredNot measured

Square Cloud was not part of the measurement, and the Washington number is not its number: New York is another city and another data center. What the table does show is the order of magnitude for a server on the US East Coast as seen from Brazil, hundreds of milliseconds above a server in São Paulo on every new connection. Magalu Cloud and Discloud were not measured either; Magalu has both of its regions in Brazil.

Distance also matters between the application and the database. In the same benchmark, the network round trip was 5 ms from São Paulo to São Paulo and 124 ms from São Paulo to Washington, and 20 sequential queries with the database far from the application wait about 2.5 seconds, against 100 ms with both in the same region. On all five options, the application and the database can sit together: on Square Cloud and Discloud, the database runs inside the plan; on Magalu and AWS, you just create the application and the database in the same region. The distance left is between the user and the application.

On Zenifra, the application talks to the database over a private connection, at an internal address that does not cross the internet, and the database’s public access can be turned off afterwards; backups are kept on Zenifra infrastructure in Brazil. For bots, the math is different: what exchanges messages with the bot’s server is the chat platform’s API, not the user’s browser, so the server’s location relative to Brazil tends to matter less.

When should you pick each of the five options?

Pick based on what the project requires first: data in Brazil and an app with a database without running servers point to Zenifra; the lowest price for bots, to Discloud or Square Cloud; control over infrastructure and two Brazilian regions, to Magalu Cloud; and integration with an environment that already lives on AWS, to AWS in São Paulo.

In practice, almost no team chooses on entry price alone. It also matters who will handle updates and backups, whether finance can pay the invoice (Brazilian card, international card, PIX, or boleto), how much the bill varies from month to month, and how much it costs to leave later. The list below summarizes the profiles where each option has the edge.

  • Zenifra: a product with users in Brazil, the application and managed PostgreSQL in São Paulo, deploys from GitHub or a Docker image, prices in reais paid by PIX, boleto, or card, hourly billing for testing, and R$ 41.80 per month plus disk for the first scenario with a database.
  • Magalu Cloud: a team with infrastructure experience that needs VMs, Kubernetes, VPC, or two regions in Brazil (Southeast and Northeast), with prices in reais and taxes included, and that has a Brazilian credit card to unlock resources.
  • Square Cloud: bots, sites, and small APIs where server location matters little, with Hobby at R$ 12.49 and one-off PIX; for an app with a database, Standard gives 4 GB to share for R$ 44.99, running in New York.
  • Discloud: bots and small projects on the tightest budget, from the 100 MB free plan up to Diamond, which puts the application and the database in 4 GB for R$ 24.00; confirm the region if data in Brazil is a requirement.
  • AWS in São Paulo: companies that already have an account, permissions, and other services on AWS, or that will need services only a provider of that size offers, accepting prices in dollars, taxes billed separately, and more pieces to assemble.

Before deciding, answer four questions with numbers: which city the application and the database will run in, and whether they sit together; what the real scenario costs per month, with the number of instances and the disk you will use; how the database is backed up and restored; and who pays the invoice, with which payment method. To compare Zenifra with Railway, Heroku, and Vercel, see the Brazilian alternatives guide as well.

What is the cheapest option to host a bot?

Discloud: the free plan accepts 1 bot with 100 MB, and the paid Gold plan has 1 GB for R$ 5.99 per month, with automatic deploys from GitHub. Square Cloud comes next, with Hobby at R$ 12.49 per month (R$ 9.99 on the yearly plan), 1 vCPU, 1 GB, and up to 4 bots.

Two things to check before choosing. On Discloud’s free plan, applications that stay offline are deleted after 30 days, so it works for testing, not for a bot someone depends on. And neither of the two confirms servers in Brazil: Square Cloud runs in New York, and Discloud’s region is not confirmed in an official source. For most bots, that matters little.

On Zenifra, a bot runs as a private HTTP project, with no public route, from Basic up, for R$ 29.90 per month or R$ 0.05 per hour. For a standalone bot, Discloud and Square Cloud come out cheaper; Zenifra starts to make sense when the bot shares a database, queue, or cache with an application that already runs on the platform.

Does Square Cloud have servers in Brazil?

No. Square Cloud’s infrastructure page states that its data center is Telehouse New York Teleport, in Staten Island, New York, in the United States. Prices are in reais and payment accepts PIX, but the application and the database run outside the country.

In practice, this affects two things. The first is latency for users in Brazil: we did not measure New York, but the closest reference in the benchmark, Washington, came in hundreds of milliseconds above São Paulo on every new connection. The second is where the data lives: if a contract or an internal policy requires data in Brazil, Square Cloud does not meet it. For bots and projects where neither matters, it is still one of the cheapest options in this comparison.

Does AWS in São Paulo charge IOF?

In this guide’s math, no: AWS Serviços Brasil (AWS SBL) issues NFS-e invoices in reais, so we did not apply the 3.5% IOF on international card purchases. In its place come the taxes AWS lists as billed separately, PIS/COFINS at 9.25% and ISS at 2.9%, and prices are still set in dollars, converted at the exchange rate on the invoice date.

To budget, use the PTAX rate as a reference and leave a margin for the exchange rate and the taxes. Payment can be made by card (Visa, Mastercard, Amex, or Elo), TED, or PIX, when the account meets AWS’s requirements. On Zenifra, Magalu Cloud, Square Cloud, and Discloud, prices are already published in reais, and Magalu’s include taxes.

Can you pay Magalu Cloud with PIX or boleto?

Only through support or the sales team. According to its payment methods documentation, Magalu Cloud requires a Brazilian credit card (Visa, Mastercard, or Elo) to unlock resources and does not accept international cards; PIX and boleto are handled by support or sales.

The other options work differently. On Zenifra, the organization adds credit by PIX (from R$ 5.00 to R$ 5,000.00) or boleto (from R$ 30.00 to R$ 49,999.99) directly in the Console, and a credit card in reais works as an automatic fallback when the credit does not cover the cycle. Square Cloud accepts one-off PIX and Brazilian or international cards, and AWS accepts PIX when the account meets the requirements.

How do you start an app with a database on Zenifra at the lowest cost?

The smallest scenario with a backend pairs the application on Basic, with 0.5 vCPU and 512 MB, for R$ 29.90 per month or R$ 0.05 per hour, with PostgreSQL on DB-Starter, with 0.3 vCPU, 256 MB, up to 15 connections, and a daily backup kept for 7 days, for R$ 11.90 per month or R$ 0.018 per hour, plus R$ 0.20 per GB of disk. With a 1 GB database, the monthly bill comes to R$ 42.00.

The application is not shut down for lack of traffic, and CPU and memory metrics are on plans from Premium up. Sign-up asks for a CPF or CNPJ, a mobile number, and an address in Brazil. The steps below follow the documentation guides:

  • 1. In the Console side menu, click Create project, choose PostgreSQL Database, and select the DB-Starter plan. The user and the database are both called app; copy the password or the full connection string as soon as the project is created, because it is shown only once.
  • 2. Click Create project again and choose HTTP Application on the Basic plan. Under Project Source, choose Git repository (GitHub or Forgejo) or OCI Image, with a fixed tag such as v1.2.3 instead of latest.
  • 3. Enter the application port and, under Environment Variables, add DATABASE_URL with the database connection string.
  • 4. Optional: on the organization’s connection map, drag from the application’s connector to the database, confirm, and wait for the status to change from Preparing to Active.
  • 5. Replace DATABASE_URL with the internal address shown on the map, with sslmode=require, validate the connection, and turn off the Public access card when editing the database. From then on, the database accepts only the applications connected to it.
bash
# Public URI, as the Console shows it after creation
DATABASE_URL=postgresql://app:<password>@postgresql-<project-id>.managed.zenifra.com:<port>/app?sslmode=require

# Through the internal address, after creating the private connection
DATABASE_URL=postgres://app:<password>@<project>.<organization-id>.zenifra.local:5432/app?sslmode=require

The public URI works as the Console delivers it, with no code change and no extra variable, in the common Node.js, Python, PHP, and Go drivers. For production, the documentation recommends 2 or more instances of the application and of the database, which brings the scenario to R$ 84.00 per month with Basic and DB-Starter.

Estimate app + PostgreSQL in the calculator

We respect your privacy

We use essential cookies to run this site. Measurement and marketing cookies, such as Google Ads, are only enabled when you accept all cookies. Read our cookie policy.