{"id":2031,"date":"2015-12-16T01:04:12","date_gmt":"2015-12-16T01:04:12","guid":{"rendered":"https:\/\/www.couchbase.com\/blog\/?p=2031"},"modified":"2023-06-27T06:43:58","modified_gmt":"2023-06-27T13:43:58","slug":"couchbase-as-a-service-vagrant","status":"publish","type":"post","link":"https:\/\/www.couchbase.com\/blog\/couchbase-as-a-service-vagrant\/","title":{"rendered":"vagrant up:  Running Couchbase and Couchbase Sync Gateway with Vagrant"},"content":{"rendered":"<p>In this blog, we will explore how to run Couchbase and Couchbase Sync Gateway using Vagrant.\u00a0 Before beginning, you will need to have <a href=\"https:\/\/www.virtualbox.org\/\">VirtualBox<\/a> and <a href=\"https:\/\/www.vagrantup.com\/\">Vagrant<\/a> installed locally on your machine.\u00a0 Download those two software first before proceeding as you will need them to install Couchbase.\u00a0 At the time of writing, I am running:<\/p>\n<ul>\n<li>Vagrant:\u00a0 Version 1.7.4<\/li>\n<li>VirtualBox:\u00a0 Version 5.0.10<\/li>\n<\/ul>\n<h3 style=\"text-align: justify\">Running Couchbase VM:<\/h3>\n<p style=\"text-align: justify\">Create a directionary to work from and then from within the folder, bring in the Couchbase software distribution that is defined in a &#8216;Vagrantfile&#8217; configuration file and also an associated &#8216;.box&#8217; file.\u00a0 You will need both these files in the directory before continuing and can find those files located in the <a href=\"https:\/\/dl.dropboxusercontent.com\/u\/5618818\/Couchbase\/Software\/VagrantBox.zip\">direct ZIP download<\/a>.\u00a0 The next step is to set up Sync Gateway and we will do that by executing:<\/p>\n<pre><code class=\"bash language-bash\">$ vagrant up<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-10236 size-full\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2015\/12\/screen-shot-2015-11-29-at-2.00.02-pm.png\" alt=\"\" width=\"1504\" height=\"864\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2015\/12\/screen-shot-2015-11-29-at-2.00.02-pm.png 1504w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2015\/12\/screen-shot-2015-11-29-at-2.00.02-pm-300x172.png 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2015\/12\/screen-shot-2015-11-29-at-2.00.02-pm-1024x588.png 1024w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2015\/12\/screen-shot-2015-11-29-at-2.00.02-pm-768x441.png 768w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2015\/12\/screen-shot-2015-11-29-at-2.00.02-pm-20x11.png 20w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2015\/12\/screen-shot-2015-11-29-at-2.00.02-pm-1320x758.png 1320w\" sizes=\"auto, (max-width: 1504px) 100vw, 1504px\" \/><\/p>\n<p style=\"text-align: justify\">Disregard any warnings or connection timeouts as this process takes some time to setup.\u00a0 To see the list of VM instances that are running or if ever you wish to restart\/poweroff a VM, then you can execute the command:<\/p>\n<pre><code class=\"bash language-bash\">$ VBoxManage list runningvms<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-10237\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2015\/12\/screen-shot-2015-11-29-at-1.51.16-pm-1024x52.png\" alt=\"\" width=\"900\" height=\"46\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2015\/12\/screen-shot-2015-11-29-at-1.51.16-pm-1024x52.png 1024w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2015\/12\/screen-shot-2015-11-29-at-1.51.16-pm-300x15.png 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2015\/12\/screen-shot-2015-11-29-at-1.51.16-pm-768x39.png 768w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2015\/12\/screen-shot-2015-11-29-at-1.51.16-pm-20x1.png 20w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2015\/12\/screen-shot-2015-11-29-at-1.51.16-pm.png 1138w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/p>\n<p style=\"text-align: justify\">For the example here, the name and UUID of the VirtualBox Vagrant VM that is running Sync Gateway is, &#8216;test_Sync_Gateway-1&#8217; and &#8216;83305d4f-5fa8-4523-8037-48142b9d7ebf&#8217; respectively which I got from running the previous command.\u00a0 You should see a similar output as above before continuing.<\/p>\n<p style=\"text-align: justify\">Optionally, if you would like to shut off the VM and restart again from the beginning of the tutorial then run the command below and reference the VM UUID of interest.<\/p>\n<pre><code class=\"bash language-bash\">$ VBoxManage controlvm 83305d4f-5fa8-4523-8037-48142b9d7ebf poweroff<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-10238\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2015\/12\/screen-shot-2015-11-29-at-1.55.17-pm-1024x38.png\" alt=\"\" width=\"900\" height=\"33\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2015\/12\/screen-shot-2015-11-29-at-1.55.17-pm-1024x38.png 1024w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2015\/12\/screen-shot-2015-11-29-at-1.55.17-pm-300x11.png 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2015\/12\/screen-shot-2015-11-29-at-1.55.17-pm-768x28.png 768w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2015\/12\/screen-shot-2015-11-29-at-1.55.17-pm-20x1.png 20w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2015\/12\/screen-shot-2015-11-29-at-1.55.17-pm-1320x49.png 1320w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2015\/12\/screen-shot-2015-11-29-at-1.55.17-pm.png 1516w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/p>\n<p>Now if you check for the list of running machines, you should see none that are outputted like below.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10239\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2015\/12\/screen-shot-2015-11-29-at-1.55.34-pm.png\" alt=\"\" width=\"956\" height=\"58\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2015\/12\/screen-shot-2015-11-29-at-1.55.34-pm.png 956w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2015\/12\/screen-shot-2015-11-29-at-1.55.34-pm-300x18.png 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2015\/12\/screen-shot-2015-11-29-at-1.55.34-pm-768x47.png 768w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2015\/12\/screen-shot-2015-11-29-at-1.55.34-pm-20x1.png 20w\" sizes=\"auto, (max-width: 956px) 100vw, 956px\" \/><\/p>\n<h3><\/h3>\n<h3>Connect to VM:<\/h3>\n<p>With the &#8216;test_Sync_Gateway-1_&#8230;&#8217; running, we can take a look at the status of our VM and what is running by executing:<\/p>\n<pre><code class=\"bash language-bash\">$ vagrant status<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10240\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2015\/12\/screen-shot-2015-11-29-at-2.07.32-pm.png\" alt=\"\" width=\"962\" height=\"240\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2015\/12\/screen-shot-2015-11-29-at-2.07.32-pm.png 962w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2015\/12\/screen-shot-2015-11-29-at-2.07.32-pm-300x75.png 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2015\/12\/screen-shot-2015-11-29-at-2.07.32-pm-768x192.png 768w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2015\/12\/screen-shot-2015-11-29-at-2.07.32-pm-20x5.png 20w\" sizes=\"auto, (max-width: 962px) 100vw, 962px\" \/><\/p>\n<p>Now we are ready to log into our machine and look at starting Sync Gateway. To do that, first we &#8216;SSH&#8217; into our instance by running:<\/p>\n<pre><code class=\"bash language-bash\">$ vagrant ssh<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10241\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2015\/12\/screen-shot-2015-11-29-at-2.08.30-pm.png\" alt=\"\" width=\"748\" height=\"92\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2015\/12\/screen-shot-2015-11-29-at-2.08.30-pm.png 748w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2015\/12\/screen-shot-2015-11-29-at-2.08.30-pm-300x37.png 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2015\/12\/screen-shot-2015-11-29-at-2.08.30-pm-20x2.png 20w\" sizes=\"auto, (max-width: 748px) 100vw, 748px\" \/><\/p>\n<p>Let us take a look at the content we have in our VM.<\/p>\n<pre><code class=\"bash language-bash\">$ ls<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-10242 size-full\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2015\/12\/screen-shot-2015-11-29-at-4.41.54-pm.png\" alt=\"\" width=\"1464\" height=\"36\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2015\/12\/screen-shot-2015-11-29-at-4.41.54-pm.png 1464w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2015\/12\/screen-shot-2015-11-29-at-4.41.54-pm-300x7.png 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2015\/12\/screen-shot-2015-11-29-at-4.41.54-pm-1024x25.png 1024w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2015\/12\/screen-shot-2015-11-29-at-4.41.54-pm-768x19.png 768w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2015\/12\/screen-shot-2015-11-29-at-4.41.54-pm-20x1.png 20w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2015\/12\/screen-shot-2015-11-29-at-4.41.54-pm-1320x32.png 1320w\" sizes=\"auto, (max-width: 1464px) 100vw, 1464px\" \/><\/p>\n<p>The folder &#8216;finished&#8217; contains completed code files that we will reference. Taking a look also on what is available, let us execute:<\/p>\n<pre><code class=\"bash language-bash\">$ ls finished\/<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10243\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2015\/12\/screen-shot-2015-11-29-at-2.21.15-pm.png\" alt=\"\" width=\"662\" height=\"60\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2015\/12\/screen-shot-2015-11-29-at-2.21.15-pm.png 662w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2015\/12\/screen-shot-2015-11-29-at-2.21.15-pm-300x27.png 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2015\/12\/screen-shot-2015-11-29-at-2.21.15-pm-20x2.png 20w\" sizes=\"auto, (max-width: 662px) 100vw, 662px\" \/><\/p>\n<p>We can start our Sync Gateway by calling the script &#8216;start-Sync_Gateway-configured.sh&#8217; and passing in the JSON parameter that defines our Sync Gateway configurations.<\/p>\n<pre><code class=\"bash language-bash\">$ .\/start-Sync_Gateway-configured.sh sync-gateway-config.json<\/code><\/pre>\n<h3><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-10244 size-full\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2015\/12\/screen-shot-2015-11-29-at-4.54.28-pm.png\" alt=\"\" width=\"1866\" height=\"290\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2015\/12\/screen-shot-2015-11-29-at-4.54.28-pm.png 1866w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2015\/12\/screen-shot-2015-11-29-at-4.54.28-pm-300x47.png 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2015\/12\/screen-shot-2015-11-29-at-4.54.28-pm-1024x159.png 1024w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2015\/12\/screen-shot-2015-11-29-at-4.54.28-pm-768x119.png 768w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2015\/12\/screen-shot-2015-11-29-at-4.54.28-pm-1536x239.png 1536w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2015\/12\/screen-shot-2015-11-29-at-4.54.28-pm-20x3.png 20w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2015\/12\/screen-shot-2015-11-29-at-4.54.28-pm-1320x205.png 1320w\" sizes=\"auto, (max-width: 1866px) 100vw, 1866px\" \/><\/h3>\n<h3>Couchbase Admin UI:<\/h3>\n<p>Now that you have Sync Gateway started, you are able to log into the Couchbase Admin UI.\u00a0 This is located at:<\/p>\n<p><strong>https:\/\/10.111.72.101:8091\/index.html<\/strong><\/p>\n<ul>\n<li><strong>Username:\u00a0 <\/strong>Administrator<\/li>\n<li><strong>Password:\u00a0\u00a0 <\/strong>password<\/li>\n<\/ul>\n<p>Open a browser and type in the URL end point and the above credentials to log in.\u00a0 You would need to be connected to the VM and also have started Sync Gateway at this point to be able to login.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10246\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2015\/12\/screen-shot-2015-11-29-at-6.03.10-pm.png\" alt=\"\" width=\"1000\" height=\"698\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2015\/12\/screen-shot-2015-11-29-at-6.03.10-pm.png 1000w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2015\/12\/screen-shot-2015-11-29-at-6.03.10-pm-300x209.png 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2015\/12\/screen-shot-2015-11-29-at-6.03.10-pm-768x536.png 768w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2015\/12\/screen-shot-2015-11-29-at-6.03.10-pm-20x14.png 20w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/p>\n<p style=\"text-align: justify\">Click on &#8216;Data Buckets&#8217; section to see that the &#8216;todos&#8217; bucket details from within the Couchbase portal.\u00a0 The current configurations have been set up to target the sample ToDoLite mobile application (<a href=\"https:\/\/github.com\/couchbaselabs\/ToDoLite-Android\">Android<\/a> | <a href=\"https:\/\/github.com\/couchbaselabs\/ToDoLite-iOS\">iOS<\/a>) that is running <a href=\"https:\/\/developer.couchbase.com\/documentation\/mobile\/1.1.0\/get-started\/couchbase-mobile-overview\/index.html\">Couchbase Lite<\/a>.<\/p>\n<p style=\"text-align: justify\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-10245 size-full\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2015\/12\/screen-shot-2015-11-29-at-6.05.30-pm.png\" alt=\"\" width=\"1444\" height=\"996\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2015\/12\/screen-shot-2015-11-29-at-6.05.30-pm.png 1444w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2015\/12\/screen-shot-2015-11-29-at-6.05.30-pm-300x207.png 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2015\/12\/screen-shot-2015-11-29-at-6.05.30-pm-1024x706.png 1024w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2015\/12\/screen-shot-2015-11-29-at-6.05.30-pm-768x530.png 768w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2015\/12\/screen-shot-2015-11-29-at-6.05.30-pm-20x14.png 20w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2015\/12\/screen-shot-2015-11-29-at-6.05.30-pm-1320x910.png 1320w\" sizes=\"auto, (max-width: 1444px) 100vw, 1444px\" \/>Of course there are many other ways to set up Couchbase Sync Gateway and Couchbase Server.\u00a0 You can opt for running both software from your own machine using the binaries <a href=\"https:\/\/www.couchbase.com\/nosql-databases\/downloads\/\">downloaded from Couchbase<\/a> or you can use the <a href=\"https:\/\/www.couchbase.com\/blog\/database-on-amazon-installing-couchbase-ami-on-aws\/\">Couchbase AMI on AWS<\/a> and then <a href=\"https:\/\/www.couchbase.com\/blog\/database-on-amazon-connecting-couchbase-sync-gateway-to-couchbase-ami-on-aws\/\">connect the Couchbase Sync Gateway<\/a> accordingly.\u00a0 Either way, you are able to quickly have a scalable solution up and running that supports a full offline mobile user experience across various platforms.\u00a0 In the next blog, we explore how to do that!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this blog, we will explore how to run Couchbase and Couchbase Sync Gateway using Vagrant.\u00a0 Before beginning, you will need to have VirtualBox and Vagrant installed locally on your machine.\u00a0 Download those two software first before proceeding as you [&hellip;]<\/p>\n","protected":false},"author":30,"featured_media":13873,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[1810],"tags":[],"ppma_author":[8983],"class_list":["post-2031","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-couchbase-mobile"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.2 (Yoast SEO v26.2) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Running Couchbase and Couchbase Sync Gateway with Vagrant<\/title>\n<meta name=\"description\" content=\"Explore how to run Couchbase and Couchbase Sync Gateway using Vagrant.Also, learn about the software as you will need them to install Couchbase.\" \/>\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.couchbase.com\/blog\/couchbase-as-a-service-vagrant\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"vagrant up: Running Couchbase and Couchbase Sync Gateway with Vagrant\" \/>\n<meta property=\"og:description\" content=\"Explore how to run Couchbase and Couchbase Sync Gateway using Vagrant.Also, learn about the software as you will need them to install Couchbase.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.couchbase.com\/blog\/couchbase-as-a-service-vagrant\/\" \/>\n<meta property=\"og:site_name\" content=\"The Couchbase Blog\" \/>\n<meta property=\"article:published_time\" content=\"2015-12-16T01:04:12+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-06-27T13:43:58+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2015\/12\/screen-shot-2015-11-29-at-2.00.02-pm.png\" \/>\n<meta name=\"author\" content=\"William Hoang, Mobile Developer Advocate, Couchbase\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"William Hoang, Mobile Developer Advocate, Couchbase\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/couchbase-as-a-service-vagrant\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/couchbase-as-a-service-vagrant\/\"},\"author\":{\"name\":\"William Hoang, Mobile Developer Advocate, Couchbase\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/425717456c198fdf9aaa5d7a6d42ad32\"},\"headline\":\"vagrant up: Running Couchbase and Couchbase Sync Gateway with Vagrant\",\"datePublished\":\"2015-12-16T01:04:12+00:00\",\"dateModified\":\"2023-06-27T13:43:58+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/couchbase-as-a-service-vagrant\/\"},\"wordCount\":588,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/couchbase-as-a-service-vagrant\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png\",\"articleSection\":[\"Couchbase Mobile\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/couchbase-as-a-service-vagrant\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/couchbase-as-a-service-vagrant\/\",\"url\":\"https:\/\/www.couchbase.com\/blog\/couchbase-as-a-service-vagrant\/\",\"name\":\"Running Couchbase and Couchbase Sync Gateway with Vagrant\",\"isPartOf\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/couchbase-as-a-service-vagrant\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/couchbase-as-a-service-vagrant\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png\",\"datePublished\":\"2015-12-16T01:04:12+00:00\",\"dateModified\":\"2023-06-27T13:43:58+00:00\",\"description\":\"Explore how to run Couchbase and Couchbase Sync Gateway using Vagrant.Also, learn about the software as you will need them to install Couchbase.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/couchbase-as-a-service-vagrant\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/couchbase-as-a-service-vagrant\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/couchbase-as-a-service-vagrant\/#primaryimage\",\"url\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png\",\"contentUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png\",\"width\":1800,\"height\":630},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/couchbase-as-a-service-vagrant\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.couchbase.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"vagrant up: Running Couchbase and Couchbase Sync Gateway with Vagrant\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#website\",\"url\":\"https:\/\/www.couchbase.com\/blog\/\",\"name\":\"The Couchbase Blog\",\"description\":\"Couchbase, the NoSQL Database\",\"publisher\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.couchbase.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\",\"name\":\"The Couchbase Blog\",\"url\":\"https:\/\/www.couchbase.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png\",\"contentUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png\",\"width\":218,\"height\":34,\"caption\":\"The Couchbase Blog\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/425717456c198fdf9aaa5d7a6d42ad32\",\"name\":\"William Hoang, Mobile Developer Advocate, Couchbase\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/image\/650445f1ea30314c4f3555dd680154f5\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b912c9a97568a859697ee195432d0bd7cc3ed67d720ae2e6588b67313fa49e08?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b912c9a97568a859697ee195432d0bd7cc3ed67d720ae2e6588b67313fa49e08?s=96&d=mm&r=g\",\"caption\":\"William Hoang, Mobile Developer Advocate, Couchbase\"},\"description\":\"William was a Developer Advocate on the Mobile Engineering\/Developer Experience team at Couchbase. His love for coffee and code has transcended him into the world of mobile while appreciating the offline in-person experiences. Prior, William worked on the Developer Relations team over at Twitter, BlackBerry, and Microsoft while also having been a Software Embedded GPS engineer at Research In Motion. William graduated from McGill University in Electrical Software Engineering\",\"url\":\"https:\/\/www.couchbase.com\/blog\/author\/william-hoang\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Running Couchbase and Couchbase Sync Gateway with Vagrant","description":"Explore how to run Couchbase and Couchbase Sync Gateway using Vagrant.Also, learn about the software as you will need them to install Couchbase.","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.couchbase.com\/blog\/couchbase-as-a-service-vagrant\/","og_locale":"en_US","og_type":"article","og_title":"vagrant up: Running Couchbase and Couchbase Sync Gateway with Vagrant","og_description":"Explore how to run Couchbase and Couchbase Sync Gateway using Vagrant.Also, learn about the software as you will need them to install Couchbase.","og_url":"https:\/\/www.couchbase.com\/blog\/couchbase-as-a-service-vagrant\/","og_site_name":"The Couchbase Blog","article_published_time":"2015-12-16T01:04:12+00:00","article_modified_time":"2023-06-27T13:43:58+00:00","og_image":[{"url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2015\/12\/screen-shot-2015-11-29-at-2.00.02-pm.png","type":"","width":"","height":""}],"author":"William Hoang, Mobile Developer Advocate, Couchbase","twitter_card":"summary_large_image","twitter_misc":{"Written by":"William Hoang, Mobile Developer Advocate, Couchbase","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.couchbase.com\/blog\/couchbase-as-a-service-vagrant\/#article","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/couchbase-as-a-service-vagrant\/"},"author":{"name":"William Hoang, Mobile Developer Advocate, Couchbase","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/425717456c198fdf9aaa5d7a6d42ad32"},"headline":"vagrant up: Running Couchbase and Couchbase Sync Gateway with Vagrant","datePublished":"2015-12-16T01:04:12+00:00","dateModified":"2023-06-27T13:43:58+00:00","mainEntityOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/couchbase-as-a-service-vagrant\/"},"wordCount":588,"commentCount":0,"publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/couchbase-as-a-service-vagrant\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","articleSection":["Couchbase Mobile"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.couchbase.com\/blog\/couchbase-as-a-service-vagrant\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.couchbase.com\/blog\/couchbase-as-a-service-vagrant\/","url":"https:\/\/www.couchbase.com\/blog\/couchbase-as-a-service-vagrant\/","name":"Running Couchbase and Couchbase Sync Gateway with Vagrant","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/couchbase-as-a-service-vagrant\/#primaryimage"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/couchbase-as-a-service-vagrant\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","datePublished":"2015-12-16T01:04:12+00:00","dateModified":"2023-06-27T13:43:58+00:00","description":"Explore how to run Couchbase and Couchbase Sync Gateway using Vagrant.Also, learn about the software as you will need them to install Couchbase.","breadcrumb":{"@id":"https:\/\/www.couchbase.com\/blog\/couchbase-as-a-service-vagrant\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.couchbase.com\/blog\/couchbase-as-a-service-vagrant\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.couchbase.com\/blog\/couchbase-as-a-service-vagrant\/#primaryimage","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","width":1800,"height":630},{"@type":"BreadcrumbList","@id":"https:\/\/www.couchbase.com\/blog\/couchbase-as-a-service-vagrant\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.couchbase.com\/blog\/"},{"@type":"ListItem","position":2,"name":"vagrant up: Running Couchbase and Couchbase Sync Gateway with Vagrant"}]},{"@type":"WebSite","@id":"https:\/\/www.couchbase.com\/blog\/#website","url":"https:\/\/www.couchbase.com\/blog\/","name":"The Couchbase Blog","description":"Couchbase, the NoSQL Database","publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.couchbase.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.couchbase.com\/blog\/#organization","name":"The Couchbase Blog","url":"https:\/\/www.couchbase.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png","width":218,"height":34,"caption":"The Couchbase Blog"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/425717456c198fdf9aaa5d7a6d42ad32","name":"William Hoang, Mobile Developer Advocate, Couchbase","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/image\/650445f1ea30314c4f3555dd680154f5","url":"https:\/\/secure.gravatar.com\/avatar\/b912c9a97568a859697ee195432d0bd7cc3ed67d720ae2e6588b67313fa49e08?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b912c9a97568a859697ee195432d0bd7cc3ed67d720ae2e6588b67313fa49e08?s=96&d=mm&r=g","caption":"William Hoang, Mobile Developer Advocate, Couchbase"},"description":"William was a Developer Advocate on the Mobile Engineering\/Developer Experience team at Couchbase. His love for coffee and code has transcended him into the world of mobile while appreciating the offline in-person experiences. Prior, William worked on the Developer Relations team over at Twitter, BlackBerry, and Microsoft while also having been a Software Embedded GPS engineer at Research In Motion. William graduated from McGill University in Electrical Software Engineering","url":"https:\/\/www.couchbase.com\/blog\/author\/william-hoang\/"}]}},"authors":[{"term_id":8983,"user_id":30,"is_guest":0,"slug":"william-hoang","display_name":"William Hoang, Mobile Developer Advocate, Couchbase","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/b912c9a97568a859697ee195432d0bd7cc3ed67d720ae2e6588b67313fa49e08?s=96&d=mm&r=g","author_category":"","last_name":"Hoang","first_name":"William","job_title":"","user_url":"","description":"William was a Developer Advocate on the Mobile Engineering\/Developer Experience team at Couchbase. His love for coffee and code has transcended him into the world of mobile while appreciating the offline in-person experiences. Prior, William worked on the Developer Relations team over at Twitter, BlackBerry, and Microsoft while also having been a Software Embedded GPS engineer at Research In Motion. William graduated from McGill University in Electrical Software Engineering"}],"_links":{"self":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/posts\/2031","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/users\/30"}],"replies":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/comments?post=2031"}],"version-history":[{"count":0,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/posts\/2031\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/media\/13873"}],"wp:attachment":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/media?parent=2031"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/categories?post=2031"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/tags?post=2031"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=2031"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}