Question

How to add openVPN droplet to App Platform

I have App Platform and i need use another Droplet whitch include OpenVPN config for another server so i need connect to my app to eg. ioT-device via openVPN. How i configure this to App Platform? Is this possible or not?


Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

alexdo
Site Moderator
Site Moderator badge
October 25, 2023

Hello there,

It is possible to achieve this but if you require greater access and customisation you might need to use only droplets to complete the full configuration.

DigitalOcean’s App Platform is primarily designed for deploying web applications, APIs, and other cloud-native services. It is a Platform as a Service (PaaS) offering that abstracts away infrastructure management. OpenVPN, on the other hand, is a technology used for setting up a virtual private network (VPN) and typically involves more control over the underlying infrastructure, often done on a virtual private server (VPS) or a dedicated server.

Hope that this helps!

KFSys
Site Moderator
Site Moderator badge
October 12, 2023

Heya,

In theory it is possible but it’s not a straightforward process. You can not install packages directly on the App Platform after a deployment. For that you need to use a Dockerfile where you can specify all of the packages that need to be installed during the build process:

https://docs.digitalocean.com/products/app-platform/reference/dockerfile/

Keep in mind that the App Platform local storage is ephemeral meaning that all changes made during the runtime will be lost after a new deployment. If you need to persist your data, it is best to use a Droplet.

Hope that this helps!

Best, KFSys

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel