Deploy using Render.com

Deploying TinyPixel with Render.com is a straightforward, serverless approach that requires minimal infrastructure management. Render handles automatic scaling, SSL certificates, and deployment infrastructure for you.

# Prerequisites

  • A Render.com account
  • A domain name, or subdomain, with an A record set to your Render deployment (optional, but recommended)

# Deployment Steps

  1. Use the button below to deploy to Render. This set up will cost $7.50/month and requires a web service with a small persisted disk. Deploy to Render Render.com will automatically prompt you to enter a unique blueprint name for your deployed service as well as the TP_DOMAIN_NAME env var. If you do not have a custom domain, you can use the onrender.com subdomain automatically provided to your service (using the unique blueprint name).
  2. If you are using a custom domain name, you’ll need to add it to the newly deployed service. Refer to Render’s documentation how to add custom domains through the Render Dashboard and follow the steps for configuring your domain with Render and your DNS provider.
  3. Using the Render Dashboard, go to your new Shell page for your new service and run the following command to log in to the system admin using the link generated from running:
    bin/rails tiny_pixel:system_admin_password
    

# Tips

  • When using TinyPixel on sites with large volumes of traffic, you may need to scale the render from the “starter” type to “standard” for additional CPU and memory.