F5 XC EMEA Workshop > Class 2 - Multi Cloud Networking > Migrate the application Source |
Lab 1 - Routing configuration¶
- First we need to create a new origin pool which will point directly to application in the AWS Datacenter.
Web App & API Protection -> Load Balancers -> Origin Pool -> Add Origin Pool -> Fill the bellow data
Object Value Name arcadia-aws-private-endpoint Port 31970 In the same screen -> Origin Servers -> Add Item -> Fill the bellow data -> Apply -> Save and exit
Object Value Select Type of Origin Server DNS Name of Origin Server on given Sites DNS Name arcadiaaws.aws.internal Site system/$$awsSiteName$$ Select Network on the site Outside Network
- Our next step is to change the default pool of the arcadia-re-lb to point directly to the AWS origin pool, while configuring specific routes /v1/login and /v1/users to be routed to the on prem environment.
Web App & API Protection -> Load Balancers -> HTTP Load Balancer -> Click the 3 dots under the arcadia-re-lb row -> Manage Configuration -> Edit Configuration -> Click the pen icon under the arcadia-public-endpoint origin pool -> Change the Origin Pool field from $$namespace$$/arcadia-onprem-private-endpoint to $$namespace$$/arcadia-aws-private-endpoint -> Apply
On the same page go to Routes and click Configure -> Add Item -> Fill in the bellow -> Apply
Object Value HTTP Method Any Prefix /v1/users Origin Pools Click Add Item and set the Origin Pool to $$namespace$$/arcadia-onprem-private-endpoint -> Apply Add Item -> Fill in the bellow -> Apply -> Apply -> Save and Exit
Object Value HTTP Method Any Prefix /v1/login Origin Pools Click Add Item and set the Origin Pool to $$namespace$$/arcadia-onprem-private-endpoint -> Apply