Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@
<summary><b>3.1 - GOOGLE CLOUD</b></summary>
<br>

<a href="">Clique aqui para aprender a configurar o Google Cloud</a>
<a href="https://github.com/Team-Roxo/Project_TMS_Fullstack_Entra21/blob/main/assets/README.md">Clique aqui para aprender a configurar o Google Cloud</a>

>## <b id="google_api"> 3.1.1 - Google API </b>
>>### <b id="directions"> 3.1.1.1 - Directions API </b>
Expand Down
91 changes: 91 additions & 0 deletions assets/README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,93 @@
# <b>CONFIGURANDO GOOGLE CLOUD PARA DEPLOY E SERVICES</b>

## <b>1 - CONFIGURAR CONTA NO GOOGLE CLOUD</b>

> ### &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Primeiro de tudo, você necessitará de uma conta do Google, o que é utilizado em vários serviços da mesma, como: Gmail, Youtube, Maps, etc. Então se você não tem, crie <a href="https://accounts.google.com/signup/v2/webcreateaccount?flowName=GlifWebSignIn&flowEntry=SignUp" target="_blank">aqui!</a>
><br>
><br>
> <img width="500px" src="./img/google_gmail.png">
><br>
><br>
>
> ### &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Após você criar uma conta do Google, temos de utilizar ela para logar nos serviços de Cloud da Google, você pode ir lá clicando <a href="https://cloud.google.com/?hl=pt-br" target="_blank">aqui!</a> Em seguida, clique em "Acessar Console" que te levará para a página inicial da Cloud, se você não tiver nenhum projeto já registrado, ele pedirá para criar uma nova.
><br>
><br>
> <img width="500px" src="./img/cloud_project.png">
><br>
><br>
>
> ### &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Informe apenas o nome do projeto (no nosso caso, TMSProject), não será necessário procurar ou criar uma organização, isso envolve mais alguns passos como ter um domínio próprio da empresa e assuntos relacionados, o nosso objetivo é apenas criar instâncias para podermos testar nosso projeto funcionalmente online.
> ### &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Agora, iremos configurar nosso projeto com base em regras e autorização de uso, credenciais e em certos serviços que você pode privar para cada usuário dependendo de sua função.

<br>
<br>

## <b>2 - CONFIGURAR PROJETO</b>

> ### &nbsp;&nbsp;&nbsp; Após criar o projeto, provavelmente sua tela ficará assim:
><br>
><br>
><img width="500px" src="./img/cloud_home.png">
><br>
><br>
>
> ### &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Note que há algumas opções de criação de serviços, como: Virtual Machine, Consulta no BigQuery, Cluster e Bucket de Armazenamento. Nós iremos primeiramente acessar nosso Painel Principal, acima dessas opções. Após isso você verá a seguinte tela:
><br>
><br>
><img src="./img/cloud_panel.png">
><br>
><br>
>
> ### &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Os gráficos irão aparecer automaticamente após ativar, criar e usar os serviços disponíveis. Agora iremos configurar as permissões para cada usuário que participa neste projeto. No primeiro card em "Informações de Projeto", clique em "ADICIONAR PESSOAS AO PROJETO", irá abrir uma aba com as seguintes opções: Recurso (mostra em qual projeto será afetado), Adicionar Participantes (na caixa de texto escrito "Novas Principais" onde poderá colocar email do google, grupo do google, conta de serviço ou domínio do google workspace) e Atribuir Papéis (onde será definido o que aquela pessoa poderá ver, alterar ou criar no projeto), como na imagem a seguir.
><br>
><br>
><img src="./img/cloud_add_people.png">
><br>
><br>
>
> ### &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; E na aba "Selecionar Papel" você terá várias opções que poderá atribuir aquele usuário, como na imagem a seguir:
><br>
><br>
><img src="./img/cloud_paper.png">
><br>
><br>
>
> ### &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; No lado direito do painel de papéis, você pode definir ao usuário o papel básico em todo o projeto, como mostra ao lado direito do painel, ou atribuir de acordo com os serviços que estão sendo usados, na opção "Em uso" na lateral esquerda ou mais abaixo escolhendo manualmente.

<br>
<br>

## <b>3 - CONFIGURAR FATURAMENTO</b>

> ### &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b>AVISO! A configuração do Faturamento requer um cartão de crédito para verificação do usuário e evitar ficar reavendo o plano de teste em diversas contas diferentes. O tempo de duração do plano de teste dura 3 meses no valor de U$300, após o término do valor de teste ou do período fornecido, será cobrado do seu cartão, então cuidado!</b>
> ### &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; No Menu lateral esquerdo, abra as opções e selecione "Faturamento". Na parte superior, clique em <b>Iniciar Serviço Pago</b> ou <b>Configurar Faturamento</b> e após isso só seguir as instruções que for dadas em tela.
> ### &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Após isso sua tela de faturamento deverá ficar parecida com está:
><br>
><br>
><img src="./img/cloud_faturing.png">
><br>
><br>

<br>
<br>

## <b>4 - ATIVAR SERVIÇOS</b>

> ### &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; As ativações e criações de serviço são feita de acordo com sua demanda, como exemplo, o Directions API, uma API do Google Maps que te retorna rotas, precisamos ativá-la e então configurar uma credencial chamada API KEY.
><br>
><br>
><img src="">
>
>

<br>
<br>

## <b>5 - CONFIGURAR BANCO SQL</b>



<br>
<br>

## <b>6 - CONFIGURAR INSTÂNCIAS VIRTUAL</b>
Binary file added assets/img/cloud_activate.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/cloud_add_people.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/cloud_cred.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/cloud_faturing.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/cloud_home.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/cloud_key.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/cloud_panel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/cloud_paper.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/cloud_project.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/cloud_reg_key.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/cloud_sql.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/cloud_sql_config.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/cloud_sql_connect.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/cloud_sql_database.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/cloud_sql_panel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/cloud_sql_users.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/cloud_vm_config.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/cloud_vm_net.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/cloud_vm_os.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/cloud_vm_panel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/cloud_vm_ssh.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/google_gmail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.