success story demo

CASE STUDY AQUA

AQUA Vietnam is a leading electrical appliances company in Vietnam. The company was opened in Vietnam with the establishment of SANYO Factory in 1996 and underwent memorable historical milestones including being voted the No. 1 household electric brand in Vietnam in 2001 and becoming a member of Haier Group in 2012. Since Aqua Vietnam continues to develop and diversify product lines and electrical appliances for the Vietnamese market. In 2018, the company’s revenue reach USD 200 million, and the goal of USD 500 million in the next 5 years.

aqua 3 1

Industry:

Manufacturing

Technique:

AWS

CUSTOMER CHALLENGE

AQUA is running a number of Microsoft workloads in various environments, mainly Microsoft Azure. However following a strategic decision from the HQ, AQUA was required to align with the group and use the AWS platform. AQUA technical team approched Renova Cloud to first to help them to migrate all workloads to AWS. As a second phase, AQUA also needed to create a reliable process of CI/CD to speed up and stabilize their application software release cycle.

AQUA had multiple applications running in Azure Web App Service and several MS SQL Server databases running on Azure SQL. Of these applications and databases, 3 apps were identified as business critical and required to migrate, the same requirement for 2 databases. All these applications are .NET Framework 4.5.2 version and require IIS. It was requested to setup a CI/CD process for all 3 applications.

AQUA needed the following:

– Migration Web applications and Databases to AWS Cloud platform

– Monitoring and quick response to issues on Production

– Easy administration and maintenance of resources (should not have to remote to Windows Server and configure IIS web server)

– Leverage AWS services for full digital and online services, remote and automation, services monitoring and notification

– Auto scaling and elasticity to scale according to demand

– Infrastructure costs optimization

– CI/CD process for all applications

These needs should be covered by a service that supports auto scaling and allows customer to manage servers from the UI (AWS Console) with a good support for Microsoft Windows Server and IIS.

THE SOLUTION

Renova Cloud migrated AQUA’s workloads to EC2 for Microsoft Windows Server environment where the resources are provisioned by Elastic Beanstalk managed platform .NET on Windows. In this managed platform, IIS web server is configured to run the .NET app on IIS with customizable settings.

The solution runs Elastic Beanstalk with a CloudFormation template that can be automatically updated using a CI/CD workflow setup using Jenkins CI deployed on the AWS account. Elastic Beanstalk is set to auto-scale in and out between 1 instance and 2 instances for all the applications, so that during times of high traffic the CPU usage is used to trigger scaling to a second instance. The 2 Microsoft SQL Server databases are hosted in 1 RDS SQL Server instance. CloudWatch logs are used for all logging purposes, and metrics and alarms are applied to alert on the health of the solution.

All 3 Elastic Beanstalk apps EC2 instances are located in private subnets with security group rules restricting inbound traffic, while NAT Gateway and a Windows bastion host in the same VPC are facilitating outgoing connections to internet and remote connections. The public-facing front of web apps are Application Load Balancer which also handles routing the traffic to EC2 instances. AQUA uses external DNS provider and domain registrar to associate custom domain DNS to the load balancer, while Renova Cloud has setup ACM for applying the SSL certificate in ALB so that the sites are accessible only through secure HTTPS protocol.

Aqua Vietnam AWS Diagram 1536x950 1 1

For SQL Server databases, Renova Cloud utilized Database Migration Service (DMS) with Azure SQL as a source. Both data and schema were migrated successfully. Some settings and configuration like external tables and auto-increment had to be manually recorded and re-created in the RDS as DMS doesn’t do it.

Renova Cloud supported AQUA to setup AWS Toolkit in Visual Studio development environment, and modify app code and configuration to ensure functioning in auto scaling environment. This is necessary so that the app is not dependent on locally stored state in the hosting instance. For some of the applications, the code had to be modified to stop the app storing user files (static images) in the local file system. For these applications, Renova Cloud guided the AQUA development team to modify the application to use private S3 buckets for storage instead. This way no user files are persisted in the instances, making it possible to scale in and out.

A complete CI/CD pipeline was setup after discussion between Renova Cloud and AQUA application development team. The CI/CD flow is based on Jenkins CI cluster running on EC2 instances hosted in a separate VPC on AQUA’s AWS account. The administration is performed with a small master node on Linux, while the build jobs are run on a Windows agent node. Windows Server with .NET build tools installed is used because .NET Framework requires Windows builds. AQUA hosts source code in GitHub and on commit to one of the source code repositories, a webhook triggers a Jenkins build in the corresponding build job, either on staging or on production environment based on the source branch. If Jenkins build is successful, the package is put into an S3 bucket and an Elastic Beanstalk deployment is triggered to update the environment. Immutable deployment in EB is used to minimize downtime.

