> For the complete documentation index, see [llms.txt](https://docs.akamas.io/quick-guides/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.akamas.io/quick-guides/quick-guides-akamas-in-a-sandbox/aias-03-guide-create-a-study-to-optimize-k8s-microservices-costs-using-the-akamas-cli/aias-03-create-the-system.md).

# \[AIAS-03] Create the system

To model the Online Boutique inside Akamas, we need to create a corresponding System with its components in Akamas, and also associate a Prometheus telemetry instance to the system to allow Akamas to collect the performance metrics.

Now you need to first login to Akamas with the following command:

```bash
akamas login --user <login> --password <password>
```

Start by installing the necessary optimization packs:

```bash
akamas install -f optimization-pack Web-Application
```

Then, create the Online Boutique system using the artifacts you previously downloaded:

```bash
akamas create system kubernetes-online-boutique/akamas/system/system.yaml
```

You should see a message like this:

```
   name              description
========================================================================================
ac8481d3-d031-4b6a-8ae   0eeff7cd-bdee-4c65-ae   Online Boutique   The Online Boutique
9-c7b366f027e8           62-fd7c9d95cf27                           by Google
```

Now, you can create all the components by running:

```bash
akamas create component kubernetes-online-boutique/akamas/system/components/ "Online Boutique"
```

Lastly, create the telemetry instance:

```bash
akamas create telemetry-instance kubernetes-online-boutique/akamas/telemetry/prom-aias.yaml "Online Boutique"
```

At this point, you can access the Akamas UI and verify that the Online Boutique system and its components are created under the Systems menu:

<figure><img src="/files/NvRRPlE1Ma7FhfgcVKCk" alt=""><figcaption></figcaption></figure>

Notice that this System leverages the following Optimization Packs:

* **Kubernetes**: it provides a component type required to model each Kubernetes Pod - one for each Deployment in the Online Boutique.
* **Web Application**: it models the end-to-end metrics of the Online Boutique, such as the application response time and throughput.


---

# 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 dynamically by asking a question.

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

```
GET https://docs.akamas.io/quick-guides/quick-guides-akamas-in-a-sandbox/aias-03-guide-create-a-study-to-optimize-k8s-microservices-costs-using-the-akamas-cli/aias-03-create-the-system.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
