{"id":617,"date":"2021-07-23T12:34:05","date_gmt":"2021-07-23T12:34:05","guid":{"rendered":"https:\/\/ssdsunucum.com\/blog\/digitalocean-droplet-management\/"},"modified":"2021-07-23T12:34:05","modified_gmt":"2021-07-23T12:34:05","slug":"digitalocean-droplet-management","status":"publish","type":"post","link":"https:\/\/ssdsunucum.com\/blog\/digitalocean-droplet-management\/","title":{"rendered":"DigitalOcean\u00ae Droplet\u2122 Management"},"content":{"rendered":"<\/p>\n<div class=\"col-md-9\">\n<div class=\"flex-column flex-md-row article-header\"><\/div>\n<hr>\n<h2 id=\"overview\">Overview<\/h2>\n<p>After you create an cPanel &#038; WHM instance on a DigitalOcean\u00ae Droplet\u2122, you can manage that instance from within DigitalOcean\u2019s portal. This document describes common instance-management tasks that you may perform on your cPanel &#038; WHM Droplet.<\/p>\n<div class=\"callout callout-info\">\n<div class=\"callout-heading\">Note:<\/div>\n<div class=\"callout-content\">\n        New Droplets may require several minutes to initialize. When the Droplet is ready, the portal will display a success message.\n    <\/div>\n<\/div>\n<h2 id=\"access-your-instance-for-the-first-time\">Access your instance for the first time<\/h2>\n<p>To access a new instance, perform the following steps:<\/p>\n<ol>\n<li>\n<p>Navigate to the DigitalOcean website and log in to your account. Your project page will appear with a list of Droplets.<\/p>\n<\/li>\n<li>\n<p>In the list of Droplets, locate the IP address of the server.<\/p>\n<\/li>\n<li>\n<p>To connect to your Droplet via SSH, run the following command, where <code>IPADDRESS<\/code> represents the server\u2019s public IP address: <\/p>\n<div class=\"highlight\">\n<pre style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-perl\" data-lang=\"perl\">ssh root@IPADDRESS<\/code><\/pre>\n<\/div>\n<\/li>\n<li>\n<p>To change the <code>root<\/code> user\u2019s password, run the <code>passwd<\/code> command. The system will prompt you to enter a new password.<\/p>\n<\/li>\n<li>\n<p>Enter the desired password and press <em>Enter<\/em>. The system will prompt you to confirm the password.<\/p>\n<\/li>\n<li>\n<p>Reenter the desired password and press <em>Enter<\/em>. A confirmation message will appear.<\/p>\n<\/li>\n<li>\n<p>If you wish to access WHM in your browser, perform the following additional steps:<\/p>\n<ul>\n<li>\n<p>Navigate to the following address, where <code>IPADDRESS<\/code> represents the server\u2019s public IP address: <\/p>\n<div class=\"highlight\">\n<pre style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-perl\" data-lang=\"perl\">https:<span style=\"color:#e6db74\">\/\/<\/span>IPADDRESS:2087<\/code><\/pre>\n<\/div>\n<\/li>\n<li>\n<p>Use the <code>root<\/code> password to log in to the WHM interface as the <code>root<\/code> user.<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<div class=\"callout callout-info\">\n<div class=\"callout-heading\">Note:<\/div>\n<div class=\"callout-content\">\n        For more information, read our How to Access the Command Line and How to Log in to Your Server or Account documentation.\n    <\/div>\n<\/div>\n<h2 id=\"floating-ip-management\">Floating IP management<\/h2>\n<p>DigitalOcean allows you to point a publicly-accessable Floating IP address at a Droplet. Floating IP addresses are IP addresses that you can move from one instance to another.<\/p>\n<p>The Floating IP address connects to an Anchor IP address (RFC-1918) on the server. DigitalOcean maps the addresses in a NAT relationship.<\/p>\n<div class=\"callout callout-warning\">\n<div class=\"callout-heading\">Important:<\/div>\n<div class=\"callout-content\">\n<ul>\n<li>\n<p>When you purchase a cPanel &#038; WHM license, use the Droplet\u2019s public IP address.<\/p>\n<\/li>\n<li>\n<p>The project page will display a Droplet\u2019s Floating IP address. The Droplet\u2019s page will display a Droplet\u2019s public IP address. The Droplet\u2019s profile page will display both IP addresses.<\/p>\n<\/li>\n<li>\n<p>DigitalOcean\u2019s Anchor IP addresses are not Private networking IP addresses.<\/p>\n<\/li>\n<li>\n<p>DigitalOcean binds public and Anchor IP addresses to <code>eth0<\/code>. This is a standard DigitalOcean configuration. For more information, read DigitalOcean\u2019s Floating IP address documentation.<\/p>\n<\/li>\n<li>\n<p>Currently, cPanel, L.L.C. only recommends that you use Floating IP addresses for secondary and tertiary nameservers.<\/p>\n<\/li>\n<li>\n<p>Floating IP addresses do <strong>not<\/strong> support PTR records. Due to this technical limitation, Floating IP addresses may cause issues with email deliverability.<\/p>\n<\/li>\n<\/ul><\/div>\n<\/div>\n<p>To enable a Floating IP address on a Droplet, perform the following steps:<\/p>\n<ol>\n<li>\n<p>Next to <em>Floating IP<\/em>, click <em>Enable now<\/em>. The <em>Floating IPs<\/em> tab on the Networking page will appear.<\/p>\n<\/li>\n<li>\n<p>Click <em>Assign Floating IP<\/em>. DigitalOcean will assign a Floating IP address and display it in the page.<\/p>\n<\/li>\n<\/ol>\n<h2 id=\"add-monitoring\">Add Monitoring<\/h2>\n<p>DigitalOcean allows you to set up monitoring of your Droplet and it can send you alerts via email or Slack.<\/p>\n<div class=\"callout callout-info\">\n<div class=\"callout-heading\">Note:<\/div>\n<div class=\"callout-content\">\n        These are monitoring alerts that DigitalOcean manages. For monitoring alerts that cPanel &#038; WHM performs, read our Contact Manager documentation.\n    <\/div>\n<\/div>\n<p>To add monitoring to your DigitalOcean Droplet, perform the following steps:<\/p>\n<ol>\n<li>\n<p>To connect to your Droplet via SSH, run the following command, where <code>example<\/code> represents the key pair name and <code>IPADDRESS<\/code> represents the server\u2019s public IP address: <\/p>\n<div class=\"highlight\">\n<pre style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-perl\" data-lang=\"perl\">ssh root@IPADDRESS<\/code><\/pre>\n<\/div>\n<\/li>\n<li>\n<p>Run the following command: <\/p>\n<div class=\"highlight\">\n<pre style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-perl\" data-lang=\"perl\">curl <span style=\"color:#f92672\">-<\/span>sSL https:<span style=\"color:#e6db74\">\/\/<\/span>agent<span style=\"color:#f92672\">.<\/span>digitalocean<span style=\"color:#f92672\">.<\/span>com<span style=\"color:#f92672\">\/<\/span>install<span style=\"color:#f92672\">.<\/span>sh <span style=\"color:#f92672\">|<\/span> sh<\/code><\/pre>\n<\/div>\n<p> A success message will appear.<\/li>\n<li>\n<p>In the left sidebar, click <em>Monitoring<\/em> and then click <em>Create alert policy<\/em>.<\/p>\n<\/li>\n<li>\n<p>Select the metric and threshold to monitor.<\/p>\n<\/li>\n<li>\n<p>Enter the name of the Droplet to monitor in the <em>Select Dropets or Tags<\/em> text box.<\/p>\n<\/li>\n<li>\n<p>If you wish to receive alerts via Slack, click <em>Connect Slack<\/em> and follow the instructions.<\/p>\n<\/li>\n<li>\n<p>Enter a label for the alert in the <em>Name and create alert policy<\/em> text box and click <em>Create alert policy<\/em>. A success message will appear.<\/p>\n<\/li>\n<\/ol>\n<p>For more information about monitoring at DigitalOcean, read their How to Set Up Monitoring Alerts documentation.<\/p>\n<h2 id=\"manage-a-droplet\">Manage a Droplet<\/h2>\n<div class=\"callout callout-warning\">\n<div class=\"callout-heading\">Important:<\/div>\n<div class=\"callout-content\">\n        We <strong>strongly<\/strong> recommend that you stop unused Droplets to reduce unnecessary costs.\n    <\/div>\n<\/div>\n<p>To resize, reboot, manage DigitalOcean backups, or destroy an instance, perform the following steps:<\/p>\n<ol>\n<li>\n<p>Navigate to the DigitalOcean website and log in to your account. Your project page will appear with a list of Droplets.<\/p>\n<\/li>\n<li>\n<p>Click the Droplet that you wish to manage. The Droplet\u2019s profile page will appear.<\/p>\n<\/li>\n<li>\n<p>Click the desired action in the Droplet\u2019s navigation bar:<\/p>\n<ul>\n<li>\n<p><em>Graphs<\/em> \u2014 Review your Droplet\u2019s performance charts.<\/p>\n<\/li>\n<li>\n<p><em>Access<\/em> \u2014 Connect to your Droplet via SSH.<\/p>\n<\/li>\n<li>\n<p><em>Power<\/em> \u2014 Power on, power off, or reboot your Droplet.<\/p>\n<\/li>\n<li>\n<p><em>Volumes<\/em> \u2014Add, remove, or manage storage volumes.<\/p>\n<\/li>\n<li>\n<p><em>Resize<\/em> \u2014 Change the Droplet\u2019s CPU, RAM, or disk space.<\/p>\n<\/li>\n<li>\n<p><em>Networking<\/em> \u2014 Review the Droplet\u2019s network information or manage the Droplet\u2019s firewall.<\/p>\n<\/li>\n<li>\n<p><em>Backups<\/em> \u2014 Manage backups of your Droplet that DigitialOcean performs.<\/p>\n<div class=\"callout callout-info\">\n<div class=\"callout-heading\">Note:<\/div>\n<div class=\"callout-content\">\n        These are system-level backups that DigitalOcean manages. For backups that cPanel &#038; WHM performs, read our Backup Configuration documentation.\n    <\/div>\n<\/div>\n<\/li>\n<li>\n<p><em>Snapshots<\/em> \u2014 To take a snapshot of your Droplet\u2019s data.<\/p>\n<div class=\"callout callout-warning\">\n<div class=\"callout-heading\">Important:<\/div>\n<div class=\"callout-content\">\n        You <strong>must<\/strong> power down a Droplet before you take a snapshot of it.\n    <\/div>\n<\/div>\n<\/li>\n<li>\n<p><em>Kernel<\/em> \u2014 Do <strong>not<\/strong> use this option. You will manage your Droplet\u2019s kernel directly in the server.<\/p>\n<\/li>\n<li>\n<p><em>History<\/em> \u2014 View a log of actions performed on the portal for your Droplet.<\/p>\n<\/li>\n<li>\n<p><em>Destroy<\/em> \u2014 Terminate the Droplet and all of its backups at DigitalOcean.<\/p>\n<\/li>\n<li>\n<p><em>Tags<\/em> \u2014 Add or manage tags to organize Droplets at DigitalOcean.<\/p>\n<\/li>\n<li>\n<p><em>Recovery<\/em> \u2014 Boot from a recovery ISO or hard drive.<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ol><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Overview After you create an cPanel &#038; WHM instance on a DigitalOcean\u00ae Droplet\u2122, you can manage that instance from within DigitalOcean\u2019s portal. This document describes common instance-management tasks that you may perform on your cPanel &#038; WHM Droplet. Note: New Droplets may require several minutes to initialize. When the Droplet is ready, the portal will &hellip;<\/p>\n","protected":false},"author":1,"featured_media":618,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts\/617"}],"collection":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/comments?post=617"}],"version-history":[{"count":0,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts\/617\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media\/618"}],"wp:attachment":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media?parent=617"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/categories?post=617"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/tags?post=617"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}