From 8b54c44514621dff5bd7b99d5cf7f1641b29ace9 Mon Sep 17 00:00:00 2001 From: Akshay Shekhawat Date: Thu, 17 Nov 2022 14:57:55 -0800 Subject: [PATCH] Clean Up Docs (#130) --- .../components/ConnectionDocs/docs/aws.tsx | 57 ++++++++++++------- .../components/ConnectionDocs/docs/gcp.tsx | 4 +- .../components/ConnectionDocs/docs/java.tsx | 2 +- .../ConnectionDocs/docs/kubernetes.tsx | 14 ----- .../components/ConnectionDocs/docs/node.tsx | 4 +- .../components/ConnectionDocs/docs/python.tsx | 8 +-- .../src/components/ConnectionDocs/index.tsx | 34 +---------- frontend/src/pages/connections/index.tsx | 10 +++- 8 files changed, 54 insertions(+), 79 deletions(-) diff --git a/frontend/src/components/ConnectionDocs/docs/aws.tsx b/frontend/src/components/ConnectionDocs/docs/aws.tsx index 5184aeb1..3462f683 100644 --- a/frontend/src/components/ConnectionDocs/docs/aws.tsx +++ b/frontend/src/components/ConnectionDocs/docs/aws.tsx @@ -7,7 +7,9 @@ import { Button, HStack, Badge, + Link, } from "@chakra-ui/react" +import { ExternalLinkIcon } from "@chakra-ui/icons" import { CgArrowRight } from "@react-icons/all-files/cg/CgArrowRight" import { ListNumber } from "components/utils/ListNumber" import { useEffect, useState } from "react" @@ -17,6 +19,31 @@ import { getAWSDeployAmiURL, } from "~/constants" +const KeyStep = ({ num }: { num: number }) => ( + + + To set up mirroring we need an API Key with the following permissions: + + - AmazonEC2FullAccess + - AmazonVPCFullAccess + + You can use the{" "} + + aws configure + {" "} + command or{" "} + + Environment Variables + + {" "} + to configure AWS. + + +) const LOCAL_DOMAINS = ["localhost", "127.0.0.1", "", "::1"] const AWSDocs = () => { @@ -65,14 +92,10 @@ const AWSDocs = () => { {manual ? ( <> - - - Open Port 8081 on your Metlo instance to TCP Connections so - you can start collecting traffic data. It should be open to - any machines you want to collect traffic from. - - - + Deploy Metlo: