{"id":46114,"date":"2024-07-10T08:30:49","date_gmt":"2024-07-10T08:30:49","guid":{"rendered":"https:\/\/accuweb.cloud\/resource\/?post_type=faq&#038;p=46114"},"modified":"2026-02-18T10:37:57","modified_gmt":"2026-02-18T10:37:57","slug":"docker-swarm-auto-clusting-auto-scaling","status":"publish","type":"faq","link":"https:\/\/accuweb.cloud\/resource\/articles\/docker-swarm-auto-clusting-auto-scaling","title":{"rendered":"Enhancing Docker Swarm Auto-Clustering and Scaling with PaaS Power Armor on AccuWeb"},"content":{"rendered":"<h2 class=\"ack-h2\">Enhancing Docker Swarm Auto-Clustering and Scaling with PaaS Power Armor on AccuWeb.cloud<\/h2>\n<p>A Docker <a class=\"ack-link-color\" href=\"https:\/\/docs.docker.com\/engine\/swarm\/\" target=\"_blank\" rel=\"noopener\">Swarm<\/a> cluster is a group of Docker Engine nodes operating in swarm mode, forming a fault-tolerant platform for application hosting.<\/p>\n<p>This cluster incorporates built-in management features, ensuring your dockerized services remain consistently operational and accessible by balancing workloads across multiple servers and data centers.<\/p>\n<p>Docker Swarm offers significant advantages, including automatic disaster recovery and zero-downtime updates. However, managing a cluster of Docker nodes can be Managing a Docker Swarm cluster can be challenging due to the newness of the technology, often requiring substantial effort from system administrators.<\/p>\n<p>To address this, AccuWeb.cloud\u2019s PaaS Power Armor enhances Docker Swarm auto-clustering and scaling capabilities, <a class=\"ack-link-color\" href=\"https:\/\/accuweb.cloud\/resource\/articles\/docker-engine-connection-and-management\" target=\"_blank\" rel=\"noopener\">simplifying management<\/a> and optimizing performance.<\/p>\n<p>In this article, we&#8217;ll explore how to simplify the process of creating and maintaining a Docker Swarm cluster using a dedicated Docker Swarm Cluster package for one-click installation.<\/p>\n<p>This solution lets you set up a fully functional dockerized cluster of any desired size within minutes. Let&#8217;s delve into the specifics of its implementation and usage.<\/p>\n<h2 class=\"ack-h2\">Understanding the Topology of Docker Swarm Clusters<\/h2>\n<p>The original implementation of a Docker Swarm cluster features a two-layer node structure with distinct roles:<\/p>\n<ul class=\"ack-ul\">\n<li><a class=\"ack-link-color\" href=\"https:\/\/docs.docker.com\/engine\/swarm\/how-swarm-mode-works\/nodes\/#manager-nodes]\" target=\"_blank\" rel=\"noopener\">Manager:<\/a> Maintains the desired state of the swarm and manages all services running within it.<\/li>\n<li><a class=\"ack-link-color\" href=\"https:\/\/docs.docker.com\/engine\/swarm\/how-swarm-mode-works\/nodes\/#worker-nodes\" target=\"_blank\" rel=\"noopener\">Worker:<\/a> Executes tasks dispatched from the Manager nodes.<\/li>\n<\/ul>\n<p>During installation, you can specify the number of containers for each layer (known as &#8220;replicas&#8221;) and choose from two available installation types:<\/p>\n<ul class=\"ack-ul\">\n<li><strong>Bare Cluster Setup:<\/strong> Set up a basic cluster to manually deploy the required Docker image later.<\/li>\n<li><strong>Pre-Deployed Image:<\/strong> Create a swarm with a pre-deployed image based on a provided <a class=\"ack-link-color\" href=\"https:\/\/docs.docker.com\/compose\/compose-file\/\" target=\"_blank\" rel=\"noopener\">compose file.<\/a><\/li>\n<\/ul>\n<p>Each node is pre-configured with resources to accommodate growth as needed, up to 8 GB of RAM per container. With AccuWeb.Cloud&#8217;s <a class=\"ack-link-color\" href=\"https:\/\/accuweb.cloud\/resource\/articles\/pricing-model-resource-allocation\/\" target=\"_blank\" rel=\"noopener\">pay-per-use<\/a> pricing model, you only pay for the resources you actually use.<\/p>\n<p>During periods of inactivity, each container within the cluster consumes less than 128 MiB (equivalent to 1 cloudlet) of memory.<\/p>\n<p>Billing is calculated according to the rates established by your hosting provider.rates. This means you can host a reliable Docker Swarm cluster with 8 nodes for just 8 cloudlets!<\/p>\n<p><a href=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/docker-swarm-consumption-1.png\"><img fetchpriority=\"high\" decoding=\"async\" class=\"ack-article-image aligncenter wp-image-46179 size-full\" title=\"Docker Swarm cluster\" src=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/docker-swarm-consumption-1.png\" alt=\"\" width=\"671\" height=\"202\" srcset=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/docker-swarm-consumption-1.png 671w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/docker-swarm-consumption-1-300x90.png 300w\" sizes=\"(max-width: 671px) 100vw, 671px\" \/><\/a><\/p>\n<p>Another advantage of hosting your swarm cluster on AccuWeb.Cloud PaaS is the automatic and even distribution of all containers across the available host nodes (physical servers) on the platform. This guarantees exceptionally high availability for your application.<\/p>\n<p><a href=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/swarm-cluster-1.png\"><img decoding=\"async\" class=\"aligncenter wp-image-46187 size-full\" title=\"Swarm Cluster\" src=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/swarm-cluster-1.png\" alt=\"\" width=\"414\" height=\"379\" srcset=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/swarm-cluster-1.png 414w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/swarm-cluster-1-300x275.png 300w\" sizes=\"(max-width: 414px) 100vw, 414px\" \/><\/a><\/p>\n<p>Before proceeding with the installation of this package, please note the following:<\/p>\n<ul class=\"ack-ul\">\n<li>Ensure that the selected platform includes environment region(s) with native Docker container support enabled. You can verify the list of supported providers through the provided link.<\/li>\n<li>The option to attach public IPs to manager nodes is available exclusively for billing users.<\/li>\n<\/ul>\n<h2 class=\"ack-h2\">Swarm Cluster Load Alerts &amp; Scaling with AccuWeb.Cloud<\/h2>\n<p>A key benefit of the Docker Swarm Cluster package by AccuWeb.Cloud is its ability to effectively monitor resource consumption statistics and provide automatic notifications for load spikes or drops.<\/p>\n<p><strong>Load Alerts:<\/strong> By default, the cluster is equipped with load alerts that notify you via email about high consumption of resources such as CPU, RAM, or network bandwidth.<\/p>\n<p><a href=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/Load-Alerts.png\"><img decoding=\"async\" class=\"ack-article-image aligncenter wp-image-46118 size-full\" title=\"Load Alerts\" src=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/Load-Alerts.png\" alt=\"Load Alerts\" width=\"1127\" height=\"383\" srcset=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/Load-Alerts.png 1127w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/Load-Alerts-300x102.png 300w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/Load-Alerts-1024x348.png 1024w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/Load-Alerts-768x261.png 768w\" sizes=\"(max-width: 1127px) 100vw, 1127px\" \/><\/a><\/p>\n<p>Ensure that the selected platform includes environment region(s) with native Docker container support enabled. You can verify the list of supported providers through the provided link.<\/p>\n<p>The option to attach public IPs to manager nodes is available exclusively for.<\/p>\n<p><a href=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/Configure-Environment.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"ack-article-image  aligncenter wp-image-46119 size-full\" title=\"Configure Environment\" src=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/Configure-Environment.jpg\" alt=\"Configure Environment\" width=\"872\" height=\"547\" srcset=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/Configure-Environment.jpg 872w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/Configure-Environment-300x188.jpg 300w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/Configure-Environment-768x482.jpg 768w\" sizes=\"(max-width: 872px) 100vw, 872px\" \/><\/a><\/p>\n<p>To take advantage of swarm mode&#8217;s fault-tolerance features, Docker recommends using an odd number of manager nodes based on your organization&#8217;s high-availability requirements.<\/p>\n<h3 class=\"ack-h3\">Automatic Horizontal Scaling<\/h3>\n<p>You can pre-configure the automatic horizontal scaling of both manager and worker nodes based on the cluster&#8217;s current load. For example, scaling can be performed under the following conditions:<\/p>\n<ul class=\"ack-ul\">\n<li>Add node(s) if RAM or CPU usage exceeds 70% for at least 5 minutes.<\/li>\n<li>Remove node(s) if RAM or CPU usage falls below 40% for at least 5 minutes.<\/li>\n<\/ul>\n<p>To maintain an odd number of managers, it is advisable to scale the layer in pairs of nodes.<\/p>\n<h3 class=\"ack-h3\">Enhanced High Availability and Failover Protection<\/h3>\n<p>To further improve high availability and failover protection for your Docker services, you can manually attach nodes from different environment regions or installations to your swarm cluster.<\/p>\n<p>The necessary information for this setup was provided in the email sent to you after the cluster installation.<\/p>\n<p><a href=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/Application-Deployed.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-46121 size-full\" title=\"Application Deployed\" src=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/Application-Deployed.png\" alt=\"Application Deployed\" width=\"381\" height=\"407\" srcset=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/Application-Deployed.png 381w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/Application-Deployed-281x300.png 281w\" sizes=\"(max-width: 381px) 100vw, 381px\" \/><\/a><\/p>\n<h2 class=\"ack-h2\">Automated Docker Swarm Installation<\/h2>\n<p>Setting up Docker Swarm from the AccuWeb.Cloud Marketplace is a straightforward and automated process that takes just a few simple steps.<\/p>\n<div class=\"article-space\"><\/div>\n<div class=\"ack-formula\"><strong>Notes:<\/strong><br \/>\nYou can initiate a free trial installation of Docker Swarm with AccuWeb.Cloud service providers in Switzerland, such as Flow App Engine and Hidora. Follow the link to start your trial with either provider.<\/p>\n<div>Docker Swarm is also available through full billing accounts with various other providers in different locations. Select your preferred provider and proceed with the installation using the provided link.<\/div>\n<\/div>\n<div class=\"article-space\"><\/div>\n<p>If you are already a registered user with one of the mentioned AccuWeb.Cloud service providers, you can start the installation directly from your dashboard.<\/p>\n<p>Navigate to the <strong>Marketplace<\/strong> section by clicking on the corresponding button at the top of your dashboard. Look for the Docker Swarm Cluster solution within the Marketplace window that appears.<\/p>\n<p><a href=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/Docker-Swarm-Cluster.png\"><img loading=\"lazy\" decoding=\"async\" class=\"ack-article-image aligncenter wp-image-46122 size-full\" title=\"Docker Swarm Cluster\" src=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/Docker-Swarm-Cluster.png\" alt=\"Docker Swarm Cluster\" width=\"1149\" height=\"504\" srcset=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/Docker-Swarm-Cluster.png 1149w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/Docker-Swarm-Cluster-300x132.png 300w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/Docker-Swarm-Cluster-1024x449.png 1024w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/Docker-Swarm-Cluster-768x337.png 768w\" sizes=\"(max-width: 1149px) 100vw, 1149px\" \/><\/a><\/p>\n<p>Hover over the suitable tile and click <strong>&#8220;Install&#8221;<\/strong> to proceed.<\/p>\n<p>Shortly after, the installation frame will appear.<\/p>\n<p><a href=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/Configure-Settings.png\"><img loading=\"lazy\" decoding=\"async\" class=\"ack-article-image aligncenter wp-image-46123 size-full\" title=\"Configure Settings\" src=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/Configure-Settings.png\" alt=\"Configure Settings\" width=\"585\" height=\"501\" srcset=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/Configure-Settings.png 585w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/Configure-Settings-300x257.png 300w\" sizes=\"(max-width: 585px) 100vw, 585px\" \/><\/a><\/p>\n<p>Here, you have the option to customize specific details to configure your preferred cluster setup:<\/p>\n<ul class=\"ack-ul\">\n<li><strong>Docker Version:<\/strong> Choose the Docker Engine CE image version you prefer.<\/li>\n<li><strong>Manager Nodes:<\/strong> Select an odd number of manager nodes for the cluster, each automatically assigned a public IP.<\/li>\n<li><strong>Worker Nodes:<\/strong> Specify the number of worker nodes to include in the cluster.<\/li>\n<li><strong>Deployment Type:<\/strong> Choose the deployment type that best fits your requirements.<\/li>\n<li><strong>Clean Cluster:<\/strong> Set up a minimal cluster configuration. Optionally, you can install the Portainer management U along with Let\u2019s Encrypt SSL certificates for easier management of cluster nodes.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/Customize-Settings-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-46124 size-full\" title=\"Customize Settings\" src=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/Customize-Settings-1.png\" alt=\"Customize Settings\" width=\"569\" height=\"98\" srcset=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/Customize-Settings-1.png 569w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/Customize-Settings-1-300x52.png 300w\" sizes=\"(max-width: 569px) 100vw, 569px\" \/><\/a><\/p>\n<p><strong>Deploy Stack YML:<\/strong> This option enables you to immediately execute the docker stack deploy operation right after creating the cluster. It installs the required dockerized services defined in the respective compose YML file.<\/p>\n<p><a href=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/Deploy-Stack-YML.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-46125 size-full\" title=\"Deploy Stack YML\" src=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/Deploy-Stack-YML.png\" alt=\"Deploy Stack YML\" width=\"627\" height=\"112\" srcset=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/Deploy-Stack-YML.png 627w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/Deploy-Stack-YML-300x54.png 300w\" sizes=\"(max-width: 627px) 100vw, 627px\" \/><\/a><\/p>\n<ul class=\"ack-ul\">\n<li><strong>Environment:<\/strong> Name your environment.<\/li>\n<li><strong>Display Name:<\/strong> (Optional) Provide an alias to display for the environment.<\/li>\n<li><strong>Region:<\/strong> Choose your preferred environment region from available options.<\/li>\n<\/ul>\n<p>For example, we&#8217;ll configure a foundational Docker Swarm cluster comprising 3 manager nodes, 5 worker nodes, and include the Portainer UI with Let\u2019s Encrypt SSL deployment.<\/p>\n<p>Once you&#8217;ve configured all settings, click <strong>&#8220;Install,&#8221;<\/strong> and AccuWeb.Cloud PaaS will automatically perform all necessary actions within minutes.<\/p>\n<p>Once your cluster is deployed, it will appear on the dashboard under the corresponding environment name.<\/p>\n<p><a href=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/Verify-Deployed-Environment-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"ack-article-image aligncenter wp-image-46126 size-full\" title=\"Verify Deployed Environment\" src=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/Verify-Deployed-Environment-1.png\" alt=\"Verify Deployed Environment\" width=\"812\" height=\"417\" srcset=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/Verify-Deployed-Environment-1.png 812w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/Verify-Deployed-Environment-1-300x154.png 300w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/Verify-Deployed-Environment-1-768x394.png 768w\" sizes=\"(max-width: 812px) 100vw, 812px\" \/><\/a><\/p>\n<p>Next, to begin working with your cluster, you&#8217;ll need to access one of its manager nodes. Below, we&#8217;ll explore the methods to achieve this.<\/p>\n<h2 class=\"ack-h2\">Docker Swarm Connection<\/h2>\n<h3 class=\"ack-h3\">Portainer UI<\/h3>\n<p>If you&#8217;ve configured a new cluster with Portainer UI and Let&#8217;s Encrypt SSL, you can access the management panel by accessing your environment via HTTPS on port 443 in a web browser.<\/p>\n<p><a href=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/Portainer-UI.png\"><img loading=\"lazy\" decoding=\"async\" class=\"ack-article-image aligncenter wp-image-46127 size-full\" title=\"Portainer UI\" src=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/Portainer-UI.png\" alt=\"Portainer UI\" width=\"1178\" height=\"799\" srcset=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/Portainer-UI.png 1178w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/Portainer-UI-300x203.png 300w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/Portainer-UI-1024x695.png 1024w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/Portainer-UI-768x521.png 768w\" sizes=\"(max-width: 1178px) 100vw, 1178px\" \/><\/a><\/p>\n<p>You can find the necessary authentication credentials to access Portainer itself in the email notification you received after creating the Docker Swarm.<\/p>\n<h3 class=\"ack-h3\">SSH Gate<\/h3>\n<p>To manage your Docker Swarm cluster, utilize the AccuWeb.Cloud SSH Gate to connect to one of the Manager nodes. You can establish an SSH connection directly to your desired container from the dashboard by clicking on the Web SSH button.<\/p>\n<p><a href=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/SSH-Gate.png\"><img loading=\"lazy\" decoding=\"async\" class=\"ack-article-image  aligncenter wp-image-46129 size-full\" title=\"SSH Gate\" src=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/SSH-Gate.png\" alt=\"SSH Gate\" width=\"1166\" height=\"354\" srcset=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/SSH-Gate.png 1166w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/SSH-Gate-300x91.png 300w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/SSH-Gate-1024x311.png 1024w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/SSH-Gate-768x233.png 768w\" sizes=\"(max-width: 1166px) 100vw, 1166px\" \/><\/a><\/p>\n<p>Alternatively, you can connect using your preferred SSH client by uploading your public key to the dashboard.<\/p>\n<h2 class=\"ack-h2\">Custom Domain &amp; SSL Protection<\/h2>\n<p>Before deploying your Docker Swarm cluster to production, it&#8217;s essential to associate a custom domain name with your application and secure it with a trusted SSL certificate.<\/p>\n<p><strong>Step 1.<\/strong> You can review and meet the criteria for adding SSL protection by clicking the <strong>&#8220;Change Environment Topology&#8221;<\/strong> button for the relevant environment (i.e., your Docker Swarm cluster).<\/p>\n<p><a href=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/Change-Environment-Topology.png\"><img loading=\"lazy\" decoding=\"async\" class=\"ack-article-image  aligncenter wp-image-46130 size-full\" title=\"Change Environment Topology\" src=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/Change-Environment-Topology.png\" alt=\"Change Environment Topology\" width=\"785\" height=\"161\" srcset=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/Change-Environment-Topology.png 785w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/Change-Environment-Topology-300x62.png 300w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/Change-Environment-Topology-768x158.png 768w\" sizes=\"(max-width: 785px) 100vw, 785px\" \/><\/a><strong>Step 2.<\/strong> Within the opened wizard, switch to the <strong>SSL section.<\/strong> Below are the prerequisites for configuring custom SSL for your environment.<\/p>\n<p><a href=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/SSL-Section.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"ack-article-image aligncenter wp-image-46131 size-full\" title=\"SSL Section\" src=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/SSL-Section.jpg\" alt=\"SSL Section\" width=\"978\" height=\"607\" srcset=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/SSL-Section.jpg 978w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/SSL-Section-300x186.jpg 300w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/SSL-Section-768x477.jpg 768w\" sizes=\"(max-width: 978px) 100vw, 978px\" \/><\/a><\/p>\n<p>Click the <strong>&#8220;Enable&#8221;<\/strong> button to apply the necessary adjustments automatically.<\/p>\n<p>Within a minute, a load balancer node with an external IP address will be added to your environment, allowing you to configure a custom domain name. Follow the provided guide for instructions on:<\/p>\n<ul class=\"ack-ul\">\n<li>Purchasing a custom domain for your application<\/li>\n<li>Configuring DNS records to point from this domain to your AccuWeb.Cloud environment<\/li>\n<\/ul>\n<p>Next, proceed with SSL configuration. You have two options:<\/p>\n<ul class=\"ack-ul\">\n<li>Automatically configure using the Let&#8217;s Encrypt SSL add-on<\/li>\n<li>Manually upload custom SSL certificates<\/li>\n<\/ul>\n<p>After completing these steps, your Docker Swarm cluster will be ready for production. If you&#8217;re new to deploying services and applications to a swarm cluster, refer to the linked guide for basic instructions.<\/p>\n<p>This concludes our tutorial. Setting up and managing a swarm cluster with AccuWeb.Cloud PaaS is simple and efficient! Give it a try now to establish a robust and highly scalable cluster leveraging native Docker capabilities.<\/p>\n<div class=\"cta-btn-top-space ack-extra-image-space\">\t\t<div data-elementor-type=\"section\" data-elementor-id=\"38668\" class=\"elementor elementor-38668\" data-elementor-settings=\"{&quot;ha_cmc_init_switcher&quot;:&quot;no&quot;}\" data-elementor-post-type=\"elementor_library\">\n\t\t\t        <section class=\"elementor-section elementor-top-section elementor-element elementor-element-882321f elementor-section-boxed elementor-section-height-default elementor-section-height-default ct-header-fixed-none ct-row-max-none\" data-id=\"882321f\" data-element_type=\"section\" data-settings=\"{&quot;_ha_eqh_enable&quot;:false}\">\n            \n                        <div class=\"elementor-container elementor-column-gap-default \">\n                    <div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-7cc79cc\" data-id=\"7cc79cc\" data-element_type=\"column\">\n        <div class=\"elementor-widget-wrap elementor-element-populated\">\n                    \n        \t\t<div class=\"elementor-element elementor-element-e31b40f elementor-widget elementor-widget-shortcode\" data-id=\"e31b40f\" data-element_type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t            <\/div>\n        <\/div>\n                    <\/div>\n        <\/section>\n        \t\t<\/div>\n\t\t<\/div>\n<div class=\"cta-btn-bottom-space\"><\/div>\n","protected":false},"author":1,"featured_media":52879,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","class_list":["post-46114","faq","type-faq","status-publish","has-post-thumbnail","hentry","faq_topics-containers","faq_topics-docker-swarm-auto-clustering-and-scaling","faq_topics-kb","faq_topics-product-documentation"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v20.10 (Yoast SEO v24.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Increasing Docker Swarm Auto Scaling and Clustering with AccuWeb.Cloud<\/title>\n<meta name=\"description\" content=\"Discover the AccuWeb.cloud&#039;s automated Docker Swarm installation for increased high availability with cluster management and scaling options\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/accuweb.cloud\/resource\/articles\/docker-swarm-auto-clusting-auto-scaling\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Enhancing Docker Swarm Auto-Clustering and Scaling with PaaS Power Armor on AccuWeb\" \/>\n<meta property=\"og:description\" content=\"Discover the AccuWeb.cloud&#039;s automated Docker Swarm installation for increased high availability with cluster management and scaling options\" \/>\n<meta property=\"og:url\" content=\"https:\/\/accuweb.cloud\/resource\/articles\/docker-swarm-auto-clusting-auto-scaling\" \/>\n<meta property=\"og:site_name\" content=\"AccuWeb Cloud\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-18T10:37:57+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/NEW-OG-IMAGE-URL.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"10 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/accuweb.cloud\/resource\/articles\/docker-swarm-auto-clusting-auto-scaling#article\",\"isPartOf\":{\"@id\":\"https:\/\/accuweb.cloud\/resource\/articles\/docker-swarm-auto-clusting-auto-scaling\"},\"author\":{\"name\":\"Jilesh Patadiya\",\"@id\":\"https:\/\/accuweb.cloud\/resource\/#\/schema\/person\/a7a4cbe8405202b537509c757b588c58\"},\"headline\":\"Enhancing Docker Swarm Auto-Clustering and Scaling with PaaS Power Armor on AccuWeb\",\"datePublished\":\"2024-07-10T08:30:49+00:00\",\"dateModified\":\"2026-02-18T10:37:57+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/accuweb.cloud\/resource\/articles\/docker-swarm-auto-clusting-auto-scaling\"},\"wordCount\":1489,\"publisher\":{\"@id\":\"https:\/\/accuweb.cloud\/resource\/#organization\"},\"image\":{\"@id\":\"https:\/\/accuweb.cloud\/resource\/articles\/docker-swarm-auto-clusting-auto-scaling#primaryimage\"},\"thumbnailUrl\":\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/NEW-OG-IMAGE-URL.jpg\",\"inLanguage\":\"en-US\"},{\"@type\":[\"WebPage\",\"FAQPage\"],\"@id\":\"https:\/\/accuweb.cloud\/resource\/articles\/docker-swarm-auto-clusting-auto-scaling\",\"url\":\"https:\/\/accuweb.cloud\/resource\/articles\/docker-swarm-auto-clusting-auto-scaling\",\"name\":\"Increasing Docker Swarm Auto Scaling and Clustering with AccuWeb.Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/accuweb.cloud\/resource\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/accuweb.cloud\/resource\/articles\/docker-swarm-auto-clusting-auto-scaling#primaryimage\"},\"image\":{\"@id\":\"https:\/\/accuweb.cloud\/resource\/articles\/docker-swarm-auto-clusting-auto-scaling#primaryimage\"},\"thumbnailUrl\":\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/NEW-OG-IMAGE-URL.jpg\",\"datePublished\":\"2024-07-10T08:30:49+00:00\",\"dateModified\":\"2026-02-18T10:37:57+00:00\",\"description\":\"Discover the AccuWeb.cloud's automated Docker Swarm installation for increased high availability with cluster management and scaling options\",\"breadcrumb\":{\"@id\":\"https:\/\/accuweb.cloud\/resource\/articles\/docker-swarm-auto-clusting-auto-scaling#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/accuweb.cloud\/resource\/articles\/docker-swarm-auto-clusting-auto-scaling\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/accuweb.cloud\/resource\/articles\/docker-swarm-auto-clusting-auto-scaling#primaryimage\",\"url\":\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/NEW-OG-IMAGE-URL.jpg\",\"contentUrl\":\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/NEW-OG-IMAGE-URL.jpg\",\"width\":1280,\"height\":720},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/accuweb.cloud\/resource\/articles\/docker-swarm-auto-clusting-auto-scaling#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/accuweb.cloud\/resource\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Enhancing Docker Swarm Auto-Clustering and Scaling with PaaS Power Armor on AccuWeb\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/accuweb.cloud\/resource\/#website\",\"url\":\"https:\/\/accuweb.cloud\/resource\/\",\"name\":\"AccuWeb Cloud\",\"description\":\"Cutting Edge Cloud Computing\",\"publisher\":{\"@id\":\"https:\/\/accuweb.cloud\/resource\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/accuweb.cloud\/resource\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/accuweb.cloud\/resource\/#organization\",\"name\":\"AccuWeb.Cloud\",\"url\":\"https:\/\/accuweb.cloud\/resource\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/accuweb.cloud\/resource\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/04\/accuwebcloud_logo_black_tagline.jpg\",\"contentUrl\":\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/04\/accuwebcloud_logo_black_tagline.jpg\",\"width\":156,\"height\":87,\"caption\":\"AccuWeb.Cloud\"},\"image\":{\"@id\":\"https:\/\/accuweb.cloud\/resource\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/accuweb.cloud\/resource\/#\/schema\/person\/a7a4cbe8405202b537509c757b588c58\",\"name\":\"Jilesh Patadiya\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/accuweb.cloud\/resource\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/2cea2bdb5bbabb771ee67e96acad7396f25cb1a0c360b9bc4a9ac40cea9cd8b2?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/2cea2bdb5bbabb771ee67e96acad7396f25cb1a0c360b9bc4a9ac40cea9cd8b2?s=96&d=mm&r=g\",\"caption\":\"Jilesh Patadiya\"},\"description\":\"Jilesh Patadiya, the visionary Co-Founder and Chief Technology Officer (CTO) behind AccuWeb.Cloud. Founder &amp; CTO at AccuWebHosting.com. He shares his web hosting insights on the AccuWeb.Cloud blog. He mostly writes on the latest web hosting trends, WordPress, storage technologies, and Windows and Linux hosting platforms.\",\"sameAs\":[\"https:\/\/accuweb.cloud\/resource\",\"https:\/\/www.facebook.com\/accuwebhosting\",\"https:\/\/www.instagram.com\/accuwebhosting\/\",\"https:\/\/www.linkedin.com\/company\/accuwebhosting\/\",\"https:\/\/x.com\/accuwebhosting\",\"https:\/\/www.youtube.com\/c\/Accuwebhosting\"],\"url\":\"https:\/\/accuweb.cloud\/resource\/author\/accuwebadmin\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Increasing Docker Swarm Auto Scaling and Clustering with AccuWeb.Cloud","description":"Discover the AccuWeb.cloud's automated Docker Swarm installation for increased high availability with cluster management and scaling options","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/accuweb.cloud\/resource\/articles\/docker-swarm-auto-clusting-auto-scaling","og_locale":"en_US","og_type":"article","og_title":"Enhancing Docker Swarm Auto-Clustering and Scaling with PaaS Power Armor on AccuWeb","og_description":"Discover the AccuWeb.cloud's automated Docker Swarm installation for increased high availability with cluster management and scaling options","og_url":"https:\/\/accuweb.cloud\/resource\/articles\/docker-swarm-auto-clusting-auto-scaling","og_site_name":"AccuWeb Cloud","article_modified_time":"2026-02-18T10:37:57+00:00","og_image":[{"width":1280,"height":720,"url":"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/NEW-OG-IMAGE-URL.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"10 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/accuweb.cloud\/resource\/articles\/docker-swarm-auto-clusting-auto-scaling#article","isPartOf":{"@id":"https:\/\/accuweb.cloud\/resource\/articles\/docker-swarm-auto-clusting-auto-scaling"},"author":{"name":"Jilesh Patadiya","@id":"https:\/\/accuweb.cloud\/resource\/#\/schema\/person\/a7a4cbe8405202b537509c757b588c58"},"headline":"Enhancing Docker Swarm Auto-Clustering and Scaling with PaaS Power Armor on AccuWeb","datePublished":"2024-07-10T08:30:49+00:00","dateModified":"2026-02-18T10:37:57+00:00","mainEntityOfPage":{"@id":"https:\/\/accuweb.cloud\/resource\/articles\/docker-swarm-auto-clusting-auto-scaling"},"wordCount":1489,"publisher":{"@id":"https:\/\/accuweb.cloud\/resource\/#organization"},"image":{"@id":"https:\/\/accuweb.cloud\/resource\/articles\/docker-swarm-auto-clusting-auto-scaling#primaryimage"},"thumbnailUrl":"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/NEW-OG-IMAGE-URL.jpg","inLanguage":"en-US"},{"@type":["WebPage","FAQPage"],"@id":"https:\/\/accuweb.cloud\/resource\/articles\/docker-swarm-auto-clusting-auto-scaling","url":"https:\/\/accuweb.cloud\/resource\/articles\/docker-swarm-auto-clusting-auto-scaling","name":"Increasing Docker Swarm Auto Scaling and Clustering with AccuWeb.Cloud","isPartOf":{"@id":"https:\/\/accuweb.cloud\/resource\/#website"},"primaryImageOfPage":{"@id":"https:\/\/accuweb.cloud\/resource\/articles\/docker-swarm-auto-clusting-auto-scaling#primaryimage"},"image":{"@id":"https:\/\/accuweb.cloud\/resource\/articles\/docker-swarm-auto-clusting-auto-scaling#primaryimage"},"thumbnailUrl":"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/NEW-OG-IMAGE-URL.jpg","datePublished":"2024-07-10T08:30:49+00:00","dateModified":"2026-02-18T10:37:57+00:00","description":"Discover the AccuWeb.cloud's automated Docker Swarm installation for increased high availability with cluster management and scaling options","breadcrumb":{"@id":"https:\/\/accuweb.cloud\/resource\/articles\/docker-swarm-auto-clusting-auto-scaling#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/accuweb.cloud\/resource\/articles\/docker-swarm-auto-clusting-auto-scaling"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/accuweb.cloud\/resource\/articles\/docker-swarm-auto-clusting-auto-scaling#primaryimage","url":"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/NEW-OG-IMAGE-URL.jpg","contentUrl":"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/NEW-OG-IMAGE-URL.jpg","width":1280,"height":720},{"@type":"BreadcrumbList","@id":"https:\/\/accuweb.cloud\/resource\/articles\/docker-swarm-auto-clusting-auto-scaling#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/accuweb.cloud\/resource\/"},{"@type":"ListItem","position":2,"name":"Enhancing Docker Swarm Auto-Clustering and Scaling with PaaS Power Armor on AccuWeb"}]},{"@type":"WebSite","@id":"https:\/\/accuweb.cloud\/resource\/#website","url":"https:\/\/accuweb.cloud\/resource\/","name":"AccuWeb Cloud","description":"Cutting Edge Cloud Computing","publisher":{"@id":"https:\/\/accuweb.cloud\/resource\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/accuweb.cloud\/resource\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/accuweb.cloud\/resource\/#organization","name":"AccuWeb.Cloud","url":"https:\/\/accuweb.cloud\/resource\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/accuweb.cloud\/resource\/#\/schema\/logo\/image\/","url":"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/04\/accuwebcloud_logo_black_tagline.jpg","contentUrl":"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/04\/accuwebcloud_logo_black_tagline.jpg","width":156,"height":87,"caption":"AccuWeb.Cloud"},"image":{"@id":"https:\/\/accuweb.cloud\/resource\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/accuweb.cloud\/resource\/#\/schema\/person\/a7a4cbe8405202b537509c757b588c58","name":"Jilesh Patadiya","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/accuweb.cloud\/resource\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/2cea2bdb5bbabb771ee67e96acad7396f25cb1a0c360b9bc4a9ac40cea9cd8b2?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2cea2bdb5bbabb771ee67e96acad7396f25cb1a0c360b9bc4a9ac40cea9cd8b2?s=96&d=mm&r=g","caption":"Jilesh Patadiya"},"description":"Jilesh Patadiya, the visionary Co-Founder and Chief Technology Officer (CTO) behind AccuWeb.Cloud. Founder &amp; CTO at AccuWebHosting.com. He shares his web hosting insights on the AccuWeb.Cloud blog. He mostly writes on the latest web hosting trends, WordPress, storage technologies, and Windows and Linux hosting platforms.","sameAs":["https:\/\/accuweb.cloud\/resource","https:\/\/www.facebook.com\/accuwebhosting","https:\/\/www.instagram.com\/accuwebhosting\/","https:\/\/www.linkedin.com\/company\/accuwebhosting\/","https:\/\/x.com\/accuwebhosting","https:\/\/www.youtube.com\/c\/Accuwebhosting"],"url":"https:\/\/accuweb.cloud\/resource\/author\/accuwebadmin"}]}},"_links":{"self":[{"href":"https:\/\/accuweb.cloud\/resource\/wp-json\/wp\/v2\/faq\/46114","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/accuweb.cloud\/resource\/wp-json\/wp\/v2\/faq"}],"about":[{"href":"https:\/\/accuweb.cloud\/resource\/wp-json\/wp\/v2\/types\/faq"}],"author":[{"embeddable":true,"href":"https:\/\/accuweb.cloud\/resource\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/accuweb.cloud\/resource\/wp-json\/wp\/v2\/comments?post=46114"}],"version-history":[{"count":18,"href":"https:\/\/accuweb.cloud\/resource\/wp-json\/wp\/v2\/faq\/46114\/revisions"}],"predecessor-version":[{"id":53039,"href":"https:\/\/accuweb.cloud\/resource\/wp-json\/wp\/v2\/faq\/46114\/revisions\/53039"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/accuweb.cloud\/resource\/wp-json\/wp\/v2\/media\/52879"}],"wp:attachment":[{"href":"https:\/\/accuweb.cloud\/resource\/wp-json\/wp\/v2\/media?parent=46114"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}