Mac Test Drive Deployment
Instructions for Deploying a Scalable InsightCloudSec Test Drive on MacOSX
This document explains how to deploy InsightCloudSec quickly for evaluation purposes using Docker Compose. If you install InsightCloudSec locally, it should take less than 15 minutes to get up and running.
Value Names (DivvyCloud vs. InsightCloudSec)
Some components use our former product name (DivvyCloud vs. InsightCloudSec). Updates to the naming of these components will be communicated when changes are made, but note that the name difference does not affect functionality within the product.
If you have questions or issues feel free to reach out to us through the Customer Support Portal.
Minimum System Requirements
When deploying a test drive for InsightCloudSec, we recommend the following minimum specifications:
- 4 CPU cores
- 4 GB memory
- MacOS version 10.15 or newer
Note that InsightCloudSec performance will vary wildly depending on the available resources on your laptop while running the test drive deployment. We highly recommend increasing the CPU cores and memory allowed for use with Docker if possible.
Install Docker and Docker-Compose
First, you need to install Docker Community Edition For Mac.
The Homebrew version of Docker may run into issues with writing data to mounted volumes if permissions are not correctly configured. If you have installed the Homebrew version of Docker and have run into any issues, it is recommended that you uninstall it and install the version available from the Docker store.
Starting the InsightCloudSec Environment with Docker Compose
1. First open a terminal session and create a working folder under your home directory using the following commands:
mkdir ~/divvycloud; cd ~/divvycloud
2. Within the new
divvycloud directory, download the environment variables and
docker-compose file for running the InsightCloudSec Environment:
curl -sO https://s3.amazonaws.com/get.divvycloud.com/compose/prod.env curl -s https://s3.amazonaws.com/get.divvycloud.com/compose/docker-compose.db-local.yml -o docker-compose.yml
3. Update the
docker-compose.yml file to only run 1 worker containers instead of 8 (if you run 8 workers, it'll most likely overload your laptop) and update the database configs to work correctly on MacOS:
sed -i'.original' -e 's/scale:\ 8/scale:\ 1/g' docker-compose.yml sed -i "" -e 's/.*\/var\/lib\/mysql.*/&\n command:\n - --lower-case-table-names=1/' docker-compose.yml
4. Now you are ready to start InsightCloudSec via Docker. Run the command below; the
-d flag will run the containers in the background, freeing up your terminal to attach to a container at will:
docker-compose up -d
Note: This command can take a while to finish executing.
5. Verify that all the containers are up and running:
Logging into InsightCloudSec
After InsightCloudSec has completed its launch, you can connect via browser using port 8001, e.g.,
- Note that it may take 10-15 minutes for all of the database tables to be built for the first time, so you may not be able to access the website until this has been completed.
The first page you see is an administrator account creation page. On the page, you enter your name and email address and create a userid and password. Your userid can be any alphanumeric. Your password must be at least 12 characters in length.
Next, you login with the administrator account credentials you just created.
Stop InsightCloudSec with Docker Compose
When your evaluation is over (we hope you enjoyed it!) and you’re ready to stop, use:
Using a Proxy Server
If you wish to use a proxy server for your Test Drive, you will need to add your proxy information to your:
1. System’s environment variables before your installation and
2. InsightCloudSec environment variables after your installation
Updated 6 months ago