- −60%
- monthly infra + DevOps cost
- 2 weeks
- to move, 8-minute booking pause
- ~10 min
- to ship a change, was 2–3 days
Zomestays is a homestay booking platform: guests pick a city (Goa, NCR, Uttarakhand, Ayodhya), choose their dates and book a home. Like many young businesses, it started on AWS with an agency running the servers.
It worked, but it was expensive and slow to change. Today Zomestays runs on Nyas, the team ships changes themselves in minutes, and the monthly infra and DevOps cost is 60% lower. Here’s the full story: the problem, the goal, both architectures, the two-week move, and the results.
The problem
The agency had built a textbook AWS setup and charged a monthly retainer to look after it.
- Paying for peak, all year. Two servers and a standby database copy were sized for the busiest weekend. Average server load was about 15%.
- Paying for plumbing. A NAT gateway existed only so the servers could call the payment and email services, and it was billed every hour of the month.
- Paying for someone to press “deploy”. By the agency’s own reports, about 70% of retainer hours went on routine deploys and patches.
- Slow changes. A price change or a new city page meant a ticket and a deploy slot: 2–3 days, about three releases a month.
Where the money went
Biggest line first:
| Item | What we found |
|---|---|
| Agency DevOps retainer | over half the bill, mostly routine deploys and patches |
| Two servers, always on | ~15% average load |
| Database, with a standby copy | busy only on peak weekends |
| NAT gateway | there only for payment and email calls |
| Load balancer, CDN, monitoring, backups | small items that add up |
The goal
Agreed with the founder up front, so either side could check it:
- Specific
- Move Zomestays off the agency-run AWS setup onto Nyas, and hand day-to-day deploys to the in-house team.
- Measurable
- Monthly infra + DevOps cost at least 50% lower. Booking flow paused for no more than 15 minutes during the move. Small changes live the same day.
- Achievable
- Zomestays is a standard web app with a Postgres database and photo storage. Nothing in it depends on AWS-only services.
- Relevant
- Hosting was one of the biggest fixed costs, and slow changes cost bookings on busy weekends, when prices and availability move fastest.
- Time-bound
- Done within 4 weeks, before the winter holiday season.
The new architecture
Same app, same code. What changed is everything around it:
1. App service that scales with bookings
The app runs as a container on Nyas. Most days that’s one copy; on busy weekends Nyas adds copies as traffic grows, up to four, and removes them afterwards. Deploys roll out one copy at a time, so guests never see the site go down during a release.
2. Managed Postgres and photo storage
The database runs as a managed Postgres with daily backups, reachable only by the app. We tested a full restore during the move rather than taking it on trust. Stay photos sit in object storage behind the Nyas edge, which also handles HTTPS certificates.
3. One dashboard for logs and metrics
Errors, slow pages, traffic and cost live in one place. The founder can see what the app uses, and what it costs, any day of the month instead of waiting for an invoice.
4. Push, preview, promote
The team pushes code; Nyas builds it and gives a preview link. They check it on a phone, then promote it to live. About ten minutes end to end. If something’s wrong, promoting the previous build puts it back.
The NAT gateway, load balancer and standby servers simply aren’t needed any more.
How we moved it
Two weeks, rehearsed first, with the old setup kept as a safety net.
- Days 1–2Inventory
Listed every AWS resource, setting, scheduled job, payment webhook and DNS record, so nothing would be forgotten on the new side.
- Days 3–5Package and preview
Packaged the app, unchanged, into a container and deployed it to a Nyas preview link. Copied the stay photos across and updated their links.
- Days 6–8Rehearse the data move
Two full database copy-and-restore rehearsals, timed at about 6 minutes. Tested the whole booking flow on the preview, including payments in test mode.
- Day 9Prepare the switch
Lowered the domain’s DNS cache time to 60 seconds, so the switch would reach guests within a minute.
- Day 10, 3 a.m.Switch
Bookings paused for 8 minutes while browsing stayed up. Final data copy, domain pointed to Nyas, payment webhooks updated, smoke tests passed.
- Days 11–14Safety net
The old AWS setup stayed on standby for four days. Nothing needed it, so it was archived and shut down.
Results against the goal
| Measure | Goal | Result |
|---|---|---|
| Monthly infra + DevOps | ≥ 50% lower | 60% lower |
| Booking pause during the move | ≤ 15 min | 8 min, at 3 a.m. |
| Time to ship a small change | same day | ~10 minutes |
| Releases per month | 3 → 20+ | |
| Busy weekend | no manual work | scaled to 3 copies and back on its own |
| Time to finish | ≤ 4 weeks | 2 weeks |
The new cost counts Nyas plus an honest estimate of the team’s own time on deploys and upkeep (about two days a month).
Why Nyas
- Self-serve without a DevOps hire. Push, preview, promote. Anyone on the team who can change the code can ship it safely.
- Pay for what runs. Capacity follows bookings up on busy weekends and back down after, instead of sitting at peak all year.
- Everything in one place. App, Postgres, storage, HTTPS and logs in one project, on one bill.
- No lock-in. A standard container and standard Postgres. You can leave the way you came.
- We do the move with you. Formulate handles the migration end to end, then hands the keys to your team.
What we learned
- Check how busy your servers really are. At 15% average load, most of the bill was paying for idle capacity.
- The agency wasn’t the problem; the setup was. When every change needs a specialist, you pay a specialist for every change.
- Rehearse the data move, and time it. Two rehearsals turned the riskiest step into a known 6-minute task.
- Keep the old setup warm for a few days. It costs little and makes the switch an easy decision.
Is this you?
Worth a look if you pay an agency every month mostly for deploys, your servers are busy only on peak days, or a small change takes days to reach your customers.