{"id":1695,"date":"2017-06-10T09:58:32","date_gmt":"2017-06-10T09:58:32","guid":{"rendered":"https:\/\/www.botreetechnologies.com\/blog\/?p=1695"},"modified":"2022-12-13T14:49:01","modified_gmt":"2022-12-13T09:19:01","slug":"digitalocean-setup-a-virtual-server-for-an-application","status":"publish","type":"post","link":"https:\/\/www.botreetechnologies.com\/blog\/digitalocean-setup-a-virtual-server-for-an-application\/","title":{"rendered":"Setup a virtual server for a Ruby on Rails application using DigitalOcean"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">What is DigitalOcean?<\/h2>\n\n\n\n<p>DigitalOcean is a cloud infrastructure provider which provides a separate and secure environment\/space for deploying and running your applications. DigitalOcean provides private virtual machine (VM) instance, which calls a &#8220;droplet.&#8221; You can set up your application within the Droplet.<\/p>\n\n\n\n<p>DigitalOcean initial server setup enables you to create the perfect environment for deploying your applications. Any Ruby on Rails developer with enough experience can install DigitalOcean and start deployment using a droplet. As it is a cloud deployment platform, one might think that it is complex and takes up massive resources.<\/p>\n\n\n\n<p>However, the setup is very easy will take a few minutes to create a new Droplet. Through this tutorial, we will help you to create and access the new virtual server.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Sign In to DigitalOcean<\/h3>\n\n\n\n<p>After sign into&nbsp;<a href=\"https:\/\/cloud.digitalocean.com\/login\" target=\"_blank\" rel=\"noopener noreferrer\">DigitalOcean control panel<\/a>, click on &#8220;<i>Create Droplet<\/i>&#8221; button in the upper right corner of the Droplets page.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"196\" src=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/droplet.png\" alt=\"droplet\" class=\"wp-image-13289\" srcset=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/droplet.png 800w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/droplet-300x74.png 300w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/droplet-768x188.png 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>By clicking on the &#8220;Create Droplet&#8221; button, it shows page to set up an application using one-click by default.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Choose the&nbsp;Package<\/h3>\n\n\n\n<p>From this interface, you can select the specific package as per your need for the DigitalOcean app platform setup. The selected package will automatically install the system. Here, I have selected Ruby on Rails, PostgreSQL and Nginx, and Unicorn.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"766\" src=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/choose-package.png\" alt=\"choose package\" class=\"wp-image-13288\" srcset=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/choose-package.png 800w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/choose-package-300x287.png 300w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/choose-package-768x735.png 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Choose a&nbsp;Size<\/h3>\n\n\n\n<p>After selecting a package, click on &#8220;<i>Distributions<\/i>&#8221; tab. Depending on your needs and budget, you can select the size which is best for your application.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"997\" height=\"398\" src=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/choose-size.png\" alt=\"choose size\" class=\"wp-image-13287\" srcset=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/choose-size.png 997w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/choose-size-300x120.png 300w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/choose-size-768x307.png 768w\" sizes=\"auto, (max-width: 997px) 100vw, 997px\" \/><\/figure>\n\n\n\n<p>In future, if you want to extend your droplet size or upgrade the plan as per your needs, you can extend the droplet size by using &#8220;<i>Resize<\/i>&#8221; option. That I have explained in the last point of this tutorial. Let&#8217;s move on to the next step.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Choose a&nbsp;Region<\/h3>\n\n\n\n<p>You may choose the most effective region for your Droplet location. Although equally powerful, the best region to choose is the one nearest to you and your customers or other possible users. Selecting a more distant server location may increase your server latency without serving any practical purpose. You can ask for suggestions from a Ruby on Rails development company on which is the best region to choose a server.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"281\" src=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/choose-datacenter.png\" alt=\"choose datacenter\" class=\"wp-image-13286\" srcset=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/choose-datacenter.png 800w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/choose-datacenter-300x105.png 300w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/choose-datacenter-768x270.png 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Select additional options (Optional)<\/h3>\n\n\n\n<p>The&nbsp;<i>Select additional options<\/i>&nbsp;section allows you to select which features you would like your Droplet to have. If you want a private network, then you must do DigitalOcean VPN server setup.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"734\" height=\"97\" src=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/additional-features.png\" alt=\"additional options\" class=\"wp-image-13285\" srcset=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/additional-features.png 734w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/additional-features-300x40.png 300w\" sizes=\"auto, (max-width: 734px) 100vw, 734px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Select SSH&nbsp;Keys<\/h3>\n\n\n\n<p>Add your public SSH keys to connect with the server using SSH command. You can add multiple SSH keys for the same droplet.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"692\" height=\"149\" src=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/SSH-key.png\" alt=\"SSH key\" class=\"wp-image-13284\" srcset=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/SSH-key.png 692w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/SSH-key-300x65.png 300w\" sizes=\"auto, (max-width: 692px) 100vw, 692px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Finalize and&nbsp;create<\/h3>\n\n\n\n<p>No need to change anything. You can change your hostname under &#8220;<i>Choose a hostname<\/i>&#8220;.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1007\" height=\"386\" src=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/create.png\" alt=\"create droplet\" class=\"wp-image-13283\" srcset=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/create.png 1007w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/create-300x115.png 300w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/create-768x294.png 768w\" sizes=\"auto, (max-width: 1007px) 100vw, 1007px\" \/><\/figure>\n\n\n\n<p>Press the &#8220;<i>Create<\/i>&#8221;&nbsp;button and wait for few minutes to create and setup your selected packages.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Check the Application<\/h3>\n\n\n\n<p>To check the sample Rails application is running, visit your Droplet&#8217;s public IP address in a web browser.<\/p>\n\n\n\n<p>For e.g. Suppose your IP address is 123.123.123.123. In this case, you would open\u00a0http:\/\/123.123.123.123\u00a0in a web browser to verify that Rails is running:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"603\" height=\"393\" src=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/digital-ocean-rails-app.png\" alt=\"digitalocean rails app\" class=\"wp-image-13282\" srcset=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/digital-ocean-rails-app.png 603w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/digital-ocean-rails-app-300x196.png 300w\" sizes=\"auto, (max-width: 603px) 100vw, 603px\" \/><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">Access the Droplet via&nbsp;SSH<\/h3>\n\n\n\n<p>To deploy your own Rails application, you will need to connect to your Droplet as root via SSH. On your local machine, open a terminal and log in to your Droplet as the root user using the below command.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ cd .ssh\/\n$ ssh root@123.123.123.123 (YOUR_DROPLET_IP)<\/code><\/pre>\n\n\n\n<p>If you are prompted for a password, type in the password that was emailed to you when the server was created.<\/p>\n\n\n\n<p>Alternately, if you set up the droplet with SSH keys, you can go ahead and log in without the need for a password.<\/p>\n\n\n\n<p>The authenticity of host &#8216;123.123.123.123 (123.123.123.123)&#8217; can&#8217;t be established.<\/p>\n\n\n\n<p>ECDSA key fingerprint is 7q:82:a8:a3:6b:xx:xx:xx:xx:xx:xx:xx:xx:yy:zz:zz.<\/p>\n\n\n\n<p>Are you sure you want to continue connecting (yes\/no)?&nbsp;<b>yes<\/b><\/p>\n\n\n\n<p>Warning: Permanently added &#8216;123.123.123.123&#8217; (ECDSA) to the list of known hosts.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"772\" src=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/ip-warning.png\" alt=\"ip-warning\" class=\"wp-image-13281\" srcset=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/ip-warning.png 800w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/ip-warning-300x290.png 300w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/ip-warning-768x741.png 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n<\/div>\n\n\n<p>You are in!! Your new Droplet is ready to deploy.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How to resize the Droplet?<\/h3>\n\n\n\n<p>Resizing your servers can be an effective way of increasing their capacity, by allowing them to utilize more memory (RAM), CPU, and disk storage.<\/p>\n\n\n\n<p>Here are the simple steps to resize your droplet.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><b>Power Off:<\/b> Before start, the resizing, shut down your droplet using the command line or from the browser.<\/li><\/ul>\n\n\n\n$ sudo shutdown -h now\nor\n$ sudo poweroff\n\n\n\n<p>In the browser, go to the specific droplet and click on &#8220;<b><i>Power<\/i><\/b>&#8221; link from the left side menu and then click on &#8220;<b><i>Power Off<\/i><\/b>&#8221; button.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1012\" height=\"463\" src=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/power-off.png\" alt=\"power-off\" class=\"wp-image-13280\" srcset=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/power-off.png 1012w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/power-off-300x137.png 300w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/power-off-768x351.png 768w\" sizes=\"auto, (max-width: 1012px) 100vw, 1012px\" \/><\/figure>\n<\/div>\n\n\n<ul class=\"wp-block-list\"><li><b>Resize:<\/b> On the same page, click on the &#8220;<b><i>Resize<\/i><\/b>&#8221; link, select the plan and press the &#8220;<b>Resize<\/b>&#8221; button. This will take a few minutes to upgrade your selected plan.<\/li><\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"697\" src=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/resize-droplet.png\" alt=\"resize droplet\" class=\"wp-image-13279\" srcset=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/resize-droplet.png 800w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/resize-droplet-300x261.png 300w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/resize-droplet-768x669.png 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n<\/div>\n\n\n<ul class=\"wp-block-list\"><li><b>Power On:<\/b> After upgrading the plan, go to Power page and press the &#8220;<b>Power On<\/b>&#8221; button.<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Conclusion<\/strong><\/h3>\n\n\n\n<p>DigitalOcean app platform is a highly powerful, scalable, and reliable platform for deploying web applications built with Ruby on Rails. It provides the perfect environment needed for faster deployment and continuous improvement. DigitalOcean initial server setup is quick and enables you to make the application faster through rapid processing of data.<\/p>\n\n\n\n<p>At <a href=\"https:\/\/www.botreetechnologies.com\" target=\"_blank\" rel=\"noopener noreferrer\">BoTree <\/a>we help individuals, startups and businesses build their ideas from Canvas to Cloud. Our team of <a href=\"https:\/\/www.botreetechnologies.com\/hire-ruby-on-rails-developers\" target=\"_blank\" rel=\"noreferrer noopener\">Ruby on Rails developers<\/a> uses DigitalOcean to deploy dynamic web apps. We fix bugs for free, forever. We can help you with Support and Maintenance of existing applications not developed by us. We also provide 24 x 7 support to all our clients.<\/p>\n\n\n\n<p>Drop us a line.&nbsp;<a href=\"https:\/\/www.botreetechnologies.com\/contact\" target=\"_blank\" rel=\"noopener noreferrer\">Talk to us<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is DigitalOcean? DigitalOcean is a cloud infrastructure provider which&#8230;<\/p>\n","protected":false},"author":11,"featured_media":13278,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-1695","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-devops"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Setup a virtual server for a Ruby on Rails application using DigitalOcean<\/title>\n<meta name=\"description\" content=\"DigitalOcean is a cloud infrastructure provider which provides a separate and secure environment \/ space for deploying and running your applications.\" \/>\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.botreetechnologies.com\/blog\/digitalocean-setup-a-virtual-server-for-an-application\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Setup a virtual server for a Ruby on Rails application using DigitalOcean\" \/>\n<meta property=\"og:description\" content=\"DigitalOcean is a cloud infrastructure provider which provides a separate and secure environment \/ space for deploying and running your applications.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.botreetechnologies.com\/blog\/digitalocean-setup-a-virtual-server-for-an-application\/\" \/>\n<meta property=\"og:site_name\" content=\"BoTree Technologies\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/BoTreeTechnologies\/\" \/>\n<meta property=\"article:published_time\" content=\"2017-06-10T09:58:32+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-12-13T09:19:01+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2017\/06\/server-room.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"1280\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Parthiv Patel\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@BoTreeTech\" \/>\n<meta name=\"twitter:site\" content=\"@BoTreeTech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Parthiv Patel\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/digitalocean-setup-a-virtual-server-for-an-application\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/digitalocean-setup-a-virtual-server-for-an-application\/\"},\"author\":{\"name\":\"Parthiv Patel\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/33421652a86a8f62aa02d78c35b1f3c3\"},\"headline\":\"Setup a virtual server for a Ruby on Rails application using DigitalOcean\",\"datePublished\":\"2017-06-10T09:58:32+00:00\",\"dateModified\":\"2022-12-13T09:19:01+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/digitalocean-setup-a-virtual-server-for-an-application\/\"},\"wordCount\":921,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/digitalocean-setup-a-virtual-server-for-an-application\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2017\/06\/server-room.jpg\",\"articleSection\":[\"DevOps\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.botreetechnologies.com\/blog\/digitalocean-setup-a-virtual-server-for-an-application\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/digitalocean-setup-a-virtual-server-for-an-application\/\",\"url\":\"https:\/\/www.botreetechnologies.com\/blog\/digitalocean-setup-a-virtual-server-for-an-application\/\",\"name\":\"Setup a virtual server for a Ruby on Rails application using DigitalOcean\",\"isPartOf\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/digitalocean-setup-a-virtual-server-for-an-application\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/digitalocean-setup-a-virtual-server-for-an-application\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2017\/06\/server-room.jpg\",\"datePublished\":\"2017-06-10T09:58:32+00:00\",\"dateModified\":\"2022-12-13T09:19:01+00:00\",\"author\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/33421652a86a8f62aa02d78c35b1f3c3\"},\"description\":\"DigitalOcean is a cloud infrastructure provider which provides a separate and secure environment \/ space for deploying and running your applications.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/digitalocean-setup-a-virtual-server-for-an-application\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.botreetechnologies.com\/blog\/digitalocean-setup-a-virtual-server-for-an-application\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/digitalocean-setup-a-virtual-server-for-an-application\/#primaryimage\",\"url\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2017\/06\/server-room.jpg\",\"contentUrl\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2017\/06\/server-room.jpg\",\"width\":1920,\"height\":1280,\"caption\":\"Setup a virtual server for an application\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/digitalocean-setup-a-virtual-server-for-an-application\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.botreetechnologies.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Setup a virtual server for a Ruby on Rails application using DigitalOcean\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#website\",\"url\":\"https:\/\/www.botreetechnologies.com\/blog\/\",\"name\":\"BoTree Technologies\",\"description\":\"Committed to inspire generation.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.botreetechnologies.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/33421652a86a8f62aa02d78c35b1f3c3\",\"name\":\"Parthiv Patel\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/parthiv-patel-150x150.png\",\"url\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/parthiv-patel-150x150.png\",\"contentUrl\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/parthiv-patel-150x150.png\",\"caption\":\"Parthiv Patel\"},\"description\":\"Parthiv is a Ruby on Rails Engineer. He has strong experience in javascript and DevOps activities like deployment, installation, server, and domain configuration, maintenance, and support of any platform like AWS, digital ocean and Heroku. He develops applications with optimization and clean code with full Rspec coverage.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Setup a virtual server for a Ruby on Rails application using DigitalOcean","description":"DigitalOcean is a cloud infrastructure provider which provides a separate and secure environment \/ space for deploying and running your applications.","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.botreetechnologies.com\/blog\/digitalocean-setup-a-virtual-server-for-an-application\/","og_locale":"en_US","og_type":"article","og_title":"Setup a virtual server for a Ruby on Rails application using DigitalOcean","og_description":"DigitalOcean is a cloud infrastructure provider which provides a separate and secure environment \/ space for deploying and running your applications.","og_url":"https:\/\/www.botreetechnologies.com\/blog\/digitalocean-setup-a-virtual-server-for-an-application\/","og_site_name":"BoTree Technologies","article_publisher":"https:\/\/www.facebook.com\/BoTreeTechnologies\/","article_published_time":"2017-06-10T09:58:32+00:00","article_modified_time":"2022-12-13T09:19:01+00:00","og_image":[{"width":1920,"height":1280,"url":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2017\/06\/server-room.jpg","type":"image\/jpeg"}],"author":"Parthiv Patel","twitter_card":"summary_large_image","twitter_creator":"@BoTreeTech","twitter_site":"@BoTreeTech","twitter_misc":{"Written by":"Parthiv Patel","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.botreetechnologies.com\/blog\/digitalocean-setup-a-virtual-server-for-an-application\/#article","isPartOf":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/digitalocean-setup-a-virtual-server-for-an-application\/"},"author":{"name":"Parthiv Patel","@id":"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/33421652a86a8f62aa02d78c35b1f3c3"},"headline":"Setup a virtual server for a Ruby on Rails application using DigitalOcean","datePublished":"2017-06-10T09:58:32+00:00","dateModified":"2022-12-13T09:19:01+00:00","mainEntityOfPage":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/digitalocean-setup-a-virtual-server-for-an-application\/"},"wordCount":921,"commentCount":0,"image":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/digitalocean-setup-a-virtual-server-for-an-application\/#primaryimage"},"thumbnailUrl":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2017\/06\/server-room.jpg","articleSection":["DevOps"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.botreetechnologies.com\/blog\/digitalocean-setup-a-virtual-server-for-an-application\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.botreetechnologies.com\/blog\/digitalocean-setup-a-virtual-server-for-an-application\/","url":"https:\/\/www.botreetechnologies.com\/blog\/digitalocean-setup-a-virtual-server-for-an-application\/","name":"Setup a virtual server for a Ruby on Rails application using DigitalOcean","isPartOf":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/digitalocean-setup-a-virtual-server-for-an-application\/#primaryimage"},"image":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/digitalocean-setup-a-virtual-server-for-an-application\/#primaryimage"},"thumbnailUrl":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2017\/06\/server-room.jpg","datePublished":"2017-06-10T09:58:32+00:00","dateModified":"2022-12-13T09:19:01+00:00","author":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/33421652a86a8f62aa02d78c35b1f3c3"},"description":"DigitalOcean is a cloud infrastructure provider which provides a separate and secure environment \/ space for deploying and running your applications.","breadcrumb":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/digitalocean-setup-a-virtual-server-for-an-application\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.botreetechnologies.com\/blog\/digitalocean-setup-a-virtual-server-for-an-application\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.botreetechnologies.com\/blog\/digitalocean-setup-a-virtual-server-for-an-application\/#primaryimage","url":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2017\/06\/server-room.jpg","contentUrl":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2017\/06\/server-room.jpg","width":1920,"height":1280,"caption":"Setup a virtual server for an application"},{"@type":"BreadcrumbList","@id":"https:\/\/www.botreetechnologies.com\/blog\/digitalocean-setup-a-virtual-server-for-an-application\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.botreetechnologies.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Setup a virtual server for a Ruby on Rails application using DigitalOcean"}]},{"@type":"WebSite","@id":"https:\/\/www.botreetechnologies.com\/blog\/#website","url":"https:\/\/www.botreetechnologies.com\/blog\/","name":"BoTree Technologies","description":"Committed to inspire generation.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.botreetechnologies.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/33421652a86a8f62aa02d78c35b1f3c3","name":"Parthiv Patel","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/parthiv-patel-150x150.png","url":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/parthiv-patel-150x150.png","contentUrl":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/parthiv-patel-150x150.png","caption":"Parthiv Patel"},"description":"Parthiv is a Ruby on Rails Engineer. He has strong experience in javascript and DevOps activities like deployment, installation, server, and domain configuration, maintenance, and support of any platform like AWS, digital ocean and Heroku. He develops applications with optimization and clean code with full Rspec coverage."}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/1695","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/comments?post=1695"}],"version-history":[{"count":3,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/1695\/revisions"}],"predecessor-version":[{"id":18228,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/1695\/revisions\/18228"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/media\/13278"}],"wp:attachment":[{"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/media?parent=1695"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/categories?post=1695"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/tags?post=1695"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}