Confidential client, name withheld under NDA

Database Migration and Dependency Updating Optimized

Quick answer: A Rails app can move from Heroku to AWS by matching Ruby packages to EC2 Ubuntu, updating old libraries and restoring data into RDS PostgreSQL. Bacancy Technology did this for a strata community management platform.

Outcomes deliveredDelivered October to November 2023 by a team of 2 developers
40%

Fewer dependency conflicts

Outdated packages replaced

30%

Better server resource fit

EC2 sized by CPU, memory and storage

25%

Less server maintenance effort

Packages aligned with backend support

Client name withheld under NDA. To honour our non-disclosure agreement and compliance obligations, we describe this client by industry and region only. The project scope, technology and outcomes are shared without details that could identify them.

About the Client

The client is a strata community management platform that helps manage building maintenance. Users get instant access to documents, reports and real-time budget scenarios.

The Ruby on Rails app ran on Heroku and needed to move to AWS. Dependencies had to match between Heroku and an EC2 Ubuntu server. Project libraries and packages showed discrepancies after installation, and the database migration was complex.

A 2-developer Bacancy Technology team completed the move between October 2023 and November 2023. It installed Ruby packages for the Ubuntu version and replaced outdated libraries. Our developers backed up the Heroku PostgreSQL database and imported it into Amazon RDS. They also set up DNS and chose EC2 instances, with storage on EBS and Amazon S3.

Industry
BFSI
Location
USA
Team
2 developers
Timeline
October 2023 to November 2023
Project size
Non-disclosable

Challenges & Solutions

Our Ruby on Rails developers handled the server, the libraries and the data as 3 steps of one migration.

Challenge 1: Matching dependencies from Heroku to EC2 Ubuntu

Dependencies that worked on Heroku had to match an EC2 server running Ubuntu.

Solution: Our developers installed the Ruby support packages built for the exact Ubuntu version on the EC2 instance.

Challenge 2: Fixing library and package mismatches

Project libraries and packages showed discrepancies after installation.

Solution: Our team removed outdated dependencies and replaced them with updated packages that fit the backend's support and limits.

Challenge 3: Migrating the production database

The PostgreSQL database had to move from Heroku to AWS without losing data.

Solution: Our developers backed up the Heroku PostgreSQL database, set up an Amazon RDS PostgreSQL instance and imported the data into the new environment.

How the Platform Works

The client strata community management platform on AWS

Core Features

  • Right-sized EC2 instancesInstances chosen by CPU, memory and storage needs.
  • Heroku to AWS database migrationPostgreSQL data moved into Amazon RDS.
  • DNS managementThe platform domain transferred and set up on the new stack.
  • Multi-storage setupEBS for block-level storage and Amazon S3 for scale.

The stack behind the migration

Frontend
JavaScript | Bootstrap
Backend
Ruby on Rails
Database
Amazon RDS PostgreSQL
Cloud
AWS EC2 (Ubuntu) | Amazon EBS | Amazon S3
Previous hosting
Heroku

Ready to start?

2500+ projects delivered by Bacancy Technology

Get access to an experienced team of developers and engineers from Bacancy Technology, handpicked to ace your goals. Kickstart within 48 hours, no-risk trial.

Book A 30 Min Call
14+Years of business experience
1458+Happy customers
30+Countries with happy customers
1050+Agile-enabled employees

More Case Studies

View All Case Studies