'From AWS connect to external oracle database

I have an nodejs application deployed in aws, from nodejs application I want to connect to an external oracle database which is running on a different server, can anybody please tell me the steps to connect to external oracle database or please share any document that tell the steps to connect to oracle database from nodejs application deployed in aws.



Solution 1:[1]

You can create a VPC and add a VPC endpoint that points to the host of your external Database, depending on your infra this might be done without VPC using peering connection but not recommended.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Stefanos Asl.