Setting up a Sandbox Environment on an S.0 BMC Instance


Provisioning and deploying dedicated bare metal servers for sandboxing purposes can be a costly undertaking. Initial investments in the equipment are followed by running and maintenance costs.

Application developers with low hardware requirements do not need high-performance servers. Instead, they can opt for cost-effective solutions providing high availability. Bare metal cloud technology allows you to delegate the critical testing work to affordable dedicated server instances.

This article will show you how to set up a sandbox environment on a small server instance using Rancher and Kubernetes.

Setting up a Sandbox Environment on an S.0 BMC Instance


  • A phoenixNAP BMC account

Note: If you are a new client, create a BMC account. For instructions on setting up a BMC Portal account, see Bare Metal Cloud Portal Quick Start Guide or watch the video instructions for BMC account creation.

Deploy Rancher on an S.0 BMC Instance

1. Log in to BMC Portal.

2. Select Solutions from the navigation pane on the left.

3. Click the Create Kubernetes Cluster button in the Rancher on Bare Metal Cloud tile.

Locating the Create Kubernetes Cluster button on the Solutions page of the BMC Portal.

4. Choose a location for your server and give it a name and description on the Create a Cluster page. Then click Next.

Selecting a location for the cluster and providing its name and description.

5. Select an available S.0 instance on the Add a Node page. Click Next.

Choosing a small server instance.

6. On the Node Settings page, add your SSH keys and configure advanced options.

7. Click Create Kubernetes Cluster to complete the deployment.

Adding SSH keys and opting for advanced configuration settings.

The Welcome to Rancher dialogue appears.

8. Copy and store the temporary password for the Rancher admin account.

9. Copy and store the IP address of your Rancher server.

The Welcome to Rancher screen.

10. Close the dialogue box and wait for the server to initialize. Then access Rancher using the IP address from Step 9 in an internet browser.

11. Log in to Rancher. Use admin as the username and the password obtained in Step 8.

Rancher login screen.

Note: For a comprehensive tutorial on setting up a Rancher cluster on Bare Metal Cloud, read Using Rancher to Deploy Kubernetes Clusters on BMC.

Deploy Your App in Rancher

Create a cluster to start deploying apps in Rancher.

1. Click Add Cluster on Rancher’s main screen.

The list of available clusters in Rancher, with only the local cluster available.

2. Click Existing nodes on the Add Cluster – Select Cluster Type page.

Clicking on Existing Nodes option on the Add Cluster - Select Cluster Type page.

The Add Cluster - Custom page appears.

3. Name your cluster and configure it according to your needs. Then click Next.

Naming and configuring the cluster on the Add Cluster - Custom page.

4. Choose the role of the node you wish to configure. Copy the automatically generated command and run it on the machines you want to include in the cluster.

Choosing node roles and generating a command to execute on nodes.

Note: Repeat Step 4 for all the nodes that need to join the cluster.

5. The cluster appears on the main list of clusters.

The list of clusters in Rancher with the newly created cluster on the list.

If you have executed the command from Step 4 on all the nodes, wait for the cluster to become Active.

6. Hover over the Global section in the upper-left corner of the screen. Hover over the cluster you created in the menu that appears, then click Default in the new menu.

Navigating the main menu in Rancher to go to the Default namespace of the newly created cluster.

The Workloads list appears.

7. Click Deploy in the upper right corner of the screen to open the Deploy Workload page.

Clicking the Deploy button on the main list of cluster workloads in Rancher.

8. Name your deployment and provide the Docker image.

Naming and configuring the deployment in Rancher.

Note: Read How to Create Docker Image with Dockerfile to learn how to package your application for Docker.

9. Scroll down the page to find more configuration options. When you finish configuring the workload, click Launch.

Configuring the workload in Rancher.

10. The workload appears in the Workloads list.

The main list of workloads in Rancher, with the newly created workload marked as active.

11. Access the app using the ports you assigned.

Note: For a comprehensive tutorial on deploying app workloads with Rancher, read How to Set Up a Kubernetes Cluster with Rancher.


S.0 server instances provide a cost-effective dedicated server solution for development projects. This tutorial showed you how to utilize an S.0 instance for sandboxing your applications.

Was this article helpful?
Marko Aleksic
Marko Aleksić is a Technical Writer at phoenixNAP. His innate curiosity regarding all things IT, combined with over a decade long background in writing, teaching and working in IT-related fields, led him to technical writing, where he has an opportunity to employ his skills and make technology less daunting to everyone.
Next you should read
Building Optimized Containers for Kubernetes
December 18, 2019

An important aspect in software deployment is building effective container images that enhance and complement Kubernetes’ features. This article explores the best ways to create and optimize containers for K8s.
Read more
19 Kubernetes Best Practices for Building Efficient Clusters
September 23, 2020

Use the outlined Kubernetes best practices to build optimized containers, streamline deployments, administer reliable services, and manage a full-blown cluster.
Read more
How to Install Kubernetes on a Bare Metal Server
November 27, 2019

Container deployment and K8s orchestration are immensely powerful when deployed in virtual environments. The flexibility and scaling capabilities offer endless opportunities. Follow the outlined steps...
Read more
How to Install Rancher on Ubuntu
September 2, 2020

Rancher makes it simple to deploy and run Kubernetes everywhere. The software is especially useful as most cloud/virtualization vendors include Kubernetes as standard infrastructure. In this tutorial, you will learn...
Read more
  • © 2021 Copyright phoenixNAP | Global IT Services. All Rights Reserved.