Choose “g4dn.4xlarge”. You can also choose “g4dn.8xlarge” if you need more CPUs.
Leave this section unchanged.
Leave this section unchanged.
Leave this section unchanged.
Click on “Add Rule” and add port 4000 as shown in the figure. Please note that we set the sources for both ports to “Anywhere” for simplicity, but it would be safer to restrict the sources to a smaller set, for example, the subnet owned by your university.
Finally, click on the “Launch” button which should appear at the lower right corner.
A pop-up window should appear and ask you to select an existing key pair. If you don’t have an existing key pair, select “Create a new key pair”, give it a name, and “Download Key Pair”. Then “Launch Instances”.
It might take several minutes to set up. Locate the new instance in your EC2 dashboard, and you can find its Public IPv4 address there.
You may want to set a strong password for the main user “ubuntu”. To do that, select the new instance in your EC2 dashboard and click on “Connect” which should appear at the upper right corner.
Then you should be redirected to the page as shown in the figure. Change the username to “ubuntu” and click on “Connect”.
You should be able to see a new window which looks like the following picture. Change your password by running command
and following the prompts.
Open NoMachine, click on “Add” which appears at the upper left corner.
Choose whatever name you like, and fill “Host” with your instance’s Public IPv4 address. Set “Port” to 4000 and use the NX protocol.
Click on “Configuration” on the left. Select “Use key-based authentication with a key you provide” and click on the “Modify” button. Then, select the key file downloaded in Step 1.7. Go back and click on “Connect”. If it says “key is missing”, click on the “Modify” button, select the key you downloaded, and try again. This might be a bug of NoMachine.
If asked, the username is “ubuntu”. After you logged in, the simulator, scenario runner, and the customized GRAIC script have already been installed at
. Please refer to the instruction in the Final Section “Installing GRAIC Customized Scripts” of Local Installation section to run any experiments.