-
Notifications
You must be signed in to change notification settings - Fork 6
JKE Banking Full Stack Deployment
Tim Pouyer edited this page Oct 18, 2017
·
2 revisions
Open your browser to the Web Terminal. Login as the demo user with password labstack and execute the following commands:
docker run --rm stackinabox/demo-jke
To deploy and run the demo follow these steps:
- Open your browser to the Blueprint Designer and login with
demo/labstack. - Click on the
Repositorieslink on the left-side of the page. Once theRepositoriespage loads click on the drop-down next to theRepositorytext at the top of the page and click theClone Repositorybutton at the bottom of the drop-down menu. - In the
Repository URLfield enterhttps://github.com/stackinabox/jke-blueprint.gitand clickSubmit. Once the repo is cloned you can click on theBlueprintstab on the left side of the page - the icon looks like a box and the tool tip saysBlueprintswhen you hover your mouse over it. You should now see a folder calledjke-blueprintalong with adefaultanddemofolder. - Click the triangle to the left of
jke-blueprintto expand the folder. Now you can open the JKE Blueprint by clicking on thejke.ymlunder thejke-blueprintfolder. - Click on the blue
Provisionbutton at the top of the page. TheProvision Blueprint to new Environmentdialog will pop up. Enter the following values for the fields presented in the dialog.
- `Environment Name`: DEV
- `Agent Parameters`: leave alone
- `Image Parameters`:
- `Flavor`: `m1.small`
- `Key Name`: `demo_key`
- `Web Server Image`: `ubuntu-1404-amd64`
- `Database Server Image`: `ubuntu-1404-amd64`
- `Network Parameters`:
- `Availability Zone`: `nova`
- `Private Network`: `private`
- `Public Network`: `public`
- Click on the blue
Provisionbutton at the bottom of the dialog - Click on the
Environmentstab on the left of the page. It looks like the letterE. You will see a table displaying the knownenvironmentsthat have been deployed via theBlueprint Designerthat you have access to. You should see and entry in the table with theDEVEnvironmentname and thejkeApplied Blueprint. - Click on the
DEVlink under theEnvironmentcolumn corresponding to thejkeApplied Blueprint. This will load theEnvironmentpage for the blueprint you just provisioned. Wait here until all entries in the table show the green check circle icon with the textCreate Completebeside it. - Click on the
Outputslink to the left of the page. This will bring you to the blueprints definedoutputspage. These are dynamically generated as part of provisioning the blueprint and help with finding the correct IP address of an application in a cloud environment that uses auto-assigned floating IPs. - Right-click on the link next to the
application_urloutput value in the table to open the link in a new window/tab. This will open theJKE Bankingapplication and load the landing page into your browser. - Login to the
JKE Bankingapplication using the usernamejbrownand the passwordjbrown - You can delete the provisioned blueprint for the
JKE Bankingapplication by going back to the Blueprint DesignerEnvironmentspage at: http://designer.stackinabox.io/landscaper/view/environment and clicking the red trash can icon under theActionscolumn on the right side of the page corresponding to theDEVenvironment you just provisioned. - Congrats! You just provisioned a blueprint.