Skip to content

Commit

Permalink
Render bookdown
Browse files Browse the repository at this point in the history
  • Loading branch information
jhudsl-robot committed Dec 16, 2022
1 parent cf88db0 commit 11630f2
Show file tree
Hide file tree
Showing 18 changed files with 54 additions and 32 deletions.
2 changes: 1 addition & 1 deletion docs/02-chapter_of_course.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ devtools::session_info()
## collate en_US.UTF-8
## ctype en_US.UTF-8
## tz Etc/UTC
## date 2022-12-07
## date 2022-12-16
##
## ─ Packages ───────────────────────────────────────────────────────────────────
## package * version date lib source
Expand Down
23 changes: 17 additions & 6 deletions docs/05-billing_modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Modules about billing and Billing Projects on Google Cloud Platform and Terra.

## Create Google Billing Account

:::: {.borrowed_chunk}

1. Log in to the [Google Cloud Platform](https://console.cloud.google.com/) console using your Google ID. **Make sure to use the same Google account ID you use to log into Terra.**

Expand All @@ -28,9 +29,11 @@ Modules about billing and Billing Projects on Google Cloud Platform and Terra.
<img src="05-billing_modules_files/figure-html//1tGpzZaQxoTAcxs_nyyNL2FOqypjEofEnMVpBtZiAw4A_g116ca06e27d_0_437.png" title="Screenshot of the Google Cloud Console Billing Page, with the name of the new billing account highlighted." alt="Screenshot of the Google Cloud Console Billing Page, with the name of the new billing account highlighted." width="480" />

At any point, you can create additional Billing Accounts using the **Create Account** button. We recommend creating a new Billing Account for each funding source.
::::

## Add Terra to Google Billing Account

:::: {.borrowed_chunk}

This gives Terra permission to create projects and send charges to the Google Billing Account, and must be done by an administrator of the Google Billing Account.

Expand All @@ -56,33 +59,36 @@ Terra needs to be added as a "Billing Account User":
1. Click "SAVE".

<img src="05-billing_modules_files/figure-html//1OqSVH5Y4v97-OKMnEDGGuhKBJwc9fyXc-Q1-ivbeZmA_g116e2d0fe67_0_146.png" title="Screenshot of the dialogue box for adding a member to a Google Cloud Billing Accounts. The Save button is highlighted." alt="Screenshot of the dialogue box for adding a member to a Google Cloud Billing Accounts. The Save button is highlighted." width="480" />
::::

## Create Terra Billing Project

:::: {.borrowed_chunk}

1. [Launch Terra](https://anvil.terra.bio/#workspaces) and sign in with your Google account. **Make sure to use the same Google account that you used to set up Google Billing.** If this is your first time logging in to Terra, you will need to accept the Terms of Service.
1. [Launch Terra](https://anvil.terra.bio/#workspaces) and sign in with your Google account. If this is your first time logging in to Terra, you will need to accept the Terms of Service.

1. In the drop-down menu on the left, navigate to "Billing". Click the triple bar in the top left corner to access the menu. Click the arrow next to your name to expand the menu, then click "Billing".
1. In the drop-down menu on the left, navigate to "Billing". Click the triple bar in the top left corner to access the menu. Click the arrow next to your name to expand the menu, then click "Billing". You can also navigate there directly with this link: https://anvil.terra.bio/#billing

<img src="05-billing_modules_files/figure-html//1POwxqv4p6AfPHJlN9VNq0TaT44fA2RAFSpIERIMHdWU_g116f8d759be_0_2.png" title="Screenshot of the Terra drop-down menu. Three items are highlighted: 1) the &quot;hamburger&quot; button for extending the drop-down menu, 2) the arrow next to your username, for extending the drop-down submenu, and 3) the submenu item &quot;Billing&quot;." alt="Screenshot of the Terra drop-down menu. Three items are highlighted: 1) the &quot;hamburger&quot; button for extending the drop-down menu, 2) the arrow next to your username, for extending the drop-down submenu, and 3) the submenu item &quot;Billing&quot;." width="480" />

1. On the Billing page, click the "+ CREATE" button to create a new Billing Project. If prompted, select the Google account to use. Make sure to use the same Google account that you used to set up Google Billing. If prompted, give Terra permission to manage Google Cloud Platform billing accounts.
1. On the Billing page, click the "+ CREATE" button to create a new Billing Project. If prompted, select the Google account to use. If prompted, give Terra permission to manage Google Cloud Platform billing accounts.

<img src="05-billing_modules_files/figure-html//1POwxqv4p6AfPHJlN9VNq0TaT44fA2RAFSpIERIMHdWU_g116f8d759be_0_149.png" title="Screenshot of the Terra Billing Page. The &quot;plus&quot; button next to &quot;Billing Projects&quot; is highlighted." alt="Screenshot of the Terra Billing Page. The &quot;plus&quot; button next to &quot;Billing Projects&quot; is highlighted." width="480" />

1. Enter a unique name for your Terra Billing Project and select the appropriate Google Billing Account. The name of the Terra Billing Project must:
1. Enter a **unique** name for your Terra Billing Project and select the appropriate Google Billing Account. The name of the Terra Billing Project must:
+ Only contain lowercase letters, numbers and hyphens
+ Start with a lowercase letter
+ Not end with a hyphen
+ Be between 6 and 30 characters
+ Be unique across all Google Billing Projects

<img src="05-billing_modules_files/figure-html//1POwxqv4p6AfPHJlN9VNq0TaT44fA2RAFSpIERIMHdWU_g116f8d759be_0_293.png" title="Screenshot of the Terra Add Billing Project dialog box." alt="Screenshot of the Terra Add Billing Project dialog box." width="480" />

The page doesn't always update as soon as the billing project is created. If it's been a couple of minutes and you don't see a change, try refreshing the page.
The page doesn't always update as soon as the Billing Project is created. If it's been a couple of minutes and you don't see a change, try refreshing the page.
::::

## Add Members to Google Billing Account

:::: {.borrowed_chunk}

Anyone you wish to add to the Billing Account will need their own Google ID.

Expand All @@ -108,9 +114,11 @@ To add a member to a Billing Project:
1. Click "SAVE".

<img src="05-billing_modules_files/figure-html//1j1wRbaDyHJJhZQcWcP4xeYgIoaIBRIF3LIZpiDPBumw_g116e2c647a7_0_441.png" title="Screenshot of the dialogue box for adding a member to a Google Cloud Billing Accounts. The Save button is highlighted." alt="Screenshot of the dialogue box for adding a member to a Google Cloud Billing Accounts. The Save button is highlighted." width="480" />
::::

## Set Alerts for Google Billing

:::: {.borrowed_chunk}

1. Log in to the [Google Cloud Platform](https://console.cloud.google.com/) console using the Google ID associated with your Google Cloud projects.

Expand Down Expand Up @@ -153,9 +161,11 @@ To add a member to a Billing Project:
1. You can edit your budgets at any time by going to Billing > Budgets & alerts, and clicking on the name of the budget you want to edit.

<img src="05-billing_modules_files/figure-html//1GBYTx25VzBFh7kI_elgMC0fmOMm4YhcfW8wIJ1EkmKY_g115e284bdc2_0_1314.png" title="Screenshot of the Google Cloud Billing Account Budgets and alerts overview. Four items are highlighted illustrating how to view and edit an existing budget: 1) The top-left &quot;hamburger&quot; button for extending the drop-down menu, 2) the drop-down menu item &quot;Billing&quot;, 3) the submenu item &quot;Budgets &amp; alerts, 4) the name of a budget." alt="Screenshot of the Google Cloud Billing Account Budgets and alerts overview. Four items are highlighted illustrating how to view and edit an existing budget: 1) The top-left &quot;hamburger&quot; button for extending the drop-down menu, 2) the drop-down menu item &quot;Billing&quot;, 3) the submenu item &quot;Budgets &amp; alerts, 4) the name of a budget." width="480" />
::::

## View Spend for Google Billing

:::: {.borrowed_chunk}

You can always check your current spend through the Google Billing console, but remember

Expand Down Expand Up @@ -193,4 +203,5 @@ The Google Billing console displays information by Billing Account. To view spe
1. Click on the **Cost table** tab to obtain a convenient table of spending per project.

<img src="05-billing_modules_files/figure-html//1Ofs1As7XZWmxnaBOZvNYzAiuuaYgn1ce700eHyCNg2Y_g1149729109c_0_577.png" title="Screenshot of a Google Cloud Billing Account Cost table tab." alt="Screenshot of a Google Cloud Billing Account Cost table tab." width="480" />
::::

2 changes: 1 addition & 1 deletion docs/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@



<meta name="date" content="2022-12-07" />
<meta name="date" content="2022-12-16" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down
2 changes: 1 addition & 1 deletion docs/About.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ These credits are based on our [course contributors table guidelines](https://gi
## collate en_US.UTF-8
## ctype en_US.UTF-8
## tz Etc/UTC
## date 2022-12-07
## date 2022-12-16
##
## ─ Packages ───────────────────────────────────────────────────────────────────
## package * version date lib source
Expand Down
4 changes: 2 additions & 2 deletions docs/a-new-chapter.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@



<meta name="date" content="2022-12-07" />
<meta name="date" content="2022-12-16" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down Expand Up @@ -451,7 +451,7 @@ <h2><span class="header-section-number">2.4</span> Print out session info</h2>
## collate en_US.UTF-8
## ctype en_US.UTF-8
## tz Etc/UTC
## date 2022-12-07
## date 2022-12-16
##
## ─ Packages ───────────────────────────────────────────────────────────────────
## package * version date lib source
Expand Down
4 changes: 2 additions & 2 deletions docs/about-the-authors.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@



<meta name="date" content="2022-12-07" />
<meta name="date" content="2022-12-16" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down Expand Up @@ -433,7 +433,7 @@ <h1>About the Authors</h1>
## collate en_US.UTF-8
## ctype en_US.UTF-8
## tz Etc/UTC
## date 2022-12-07
## date 2022-12-16
##
## ─ Packages ───────────────────────────────────────────────────────────────────
## package * version date lib source
Expand Down
2 changes: 1 addition & 1 deletion docs/anvil-module-library.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@



<meta name="date" content="2022-12-07" />
<meta name="date" content="2022-12-16" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down
Loading

0 comments on commit 11630f2

Please sign in to comment.