Skip to content

Commit

Permalink
Merge pull request #178 from jhudsl/update-child-create-billing-project
Browse files Browse the repository at this point in the history
Update `child_terra_create_billing_project`
  • Loading branch information
KatherineCox authored Dec 16, 2022
2 parents d001c71 + e744ae4 commit cf88db0
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
12 changes: 12 additions & 0 deletions 05-billing_modules.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -6,55 +6,67 @@ Modules about billing and Billing Projects on Google Cloud Platform and Terra.

## Create Google Billing Account

:::: {.borrowed_chunk}
```{r, echo = FALSE, results='asis'}
cow::borrow_chapter(
doc_path = "child/_child_google_billing_create_account.Rmd",
repo_name = "jhudsl/AnVIL_Template"
)
```
::::

## Add Terra to Google Billing Account

:::: {.borrowed_chunk}
```{r, echo = FALSE, results='asis'}
cow::borrow_chapter(
doc_path = "child/_child_google_billing_add_terra.Rmd",
repo_name = "jhudsl/AnVIL_Template"
)
```
::::

## Create Terra Billing Project

:::: {.borrowed_chunk}
```{r, echo = FALSE, results='asis'}
cow::borrow_chapter(
doc_path = "child/_child_terra_create_billing_project.Rmd",
repo_name = "jhudsl/AnVIL_Template"
)
```
::::

## Add Members to Google Billing Account

:::: {.borrowed_chunk}
```{r, echo = FALSE, results='asis'}
cow::borrow_chapter(
doc_path = "child/_child_google_billing_add_member.Rmd",
repo_name = "jhudsl/AnVIL_Template"
)
```
::::

## Set Alerts for Google Billing

:::: {.borrowed_chunk}
```{r, echo = FALSE, results='asis'}
cow::borrow_chapter(
doc_path = "child/_child_google_billing_set_alerts.Rmd",
repo_name = "jhudsl/AnVIL_Template"
)
```
::::

## View Spend for Google Billing

:::: {.borrowed_chunk}
```{r, echo = FALSE, results='asis'}
cow::borrow_chapter(
doc_path = "child/_child_google_billing_view_spend.Rmd",
repo_name = "jhudsl/AnVIL_Template"
)
```
::::

11 changes: 5 additions & 6 deletions child/_child_terra_create_billing_project.Rmd
Original file line number Diff line number Diff line change
@@ -1,26 +1,25 @@
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

```{r, echo=FALSE, fig.alt='Screenshot of the Terra drop-down menu. Three items are highlighted: 1) the "hamburger" 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 "Billing".'}
ottrpal::include_slide("https://docs.google.com/presentation/d/1POwxqv4p6AfPHJlN9VNq0TaT44fA2RAFSpIERIMHdWU/edit#slide=id.g116f8d759be_0_2")
```

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.

```{r, echo=FALSE, fig.alt='Screenshot of the Terra Billing Page. The "plus" button next to "Billing Projects" is highlighted.'}
ottrpal::include_slide("https://docs.google.com/presentation/d/1POwxqv4p6AfPHJlN9VNq0TaT44fA2RAFSpIERIMHdWU/edit#slide=id.g116f8d759be_0_149")
```

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

```{r, echo=FALSE, fig.alt='Screenshot of the Terra Add Billing Project dialog box.'}
ottrpal::include_slide("https://docs.google.com/presentation/d/1POwxqv4p6AfPHJlN9VNq0TaT44fA2RAFSpIERIMHdWU/edit#slide=id.g116f8d759be_0_293")
```

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.

0 comments on commit cf88db0

Please sign in to comment.