Create Compute Instances
You must create virtual machines (compute instances) to house the bastion server and the remote data gateway.
You must also generate a public/private key pair to access the instances.
Create a Key Pair
Before you create and access the compute instance, you must generate a public/private key pair in OpenSSH format using a utility such as ssh-keygen
for Linux-type systems.
Instances use an SSH key pair to authenticate a remote user. A key pair file contains a private key and public key. You keep the private key on your computer and provide the public key every time you launch an instance.
For Linux systems:
The command generates an SSH key pair consisting of a public key and a private key, and saves them in the specified path. The file name of the public key is created automatically by appending .pub
to the name of the private key file. For example, if the file name of the SSH private key is id_rsa
, then the file name of the public key is id_rsa.pub
.
Make a note of the path where you've saved the SSH key pair. When you create instances, you must provide the SSH public key. When you log in to an instance, you must specify the corresponding SSH private key and enter the password when prompted.
Create a Compute Instance for a Bastion Server
Create a virtual Linux machine as the compute instance for the bastion server.
ssh-keygen
. Instances use an SSH key pair to authenticate a remote user. A key pair file contains a private key and public key. You keep the private key on your computer and provide the public key every time you launch an instance.
Create a Compute Instance for a Remote Data Gateway
Create a virtual Linux machine as the compute instance for the remote data gateway (RDG).
ssh-keygen
. Instances use an SSH key pair to authenticate a remote user. A key pair file contains a private key and public key. You keep the private key on your computer and provide the public key every time you launch an instance.