Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Upon downloading the agent VM package in from our portal

Code Block
languagebash
# unzip the agent software you download from our portal
unzip API_PROTECT_AGENT_VM.zip

# deploy the agent VM named vtap_agent.ova to your VMWare environment 

Deploy Agent as Kubernetes Service

Code Block
languagebash
# unzip the agent software you download from our portal
unzip API_PROTECT_AGENT_HELM.zip

# untar the agent Helm chart
tar xf vtap_agent_helm_charts.tgz

# deploy the agent Helm chart to your Kuberenetes cluster
helm install vtap-agent \
    ./vtap_agent        \
    --create-namespace        \
    --namespace datatheorem   \
    --set bearerToken=$(cat .dt_client_id)

Deploy Agent as Docker Compose Service

Code Block
languagebash
# unzip the agent software you download from our portal
unzip API_PROTECT_AGENT_DOCKER_COMPOSE.zip

# start the docker-compose service
docker-compose --env-file .dt_env up

Deploy Agent as Podman Pod Service

Code Block
languagebash
# unzip the agent software you download from our portal
unzip API_PROTECT_AGENT_PODMAN.zip

# startrun the podmaninstall podscript #to unzipcreate the softwarepodman you download from our portal
unzip CF_WORKERS_VTAP.zippod
./create_vtap_agent_pod.sh --env-file .dt_env

Once the agent is deployed, make note of the agent’s HTTPS URL so you can add it to the Cloudflare Worker’s environment as the DATA_THEOREM_SERVICE_URL

...

The API Protect for Cloudflare Workers software package you download from our portal will contain a client_id we generate to authenticate your services with our system. It will also contain instructions and code examples that demonstrate how to add our integration to your existing Cloudflare Worker code.

Code Block
languagebash
# unzip the agent software you download from our portal
unzip API_PROTECT_CLOUDFLARE_WORKERS.zip

# update your wrangler.toml by setting DATA_THEOREM_SERVICE_URL to your deployed agent's url

# following these instructions for secrets to set the value of `DT_API_PROTECT_CLIENT` from the value in `.dt_client_id`
#  https://developers.cloudflare.com/workers/platform/environment-variables#secrets-on-deployed-workers

# deploy your updated worker

...