# Deployment

After successfully building your book and creating a Docker image, the next step is deployment. You have the flexibility to deploy your book to any environment that supports external access and routing, ensuring it can be reached from Kognitos. The choice of deployment method will depend on your organization's specific preferences and requirements. Common deployment options include:

* Cloud platforms (ex: [Amazon ECS](https://aws.amazon.com/getting-started/hands-on/deploy-docker-containers/), [Azure](https://learn.microsoft.com/en-us/azure/container-instances/container-instances-quickstart-portal))
* On-premises infrastructure
* Container orchestration platforms, such as [Kubernetes](https://docs.docker.com/guides/kube-deploy/)

{% hint style="warning" %}
**Port Configuration**

Ensure that the port specified in the Dockerfile is properly exposed and matches your deployment environment's configuration.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.kognitos.com/legacy/legacy-experience/books/custom-books/deployment.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