Steps of CI/CD flow:

1/ AQUA developer commit to source code in GitHub

2/ GitHub sends webhook to Jenkins CI with parameters branch, project

3/ Jenkins triggers build job-based on the webhook parameters (staging/production; project)

4/ Jenkins checks out the source code from the correct GitHub repository and branch

5/ Jenkins builds the project using MSBuild for .NET Framework 4.5

6/ For a successful build, Jenkins uploads the package to a private S3 bucket using MSDeploy

7/ Jenkins triggers an Elastic Beanstalk deployment with the package on S3 and new version

8/ Elastic Beanstalk performs immutable deployment and updates the environment

9/ Jenkins records the build results and stores the build artifacts and logs

10/ Elastic Beanstalk updates the environment health and deployment logs

Highlights of the solution:

  • Elastic Beanstalk for all .NET Framework workloads
    • Using managed platform: .NET on Windows Server
  • Advantages of Elastic Beanstalk
    • Managed platform which is pre-configured to run .NET Framework on IIS
    • Load balancing and auto scaling support
    • Monitoring UI from AWS Console
    • Ease of use for AQUA
  • RDS with MS SQL Server Standard
  • Using RDS, database is managed and stable with backups, resilience
  • S3, EBS snapshots and RDS snapshot copy for backups
  • CloudWatch for monitoring
  • VPC services; VPN connections and NAT Gateway
AQUA Vietnam CI CD 1024x469 1 1

BENEFITS

AQUA is able to improve operations as result of the migration and CI/CD on AWS. All the web services have better performance than before the migration, and the database is also showing improved performance. The cost savings due to the ability to scale based on usage are significant.

The automation with the CI/CD flow provides the fastest release times, any time a new feature is completed in the code, the CI/CD process builds and tests the new code and deploys it directly to production environment with minimal time and disruption to the end users. The solution is accompanied with the CI/CD scripts, yaml files, CloudFormation templates and deployment manifests documented by Renova Cloud to provide AQUA the means to fully understand the apps and the system. With this Infrastructure as Code (IaC) approach, everything in the system becomes reproducible. If an instance experiences a problem, it can be stopped or terminated, and new instance automatically set up. No manual access to IIS web server or app’s physical file system in the Windows Server instance is required. This reduces the admin and operations workload and allows the team to focus on other tasks.

Renova Cloud’s solution leveraging Elastic Beanstalk .NET on Windows platform, RDS for SQL Server, and other AWS services is architected with the highest security, but without compromising the operational excellence or the cost effectiveness. The potential attack surface is minimized through the proper use of isolated VPCs, private subnets, security groups and VPN connection. As such, AQUA can be assured of the security.

RELATED STORIES

6 1
Cloud Reselling White 1

GSM

GSM’s Journey with Amazon EKS

GSM has decided to adopt Amazon EKS, entrusting its container orchestration capabilities would provide a robust solution for GSM’s complex IT infrastructure.Read more>
6 1 7
Cloud Reselling White 1

Ngân hàng Thương mại Cổ phần

Joint Stock Commercial Bank successfully accelerated growth by migrating to AWS

The competitive digital race among banks is increasingly fierce, focusing on attracting technology-savvy customers. The commercial bank wanted to stay ahead of the competition and required scalable, reliable and cost-effective back-end infrastructure for rapid growth.Read more>
IMV web 610x400 1
Cloud Reselling White 1

IMV

IMV’s Business Intelligence Empowered by AWS Data Management Solution

The former infrastructure of IMV lacked the scalability required to accommodate the growing volumes of data and the increasing demand for business intelligence and analytics. Read more>
web 610x400 5
Cloud Reselling White 1

E-wallet

Vietnam’s Prominent E-wallet Migrated Its Two Most Critical Workloads to AWS

The E-wallet in question is one of Vietnam’s largest online payment platforms, developed and published by one of the most dominant technology players in the region. Read more>
web 610x400 8
Cloud Reselling White 1

F88

F88’s Journey to a Secure and Centralized Data Management with AWS Cloud Solutions

Established in 2013, F88 stands as the forerunner network of secure lending in Vietnam, focusing on serving micro & small enterprises as well as individual customers. Receiving substantial financial support from renowned global Read more>
web 610x400 12
Cloud Reselling White 1

Greenfeed

Greenfeed Data optimization solution with AWS

