Portzilla API Demo


We are using a NodeJS API that serves a default template.

The app is served from an Amazon EC2 instance with a Security Group that exposes port 3000.

Additional Notes

Disable Cache is selected because we do not want to cache api responses. Use HTTP is necessary because our domain is SSL enabled but our api is not.

Step 1
Point a subdomain at your server

In your Cloudflare Dashboard, click the DNS tab and add a CNAME record pointing your desired subdomain at your server.

portzilla dns configuration
Step 2
Expose your service to outside traffic

Ensure your service can communicate with the internet. Our service is running on an EC2 instace, so we open the service's port in our EC2 Security Policy.

portzilla aws configuration
Step 3
Configure and install Portzilla

Once your service is reachable, configure and install Portzilla with the following options.

Route Configuration

Route Name
My API Route
Route URL
Target Port
Disable Cache
Step 4
Connect to your API

Once installed, navigate to your service's Route URL. Our browser is rendering the root path of our API.