Task 6: Configure Connectivity between the AWS VPC and the ODB Network for Oracle Database@AWS
This topic explains the required steps to configure connectivity between the AWSVirtual Private Cloud (VPC) and the ODB Network for Oracle Database@AWS.
Note
Before you start to configure the connectivity between the AWS VPC and the ODB network for Oracle Database@AWS, you must download the AWSCLI version 2 . For detailed documentation, see Download the AWS CLI version 2.
You can add security rules, update the route table, and configure DNS to allow App VPC to communicate with Exadata VM Cluster over the ODB network. For detailed documentation, see Configuring the network in Oracle Database@AWS.
Download the AWS CLI version 2
🔗
These are steps to download the AWSCLI version 2.
You can install the AWSCLI version 2 by using one of the following methods.
Install AWSCLI version 2 , and then apply the EC2 CLI update for the ODB network
Build and install the AWSCLI version 2 from the source.
Use Docker Image to install the AWSCLI version 2.
Note
These following methods have 2-step processes:
Installing the AWSCLI version 2 with the ODB network access.
Adding an additional access to EC2 to create-routeAPI for the -odb-network-arn parameter.
Method 1:
Follow the steps to install AWSCLI version 2, and apply the EC2 CLI update for the ODB network.
Verify the installation by running aws --version command, and testing the new or updated installation.
If your operating system is Linux, use the following script to configure environment variable for the AWSCLI. For more information, see Configure the AWS CLI.
If your operating system is Windows, use the following script to configure environment variable for the AWSCLI.
$ set AWS_ACCESS_KEY_ID=AKIAIOSFODNN7EXAMPLE
$ set AWS_SECRET_ACCESS_KEY=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
$ set AWS_DEFAULT_REGION=us-east-1
$ set AWS_CLI_FILE_ENCODING=UTF-8
Use the following command to download the ec2-service-2.json file.
After the AWSCLI installation and downloading the ec2-service-2.json file, apply the EC2 CLI update by running the following command using the ec2-service-2.json that is provided.