Step 4: Specify the App to Deploy to the Instance
Tell AWS OpsWorks Stacks about the app that you will deploy to the instance later in this walkthrough. In this context, AWS OpsWorks Stacks defines an app as code you want to run on an instance. (For more information, see Apps.)
The procedure in this section applies to Chef 12 and newer stacks. For information about how to add apps to layers in Chef 11 stacks, see Step 2.4: Create and Deploy an App.
To specify the app to deploy
In the service navigation pane, choose Apps:
The Apps page is displayed. Choose Add an app. The Add App page is displayed.
For Settings, for Name, type
MyLinuxDemoApp. (You can type a different name, but be sure to substitute it for
MyLinuxDemoAppthroughout this walkthrough.)
For Application Source, for Repository URL, type
Leave the defaults for the following:
Settings, Document root (blank)
Data Sources, Data source type (None)
Repository type (Git)
Repository SSH key (blank)
Environment Variables (blank KEY, blank VALUE, unchecked Protected Value)
Add Domains, Domain Name (blank)
SSL Settings, Enable SSL (No)
Choose Add App. AWS OpsWorks Stacks adds the app and displays the Apps page.
You now have an app with the correct settings for this walkthrough.
In the next step, you will launch the instance.