FUGZ Official

How we automated FUGZ Official’s AWS operations and reduced infrastructure costs by an estimated 50%

FUGZ Official AWS infrastructure automation cover image

A cleaner infrastructure workflow for a live NFT project.

FUGZ Official is an NFT project with production frontend and backend infrastructure, along with a separate staging environment used for testing, reviews, and development work.

The project had two recurring infrastructure problems. Production SSL certificates needed ongoing monitoring and manual renewal, while the staging backend and frontend were hosted on an AWS EC2 instance that kept running even when it was not actively needed.

Avalency created a practical automation layer around the existing infrastructure, reducing manual certificate maintenance and making the staging environment easier to manage without requiring a developer on standby for small operational tasks.

Manual server maintenance was creating unnecessary risk and cost.

The production backend and frontend depended on SSL certificates that needed to be checked and renewed before expiration. If this process was missed, the application risked losing secure HTTPS access and appearing unsafe to users.

The staging environment created a separate issue. It was useful during active development, but it stayed online even when it was not being used, creating unnecessary AWS costs.

Turning the staging server on and off also created technical friction. When the EC2 instance was stopped and started, AWS could assign a new public IP address, causing the staging domains to point to the wrong target and breaking access for the founder and team.

We automated the fragile parts of the infrastructure.

The solution focused on removing repeated manual work from the infrastructure process. Instead of relying on someone to remember certificate checks, manually renew SSL, or troubleshoot staging access every time the server restarted, we created a more reliable operating flow around the existing AWS setup.

For production SSL maintenance, Avalency created a Bash automation script that interacts with Certbot, checks whether renewal is required, renews certificates only when needed, and safely exits when no update is necessary.

That script was connected to a weekly Cron job on the backend server, giving FUGZ Official a scheduled SSL maintenance process that runs automatically in the background.

For the staging environment, the EC2 workflow was improved so the founder could avoid keeping the staging backend and frontend online unnecessarily. An Elastic IP was used to stabilize the EC2 target, preventing staging domains from breaking when the instance was stopped and restarted.

  1. Infrastructure Review

    We reviewed the production and staging setup to identify where manual SSL checks, server uptime, DNS targets, and EC2 restart behavior were creating operational friction.

  2. SSL Automation

    A Bash script was created to check certificate status through Certbot, renew certificates only when needed, and exit safely when no renewal was required.

  3. Scheduled Maintenance

    The SSL script was connected to a weekly Cron job on the backend server, turning certificate checks into an automated maintenance routine.

  4. Staging Optimization

    The AWS EC2 staging workflow was improved so the environment could be toggled on and off more easily instead of staying online and generating unnecessary costs.

  5. Stable IP Configuration

    An Elastic IP was attached to the staging EC2 setup so the staging frontend and backend domains could continue pointing to a reliable target after restarts.

  • AWS EC2
  • AWS Elastic IP
  • Bash
  • Linux Crontab
  • Certbot

Have a similar challenge we can help solve?

Book a free consultation