This tutorial details how to deploy any one of Hossted’s fully supported apps from the Oracle Cloud Marketplace so that it is ready for use:
1. Deploying the VM App on Oracle
1. Choose a Product
– Navigate to the app’s page on Oracle Cloud Marketplace.
– On the selected app page, click the Get App button to start the deployment process.
2. Sign in to Oracle Cloud
– On the OCI sign-in page, select an existing account or create a new one.
– After signing in, you will be redirected to the application page.
– Select a Compartment (e.g., marketplace).
– Check the box confirming you accept the Oracle Terms of Use and Publisher Terms.
– Click Launch Instance.
3. Configure and launch the VM
– Fill in the required details (e.g., Name: descriptive VM name, Compartment: marketplace).
– Security, Networking, and Storage are preconfigured by default — click Next through each section.
– In Advanced Options, enable SSH access and download your private/public SSH keys (only available at this stage).
– Review all parameters, confirm you saved the private key, and click Create to launch the VM.
4. Configure Network Security Group
– In the Instances tab, open your running instance and go to Instance Details. – Click on Virtual Cloud Network (VCN) → Security Lists → Default Security List.
– Click Add Ingress Rules and add the required rules based on the app’s System Requirements.
Note: For most web applications, you must add Port 443 (HTTPS) and Port 80 (HTTP) with Source 0.0.0.0/0 and Protocol TCP.
Management: Always ensure Port 22 (SSH) is open for terminal access.
App-specific: Add any additional ports (e.g., 9092 for Kafka or 6379 for Redis) as specified in the app’s documentation.
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:
– Public-ip-address: copy ip from OCI where your instance is running.
– Your-key.pem: the name of your key downloaded at point 3.
ssh -i your-key.pem your-username@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.