Skip to content
Industrial IoT and Edge

Portainer is your solution to securely deploy software containers across your fleet of Edge devices.

blog-banner
DimkoJanuary 29, 20212 min read

How to use Portainer with the Digital Ocean Marketplace

Deploying Portainer with the Digital Ocean Marketplace is extremely easy. We are going to describe here how to have Portainer up and running in no time with a small set of clicks.
 
We've also posted a quick 5 minute 'how-to' video on our YouTube channel here.

 

Existing Cluster

First let's see how to deploy Portainer on an existing Kubernetes Cluster.

  1. Once you login on Digital Ocean, on the left menu click on DISCOVER and then click on Marketplace:


  2. On the Search Bar type portainer and the Portainer Community Edition will come up that you can select to start the deployment:


  3. You will land on the Portainer Community Edition installation page. Next click on Install App button.


  4. A pop-up dialog box will come up where you can select the Kubernetes Cluster where you want to deploy Portainer and click on Install:


  5. Down towards the end of the Kubernetes Cluster page you can follow the progress of the installation of Portainer:


  6. Once the installation of Portainer CE is finished the next step is to install the Kubernetes Metrics Server again via the Marketplace:


  7. Just like the installation of Portainer you need to select a cluster. Please make sure you select the cluster where Portainer was installed:


  8. Now select Networking on the left side menu:


  9. Next Select Load Balancers and you will have an IP address that will be used to access the Portainer UI. You can copy the IP address by clinking on it.


  10. On a new browser tab or window type or paste the IP address, colon sign and port 9000 to access Portainer:


  11. The Portainer interface will load with the first step of the Portainer settings where the intial administrator user has to be created:


  12. Second step is to connect Portainer to the Kubernetes Cluster:


  13. The final last step of the Portainer settings are to select the options below and click on Save configuration:
    1. Allow users to use external load balancer;
    2. Enable features using metrics server;
    3. do-block-storage



Done! Portainer is now installed on your Kubernetes Cluster. You should now have access to the Endpoint of your cluster:




New Cluster

There is another even easier way to deploy Portainer via the Digital Ocean Marketplace. The steps are very similar to the ones above, the only difference is that you don't need to have a Kubernetes Cluster installed.

  1. You can start by repeating steps 1, 2 and 3 described on the First method above
  2. The next step is to select a New cluster:


  3. This will take you to the regular Digital Ocean Create cluster page. Please configure your cluster according to your requirements:


  4. You will notice that the new cluster is being deployed with Portainer CE pre-installed:


  5. Once the installation of the cluster is finished just follow the steps from #6 onwards described on the First method above.
Hope that worked well for you, and you're up and running with Portainer. If you have any questions or comments, please drop them into the comments section below, or join us on our Slack channel.

Dimko

Dimko

COMMENTS

Related articles