Step 7: Explore the Instance's Settings and Logs
Examine the settings that AWS OpsWorks Stacks used to launch the instance. You can also examine the instance logs that AWS OpsWorks Stacks created.
To display the instance's settings and logs
In the service navigation pane, choose Instances. The Instances page displays.
For Node.js App Server, choose nodejs-app-1. The nodejs-app-1 page displays:
To explore the instance logs, in the Logs section, for Log, choose show:
AWS OpsWorks Stacks displays the corresponding log in a separate web browser tab:
To learn more about what some of the instance settings represent, return to the nodejs-app-1 page, choose Stop, and when you see the confirmation message, choose Stop. Choose Edit after Status changes from stopping to stopped, and then hover over each of the settings. (Not all settings have on-screen descriptions.) For more information about these settings, see Adding an Instance to a Layer.
When you have finished reviewing settings, choose Start to restart the instance, and wait until Status changes to online. Otherwise, you won't be able to test the app later, because the instance will remain stopped.
If you want to log in to the instance to explore it further, you must first provide AWS OpsWorks Stacks with information about
your public SSH key
(which you can create with tools such as ssh-keygen or PuTTYgen), and then you must set permissions on the
My Sample Stack (Linux) stack
to enable your IAM user to log in to the instance. For instructions, see Registering an IAM User's Public SSH Key
and Logging In with SSH.
In the next step, explore the app's settings.