{"id":15856,"date":"2021-03-10T05:00:39","date_gmt":"2021-03-10T04:00:39","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/rancher-up-and-running-on-ec2-3-rancher-setup\/"},"modified":"2021-03-10T05:00:39","modified_gmt":"2021-03-10T04:00:39","slug":"rancher-up-and-running-on-ec2-3-rancher-setup","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/rancher-up-and-running-on-ec2-3-rancher-setup\/","title":{"rendered":"Rancher, up and running, on EC2 \u2013 3 \u2013 Rancher setup"},"content":{"rendered":"<p>The is the next post in this little Rancher series. After we installed a <a href=\"https:\/\/www.dbi-services.com\/blog\/rancher-up-and-running-on-ec2-1-one-node\/\" target=\"_blank\" rel=\"noopener\">single node RKE cluster<\/a> and extended this configurtation to <a href=\"https:\/\/www.dbi-services.com\/blog\/rancher-up-and-running-on-ec2-2-three-nodes\/\" target=\"_blank\" rel=\"noopener\">three nodes<\/a> we will finally install Rancher in this post.<\/p>\n<p>As Rancher is installed with <a href=\"https:\/\/helm.sh\/\" target=\"_blank\" rel=\"noopener\">Helm<\/a> we need to install that first:<\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1\">\nrancher@rancher1:~$ wget https:\/\/get.helm.sh\/helm-v3.5.2-linux-amd64.tar.gz\nrancher@rancher1:~$ tar axf helm-v3.5.2-linux-amd64.tar.gz \nrancher@rancher1:~$ sudo mv linux-amd64\/helm \/usr\/local\/bin\/\nrancher@rancher1:~$ sudo chown rancher:rancher \/usr\/local\/bin\/helm\nrancher@rancher1:~$ sudo chmod 770 \/usr\/local\/bin\/helm\nrancher@rancher1:~$ helm version\nWARNING: Kubernetes configuration file is group-readable. This is insecure. Location: kube_config_cluster.yml\nversion.BuildInfo{Version:\"v3.5.2\", GitCommit:\"167aac70832d3a384f65f9745335e9fb40169dc2\", GitTreeState:\"dirty\", GoVersion:\"go1.15.7\"}\nrancher@rancher1:~$ chmod 700 kube_config_cluster.yml \nrancher@rancher1:~$ helm version\nversion.BuildInfo{Version:\"v3.5.2\", GitCommit:\"167aac70832d3a384f65f9745335e9fb40169dc2\", GitTreeState:\"dirty\", GoVersion:\"go1.15.7\"}\n<\/pre>\n<p>The <a href=\"https:\/\/kubernetes.io\/docs\/concepts\/overview\/working-with-objects\/namespaces\/\" target=\"_blank\" rel=\"noopener\">namespace<\/a> for Ranger is &#8220;cattle-system&#8221; so we need to create it:<\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1\">\nrancher@rancher1:~$ kubectl create namespace cattle-system\nnamespace\/cattle-system created\nrancher@rancher1:~$ kubectl get namespace\nNAME              STATUS   AGE\ncattle-system     Active   23s\ndefault           Active   5m25s\ningress-nginx     Active   4m38s\nkube-node-lease   Active   5m27s\nkube-public       Active   5m27s\nkube-system       Active   5m27s\n<\/pre>\n<p>When it comes to certificates with Ranger you have three options:<\/p>\n<ul>\n<li>Rancher Generated Certificates (Default)<\/li>\n<li>Let\u2019s Encrypt<\/li>\n<li>Certificates from Files<\/li>\n<\/ul>\n<p>As this envronment is just for demo purposes we&#8217;ll be using the default, which is a self signed certificate. For this to work we need to install <a href=\"https:\/\/cert-manager.io\/\">cert-manager<\/a>:<\/p>\n<pre class=\"brush: sql; gutter: true; first-line: 1; highlight: [1,8,10,13,19]\">\nrancher@rancher1:~$ kubectl apply --validate=false -f https:\/\/github.com\/jetstack\/cert-manager\/releases\/download\/v1.0.4\/cert-manager.crds.yaml\ncustomresourcedefinition.apiextensions.k8s.io\/certificaterequests.cert-manager.io created\ncustomresourcedefinition.apiextensions.k8s.io\/certificates.cert-manager.io created\ncustomresourcedefinition.apiextensions.k8s.io\/challenges.acme.cert-manager.io created\ncustomresourcedefinition.apiextensions.k8s.io\/clusterissuers.cert-manager.io created\ncustomresourcedefinition.apiextensions.k8s.io\/issuers.cert-manager.io created\ncustomresourcedefinition.apiextensions.k8s.io\/orders.acme.cert-manager.io created\nrancher@rancher1:~$ kubectl create namespace cert-manager\nnamespace\/cert-manager created\nrancher@rancher1:~$ helm repo add jetstack https:\/\/charts.jetstack.io\nWARNING: Kubernetes configuration file is group-readable. This is insecure. Location: \/home\/rancher\/kube_config_cluster.yml\n\"jetstack\" has been added to your repositories\nrancher@rancher1:~$ helm repo update\nWARNING: Kubernetes configuration file is group-readable. This is insecure. Location: \/home\/rancher\/kube_config_cluster.yml\nHang tight while we grab the latest from your chart repositories...\n...Successfully got an update from the \"jetstack\" chart repository\n...Successfully got an update from the \"rancher-stable\" chart repository\nUpdate Complete. \u2388Happy Helming!\u2388\nrancher@rancher1:~$ helm install cert-manager jetstack\/cert-manager --namespace cert-manager --version v1.0.4\nWARNING: Kubernetes configuration file is group-readable. This is insecure. Location: \/home\/rancher\/kube_config_cluster.yml\nNAME: cert-manager\nLAST DEPLOYED: Tue Mar  9 10:05:10 2021\nNAMESPACE: cert-manager\nSTATUS: deployed\nREVISION: 1\nTEST SUITE: None\nNOTES:\ncert-manager has been deployed successfully!\n\nIn order to begin issuing certificates, you will need to set up a ClusterIssuer\nor Issuer resource (for example, by creating a 'letsencrypt-staging' issuer).\n\nMore information on the different types of issuers and how to configure them\ncan be found in our documentation:\n\nhttps:\/\/cert-manager.io\/docs\/configuration\/\n\nFor information on how to configure cert-manager to automatically provision\nCertificates for Ingress resources, take a look at the `ingress-shim`\ndocumentation:\n\nhttps:\/\/cert-manager.io\/docs\/usage\/ingress\/\n\n<\/pre>\n<p>This deployment can take some, so please monitor the pods until they are ready:<\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1\">\nrancher@rancher1:~$ kubectl get pods --namespace cert-manager\nNAME                                       READY   STATUS    RESTARTS   AGE\ncert-manager-75dbbd5d6-986cb               1\/1     Running   0          49s\ncert-manager-cainjector-85c559fd6c-td5nh   1\/1     Running   0          49s\ncert-manager-webhook-6c77dfbdb8-wqg9c      1\/1     Running   0          49s\n<\/pre>\n<p>For installing Rancher with Helm we need the Rancher repository:<\/p>\n<pre class=\"brush: sql; gutter: true; first-line: 1; highlight: [1,3]\">\nrancher@rancher1:~$ helm repo add rancher-stable https:\/\/releases.rancher.com\/server-charts\/stable \n\"rancher-stable\" has been added to your repositories\nrancher@rancher1:~$ helm repo update\nHang tight while we grab the latest from your chart repositories...\n...Successfully got an update from the \"rancher-stable\" chart repository\nUpdate Complete. \u2388Happy Helming!\u2388\n<\/pre>\n<p>Finally, install Ranger:<\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1\">\nrancher@rancher1:~$ helm install rancher rancher-stable\/rancher --version v2.5.6 --namespace cattle-system --set hostname=ranger.it.dbi-services.com\nNAME: rancher\nLAST DEPLOYED: Tue Mar  9 07:25:23 2021\nNAMESPACE: cattle-system\nSTATUS: deployed\nREVISION: 1\nTEST SUITE: None\nNOTES:\nRancher Server has been installed.\n\nNOTE: Rancher may take several minutes to fully initialize. Please standby while Certificates are being issued and Ingress comes up.\n\nCheck out our docs at https:\/\/rancher.com\/docs\/rancher\/v2.x\/en\/\n\nBrowse to https:\/\/ranger.it.dbi-services.com\n\nHappy Containering!\n<\/pre>\n<p>Wait for the deployment to complete:<\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1\">\nrancher@rancher1:~$ kubectl get deployments --namespace cattle-system\nNAME      READY   UP-TO-DATE   AVAILABLE   AGE\nrancher   3\/3     3            3           117s\n<\/pre>\n<p>Get the Rancher endpoints:<\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1\">\nrancher@rancher1:~$ kubectl -n cattle-system  get ep rancher -o wide\nNAME      ENDPOINTS                                             AGE\nrancher   10.42.0.11:80,10.42.1.9:80,10.42.2.8:80 + 3 more...   51m\n<\/pre>\n<p>Pointing your browser to one of the endpoints should bring you to the Rancher GUI:<br \/>\n<a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/rancher3.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/rancher3.jpg\" alt=\"\" width=\"890\" height=\"776\" class=\"aligncenter size-full wp-image-48145\" \/><\/a><\/p>\n<p>Set your password and options:<br \/>\n<a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/rancher4.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/rancher4.jpg\" alt=\"\" width=\"803\" height=\"727\" class=\"aligncenter size-full wp-image-48146\" \/><\/a><\/p>\n<p>Ignore the following warning, this is just a playground:<br \/>\n<a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/rancher5.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/rancher5.jpg\" alt=\"\" width=\"744\" height=\"634\" class=\"aligncenter size-full wp-image-48148\" \/><\/a><\/p>\n<p>&#8230; and you&#8217;re in:<br \/>\n<a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/rancher6-1.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/rancher6-1.jpg\" alt=\"\" width=\"1000\" height=\"328\" class=\"aligncenter size-full wp-image-48150\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The is the next post in this little Rancher series. After we installed a single node RKE cluster and extended this configurtation to three nodes we will finally install Rancher in this post. As Rancher is installed with Helm we need to install that first: rancher@rancher1:~$ wget https:\/\/get.helm.sh\/helm-v3.5.2-linux-amd64.tar.gz rancher@rancher1:~$ tar axf helm-v3.5.2-linux-amd64.tar.gz rancher@rancher1:~$ sudo mv&hellip;&nbsp;<\/p>\n","protected":false},"author":28,"featured_media":15857,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","neve_meta_reading_time":"","_themeisle_gutenberg_block_has_review":false,"footnotes":""},"categories":[1865,1320,1504,1522],"tags":[2276,309],"class_list":["post-15856","post","type-post","status-publish","format-standard","has-post-thumbnail","category-aws","category-devops","category-docker","category-kubernetes","tag-rancher","tag-suse"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v28.9 (Yoast SEO v28.9) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Rancher, up and running, on EC2 \u2013 3 \u2013 Rancher setup - dbi services Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dbi-services.com\/blog\/rancher-up-and-running-on-ec2-3-rancher-setup\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Rancher, up and running, on EC2 \u2013 3 \u2013 Rancher setup\" \/>\n<meta property=\"og:description\" content=\"The is the next post in this little Rancher series. After we installed a single node RKE cluster and extended this configurtation to three nodes we will finally install Rancher in this post. As Rancher is installed with Helm we need to install that first: rancher@rancher1:~$ wget https:\/\/get.helm.sh\/helm-v3.5.2-linux-amd64.tar.gz rancher@rancher1:~$ tar axf helm-v3.5.2-linux-amd64.tar.gz rancher@rancher1:~$ sudo mv&hellip;&nbsp;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/rancher-up-and-running-on-ec2-3-rancher-setup\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi services Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/dbiservices\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-03-10T04:00:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/rancher3.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"890\" \/>\n\t<meta property=\"og:image:height\" content=\"776\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Open source Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@dbiservices\" \/>\n<meta name=\"twitter:site\" content=\"@dbiservices\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Open source Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/rancher-up-and-running-on-ec2-3-rancher-setup\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/rancher-up-and-running-on-ec2-3-rancher-setup\\\/\"},\"author\":{\"name\":\"Open source Team\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/0b4548362cac3eeff8b3eaf329e3530a\"},\"headline\":\"Rancher, up and running, on EC2 \u2013 3 \u2013 Rancher setup\",\"datePublished\":\"2021-03-10T04:00:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/rancher-up-and-running-on-ec2-3-rancher-setup\\\/\"},\"wordCount\":185,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/rancher-up-and-running-on-ec2-3-rancher-setup\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/04\\\/rancher3.jpg\",\"keywords\":[\"Rancher\",\"SUSE\"],\"articleSection\":[\"AWS\",\"DevOps\",\"Docker\",\"Kubernetes\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/rancher-up-and-running-on-ec2-3-rancher-setup\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/rancher-up-and-running-on-ec2-3-rancher-setup\\\/\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/rancher-up-and-running-on-ec2-3-rancher-setup\\\/\",\"name\":\"Rancher, up and running, on EC2 \u2013 3 \u2013 Rancher setup - dbi services Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/rancher-up-and-running-on-ec2-3-rancher-setup\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/rancher-up-and-running-on-ec2-3-rancher-setup\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/04\\\/rancher3.jpg\",\"datePublished\":\"2021-03-10T04:00:39+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/rancher-up-and-running-on-ec2-3-rancher-setup\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/rancher-up-and-running-on-ec2-3-rancher-setup\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/rancher-up-and-running-on-ec2-3-rancher-setup\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/04\\\/rancher3.jpg\",\"contentUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/04\\\/rancher3.jpg\",\"width\":890,\"height\":776},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/rancher-up-and-running-on-ec2-3-rancher-setup\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Rancher, up and running, on EC2 \u2013 3 \u2013 Rancher setup\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\",\"name\":\"dbi services Blog\",\"description\":\"#BeSharing\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\",\"name\":\"dbi services\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/dbi-services-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/dbi-services-logo.png\",\"width\":512,\"height\":512,\"caption\":\"dbi services\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/dbiservices\\\/\",\"https:\\\/\\\/x.com\\\/dbiservices\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/dbi-services\\\/\",\"https:\\\/\\\/www.youtube.com\\\/user\\\/dbiservices\"],\"description\":\"Swiss IT consulting and services company specialized in efficient data infrastructures and platforms: databases, application servers, cloud, DevOps, digitalization, analytics, data quality and monitoring. Headquartered in Del\u00e9mont with offices in Nyon, Basel, Bern and Zurich.\",\"email\":\"info@dbi-services.com\",\"telephone\":\"+41 32 422 96 00\",\"legalName\":\"dbi services SA\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/0b4548362cac3eeff8b3eaf329e3530a\",\"name\":\"Open source Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/05\\\/open-source-author.png\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/05\\\/open-source-author.png\",\"contentUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/05\\\/open-source-author.png\",\"caption\":\"Open source Team\"},\"description\":\"Posts published under the Open source Team account are collective contributions by the dbi services open infrastructure consultants. The practice covers open-source databases and platforms, PostgreSQL first of all, along with MySQL, MariaDB, and Linux, from architecture, replication, and high availability to performance tuning and operations under service level agreements, and contributes actively to the PostgreSQL community.\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/author\\\/open-source-team\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Rancher, up and running, on EC2 \u2013 3 \u2013 Rancher setup - dbi services Blog","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:\/\/www.dbi-services.com\/blog\/rancher-up-and-running-on-ec2-3-rancher-setup\/","og_locale":"en_US","og_type":"article","og_title":"Rancher, up and running, on EC2 \u2013 3 \u2013 Rancher setup","og_description":"The is the next post in this little Rancher series. After we installed a single node RKE cluster and extended this configurtation to three nodes we will finally install Rancher in this post. As Rancher is installed with Helm we need to install that first: rancher@rancher1:~$ wget https:\/\/get.helm.sh\/helm-v3.5.2-linux-amd64.tar.gz rancher@rancher1:~$ tar axf helm-v3.5.2-linux-amd64.tar.gz rancher@rancher1:~$ sudo mv&hellip;&nbsp;","og_url":"https:\/\/www.dbi-services.com\/blog\/rancher-up-and-running-on-ec2-3-rancher-setup\/","og_site_name":"dbi services Blog","article_publisher":"https:\/\/www.facebook.com\/dbiservices\/","article_published_time":"2021-03-10T04:00:39+00:00","og_image":[{"width":890,"height":776,"url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/rancher3.jpg","type":"image\/jpeg"}],"author":"Open source Team","twitter_card":"summary_large_image","twitter_creator":"@dbiservices","twitter_site":"@dbiservices","twitter_misc":{"Written by":"Open source Team","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/rancher-up-and-running-on-ec2-3-rancher-setup\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/rancher-up-and-running-on-ec2-3-rancher-setup\/"},"author":{"name":"Open source Team","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/0b4548362cac3eeff8b3eaf329e3530a"},"headline":"Rancher, up and running, on EC2 \u2013 3 \u2013 Rancher setup","datePublished":"2021-03-10T04:00:39+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/rancher-up-and-running-on-ec2-3-rancher-setup\/"},"wordCount":185,"commentCount":0,"publisher":{"@id":"https:\/\/www.dbi-services.com\/#organization"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/rancher-up-and-running-on-ec2-3-rancher-setup\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/rancher3.jpg","keywords":["Rancher","SUSE"],"articleSection":["AWS","DevOps","Docker","Kubernetes"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/rancher-up-and-running-on-ec2-3-rancher-setup\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/rancher-up-and-running-on-ec2-3-rancher-setup\/","url":"https:\/\/www.dbi-services.com\/blog\/rancher-up-and-running-on-ec2-3-rancher-setup\/","name":"Rancher, up and running, on EC2 \u2013 3 \u2013 Rancher setup - dbi services Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/rancher-up-and-running-on-ec2-3-rancher-setup\/#primaryimage"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/rancher-up-and-running-on-ec2-3-rancher-setup\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/rancher3.jpg","datePublished":"2021-03-10T04:00:39+00:00","breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/rancher-up-and-running-on-ec2-3-rancher-setup\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/rancher-up-and-running-on-ec2-3-rancher-setup\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/rancher-up-and-running-on-ec2-3-rancher-setup\/#primaryimage","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/rancher3.jpg","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/rancher3.jpg","width":890,"height":776},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/rancher-up-and-running-on-ec2-3-rancher-setup\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Rancher, up and running, on EC2 \u2013 3 \u2013 Rancher setup"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi services Blog","description":"#BeSharing","publisher":{"@id":"https:\/\/www.dbi-services.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.dbi-services.com\/#organization","name":"dbi services","url":"https:\/\/www.dbi-services.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/09\/dbi-services-logo.png","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/09\/dbi-services-logo.png","width":512,"height":512,"caption":"dbi services"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/dbiservices\/","https:\/\/x.com\/dbiservices","https:\/\/www.linkedin.com\/company\/dbi-services\/","https:\/\/www.youtube.com\/user\/dbiservices"],"description":"Swiss IT consulting and services company specialized in efficient data infrastructures and platforms: databases, application servers, cloud, DevOps, digitalization, analytics, data quality and monitoring. Headquartered in Del\u00e9mont with offices in Nyon, Basel, Bern and Zurich.","email":"info@dbi-services.com","telephone":"+41 32 422 96 00","legalName":"dbi services SA"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/0b4548362cac3eeff8b3eaf329e3530a","name":"Open source Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/05\/open-source-author.png","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/05\/open-source-author.png","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/05\/open-source-author.png","caption":"Open source Team"},"description":"Posts published under the Open source Team account are collective contributions by the dbi services open infrastructure consultants. The practice covers open-source databases and platforms, PostgreSQL first of all, along with MySQL, MariaDB, and Linux, from architecture, replication, and high availability to performance tuning and operations under service level agreements, and contributes actively to the PostgreSQL community.","url":"https:\/\/www.dbi-services.com\/blog\/author\/open-source-team\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/15856","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/28"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=15856"}],"version-history":[{"count":0,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/15856\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media\/15857"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=15856"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=15856"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=15856"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}