Creating a Deployment Environment
In order to deploy ORCA into an NGAP environment with Cumulus, a deployment environment needs be created. The sections below describe the tool chain needed and any additional environmental setup that should occur. The setup for deploying ORCA is similar to the Cumulus deployment requirements. The sections below assume that the end user is using a Linux or MacOS environment.
Deployment Tool Requirements
The following tools should be installed to perform an ORCA deployment.
- git
- zip/unzip
- AWS CLI
- AWS CLI Session Manager
- Terraform Version Manager
- Terraform v1.5 and up. Please see the installing terraform instructions.
Deployment Environment Setup
Setting up the development environment consists of installing the proper Terraform version using Terraform Version Manager and creating the AWS profiles for connecting to the proper NGAP OU for your application.
Installing Terraform
Using Terraform Version Manager install the latest supported version of terraform using the command below.
tfenv install 1.5.5
Configure AWS CLI Profiles
Configure the AWS CLI with two profiles. The first profile should be the default and the access information should be for the Cumulus OU. The second profile should be have access information for the Disaster Recovery OU.
Use the Cloud Tamer application to create long term access keys to both the Cumulus and Recovery OU environments.
Using the Access Key ID and Secret Access Key values configure the different profiles as seen below.
Creating the Default Profile.
aws configure --profile default
AWS Access Key ID []: Your AWS Access Key ID Value for Cumulus OU
AWS Secret Access Key []: Your AWS Secret Access Key Value for Cumulus OU
Default region name []: us-west-2
Default output format []: json
Creating the Disaster Recovery Profile
aws configure --profile drou-sandbox
AWS Access Key ID []: Your AWS Access Key ID Value for Disaster Recovery OU
AWS Secret Access Key []: Your AWS Secret Access Key Value for Disaster Recovery OU
Default region name []: us-west-2
Default output format []: json