For running your own ORDS instance, follow steps here
1 Create a Network Security Group for your instance, allow ingress traffic to 8080 and 8443 ports from private subnet. Also allow egress traffic. We will test the installation using bastion service.
2 Launch an instance in your private subnet. I preferred Oracle Linux 8 with VM.Standard.E4.Flex shape. Also enable Bastion service under Advances options > Oracle Cloud Agent
3 Attach NSG created in step 1.
4 Create a bastion service in the same private subnet and then create a managed SSH session to connect to instance.
5 Connect to instance and do following yum updates and installations with root user.
6 Create following folders and upload your Autonomous Database Wallet to config folder
Note: You can use use scp in combination with bastion session to copy your local file
7Install using ords interactive command line, refer to documentation for options
Note: I've enabled all features, you can choose None for production deployments
Note: I've preffered to serve ORDS over port 8080 using HTTP, as I plan to put a loadbalancer infront of the VM and serve HTTPS thus offloading SSL
8If you see the following CORS error message:
Login to ORDS instance, then edit /etc/ords/config/global/settings.xml to add the following entry:9Open ports 8080 and 8443 on local firewall
10Enable ORDS service, surviving restarts
11Create a bastion port forwarding session
12Start local port forwarding session
13Test pointing your browser to localhost:8080
No comments:
Post a Comment