Connect to an Existing QNX AMI
This section describes how to connect to an existing QNX AMI instance using SSH or the QNX Momentics IDE.
You must be familiar with using the Amazon EC2 environment. For details on navigating the EC2 environment, go to the Amazon User Guide for Linux instance at https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/concepts.html
Before connecting to an existing target instance,
start the instance from the Amazon EC2 console at
https://console.aws.amazon.com/ec2/.
The instance's security group should include the IP of your development host machine.
You need the public IP DNS address,
the key pair file and location,
and a username for the instance.
Depending on the AMI, the default username is
qnxuser or root.
For details on finding instance information,
follow how to Get information about your instance
in the Amazon document at
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/connect-to-linux-instance.html.
ssh -i command to connect the instance with the
key pair location, the username
(either qnxuser or root),
and the public IP DNS address for the instance:
ssh -i <key pair location>.pem qnxuser@<public IP DNS address>For details on connecting with SSH, follow how to
Connect to your instance using SSHin the Amazon document at https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/connect-linux-inst-ssh.html.
To connect using the Momentics IDE, launch the qconn process on the target to
set up an IP connection,
and then connect by following the instructions at
Creating a target connection
in the QNX Momentics IDE User's Guide.
Connect using the Amazon EC2 consolein the Amazon document at https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-connect-methods.html.
