Cloud Infrastructure Automation and CI/CD Pipeline Setup for Ecommerce PaaS

AWS DevOps Services for Online Marketplace PaaS | Customer Case Study | Ecommerce

Verified by AWS

Romexsoft AWS Partner Network Badge 2022

Executive Summary

Our Customer

Omnyfy is a multi-vendor online marketplace platform delivered as a PaaS offering. Omnyfy provides a feature-rich marketplace solution that enables its users to create almost any kind of marketplace – from product or service marketplace to B2B, procurement or booking marketplaces.

Omnyfy ecommerce marketplace platform is delivered as a fully managed service for end customers (partners) and is built on top of Magento 2 and Amazon Web Services.

At the moment when Omnyfy started cooperation with Romexsoft, they had dozens of partners and planned to grow by 50% in the following 6 months.

The Obstacles They Faced

Manual configuration and provisioning of cloud infrastructures took a long period of time and required additional resources for proper validation and testing.

To support company’s growth and improve time-to-market, Omnyfy was seeking an experienced AWS Consulting Partner to help them reduce operational overhead and enhance customer experience through Cloud Infrastructure Automation by applying best DevOps practices.

How We Helped

Romexsoft DevOps Team implemented an efficient Magento 2 AWS CI/CD Pipeline and delivered a comprehensive Cloud Infrastructure Automation Solution for the whole Omnyfy PaaS Organization to automate the provisioning of multiple infrastructures on the new AWS accounts.

The Challenge

By design, a particular client’s IT infrastructure utilizes AWS Organizations service where each marketplace has its own AWS account within the central Omnyfy AWS Organization. However, those client’s environments and cloud resources within AWS accounts were configured manually and the code was provisioned manually by BASH scripts on EC2 instances directly.

As the number of marketplaces was continuously growing, automation of the cloud infrastructure and deployment processes for existing and new marketplaces became an important task to implement.

Primary challenges were:

  • improve time-to-market
  • reduce operational overhead
  • increase observability & testability
  • increase portability of the cloud environments
  • remove manual work in cloud environments setup, configuration, and provisioning

The Solution

Solution Delivered by Romexsoft

Romexsoft AWS Solution Architects started with a precise analysis of Omnyfy infrastructure, cloud resources, and business operations.

Since every marketplace built on Omnyfy’s platform is a separate replica of the infrastructure, the automation script created & implemented by Romexsoft eliminated the time and efforts spent on infrastructure spin-up. This script allows to deploy the infrastructure automatically every time when the partners create a new marketplace or make changes to an already existing one.

To address this matter Romexsoft suggested using the IaaC approach to automate infrastructure and set up a separate AWS Control account for provisioning, deploying and managing all marketplaces from one location. Upon client’s agreement Terraform was chosen as a main tool for IaaC.

DevOps Automation
To eliminate a lot of manual development work required for the platform’s efficient operation we prepared the script, which allowed to automate the following:

  • to keep track of the changes in the source code of the partners’ marketplaces
  • to compile the application (partner’s marketplace) from this code
  • to launch unit/integration/automation tests
  • to deploy partners’ applications (marketplace)
  • to scan all needed health checks & points
  • to reroute traffic to the latest version/release of partner’s marketplace

To support the successful implementation of the CI/CD automation project, Romexsoft DevOps team started with the Migration from BASH to Ansible. Ansible roles were prepared instead of BASH scripts and all hardcoded values were put into Ansible variables. Romerxsoft rewrote all config files using Ansible Jinja2 templating, tested and compared Ansible execution results with the existing BASH results. Ansible Vault was used to store all sensitive data in an encrypted file.

The next step included Building Golden AMI. Romexsoft prepared and tested Hashicorp Packer template to create Golden AWS AMI (image with installed and configured all base packages: Nginx, Varnish, PHP, etc.) and performed the integration of Ansible roles, for which Romexsoft used Golden AMI in the CI/CD configuration step, in the Terraform code.

Finally, Romexsoft Implemented Magento 2 AWS CI/CD pipeline using AWS CodePipeline. We created Terraform templates to spin up and set up CI/CD using AWS Resources (CodePipeline, CodeBuild, CodeDeploy, IAM roles/policies, S3 buckets).

Romexsoft also configured AWS CodeBuild read-only access to Bitbucket repositories and BitBucket web-hooks to launch Magento 2 AWS CI/CD pipeline autonomously from Partner’s side. The Ansible roles were used on each build phase. Romexsoft finished the project by testing CI/CD pipelines on Omnyfy platform and on the Client’s Partners solutions built on top of this platform.

Amazon Web Services Utilized

  • AWS EC2
  • AWS Aurora MySQL-Compatible
  • AWS Elastic IP
  • AWS S3
  • AWS Route53
  • AWS CodePipeline (AWS CodeBuild, AWS CodeDeploy)

Cloud Infrastructure Automation and Magento 2 AWS CI/CD Pipeline AWS Architecture Diagram

Magento2 AWS CI/CD Pipeline AWS Architecture Diagram
Cloud Infrastructure Automation and Magento 2 AWS CI/CD Pipeline for Multi-vendor Marketplace PaaS Architecture Diagram.

What We Achieved Together

Romexsoft successfully delivered the cloud infrastructure automation solution as well as CI/CD Magento 2 AWS pipeline for the core Omnyfy Ecommerce PaaS and all their existing partners.

Key deliverables:

  • automation of the most business operational tasks
  • reduced human factor errors and security posture
  • increased performance of the whole PaaS system
  • increased development efficiency & improved release cycle
  • new partners engagement and marketplace launch takes 1 business day
  • new cloud infrastructure setup & provisioning takes 2 hours compared to 48 hours before


Omnyfy Marketplace Platform
“Romexsoft always delivers great service and help us to achieve business goal.”
Marshall Lee, CTO at Omnyfy

Verified by AWS

This case study is validated by AWS. Experts and professional auditors from AWS reviewed this case study and verified that we, Romexsoft, have built a functional infrastructure and efficient cloud solution.

It showcases the value that Romexsoft, being a certified AWS Consulting Partner, delivers cloud solutions according to AWS standards and best practices.

Check out Romexsoft’s profile at AWS Partner Network.

Romexsoft Select Tier Services AWS Partner Network Badge 2022

Why Romexsoft

Romexsoft is an AWS-certified Consulting Partner, trusted Software Development Company and Managed Service Provider, founded in 2004. We help customer-centric companies build, run, and optimize their cloud systems on AWS with creative, elegant, and cost-efficient solutions.

Our key values

  • Delivery of quality solutions
  • Customer satisfaction
  • Long-term partnership

We have successfully delivered 100+ projects and have a proven track record in FinTech, HealthCare, AdTech, and Media industries.

Romexsoft possesses a 5-star rating on Clutch due to its strong expertise, responsiveness, and commitment. 60% of our clients have been working with us for over 4 years.

Recent Success Stories

Building Text-to-Speech SaaS Solutions on AWS for AdTech Company

IT Staff Augmentation Services | Customer Case Study | AdTech

EHR Software Development Services for Health-Care Provider

Managed Team | Customer Case Study | HealthCare

AWS DevOps Services for Health-Care Technology Company

AWS DevOps Services | Customer Case Study | Healthcare

Let’s Talk about Your Business Needs!