-
AWS Marketplace: Aviatrix Secure Networking Platform Metered - Copilot & 24x7 Support (amazon.com)
I found the newer version here. But you might encounter an error where the Sandbox tries to reach back to the old one.
I couldn't launch a controller
-
Now I see your same error:
Error launching source instance: OptInRequired: In order to use this AWS Marketplace product you need to accept terms and subscribe. To do so please visit https://aws.amazon.com/marketplace/pp?sku=b03hn7ck7yp392plmk8bet56k status code: 401, request id: fea54607-e06f-4341-b3b1-b38b84628f56 on aviatrix-controller-build/main.tf line 22, in resource "aws_instance" "aviatrixcontroller": 22: resource aws_instance aviatrixcontroller { --> Controller launch failed, aborting.
I'm gonna dig around and see if there is a setting in the terraform that could be updated to the new AWS Marketplace product
-
I found line 80 in the kickstart.sh that points to the old product
if [ -z $KS_GOVCLOUD ]; then read -n 1 -r -s -p $'\n--> Go to https://aws.amazon.com/marketplace/pp?sku=b03hn7ck7yp392plmk8bet56k and subscribe to the Aviatrix platform. Click on "Continue to subscribe", and accept the terms. Do NOT click on "Continue to Configuration". Press any key once you have subscribed.\n' else read -n 1 -r -s -p $'\n--> Go to https://aws.amazon.com/marketplace/pp?sku=b03hn7ck7yp392plmk8bet56k and subscribe to the Aviatrix platform. ACCESS THE MARKETPLACE FROM THE AWS ROOT ACCOUNT THAT IS IN CHARGE OF YOUR AWS GOVCLOUD ACCOUNT. Click on "Continue to subscribe", and accept the terms. Do NOT click on "Continue to Configuration". Press any key once you have subscribed.\n' fi Maybe we can find the new product link and then replace that on our local systems
-
I edited lines 80 and 82 on the kickstart.sh file and a couple in kickstart_web.sh
Now I am seeing an error of:
--> Controller launch failed, aborting.
Error import KeyPair: InvalidKeyPair.Duplicate: The keypair 'avtx-ctrl-key' already exists. status code: 400, request id: 4b851a7a-74a9-4368-b467-7516bac04602 on main.tf line 51, in resource "aws_key_pair" "avtx_ctrl_key": 51: resource "aws_key_pair" "avtx_ctrl_key" { --> Controller launch failed, aborting.Still troubleshooting