Launch Philter on Google Compute Engine
Philter on Google Compute Engine is a virtual machine-based product. A free trial period is available during which there is no charge for the Philter software but there may be charges for the underlying Google Compute Engine infrastructure.
Click the “Launch on Compute Engine” button.
Google Cloud will automatically open ports
22 (SSH) and
8080 (Philter API). These ports are required to be open but you may want to modify the security groups to limit their scope of availability by restricting access to specific CIDR ranges.
Congratulations! You have deployed Philter in Google Cloud. You are now ready to filter text!
Try it out!
With Philter now running we can take it for a spin. We will send some text to Philter and inspect at the response we get back. The Philter virtual machine running in your cloud account should have a public IP address (unless you customized the deployment). We will use that public IP address to interact with Philter.
Philter, by default, will be configured with an HTTPS listener on port
8080 using a self-signed certificate. It is recommended that prior to use in a production environment the self-signed certificate is replaced by a valid certificate owned by your organization.
In the command below, replace
<PUBLIC_IP> with the virtual machine’s public IP address or the host name or IP address of the Docker host.
curl -k -X POST https://<PUBLIC_IP>:8080/api/filter --data "George Washington was a patient and his SSN is 123-45-6789." -H "Content-type: text/plain"
curlto send text to Philter as in these examples but there are also SDKs you can use, too, to integrate Philter with your applications.