# \[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="https://1455297369-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWaLHgCJcLYwHY9VZwaxO%2Fuploads%2FLMml7YI2cYrhoVn23vW7%2Fakamas-system.png?alt=media&#x26;token=e62676c0-98b7-4304-a8ca-212b528725b4" 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.
