# Lab 1: Environment Orientation and Spinning up

This will be the shortest lab in the history of labs, but it does take some time, so please execute this as soon as we are starting the workshop, as the lab needs some time to build.

1. open up a terminal window and clone the following repository\
   \
   `git clone` [`https://github.com/jfmaes/aws_mini_ad`](https://github.com/jfmaes/aws_mini_ad)<br>
2. navigate to prod - files \
   \
   `cd aws_mini_ad/prod/files/`

{% hint style="info" %}
currently supported regions are us-east-1, us-west-1, eu-west-1
{% endhint %}

3. run the following command to spin up the environment\
   \
   `python3 manager.py deploy -r <a region close to you> -t v0.1` <br>
4. eventually the script will finish and will tell you that the lab environment is ready to use and give you instructions to connect to the student.ovpn file


---

# 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://sec565.gitbook.io/ad-privesc-with-empire/lab-1-environment-orientation-and-spinning-up.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.
