This tutorial details how to deploy any one of HOSSTED’s fully supported apps from the AWS Marketplace so that it is ready for use:
It contains the following sections:
1. Deploying an app on AWS
2. SSH verification
1. Deploying an app on AWS
1.1. On the selected app page, click the yellow Continue to Subscribe button.
1.2. The sign-in page to AWS appears. Fill In the Account ID, IAM user name, and Password fields, and click Sign In.
1.3. The next screen will ask you to subscribe to the application. Click the Accept Terms button.
A notification appears that your subscription is pending.
1.4. Click on the blue Continue to Configuration button.
1.5. A Configure this Software page appears.
Select your Region and click the blue Continue to Launch button.
1.6. A screen appears with multiple fields. In the EC2 Instance Type field, select the instance type that meets your requirements.
1.7 Click on the Create New Based on Seller Settings tab.
1.8. A dropdown menu appears. Fill in the Name your security Group and Description fields.
1.9. Press the blue Save button.
1.10. A Key Pair Settings pop-up box appears.
Click on the blue Create a key pair in EC2 link.
1.11. The EC2 Key Pairs console appears.
1.11.1 Check the box next to the name you selected.
1.11.2. Press the orange Create key pair button.
1.12. A key pair detail page appears.
1.12.1. In the Name field, enter a name for the new key pair.
1.12.2. The key pair type can remain as RSA.
1.12.3. The Private key file format should remain as .pem
1.12.4. Click on the orange Create key pair button.
1.13. Return to the Key Pair Settings box (2.0).
1.13.1. Refresh the Key Pair list.
1.13.2. Select your Key Pairs name from the list.
1.13.3. Press the yellow Launch button.
1.14. A notification of successful deployment is displayed.
1.14.1 Click on the blue EC2 Console link.
1.14.2. The Instances console appears.
1.14.3. Copy the Public IP address listed on the table for that instance.
1.14.4. Paste the IP address into your browser address bar.
2. Login by SSH
There are two options for SSH login:
2.1. Using the command line on your computer. This is optimal for Linux and MacOS, which come with SSH pre-installed.
2.2. Downloading PuTTY, a popular and well-documented SSH client. This is optimal for Windows users.
2.1. Using the Command Line
Open your favorite terminal. Find the private key (.pem) file you downloaded during the Azure deployment process.
Type the following:
ssh -i ubuntu@
The following prompt appears:
After the VM deploys, a link appears to where the VM is available.
Copy the URL and log in with the provided credentials.
The deployment of your HOSSTED app is complete.
2.2. Downloading PuTTY
Download PuTTY here.
In the PuTTY window, enter the host name or public IP address of your VM into the Host Name (or IP address) field, and name it in the Saved Sessions field.
Click Save to save the new session so you can reuse it later.
In the Connection -> Data section, enter the username ubuntu in the Auto-login username field, under the Login details section.
In the Connection -> SSH -> Auth section, browse to the private key file (.ppk) you’ve previously obtained in the step above.
Select the session you want to start (in case you have more than one session saved) and click the Open button to open an SSH session to the server. PuTTY will first ask you to confirm the server’s host key and add it to the cache.
Click Yes to this request. You should now be logged in to your server.
For any questions, please contact HOSSTED’s expert DevOps team for one-on-one assistance, here.