1. jump-vm 配置

1. Generate ssh key

    shell: ssh-keygen -b 2048 -t rsa -f ./group_vars/{{ ssh_key_name }} -q -N ""

2. Create resource group and virtural network   

    Build {{ resource_group }} Resource Group

    Create {{ cloud_config.network.name }} virtual network

    Add {{ vm_config.subnet.name }} subnet

3. Create security group {{ vm_config.nsg }} that allows SSH and port 8080

4. Fetch VM IP address

5. create inventories directory if it does not exist

6. copy gatewayed.yml

7. ssh-copy-id for jump node



阅读更多
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

加入CSDN,享受更精准的内容推荐,与500万程序员共同成长!
关闭
关闭