Introduction
Aviatrix Sandbox Starter Tool (SST) is a community-based and community-supported tool that deploys a small test/lab cloud network environment in minutes.
Everything is self-contained in a docker image. Users do not need to install anything besides a docker run time on a laptop/desktop/VM/instance.
The local machine option requires understanding Docker and its interaction with the underlying operating systems such as Mac, Windows, Linux, etc. It is recommended to Use the Cloud AMI version of the tool if you are new to Dockers.
Before You Run the Tool
- Install Docker on local machine/laptop/desktop/etc. and keep it running
- Make sure you have access to AWS Access Key ID and Secret Access Key
- Create EC2 Key Pair name for AWS Ohio region
- Subscribe to Aviatrix metered software from AWS Marketplace
- Make sure you have Azure account/subscription details (optional)
- This procedure works the best for a brand new Aviatrix Controller deployment. If you previously deployed Aviatrix Controller, make sure aviatrix ec2 roles and policies are deleted
Launch Web-Based User Interface (UI)
To launch the Sandbox Starter Tool UI, run the following commands in the CLI console of your Windows/MAC/Linux machine
Now browse to http://localhost:5000/ on your local machine, and then follow the step-by-step guided workflow.
For detailed instructions and screenshots, please follow the steps documented in the SandBox Starter Post.
Support Model
This community-based and open-source tool is NOT supported by the Aviatrix Enterprise support team. For any questions or issues related to this tool, please use the Aviatrix Community platform.
Open Source
- Code for this open-source tool is available at https://github.com/AviatrixSystems/terraform-solutions/
- This tool is packaged as a container image that could run locally on the Windows/Linux/MACOS laptop/server/VM or EC2 instances. The container code is available here
Troubleshooting
The debug option or icon inside the UI will provide you necessary run-time logs.
Error Creating IAM Role/Policy
If you have previously deployed Aviatrix Controller under the same AWS account, you will receive the following errors. You need to manually remove those roles and policies before moving forward
You can also check the UI API Status here
http://0.0.0.0:5000/api/v1.0/get-statestatus
ssh Inside the Container Image
Delete Docker Volume
Important Docker CLI Commands
1. Find the container ID
2. Stop and delete the container
3. Remove the volume
4. Create the volume and start a fresh container
Getting Error that TCP Port 5000 is already in use
Pull completeStatus:
Downloaded newer image for aviatrix/sandbox-starter:1.1.0
docker: Error response from daemon: Ports are not available:
listen tcp 0.0.0.0:5000: bind: address already in use.
Run the following command to check the process using port 5000
It shows the Apple Control Center is using this port. It is a known problem with the newer version of Mac OS and documented here https://developer.apple.com/forums/thread/682332
Apple introduced the "AirPlay Receiver" feature that listens on port 5000. You must disable it to run this command.