From 026d673f952d71b033d6b1302f895161bb9b1344 Mon Sep 17 00:00:00 2001 From: Tom Melendez Date: Tue, 25 Apr 2017 16:16:32 +0000 Subject: [PATCH] GCP updates to Quickstart --- docs/iam_gcp.md | 6 ++++++ docs/instance_launch_gcp.md | 6 +++--- docs/quickstart.md | 6 +++--- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/docs/iam_gcp.md b/docs/iam_gcp.md index ff2334419..76999f226 100644 --- a/docs/iam_gcp.md +++ b/docs/iam_gcp.md @@ -30,6 +30,12 @@ To restrict which permissions Security Monkey has to your projects, we'll create ![Add User to Service Account](images/add_user_to_service_account.png "Add User to Service Account") +Enable IAM API +--------------- + +For each GCP project you would like Security Monkey to access, you'll need to enable the IAM API. Visit the [IAM API page](https://console.cloud.google.com/apis/api/iam.googleapis.com/overview) page in the web console + and click 'Enable API' at the top of the screen. When dealing with many projects, you might prefer to do this with the gcloud command. For details on how to enable services with gcloud, visit the + [service-management](https://cloud.google.com/service-management/enable-disable#enabling_services) page. The IAM service name is 'iam.googleapis.com'. Next: ----- diff --git a/docs/instance_launch_gcp.md b/docs/instance_launch_gcp.md index a16ff10e8..b9008c402 100644 --- a/docs/instance_launch_gcp.md +++ b/docs/instance_launch_gcp.md @@ -6,10 +6,11 @@ Create an instance running Ubuntu 14.04 LTS using our 'securitymonkey' service a Navigate to the [Create Instance page](https://console.developers.google.com/compute/instancesAdd). Fill in the following fields: - **Name**: securitymonkey -- **Zone**: If using GCP Cloud SQL, select the same zone here. +- **Zone**: If using GCP Cloud SQL, select the same zone here. [(Zone List)](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) - **Machine Type**: 1vCPU, 3.75GB (minimum; also known as n1-standard-1) - **Boot Disk**: Ubuntu 14.04 LTS - **Service Account**: securitymonkey +- **Firewall**: Allow HTTPS Traffic Click the *Create* button to create the instance. @@ -23,9 +24,8 @@ Connecting to your new instance: We will connect to the new instance over ssh with the gcloud command: - $ gcloud compute ssh @ --zone us-central + $ gcloud compute ssh securitymonkey --zone -Replace the first parameter `` with the username you authenticated gcloud with. Replace the last parameter `` with the Public IP of your instance. Next: ----- diff --git a/docs/quickstart.md b/docs/quickstart.md index c156ebab0..e4eacf716 100644 --- a/docs/quickstart.md +++ b/docs/quickstart.md @@ -110,9 +110,9 @@ If you're using the bleeding edge (develop) branch, you will need to compile the /usr/lib/dart/bin/pub build # Copy the compiled Web UI to the appropriate destination - mkdir -p /usr/local/src/security_monkey/security_monkey/static/ - /bin/cp -R /usr/local/src/security_monkey/dart/build/web/* /usr/local/src/security_monkey/security_monkey/static/ - chgrp -R www-data /usr/local/src/security_monkey + sudo mkdir -p /usr/local/src/security_monkey/security_monkey/static/ + sudo /bin/cp -R /usr/local/src/security_monkey/dart/build/web/* /usr/local/src/security_monkey/security_monkey/static/ + sudo chgrp -R www-data /usr/local/src/security_monkey ### Configure the Application