Configurar a conectividade usando o túnel SSH reverso
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Visão geral
O Database Migration Service (do Oracle para o AlloyDB para PostgreSQL) coleta as informações necessárias no momento da criação da migração
e gera automaticamente o script para configurar tudo.
Confira o diagrama a seguir:
Configurar um túnel SSH reverso
Você pode usar uma instância de VM do Compute Engine para essa finalidade.
Escolha a instância de VM do Compute Engine na lista.
Forneça uma porta disponível que o túnel SSH possa usar.
Como alternativa, crie uma nova VM nesta etapa. Selecione
CREATE A COMPUTE ENGINE VM INSTANCE, e o script gerado
inclui instruções para criá-lo.
Forneça um nome para a instância de VM.
Selecione um tipo de máquina para a VM.
Especificar uma sub-rede para a VM
Clique em VER ROTEIRO para conferir o script gerado.
Execute o script em uma máquina que tenha acesso ao banco de dados de origem e à
VM do Compute Engine. O script executa as seguintes operações:
Configura a VM do Compute Engine como um servidor de Bastion de túnel SSH.
Estabelece uma conexão SSH segura entre o banco de dados de origem e a
VPC.
Clique em CONFIGURAR E CONTINUAR.
Se a origem estiver em uma VPN (na AWS, por exemplo, ou na sua própria
VPN local), acesse a seção para mais informações sobre como configurar a
VPN de origem e a VPN do Google Cloud para que funcionem entre si.
Depois que o job de migração for configurado, a conectividade será verificada
e as VPNs serão configuradas, se necessário. Em seguida, será possível executar o job.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-07-26 UTC."],[[["The Database Migration Service auto-generates a script to set up the migration from Oracle to AlloyDB for PostgreSQL, collecting necessary information during creation."],["A reverse SSH tunnel can be established using an existing Compute Engine VM, or a new one can be created via the script, but remember to set the `GatewayPorts` parameter in `/etc/ssh/sshd_config` on the target server."],["The generated script can be modified to create a private IP address for the Compute Engine VM by adding the `--no-address` and `--internal-ip` flags, or to use a subnet on a shared VPC by altering the `export SUBNET_NAME` command."],["The script needs to be run on a machine with access to both the source database and the Compute Engine VM, and it configures the VM as an SSH tunnel server."],["If the source is within a VPN, the connection profile should use the VPN IP address and port, and additional steps are necessary to ensure the source VPN and Google Cloud VPN work together."]]],[]]