Manage & Deploy Applications
Learn how to easily manage and deploy applications on your ALPON X4 micro-edge computer using the Sixfab Connect platform.
Manage & Deploy Applications
This guide provides a simple way to manage and run applications on the ALPON X4 micro-edge computer. The ALPON X4 uses the Sixfab Connect cloud platform to make working with apps easy. It supports container-based applications, helping users keep their apps running smoothly and without much effort.
It provides step-by-step instructions for deploying containers in two ways: directly pulling from Docker Hub and using Sixfab's own container registry. While Docker Hub offers a quick and simple way to get started with pre-existing images, the Sixfab Registry provides users with the flexibility to customize and control their applications fully. If your use case requires tailored functionality or specific configurations, deploying a custom image is the recommended approach.
Getting Started with Application Deployment
The ALPON X4 leverages container-based application deployment to offer users a robust, scalable, and efficient environment. Containers allow apps to run in isolated environments, reducing conflicts and ensuring better resource utilization.
Pull ARM64-compatible images directly from Docker Hub. Quick to start — no registry setup needed. Best for standard, off-the-shelf images.
Quick StartBuild and push your own custom images for full control. Ideal when you need specific features, preloaded files, or custom configurations.
AdvancedDeploying a Container from Docker Hub
This method allows users to pull ARM64-compatible images directly from Docker Hub and deploy them on ALPON X4 without additional configuration. Follow these steps to deploy your first container:
- Log in to the Sixfab Connect platform.
- Select your registered ALPON X4 device under the Assets section.
- Click on the Applications tab.
- Select the + Deploy button to start creating a new container.
MyNginxApp).nginx:latest). This pulls the official nginx image directly from Docker Hub.
DATABASE_URL: my-database-url). These configure the container's behavior dynamically.
Before clicking + Deploy, review the setup to ensure all fields are filled in correctly:
Click + Deploy to launch the container. Once deployed, the app will be accessible via the mapped port (e.g., http://[Device_IP]:30800).
Deploying a Custom Image via Sixfab Registry
For advanced use cases, you can create custom container images and push them to the Sixfab Registry for deployment.
Ensure Docker and Docker Buildx are installed on your personal computer before proceeding.
Install Docker
Windows and Mac: Download Docker Desktop from the official Docker website. Docker Desktop includes Docker Buildx by default.
Linux: Follow the Docker documentation for your distribution. Verify Buildx is available:
docker buildx version
Create a Dockerfile
Create a file named Dockerfile. Example for testing:
FROM nginx:stable-alpine RUN echo "Test successful, actively running." > /usr/share/nginx/html/index.html
--platform linux/arm64 flag during the build process to verify compatibility.Build the Image
Navigate to the directory containing the Dockerfile and run:
docker buildx build --load --platform linux/arm64 -t first-app:latest ./
Access the Registry
Log in to Sixfab Connect → Registry and locate your username at the top of the page.
Set Your Registry Password
If you have not yet set your registry password, click Reset Password on the Sixfab Registry page and follow the on-screen instructions.
Log in to the Registry
docker login cr.sixfab.io --username [your_username]
Enter your registry password when prompted.
Verify the Image Exists Locally
docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
first-app latest 4bfb6d85adc2 1 hours ago 53.1MB
Tag the Image
Replace [your_username] with your Sixfab Registry username:
docker tag first-app:latest cr.sixfab.io/[your_username]/first-app:latest
Push the Image
docker push cr.sixfab.io/[your_username]/first-app:latest
Verify in the Registry
Once the push is complete, refresh the Sixfab Registry page to confirm the image appears and is ready for deployment.
Go to the Apps tab on your Sixfab Connect dashboard and click + Deploy. Fill in the details:
Assign a unique port to avoid conflicts (e.g., if port 30800 is in use, assign 30900). Review the configuration, then click + Deploy.
Once deployed, access the container through the assigned port using one of the access methods described in the next section.
Access to the Container
Access via the device's local IP address from a browser on the same network.
Use the Sixfab Connect remote terminal to curl the container from anywhere.
Connect a monitor via HDMI and open a browser directly on the device.
Access from Local Network
Find your device's IP address on the local network:
Make sure your computer is connected to the same network as the ALPON X4. In your browser, navigate to http://[Device_IP]:30800 (replace with the actual IP). If set up correctly, you should see the nginx welcome page.
Access Outside the Local Network via Remote Terminal
If your device is not on the local network, go to the Device tab on the platform and click Open Remote Terminal.
In the terminal, enter the following command to check the container's status:
curl http://127.0.0.1:30800
If the container is running successfully, the output should display the nginx welcome page content:
Access via Monitor Connected to Device
Connect a monitor to the ALPON X4 via HDMI. Open a web browser on the device and navigate to http://127.0.0.1:30800 to access the container interface directly from the device.
Manage Containers
Once deployed, containers can be monitored and controlled directly from the cloud platform.
These steps ensure efficient management of applications on ALPON X4, minimizing effort.
Updated 8 days ago
