DigitalOcean integration
What is DigitalOcean?
DigitalOcean is a cloud infrastructure provider that helps developers deploy, manage, and scale their applications. It integrates with various popular apps and services including Docker and Kubernetes.
The service offers features such as configurable virtual machines called Droplets, storage solutions and load balancing capabilities.
Integrating DO with Buddy lets you create pipeline workflows to automate repetitive tasks. Pre-configured actions allow you to build, test and deploy applications to your DigitalOcean droplets whenever a change is pushed to the repository.
You can also expand your pipeline by adding monitoring or test actions that check your website’s performance and help you to identify any security vulnerabilities:
Image loading...
Setting up DigitalOcean integration
- Navigate to the Integrations tab and click New integration.
- Look up and click DigitalOcean (you can find it in the IaaS section):
Image loading...
- The configuration window will show up:
Image loading...
Here you have to provide the integration name and select the authorization method:
OAuth authorization
- In the integration configuration window, select OAuth as authorization method and click Start OAuth authorization:
Image loading...
- Log in to your DigitalOcean account and authorize Buddy to access your account:
Image loading...
Personal Access Token authorization
- In the integration configuration window, select Access Token as authorization method and click Generate Token button:
Image loading...
- Once you're redirected to your DigitalOcean account, a window to generate a new token will appear. Provide the token name and select permission scopes:
Image loading...
- Click Generate Token and copy the displayed secret:
Image loading...
- Paste the secret in the Access Token field in Buddy and click Add a new integration to connect DigitalOcean with Buddy.
How do I deploy in DigitalOcean?
To deploy your application to DigitalOcean, follow these steps:
- Create a project in Buddy and attach e.g. your GitHub repository to it.
- Add and configure a new pipeline.
- Select the DigitalOcean Droplet action from the actions roster and configure action details. You can authenticate to your droplet using either a password, SSH key, or SSH key & password.
Make sure to check out our other dedicated DO actions, e.g. DigitalOcean CLI, allowing you to manage your droplets and other resources directly from Buddy app platform, or DigitalOcean Spaces.
đź“š Learn more about DigitalOcean Droplet action features, integrations and alternatives.
Last modified on Sep 23, 2024