This tutorial details how to deploy any one of Hossted’s fully supported VM Apps on AWS Marketplace so that it is ready for use:
1. Deploying the VM App on AWS
1. Subscribe to the App
– Navigate to the app’s page on AWS Marketplace.
– Click the “Continue to Subscribe” button.
2. Sign into your AWS Marketplace Account
– Enter your Account ID, IAM user name, and Password.
– Click the “Sign In”.
3. Accept Subscription Terms
– Click the “Accept Terms” to subscribe to the app.
– Wait for the subscription confirmation.
4. Configure the VM
– Click the “Continue to Configuration” button.
– Choose your desired Fulfillment option, Software version and Region.
– Click the “Continue to Launch” button.
5. Select Launch Method and Instance Type
– You can select the “One-click launch from AWS Marketplace” for the easiest setup with pre-configured security rules.
– Alternatively, you can choose “Launch through EC2” if you need full control over advanced configuration and Click the “Launch” button.
6. Configure Network and Security Groups
This step ensures your application is accessible via the web (HTTP/HTTPS) and terminal (SSH).
If using One-click launch:
– Automatic Settings: All primary network settings (VPC, Subnet, and Instance settings) are automatically pre-configured for optimal performance—no manual changes are required.
– Security Group: Simply click the blue “Create security group” link.
– Confirmation: A popup window will appear where all necessary ports (e.g., 22, 80, 443 and application ports like 9092) are already filled in based on Hossted’s recommended settings.
– Save: Enter a name for the group and click the orange “Create security group” button to apply the rules.
If using Launch through EC2:
– Network Settings: All network and instance settings are pre-configured.
– Firewall: Verify that the “Create security group” option is selected.
– Automatic Rules: All required ports (SSH, HTTPS, HTTP, and Custom TCP) are already selected by default. Simply ensure that all checkboxes are marked to ensure your application works correctly.
7. Create a Key Pair (For “Launch through EC2” only)
– Enter the preferable server name in Name and tags any you like.
– Scroll down to the“Key pair (login)” section and click the “Create new key pair” button.
– Provide a “Name” for the key pair, any you like.
– Ensure the Key pair type is RSA and the Private key file format is .pem.
– Click the “Create key pair” button. Your key will be downloaded on your computer.
– Return to the Launch an Instance page and click the “Launch the Instance” button.
8. Access Your Instance
– After successful deployment, click the “EC2 Console link”, marked as green to visit the app console page.
2. Logging in via SSH
Consider using one of the SSH login methods outlined below:
1. Using the Command Line
- Open your terminal (Linux/MacOS).
- Locate the private key (.pem) file downloaded during the deployment in the home directory.
- Run the following command in your CLI:
– Public-ip-address: copy ip from AWS console where your application is running.
– Your-key.pem: the name of your key given in point 6.
ssh -i your-key.pem ubuntu@public-ip-address
- When prompted, type “yes”.
- If you are asked to change the file permissions, use the following command:
chmod 600 your-key.pem
- After chmod 600 prompt the first command again.
- Once the VM is deployed, copy the provided URL and paste a link into a browser address bar. Log in with the credentials provided in your command line.
2. Using PuTTY (Windows)
- Enter the Host Name (or IP address) of your VM and save the session.
- Under Connection > Data, enter ubuntu in the Auto-login username field.
- Under Connection > SSH > Auth, browse and select your private key file (.ppk).
- Select the session and click Open.
- Confirm the server’s host key and add it to the cache by clicking Yes.
3. Using PowerShell (Windows, Linux, MacOS)
PowerShell is a cross-platform task automation solution made up of a command-line shell, a scripting language, and a configuration management framework.
3. Connecting VM App to Hossted Platform
To unlock the full potential of your VM application with Hossted, simply connect it to the Hossted Platform. Gain access to features like real-time monitoring, automated updates, enhanced security, and comprehensive analytics. Connecting your app ensures seamless management and optimized performance, all in one place. How to connect a VM application to the Hossted Platform.
Looking for a quick and easy way to get started?
Our video guideline has you covered!
Need help or have questions? Contact us anytime. We’re here to assist and provide the support you need.
Contact Support