Quick Guides
  • Free Trial options
  • Quick Guides: Akamas in a sandbox
    • [AIAS-01] Guide: Explore an Optimization Study for a Kubernetes microservices application
      • [AIAS-01] Architecture overview
      • [AIAS-01] Explore the Study
      • [AIAS-01] Explore the System
      • [AIAS-01] Explore the Workflow
      • [AIAS-01] Explore the analysis
      • [AIAS-01] Explore the results
    • [AIAS-02] Guide: Create a study to optimize Java performance using the Akamas UI
      • [AIAS-02] Architecture overview
      • [AIAS-02] Create the Study
      • [AIAS-02] Define the optimization goal
      • [AIAS-02] Define the optimization parameters
      • [AIAS-02] Define the performance metrics
      • [AIAS-02] Define the optimization steps
      • [AIAS-02] Explore the results
    • [AIAS-03] Guide: Create a study to optimize K8s microservices costs using the Akamas CLI
      • [AIAS-03] Architecture overview
      • [AIAS-03] Create the system
      • [AIAS-03] Create the Workflow
      • [AIAS-03] Create the Study
      • [AIAS-03] Explore the results
  • Quick Guides: Akamas in a box
    • [AIAB-00] Install Akamas-in-a-box
      • [AIAB-00] Setup your Linux box
      • [AIAB-00] Install Akamas
    • [AIAB-01] Optimize a Java-based application (Renaissance benchmark)
      • [AIAB-01] Architecture overview
      • [AIAB-01] Create the System and its associated components
      • [AIAB-01] Configure the Telemetry
      • [AIAB-01] Create the workflow
      • [AIAB-01] Create and run the study
      • [AIAB-01] Explore the results
    • [AIAB-02] Optimize a Java-based application (Konakart) with JMeter
      • [AIAB-02] Architecture overview
      • [AIAB-02] Create the system and its components
      • [AIAB-02] Automate performance tests
      • [AIAB-02] Create the Telemetry Provider
      • [AIAB-02] Create the workflow
      • [AIAB-02] Create the study
      • [AIAB-02] Explore the results
    • [AIAB-03] Optimize a Java-based application (Konakart) with LRE
      • [AIAB-03] Architecture overview
      • [AIAB-03] Setup LoadRunner Enterprise
      • [AIAB-03] Create the system and its components
      • [AIAB-03] Create the telemetry instances
      • [AIAB-03] Create the workflow
      • [AIAB-03] Create the optimization study
    • [AIAB-04] Optimize a Java-based Kubernetes application (Online Boutique)
      • [AIAB-04] Architecture overview and setup
      • [AIAB-04] Setup Online Boutique
      • [AIAB-04] Setup Akamas
      • [AIAB-04] Create the system and its components
      • [AIAB-04] Create the workflow
      • [AIAB-04] Create the Study
      • [AIAB-04] Explore the results
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. Quick Guides: Akamas in a sandbox
  2. [AIAS-03] Guide: Create a study to optimize K8s microservices costs using the Akamas CLI

[AIAS-03] Create the system

Previous[AIAS-03] Architecture overviewNext[AIAS-03] Create the Workflow

Last updated 10 months ago

Was this helpful?

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:

akamas login --user <login> --password <password>

Start by installing the necessary optimization packs:

akamas install -f optimization-pack Web-Application

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

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:

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

Lastly, create the telemetry instance:

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:

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.