Lab 2 - Expose the application to the world

The application has been deployed now we need to publish it to the world.

  1. Next we need to create the Origin Pools which will point to our new app services.

    Go to Multi-Cloud App Connect -> Manage -> Load Balancers -> Origin Pools

    We will need to create 5 Origin Pools each represeting the services that need to be accessed by users, create the Origin Pools based on the bellow data.

  1. Click Add Origin Pool

    Object Value
    Name arcadia-frontend-appstack
    Port 80
    Health Checks Click Add Item -> In the new dropdown choose $$namespace$$/arcadia-hc
  2. Under Origin Servers click Add Item -> Fill the bellow data -> Apply -> Save and Exit

    Object Value
    Select Type of Origin Server K8s Service Name of Origin Server on given Sites
    Service Name arcadia-frontend.default
    Site system/$$ceOnPrem.clusterName$$
    Select Network on the site vK8s Networks on Site
  3. Repeat steps a and b for the other application services, the only thing that needs to be changed is the Name and Service Name.

    The additional services are:

    Name Service Name
    arcadia-login-appstack arcadia-login.default
    arcadia-stock-transaction-appstack arcadia-stock-transaction.default
    arcadia-stocks-appstack arcadia-stocks.default
    arcadia-users-appstack arcadia-users.default
  1. The last step will be to configure the HTTP Load Balancer that will enable to expose through the F5 XC platform the Kubernetes internal application.

    1. Go to Multi-Cloud App Connect -> Manage -> Load Balancers -> HTTP Load Balancers -> Add HTTP Load Balancer -> Fill the bellow data

      Object Value
      Name arcadia-ce-appstack-lb
      Domains arcadia-ce-appstack-$$makeId$$.workshop.emea.f5se.com
      Load Balancer Type HTTP
      Automatically Manage DNS Records Enable
      Origin Pools Click Add Item, for the Origin Pool select $$namespace$$/arcadia-frontend-appstack -> Apply
    2. On the same page go to Routes and click Configure -> Repeat this 4 times for each service ( Add Item -> Fill in the bellow -> Apply )

      Prefix Origin Pools
      /v1/login $$namespace$$/arcadia-login-appstack
      /v1/stockt $$namespace$$/arcadia-stock-transaction-appstack
      /v1/stock/ $$namespace$$/arcadia-stocks-appstack
      /v1/user $$namespace$$/arcadia-users-appstack
    3. We are almost done, click Apply -> Save and Exit

    1. All is done our application is published. Let’s check that all is working well.

    Browse to arcadia-ce-appstack-$$makeId$$.workshop.emea.f5se.com and login to the app.

    Object Value
    Username satoshi@bitcoin.com
    Password bitcoin

    Click on the Exchange tab on the left and go buy or sell some crypto currency.