Skip to content

Commit 114ad6d

Browse files
committed
Updated Readme doc and image for po-deploy sub-project
1 parent b84e547 commit 114ad6d

File tree

2 files changed

+20
-7
lines changed

2 files changed

+20
-7
lines changed

extensions/po-deploy-azuredb-mysql/README.md

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ Open a terminal window and use SSH to login to the Linux VM (Bastion Host) which
376376
377377
1. Enable ACR admin user.
378378
379-
Save the name of the ACR. We will need this value in subsequent steps. See screenshot below.
379+
Note down the name of the ACR. We will need this value (**'ACR_NAME'**) in subsequent steps. See screenshot below.
380380
381381
![alt tag](./images/D-02.PNG)
382382
@@ -398,7 +398,7 @@ Open a terminal window and use SSH to login to the Linux VM (Bastion Host) which
398398
#
399399
```
400400
401-
Make a note of the ACR `login server` and admin `password`. We will need to specify these values while creating the ACI instance in the next step.
401+
Make a note of the ACR `login server` and admin `password`. We will need to specify these values while creating the ACI instance in a later step.
402402
403403
3. Deploy the *po-service* microservice within an ACI container.
404404
@@ -460,10 +460,10 @@ Open a terminal window and use SSH to login to the Linux VM (Bastion Host) which
460460
461461
No. | Parameter | Description | Encode Value
462462
--- | --------- | ----------- | -------------
463-
1 | jdbc:mysql://host:port/database?useSSL=true&requireSSL=sslRequired | Substitute decoded values of `host`,`port`,`database` and `sslRequired` | No
463+
1 | jdbc:mysql://host:port/database?useSSL=true&requireSSL=sslRequired | Substitute decoded values of `host`,`port`,`database` and `sslRequired` in the `jdbc` URL | No
464464
2 | mysql.user=username | Substitute the decoded value of `username` | Yes
465465
3 | mysql.password=password | Substitute the decoded value of `password` | Yes
466-
4 | po-service-YourInitial | Substitute your short initial in place of `YourInitial` | No
466+
4 | po-service-YourInitial | Substitute your short initial in place of `YourInitial` (eg., GR) | No
467467
5 | ACR_NAME | This is the ACR name, value which you saved in Step [1] | No
468468
6 | ACR Login Server | ACR login server, value which you saved in Step [2] | No
469469
7 | ACR Admin Password | ACR Admin password, value which you saved in Step [2] | No
@@ -472,6 +472,8 @@ Open a terminal window and use SSH to login to the Linux VM (Bastion Host) which
472472
473473
![alt tag](./images/D-03.PNG)
474474
475+
We could have passed in the MySQL database user name and password as a container command-line option (eg., java -Dspring.datasource.username= ...), however this would expose the values to users who have access to the container instance. It's considered a best practice to encode all confidential data as **Secrets** and mount them into the container. Secrets are stored in `tmpfs` filesystem on Linux which is a RAM backed storage and are never stored on a cluster node.
476+
475477
Use the command below to deploy *po-service* microservice within an ACI container.
476478
```
477479
#
@@ -486,15 +488,26 @@ Open a terminal window and use SSH to login to the Linux VM (Bastion Host) which
486488
487489
4. Use the Azure Portal to view the ACI status, logs etc..
488490
489-
See screenshots below.
491+
Access the *Container instances* blade in the Azure Portal. See screenshot below.
490492
491493
![alt tag](./images/D-04.PNG)
492494
495+
On the **Overview** tab, check the ACI container status. It should display *Running*. Make a note of the container's **FQDN**. The FQDN is the microservice end-point (API end-point).
493496
494497
![alt tag](./images/D-05.PNG)
495498
496-
Note down the FQDN. Then click on *Containers*
499+
In the navigational panel on the left, click on **Containers**. Review the *Events*, *Properties*, *Logs* and *Connect* tabs as shown in the screenshot below.
497500
498501
![alt tag](./images/D-06.PNG)
499502
500-
You have now successfully completed all sections in this project. Congrats!
503+
5. Access the *po-service* microservice API end-point.
504+
505+
Use the FQDN to access the microservice. Remember the microservice running within the ACI container exposes the *Purchase Order* API on port `8080`.
506+
507+
URI end-point : http://po-service-<YourInitial>.westus.azurecontainer.io:8080/orders
508+
509+
See the screenshot below.
510+
511+
![alt tag](./images/D-07.PNG)
512+
513+
Congrats! You have now successfully completed all sections in this sub-project. Feel free to go back to the [parent project]() to work on other sub-projects.
109 KB
Loading

0 commit comments

Comments
 (0)