Lab 1: Discover¶
In Lab 1, you will enable Valtix’s discovery features and be able to gather inventory and traffic information about your AWS account.
- Ensure you have completed pre-requisites.
- Log in to Valtix Controller
- Navigate to Getting Started -> Easy Setup -> Cloud Account on the left panel.
- Click on AWS logo. This will take you to the onboarding page to link your AWS account to the Valtix Controller.
- To onboard your AWS account, there is a 2 step process:
- Deploy of CloudFormation template to create necessary IAM permission for Valtix Controller - step 6
- Fill in the form in the onboarding screen to add account to Valtix Controller - step 11
- Click on the CloudFormation link at the top of the page. This will open up another tab to deploy CloudFormation template in your AWS account. It may ask you to log in to your AWS account.
- In the CloudFormation template, most of the mandatory fields have been auto-filled. Fill in the following parameters:
|S3 Bucket Name||Supply a unique S3 bucket name. This bucket name needs to be globally unique in AWS. See bucket naming rules|
|VPC ID||This VPC ID is the spoke VPC ID. If you deployed CFT in pre-requisite section for this lab, you can find this information in the stack output.|
- Select the checkbox "I acknowledge that AWS CloudFormation might create IAM resources with custom names", and then click Create Stack.
- Wait for the CloudFormation stack to complete. This may take a few minutes.
- Navigate back to the Valtix Controller tab. You should still be on the onboarding page where you clicked on CloudFormation template link.
- Fill out the information to onboard AWS account on Valtix Controller. Most information is filled in already, below are 2 parameter participant would need to fill in.
|Account Name||Provide account name.|
|Controller IAM role||This information is given in the CloudFormation stack output. Look at the value for ValtixControllerRoleArn in the output tab.|
- Navigate to Discovery -> Inventory -> Summary. This page provides a list of cloud resources that was discovered by Valtix. On one page, we see everything in your account.
Now generate traffic to see DNS and VPC information: a. SSH to the EC2 instance created in the spoke1-vpc. Default user is centos. (eg.
ssh -i <private_key.pem> centos@<ec2_eip>) b. Generate traffic to following website:
curl http://www.google.com curl http://www.facebook.com wget -O /dev/null -o /dev/null http://purplehoodie.com
Navigate to Discovery -> Traffic -> DNS.
- This provides a summary of the traffic that Valtix gathered from DNS query logs.
- Click on Logs. You should see the traffic that you generated to Google and Facebook.
- Click on Malicious Categories. If Valtix detects traffic that could potentially be malicious, Valtix highlights those sessions for users. Navigate back to Summary. This provides a better view to see malicious activities.
- The traffic generated to purplehoodie is a potential malicious site categorized by brightcloud. If you lookup purlehoodie.com in brightcloud url-lookup, you'll realize that it's high risk.
- Navigate to Discovery -> Traffic -> VPC.
- Through VPC flow logs, Valtix provides a summary on VPC traffic and where it is connecting to.