India’s Leading Domain & Web Hosting Provider

  • Chat
    Live Chat 24 X 7 online support
  • Contact NTSPL Hosting support
    Call Now +91 - 8260003333
AWSFlexible packaging manufacturingManufacturing & Industrial

Packaging company moves its artwork approval portal from VMs to ECS on Fargate

Flexible packaging converter serving 300 FMCG brands · Daman and Ahmedabad, India · 5 weeks

Amazon Web Services
01

As-is situation

Brand managers approved print artwork through a PHP 7.4 portal on two Apache VMs with a MySQL database. Artwork PDFs and proofs, about 4 TB, lived on an NFS share mounted to both VMs. PHP 7.4 had been out of support since 2022, and upgrades failed because a PDF thumbnail library depended on an old ImageMagick build. During new product launches, approvals bunched up and the portal slowed to 10-second page loads. Brand managers escalated each delay because print slots were booked against approval dates.

  • PHP 7.4 and an old ImageMagick build blocked OS and runtime upgrades.
  • 4 TB of artwork on one NFS server with no snapshots.
  • Launch-season approvals pushed page loads to 10 seconds.
02

Approach, tools and architecture

NTSPL built a container image with PHP 8.1 and a matched ImageMagick package after verifying the app ran unchanged on PHP 8.1 in a test pass. The image runs on ECS with Fargate in Mumbai across two zones. Artwork moved to Amazon EFS with DataSync, mounted at the same path. Sessions moved to ElastiCache, and MySQL moved to RDS for MySQL on the same major version. A CodePipeline build replaced manual FTP deployments. No PHP business code was changed beyond two configuration flags.

PHP app → container image → ECS on Fargate → EFS artwork volume → ElastiCache sessions → RDS for MySQL
Amazon ECS on AWS FargateAmazon EFSAWS DataSyncAmazon ElastiCacheAmazon RDS for MySQLAWS CodePipeline
03

Implementation approach

Weeks 1-2 · CompatibilityRan the app on PHP 8.1 in a container and fixed two deprecation warnings via config.
Weeks 3-4 · Storage and dataSynced 4 TB to EFS and replicated MySQL.
Week 5 · CutoverSwitched DNS on a Saturday with a 30-minute freeze.
04

Measured results

Launch-season page load
10 seconds→1.6 seconds
Unsupported runtime
PHP 7.4→PHP 8.1
Artwork storage protection
No snapshots→Daily backups with 35-day retention

Operational improvements

  • Deployments take minutes through a pipeline instead of FTP copies.
  • Tasks scale out during launch weeks and back in afterwards.
05

Cost considerations

EFS with Infrequent Access lifecycle keeps older artwork cheap, since most proofs are untouched after 90 days. Fargate tasks run two in normal weeks and up to eight at launch peaks. Total run cost is about INR 1.3 lakh a month.

06

Return on investment

ROI indicator

Avoided NFS hardware replacement, about INR 18 lakh, and recovered approval time during launches justify the move. Faster approvals shorten print scheduling by about a day per launch, which brand customers noticed in their quarterly supplier reviews.

Illustrative scenario: a composite based on typical NTSPL engagement patterns for this industry and service. It does not describe a named customer. The figures are indicative, and actual results depend on the workload, its scale and the commercial terms.