Skip to content

Commit 38e83c0

Browse files
authored
Merge pull request #227 from f5devcentral/nginx-apid
3rd 2
2 parents 5199d9f + 159cd60 commit 38e83c0

3 files changed

Lines changed: 32 additions & 9 deletions

File tree

docs/class4/module2/lab8/lab8.rst

Lines changed: 32 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ Key take aways before jumping into the lab:
2222
.. image:: ../pictures/nginx-apid-archi.png
2323
:align: left
2424

25-
26-
.. note:: If you have already ran the lab 7, you can reuse the same CE and skip to the sections "Deploy and Register CE. If not, please follow the instructions below to deploy and register a new CE in order to connect your Nginx to F5XC.
25+
.. note:: If you have already run the lab 7 (API Discovery for BIG-IP), you can reuse the same CE and skip to the sections "Deploy and Register CE". If not, please follow the instructions below to deploy and register a new CE in order to connect your Nginx to F5XC.
2726

2827

2928
Deploy and register Customer Edge (CE)
@@ -69,14 +68,13 @@ Check Registration on the F5 Distributed Cloud Console
6968
In F5 Distributed Cloud Console
7069

7170
* Go to Multi-Cloud Network Connect > Overview > Infrastructure > Sites
72-
* Search for your site $$smsv2SiteName$$
71+
* Search for your site ``$$smsv2SiteName$$``
7372
* Click on it
7473
* Refresh the page till upgrades are finished and every flag is green
7574

7675
.. image:: ../pictures/site-view.png
7776
:align: left
7877

79-
8078
.. note:: Your CE is up and running and ready to connect to the BIG-IP in order to collect logs.
8179

8280

@@ -96,18 +94,43 @@ Create a new Service Discovery configuration for 3rd Parties Services
9694
.. image:: ../pictures/3rd-sd-page.png
9795
:align: left
9896

99-
* Name : nginx-sd
100-
* Site : select your site name $$smsv2SiteName$$
101-
* Network type : Site Local Inside Network
97+
* Name : ``nginx-sd``
98+
* Site : select your site name ``$$smsv2SiteName$$``
99+
* Network type : ``Site Local Inside Network``
102100

103101
In the discovery section, create an application associated to the Nginx application
104102

105-
* Application Source Name : nginx-sentence-app
106-
* Source Subnet IP : 10.1.0.0/16 (this is the subnet used by the Nginx)
103+
* Application Source Name : ``nginx-sentence-app``
104+
* Source Subnet IP : ``10.1.0.0/16`` (this is the subnet used by the Nginx)
107105

108106
.. image:: ../pictures/3rd-sd-config.png
109107
:align: left
110108

109+
Download the certificates
110+
^^^^^^^^^^^^^^^^^^^^^^^^^
111+
112+
* Click on Generate button to download the certificates that will be used by the JS module on the Nginx to send logs to the CE securely.
113+
114+
.. image:: ../pictures/3rd-gen-cert.png.png
115+
:align: left
116+
117+
118+
Enable API Disovery and Download the token
119+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
120+
121+
* In Web Application and API Protection > Third-Party Applications, enable API Discovery for the application ``nginx-sd-nginx-sentence-app``
122+
* Enable and select your API Definition (created in the previous labs)
123+
* Enable API Discovery
124+
125+
.. image:: ../pictures/3rd-enable-apid.png.png
126+
:align: left
127+
128+
129+
* Click on the 3-dots, and ``Generate Token```
130+
* Copy and save the token, you will need it to configure the JS module on the Nginx
131+
132+
.. note:: You have finished the configuration on the F5 Distributed Cloud side, now you need to configure the JS module on the Nginx side to start sending logs to the CE and see API Discovery in action.
133+
111134
Configure the Nginx instance
112135
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
113136

102 KB
Loading
135 KB
Loading

0 commit comments

Comments
 (0)