# Create AMI via Packer

[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: 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.nuvens.cloud/install/alternate-deployment-options/create-ami-via-packer.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.
