I'm trying to connect into my mac with the endpoint that AWS give me but i can't.
Yes, You can.
These are the AmazonRDS settings.
and this is the SQL Developer connection window
database host name should be the AWS endpoint & SID should be the AWS DB Name.
You can connect to database instance in RDS by using the endpoint and the credentials associated with the rds instance
Refer the below link for guidance:
http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_GettingStarted.CreatingConnecting.Oracle.html
Also ensure that the security group associated with the RDS instance has appropriate port open for oracle connection.
Related
We're currently having issues setting up a connection to oracle datasources in datafusion (via jdbc) and i'm not sure if i am missing something.
Bit of a background, we had issues connecting to any data source initially so in gcp i setup a vm instance to act as a proxy server (due to it being a private datafusion instance) and used iptables to register the connections.
After this i can successfully connect to sql server datasources, on the vm instance i can ping and telnet all oracle and sql datasources.
Network connectivity tests show datafusion can connect to the proxy and also that the proxy can hit datasources on-prem.
The following pics are of my connection to oracle under namespace admin in datafusion
The ip address is of the proxy instance and the port is what was assigned in the iptable entry
Again this works for sql server. Our datateam can connect to these datasources via bigquery using odbc, but it looks like you cannot use that connection type in datafusion.
Think we have resolved the issue. We noticed the logins being used had older password versioning for oracle 10, 11 etc. Got the oracle dba to create a new user to test and connection successful instantly :)
I have a DB System in Oracle Cloud with a database.
I was wondering if connections directly to the database in the VM are encrypted. I know that connections to AWS RDS databases are encrypted.
I'm connected directly from SQL Developer to the database without SSH tunneling.
The database is inside a VM Machine and not an autonomous database.
Can anyone help with that please ?
Here is the connection string :
Easy connect connection string
someprefix.subXXXXXXXXXX.xxxxxxx.oraclevcn.com:1521/Some_Name.subXXXXXXXXXX.xxxxxxx.oraclevcn.com
Long connection string
(DESCRIPTION=(CONNECT_TIMEOUT=5)(TRANSPORT_CONNECT_TIMEOUT=3)(RETRY_COUNT=3)(ADDRESS_LIST=(LOAD_BALANCE=on)(ADDRESS=(PROTOCOL=TCP)(HOST=10.0.0.85)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=Some_Name.subXXXXXXXXXX.xxxxxxx.oraclevcn.com)))
Thanks.
Cheers,
While connecting to Oracle 19c database from Java 8 client code, I got error -
ORA-28040: No matching authentication protocol exception
This was resolved by adding SQLNET.ALLOWED_LOGON_VERSION=8 in sqlnet.ora file.
Now, when I connect to AWS oracle RDS instance from code running in EC2 instance (RDS and java application running in same subnet), result in same error. Is there an option to add parameter(SQLNET.ALLOWED_LOGON_VERSION=8) in AWS Oracle RDS instance? How can resolve this issue?
You can set some SQLNET parameters in Oracle RDS by modifying sqlnetora.sqlnet.allowed_logon_version_server and sqlnetora.sqlnet.allowed_logon_version_client in your parameter group. (I assume you will then have to restart the database, but I haven't tested changing those values.)
RDS Oracle does not support on-prem AD authentication. How do you control/monitor/track what DB users/admin do on the Oracle RDS instances?
I'm not sure if this is what you need, but you can enable cloudTrail on your db instance, to monitor api calls and db access.
Please read more on: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/logging-using-cloudtrail.html
While connecting to Oracle 12c database from Java 8 client code, I got error -"ORA-28040: No matching authentication protocol exception" This was resolved by adding SQLNET.ALLOWED_LOGON_VERSION=8 in sqlnet.ora file.
Now, when I connect to AWS oracle RDS instance from code running in EC2 instance (RDS and java application running in same subnet), result in same error. Is there an option to add parameter(SQLNET.ALLOWED_LOGON_VERSION=8) in AWS Oracle RDS instance? How can resolve this issue?
The AWS docs list the params you can alter for your needs.
sqlnetora.sqlnet.allowed_logon_version_client
sqlnetora.sqlnet.allowed_logon_version_server
I suggest you to play with those.
https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ModifyInstance.Oracle.sqlnet.html