Connect to Amazon S3
Before you begin
Before you create the connection, ensure that you review how OCI GoldenGate connects to your source and targets.
Create the connection
Known issues
Java.net.UnknownHostException errors for Amazon S3 and Google Cloud Storage connections with Shared endpoints encounter
Workaround: Edit the connection and change the Traffic routing method to Dedicated, or select Dedicated when you create Amazon S3 and Google Cloud Storage connections.
Issue with Amazon S3 connections in OCI GoldenGate
If you encounter the following error when using Amazon S3 connections, then open a support ticket, share the details and error message.
ERROR 2024-03-04 11:42:31.000505 [TaskEngine_2(FileFinalizeTask)] - Verify S3 bucket
[ggstest] failed.com.amazonaws.SdkClientException: Unable to execute HTTP request: s3.us-east-2.amazonaws.com
You can then use the following steps as a temporary workaround.
Workaround:
- Connect to Cloud Shell.
- Create a new Amazon S3 connection using the
following CLI
sample:
oci goldengate connection create-amazon-s3-connection --routing-method SHARED_SERVICE_ENDPOINT --display-name <connection_name> --compartment-id <compartment_ocid> --technology-type AMAZON_S3 --access-key-id <aws_access_key> --secret-access-key <aws_secret>
- Assign the connection to your deployment.
- Add and run a Replicat for Amazon S3.
Alternatively, if you prefer not to use public access, configure your Amazon S3 connection's buckets to use AWS VPC Endpoints. For OCI GoldenGate to access your S3 bucket using VPC Endpoints, you must also configure an IPsec VPN between your VCN and the AWS VPC.