We recently discovered that there is no VPC networking in app platform.
We currently have wireguard connecting remote cameras and other IOT devices to a wireguard server in a droplet.
Is there a way to deploy something to app platform which can connect to those devices securely?
Perhaps using something similar to VPC with the wg-server, or as a userspace wireguard client in app platform to let app platform talk to the cameras on that wg network?
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!
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.
Sign up for Infrastructure as a Newsletter.
Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Hey 👋,
You’re right—currently, DigitalOcean’s App Platform doesn’t support VPC networking. This means that instances on the App Platform can’t natively connect to your private VPC network, like the one you’ve set up with WireGuard on a Droplet.
Another approach would be to continue using your Droplet with WireGuard as a proxy between your IOT devices and the App Platform. The App Platform services could communicate with the Droplet over a secure connection (like HTTPS), and the Droplet would then relay requests to the IOT devices over WireGuard. This keeps the App Platform isolated but still allows secure communication.
If VPC is critical for your setup, another option is to move your applications to Droplets, which fully support VPC networking. This would give you the flexibility to use VPCs, WireGuard, and other secure networking solutions while still being in the DigitalOcean ecosystem.
If VPC support in App Platform is something you’d like to see, I’d recommend upvoting the idea on DigitalOcean’s Ideas platform: App Platform Instances in VPCs. The more users that express interest in this feature, the more likely it is that DigitalOcean will prioritize it in their development roadmap.
Good luck with your project and if you need more help with any of these approaches, feel free to ask! 🚀
- Bobby