Greenfeed's mission is to provide consumers with a clean food chain from farm to table with the 3F Plus process - FARM FEED FOOD. Read more>
web 610x400 3
DevOps Transform White 1

Startup oi

RENOVA – STARTUP OI – SUCCESS STORY

Startup Oi is a new social media and tech talent platform. Startup Oi has an ambitious goal to focus on professional needs of tech engineers and developers, building a digital community and connecting with job opportunities and tech events. Read more>
web 610x400 5
Cloud Reselling White 1

Vietcetera

VIETCETERA – MIGRATION JOURNEY TO AWS

Founded in 2016, Vietcetera is a first-of-its-kind multimedia digital platform producing editorial content along with video series and podcasts in both Vietnamese and English.Read more>
imv photo
Cloud Reselling White 1

IMV

IMV – ON-PREMISE TO CLOUD JOURNEY

International Minh Viet Joint Stock Co. is a distribution company which entails general trade, modern trade, as well as an e-commerce channel. Read more>
smartpay illustration photo
Cloud Reselling White 1

Smartpay

SmartPay Rehost and Replatform Migration on AWS

SmartPay is an important contender in the Vietnamese payment apps landscape and experiencing growth with new vendors, partners, and users. Read more>
pepsico case study product scaled
Cloud Reselling White 1

Pepsi Co Myanmar

Accelerate SAP S/4HANA Transformation With AWS

Pepsi Co Myanmar was looking to modernize their existing systems and launch a new platform for their users and applications utilizing the up-to-date technology solutions and choose SAP S/4HANA on AWS. Read more>
engineers working photo
Cloud Reselling White 1

Nutifood Group

AWS Immersion Day with Nutifood Group

The goal of this educational workshop was to empower N Group's IT team and leadership to confidently use the AWS platform for their benefit, and unlock new business opportunitiesRead more>
photo 1571247865791 9d7ed2ddf033
Cloud Reselling White 1

Tadiran

Serverless application implementation on AWS for Tadiran Group

Tadiran is a leading technical and electrical appliances manufacturer company. Some of the company’s more famous product lines include batteries and air conditioners. Read more>
webinar blog banner
Cloud Reselling White 1

Scratchpay

Scratchpay Security best practices and well-built architecture on GCP

Evaluation and assessment of the existing GCP environment for best practices and well-built architecture methodologiesRead more>
UAB CLOUD NATIVE APPS 1
uab white 1

UAB - Connect. Create. Change.

UAB BANK CLOUD NATIVE APPS

As a part of the modernisation and digitalisation strategy, UAB is expanding its services to build mobile apps for payment and e-Wallet purposes to serve the growing Myanmar consumer banking marketRead more>
YOMA MIGRATION MANAGED SERVICES 1
yoma white 2

Yoma

Yoma Transformation to AWS Cloud

The increasing demand for Yoma’s applications and business across different verticals requires to have a digital transformation journey with an effective migration to the cloud.Read more>
AQUA AUTOMATION DEVOPS 1
aqua white 1

AQUA

AQUA – Migration & CI/CD

AQUA is able to improve operations as result of the migration and CI/CD on AWS as well as able to release new features faster with minimal time and disruption to the end users.Read more>
SOVIGAZ PROTECTS CRITICAL SYSTEMS ON AWS 1
sovigaz white 2

SOVIGAZ

Sovigaz – migrating to AWS

The agility of the new infrastructure help Sovigaz to relieve the burden of on premise infrastructure management and limitations as well as access to advanced services offered on AWS platform. Read more>
KAOPIZ AUTOMATION CI CD 1
kaopiz white 2

KAOPIZ

Kaopiz’s Infrastructure Automation

Automate the processes on AWS and create an environment to test new features to support the Development & QA team to deliver jobs faster, automated and without a deep level of experience and skills on AWS.Read more>
NAVIGOS MIGRATION BACKUP 1
navigos white 2

NAVIGOS

Navigos’ journey to the Cloud

As part of the company commitment to it’s customers, it is essential to secure a robust disaster recovery process. Navigos’ application requires to have a fast and effective reaction in the disaster recovery scenarios.Read more>
SABECO MIGRATION WELL ARCHITECTED 1
sabeco white 1

SABECO

Sabeco Case Study

Having migrated to AWS, Sabeco is capable of quickly responding to increased traffic and services’ usage when necessary, making running marketing campaigns and launching new features less risky.Read more>
Nkid case study image 1
Nkid white 1

NKID’S

Nkid’s journey to the Cloud

Nkid Group is running a number of Microsoft workloads in various environments including on-premises, local data center in Vietnam, Microsoft Azure and AWS.Read more>