> For the complete documentation index, see [llms.txt](https://docs.nuvens.cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nuvens.cloud/install/alternate-deployment-options/create-ami-via-packer.md).

# Create AMI via Packer

HashiCorp Packer is a community tool for creating identical machine images for multiple platforms from a single source configuration. More info: https\://www\.packer.io/

[Packer](https://www.packer.io/) standardizes and automates the process of building system and container images, following the concept of **"Images as Code."** It allows for repeatable, consistent image creation. In the case of the WorkSpaces Manager Appliance, Packer takes a default **Windows AMI** from AWS and adds all the necessary requirements and configurations, creating a customized AMI ready for deployment.

This approach ensures that the image-building process is automated, version-controlled, and aligned with infrastructure-as-code practices, resulting in a reliable and consistent image for the WorkSpaces Manager.

Our Git repository provides an example of how to create an AMI via **Packer** for WorkSpaces Manager. The example includes the configuration files and necessary steps to automate the process of building a custom AMI based on a default Windows AMI from AWS, with all the required dependencies for WorkSpaces Manager.

By following the example in the repository, you can streamline the AMI creation process using Packer's automation and "Images as Code" approach, ensuring consistency and efficiency in your deployments.

This is the example for **WorkSpaces Manager (WSM)** v5:

{% embed url="<https://gitlab.com/nuvens-public/wsm-2019>" %}

This is the example for **WorkSpaces Manager (WSM)** v6:

{% embed url="<https://gitlab.com/nuvens-public/wsmv6-2022>" %}

{% hint style="danger" %}
For assistance in configuring the Packer files to create a golden AMI for WorkSpaces Manager in your AWS account, please contact **<support@workspacesmanager.com>**. The support team will provide guidance and help you with the necessary configurations to ensure a successful deployment.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.nuvens.cloud/install/alternate-deployment-options/create-ami-via-packer.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
