Skip to content
EM Marketing
  • Services
  • Case Studies
  • Blog
  • About
  • Contact
  • Instagram
Log in
No account yet? Create Account
EM Marketing
  • Services
  • Case Studies
  • Blog
  • About
  • Contact
Search
Log in Create Account
Cart
00 items

An API Solution for APCO

While APCO has expertise in engineering process controls for large physical facilities and systems, they found their skills in web systems engineering wanting. This gap in skills was apparent when, in partnership with a company that specializes in advanced industrial data analytics, the two companies were in need of solution to recognize network endpoints for particular state variables.

Work with us
A Case Study for APCO

Background

APCO helps a variety of large industrial systems to operate efficiently and effectively. From supporting safe water delivery with water treatment centers to ensuring the safe operations of refineries, they work with a wide range of industries and projects.

The Challenge

As part of their service offerings, APCO often partners with software providers to install technical programs for their clients, in this instance, an advanced industrial data analytics software. This software is licensed for a particular span of time, determined by contract. APCO and their partner faced a challenge: how could they disable the software when the contract expired and hadn't been renewed?

The proposed solutions did not have the right functionality to meet their needs:

  • If they established the licensing expiration within the software at installation, APCO would have to physically return to the site to update the licensing—an impractical solution, considering the quantity of clients and the resources required to regularly return to their site.
  • An alternative that was briefly considered but ultimately ran into the same issues: APCO could sell versioned software and require purchase for future versions. Still, APCO personnel would have to interface with the software onsite.
  • If they installed an established device to reactivate the licensing, they would have the inconvenience of re-engaging the codebase; additionally, this introduces the risk of organizations simply editing the code themselves to allow access.

Clearly, the solution would require a different approach.

The Approach

EM introduced a fresh perspective: what if the active or inactive status of a license were managed independently of the software itself? By delegating the oversight to an external server, the onsite software could simply send network requests to verify whether it is authorized to serve the user.

The external server would need to perform two main functions:

  1. Allow CRUD (creation, read, updates, and deletion) of licenses
  2. Respond to network requests with the status of a particular license

APCO needed a means to conveniently and easily edit the list of licenses and save them to the server. Additionally, they didn't want to let all traffic have unlimited access. The server should require authorization in the HTTP request header.

Simplify Management
For easy operations, APCO would need a user-friendly way to edit, manage, and update license records directly to the server.

Filter Traffic
A method to restrict server access was necessary. For security, the server would need to authenticate requests using authorization included in the HTTP request headers.

Serverless Computing
Since the requests would be intermittent, a long-lived runtime wouldn't be necessary. Utilizing serverless computing would be advantageous in this case.

The Solution

For convenience, the AWS ecosystem was selected to employ AWS Lambda for this solution. With the Lambda service, EM was able to execute code in response to a network request and respond efficiently, without the need to maintain a long-running server.

Configuring Convenient Licensing
EM simplified license editing and deployment for APCO by using a CSV file stored in the repository. GitHub's web interface allows users to edit the file directly and commit changes, creating an updated version seamlessly. Once updated, GitHub Actions parse the CSV, convert its contents into an array, and prepend that array to the top of the function. The function is then zipped and deployed via the AWS CLI, ensuring an updated and seamless deployment process.

Secure Access
EM configured a secure API system that requires a bearer token to be included in the request headers for proper authentication. If the token is missing or invalid, the system responds with a 401 error. Thorough testing ensured effective error handling across various scenarios. Thanks to EM's thoughtful design, APCO and their partners can now easily distribute and license their software.

Conclusion

By implementing a secure, efficient system for license management, EM empowered APCO to streamline their software licensing and distribution seamlessly and securely. The combination of a user-friendly, API-driven solution with robust error handling ensures smooth operations for APCO, their partners, and their clients. As a result, APCO can now confidently scale their software offerings with ease and reliability.

See the site
Other case studies

See more of our work

Read more
An aerial view of a refinery at night
  • Design & Development
  • SEM Optimization

APCO: A Process Control Automation Company

APCO needed a well-structured website that would effectively communicate their services and the industries they serve in a way that would resonate ...

An API Solution for APCO
  • Custom Solutions
  • Design & Development

An API Solution for APCO

Background APCO helps a variety of large industrial systems to operate efficiently and effectively. From supporting safe water delivery with wat...

Jumpy Monkey Coffee
  • Design & Development
  • Marketing
  • SEM Optimization
  • Shopify

Jumpy Monkey Coffee

Jumpy Monkey Coffee, a small business with a heart for giving back, set out to upgrade their website for a seamless shopping experience and to ampl...

Simple Teen Success
  • Custom Solutions
  • Design & Development
  • Kajabi
  • SEM Optimization

Simple Teen Success

Derrick Kinney, author of Good Money Revolution and financial planning coach, wanted to launch a program geared to helping teens learn the foundati...

LivRing by J3Bioscience
  • Design & Development
  • SEM Optimization
  • Shopify

LivRing by J3Bioscience

J3Bioscience brought to market an OTC FDA-cleared, non-hormonal vaginal moisturizer that consumers can purchase directly. EM created a retail site ...

Atmosphera Beauty
  • Design & Development
  • SEM Optimization
  • Shopify

Atmosphera Beauty

Rebranded from Medikate Skincare, Atmosphera Beauty transformed to better educate consumers across Canada, and the United States, about skin and it...

EM Marketing

Quick links

  • Contact
  • Services
  • Case Studies
  • Blog
  • About
  • Search

Quick links

  • Contact
  • Services
  • Case Studies
  • Blog
  • About
  • Search

Let's stay in touch!

Want website tips sent straight to your inbox? Send over your email and I'll add you to the list! You'll get tips on how to ensure your site is user-friendly, fast, and ready to convert.

© 2025 EM Marketing. Powered by Shopify
  • Refund policy
  • Shipping policy
  • Terms of service
  • Privacy policy
  • Contact information

Cart 0

Congratulations! You qualify for free shipping!

There’s nothing in your cart yet

Start Shopping

Loading...

Subtotal

$0.00 USD

Taxes and shipping calculated at checkout
View Cart
  • Choosing a selection results in a full page refresh.