# Deploy Openboxes to Azure problem

**URL:** https://community.openboxes.com/t/deploy-openboxes-to-azure-problem/793
**Category:** troubleshooting
**Created:** [July 16, 2023, 8:02pm UTC](https://community.openboxes.com/t/deploy-openboxes-to-azure-problem/793 "2023-07-16T20:02:54Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![ruben.ser](https://community.openboxes.com/letter_avatar_proxy/v4/letter/r/b5ac83/32.png) [@ruben.ser](https://community.openboxes.com/u/ruben.ser)
#### Post date: [July 16, 2023, 8:02pm UTC](https://community.openboxes.com/t/deploy-openboxes-to-azure-problem/793/1 "2023-07-16T20:02:54Z")

</div>

Hello,

I was trying to deploy the Openboxes to Azure using “Deploy to Azure” button from [GitHub - openboxes/openboxes: OpenBoxes is a supply chain management system designed to manage inventory and track stock movements for healthcare facilities.](https://github.com/openboxes/openboxes).

However, I am getting this error. I tried several times, but failed.

 ![Errors - Microsoft Azure 2023-07-16 15-01-39](https://community.openboxes.com/uploads/default/original/1X/a8b942164bbd240d04f17a7863829dadf2a646cb.jpeg)

I need someone’s help.

Looking forward to hearing from you ASAP.

Thank you!

---

<div class="post-metadata">

### Author: ![jmiranda](https://community.openboxes.com/user_avatar/community.openboxes.com/jmiranda/32/199_2.png) [@jmiranda](https://community.openboxes.com/u/jmiranda)
#### Post date: [July 18, 2023, 2:17am UTC](https://community.openboxes.com/t/deploy-openboxes-to-azure-problem/793/2 "2023-07-18T02:17:39Z")

</div>

Thanks for the message, Ruben.

I’ll deploy the Azure resources tomorrow and get back to you.

---

<div class="post-metadata">

### Author: ![ruben.ser](https://community.openboxes.com/letter_avatar_proxy/v4/letter/r/b5ac83/32.png) [@ruben.ser](https://community.openboxes.com/u/ruben.ser)
#### Post date: [July 18, 2023, 2:18am UTC](https://community.openboxes.com/t/deploy-openboxes-to-azure-problem/793/3 "2023-07-18T02:18:56Z")

</div>

Thanks for getting back to me. Please keep me posted!

---

<div class="post-metadata">

### Author: ![jmiranda](https://community.openboxes.com/user_avatar/community.openboxes.com/jmiranda/32/199_2.png) [@jmiranda](https://community.openboxes.com/u/jmiranda)
#### Post date: [July 18, 2023, 2:56am UTC](https://community.openboxes.com/t/deploy-openboxes-to-azure-problem/793/4 "2023-07-18T02:56:24Z")

</div>

I actually just had a chance to run through the process and noticed the following issue. Seems we’re using an outdated way of installing JDK8, so I’m going to need to update the setup script.

```auto
[stderr]
Warning: apt-key output should not be parsed (stdout is not a terminal)
gpg: key B1998361219BD9C9: public key "Azul Systems, Inc. (Package signing key.) <pki-signing@azulsystems.com>" imported
gpg: Total number processed: 1
gpg: imported: 1
E: Unable to locate package zulu-8
"

```

I also noticed that we’re using an outdated URL for the WAR file so I’ll fix that as well.

Justin

---

<div class="post-metadata">

### Author: ![ruben.ser](https://community.openboxes.com/letter_avatar_proxy/v4/letter/r/b5ac83/32.png) [@ruben.ser](https://community.openboxes.com/u/ruben.ser)
#### Post date: [July 18, 2023, 5:02am UTC](https://community.openboxes.com/t/deploy-openboxes-to-azure-problem/793/5 "2023-07-18T05:02:31Z")

</div>

Thanks so much! Please let me know once it’s ready.

---

<div class="post-metadata">

### Author: ![jmiranda](https://community.openboxes.com/user_avatar/community.openboxes.com/jmiranda/32/199_2.png) [@jmiranda](https://community.openboxes.com/u/jmiranda)
#### Post date: [July 20, 2023, 6:12am UTC](https://community.openboxes.com/t/deploy-openboxes-to-azure-problem/793/6 "2023-07-20T06:12:41Z")

</div>

I’m continuing to run into issues trying to get the vm-setup script to install Java 8. I’ll keep playing around with it tomorrow but just wanted to let you know that some progress has been made.

**IMPORTANT** : FYI, this is going to deploy a development version of OpenBoxes. This version is not ready for production. If you’re looking for a production-ready version I’d recommend looking at the DigitalOcean deployment option.

> [@Install OpenBoxes via DigitalOcean Marketplace](https://community.openboxes.com/t/install-openboxes-via-digitalocean-marketplace/311):
>
> We’re very excited to announce that OpenBoxes can now be installed as a DigitalOcean droplet using the 1-Click App DigitalOcean Marketplace. This makes installing OpenBoxes much easier as all of the legwork (i.e. installing dependencies, creating and populating the database, configuring the application) has been taken care of for you. You just need to create a DigitalOcean account, pick your droplet size, region, and go. Note: You will be charged (2GB = $10 per month, 4GB = $20 per month, 4…

Here’s the error if you’re interested.

```auto
Enable failed: failed to execute command: command terminated with exit status=100
[stdout]
 amd64 Packages [2717 kB]
Get:7 http://azure.archive.ubuntu.com/ubuntu bionic-security/main Translation-en [467 kB]
Get:8 http://azure.archive.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [1317 kB]
Get:9 http://azure.archive.ubuntu.com/ubuntu bionic-security/restricted Translation-en [182 kB]
Get:10 http://azure.archive.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1303 kB]
Get:11 http://azure.archive.ubuntu.com/ubuntu bionic-security/universe Translation-en [308 kB]
Get:12 http://azure.archive.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [19.8 kB]
Get:13 http://azure.archive.ubuntu.com/ubuntu bionic-security/multiverse Translation-en [3928 B]
Get:14 https://repos.azul.com/zulu/deb stable/main amd64 Packages [242 kB]
Get:15 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:16 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [83.3 kB]
Get:17 http://archive.canonical.com/ubuntu bionic/partner Sources [1280 B]
Get:18 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [2717 kB]
Get:19 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages [1019 kB]
Get:20 http://archive.ubuntu.com/ubuntu bionic/main Translation-en [516 kB]
Get:21 http://archive.ubuntu.com/ubuntu bionic/restricted amd64 Packages [9184 B]
Get:22 http://archive.ubuntu.com/ubuntu bionic/restricted Translation-en [3584 B]
Get:23 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages [8570 kB]
Get:24 http://security.ubuntu.com/ubuntu bionic-security/main Translation-en [467 kB]
Get:25 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [1317 kB]
Get:26 http://security.ubuntu.com/ubuntu bionic-security/restricted Translation-en [182 kB]
Get:27 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1303 kB]
Get:28 http://security.ubuntu.com/ubuntu bionic-security/universe Translation-en [308 kB]
Get:29 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [19.8 kB]
Get:30 http://security.ubuntu.com/ubuntu bionic-security/multiverse Translation-en [3928 B]
Get:31 http://archive.ubuntu.com/ubuntu bionic/universe Translation-en [4941 kB]
Get:32 http://archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages [151 kB]
Get:33 http://archive.ubuntu.com/ubuntu bionic/multiverse Translation-en [108 kB]
Get:34 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [3045 kB]
Get:35 http://archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [553 kB]
Get:36 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [1347 kB]
Get:37 http://archive.ubuntu.com/ubuntu bionic-updates/restricted Translation-en [187 kB]
Get:38 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1914 kB]
Get:39 http://archive.ubuntu.com/ubuntu bionic-updates/universe Translation-en [420 kB]
Get:40 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [25.6 kB]
Get:41 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse Translation-en [6088 B]
Get:42 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [53.3 kB]
Get:43 http://archive.ubuntu.com/ubuntu bionic-backports/main Translation-en [14.6 kB]
Get:44 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [18.2 kB]
Get:45 http://archive.ubuntu.com/ubuntu bionic-backports/universe Translation-en [8668 B]
Fetched 36.4 MB in 7s (5578 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
7 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 zulu-8 : Depends: zulu8 but it is not going to be installed

[stderr]

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

E: Unable to correct problems, you have held broken packages.

```

---

<div class="post-metadata">

### Author: ![ruben.ser](https://community.openboxes.com/letter_avatar_proxy/v4/letter/r/b5ac83/32.png) [@ruben.ser](https://community.openboxes.com/u/ruben.ser)
#### Post date: [July 20, 2023, 11:15am UTC](https://community.openboxes.com/t/deploy-openboxes-to-azure-problem/793/7 "2023-07-20T11:15:24Z")

</div>

Thank you for the update! Let me check the DigitalOcean deployment option.

---

<div class="post-metadata">

### Author: ![jmiranda](https://community.openboxes.com/user_avatar/community.openboxes.com/jmiranda/32/199_2.png) [@jmiranda](https://community.openboxes.com/u/jmiranda)
#### Post date: [July 21, 2023, 8:14pm UTC](https://community.openboxes.com/t/deploy-openboxes-to-azure-problem/793/8 "2023-07-21T20:14:47Z")

</div>

Let me know how things go with the DigitalOcean deployment.

I made some progress with the Azure deployment but encountered a database migration issue.

> <https://github.com/openboxes/openboxes-devops/issues/61>
>
> A user encountered the following issue when using the Deploy to Azure feature.
> …
> !\[image\](https://github.com/openboxes/openboxes-devops/assets/1162935/0f3a6dea-c458-4b2b-9cba-e7f0022d9c03)
> 
> See the discussion on Discourse for more details.
> https://community.openboxes.com/t/deploy-openboxes-to-azure-problem/793

So for now, I think DigitalOcean is your best bet.

---

<div class="post-metadata">

### Author: ![ruben.ser](https://community.openboxes.com/letter_avatar_proxy/v4/letter/r/b5ac83/32.png) [@ruben.ser](https://community.openboxes.com/u/ruben.ser)
#### Post date: [July 21, 2023, 8:18pm UTC](https://community.openboxes.com/t/deploy-openboxes-to-azure-problem/793/9 "2023-07-21T20:18:41Z")

</div>

As I explained you already, I was trying to deploy the Openboxes to Azure portal. However, I was not able to find a solution with the DigitalOcean deployment yet…

---

<div class="post-metadata">

### Author: ![jmiranda](https://community.openboxes.com/user_avatar/community.openboxes.com/jmiranda/32/199_2.png) [@jmiranda](https://community.openboxes.com/u/jmiranda)
#### Post date: [July 22, 2023, 4:05am UTC](https://community.openboxes.com/t/deploy-openboxes-to-azure-problem/793/10 "2023-07-22T04:05:30Z")

</div>

> [@ruben.ser](#):
>
> As I explained to you already, I was trying to deploy the Openboxes to Azure portal.

Understood. This week, I was working on a fix for the Deploy to Azure bug through the following ticket.

> <https://github.com/openboxes/openboxes-devops/issues/61>
>
> A user encountered the following issue when using the Deploy to Azure feature.
> …
> !\[image\](https://github.com/openboxes/openboxes-devops/assets/1162935/0f3a6dea-c458-4b2b-9cba-e7f0022d9c03)
> 
> See the discussion on Discourse for more details.
> https://community.openboxes.com/t/deploy-openboxes-to-azure-problem/793

As of earlier today, the Deploy to Azure feature is now completing successfully.

 ![image](https://community.openboxes.com/uploads/default/original/1X/ce2523163fc8a4e75f867ef8b92723812cef7f10.png)

Unfortunately, there’s a bug in the application that’s preventing it from starting. Hypotehtically, you could use the Deploy to Azure feature to create all of the Azure resources needed to run OpenBoxes and then just wait for us to fix the bug. But that might be a waste of money, so I’d recommend waiting.

I have created a bug ticket for that issue and will try to work on it next week. [OBGM-626.pdf](https://community.openboxes.com/uploads/short-url/sftWnpGdOlblyLI9s3e5poRVpXU.pdf) (95.3 KB)

* * *

As mentioned in an earlier reply, the Deploy to Azure feature will deploy a pre-release version (v0.9.0-SNAPSHOT) of OpenBoxes to Azure. This is a very buggy version of the application, so it is not recommended for production use. We are hoping to release v0.9.0 in the Autumn.

The Deploy to DigitalOcean feature will install a production-ready version (v0.8.20-hotfix1) of the application to DigitalOcean.

* * *

> [@ruben.ser](#):
>
> However, I was not able to find a solution with the DigitalOcean deployment yet…

Here’s the Deploy to DigitalOcean button.

[![Deploy to DigitalOcean](https://www.deploytodo.com/do-btn-blue.svg)](https://marketplace.digitalocean.com/apps/openboxes-server?refcode=da4712a483b4&action=deploy)

… along with a link with complete instructions on how to deploy OpenBoxes to a DigitalOcean droplet.

> [@Install OpenBoxes via DigitalOcean Marketplace](https://community.openboxes.com/t/install-openboxes-via-digitalocean-marketplace/311):
>
> We’re very excited to announce that OpenBoxes can now be installed as a DigitalOcean droplet using the 1-Click App DigitalOcean Marketplace. This makes installing OpenBoxes much easier as all of the legwork (i.e. installing dependencies, creating and populating the database, configuring the application) has been taken care of for you. You just need to create a DigitalOcean account, pick your droplet size, region, and go. Note: You will be charged (2GB = $10 per month, 4GB = $20 per month, 4…

---

<div class="post-metadata">

### Author: ![ruben.ser](https://community.openboxes.com/letter_avatar_proxy/v4/letter/r/b5ac83/32.png) [@ruben.ser](https://community.openboxes.com/u/ruben.ser)
#### Post date: [July 24, 2023, 11:50am UTC](https://community.openboxes.com/t/deploy-openboxes-to-azure-problem/793/11 "2023-07-24T11:50:13Z")

</div>

@jmiranda Thanks for your help. However, we need to deploy the Openboxes to Azure, but not DigitalOcean.  
By the way, why can’t we use the production-ready version (v0.8.20-hotfix1) for Azure?

---

<div class="post-metadata">

### Author: ![jmiranda](https://community.openboxes.com/user_avatar/community.openboxes.com/jmiranda/32/199_2.png) [@jmiranda](https://community.openboxes.com/u/jmiranda)
#### Post date: [July 27, 2023, 3:06am UTC](https://community.openboxes.com/t/deploy-openboxes-to-azure-problem/793/12 "2023-07-27T03:06:22Z")

</div>

Hypothetically, you could. Someone with devops expertise just needs to modify a few of the dependencies in the script that gets executed on the Azure VM in order to create a production environment that is suitable for the v0.8.x release. And then someone else needs to test the heck out of the feature.

The original author of the Deploy to Azure button is no longer working on OpenBoxes so we don’t have anyone (other than myself) to support this feature. I can certainly investigate when I get a chance but I can’t promise anything at the moment given my capacity as a paid consultant.

**A Little Backstory**

The Deploy to Azure feature was part of a larger “Shelf Readiness” project funded by Digital Square in 2020.

> [@Self-Service Deployment, User On-Boarding Wizard, and Improved Documentation](https://community.openboxes.com/t/self-service-deployment-user-on-boarding-wizard-and-improved-documentation/227):
>
> One of the major pain points for users of OpenBoxes is trying to install and configure the software on their own. I know this because like [Sy Sperling](https://www.youtube.com/watch?v=IuRLGdGnqSU&t=50), I’m not only the Lead Developer of OpenBoxes, I’m also a client. And I feel these same frustrations every time I do a new installation. Whether you’re trying install the latest version on a remote host running Ubuntu 18.04 or on your laptop running Windows or Mac, it’s not a trivial endeavor to get the software up and running. I’ve thought long …

The hope was that once the Deploy to Azure feature was working, we’d also be close to releasing OpenBoxes v0.9.0 (which would include a large migration from Grails 1 to Grails 3). I wanted to future-proof the Azure deployment process so we didn’t have to migrate the Deploy to Azure feature once we were done with v0.9.0.

Unfortunately, we didn’t anticipate how long it would take to get the Grails 3 migration funded. After a three-year hiatus, we finally restarted the project in May 2023 and we are hoping to be done in the Fall 2023.

As with everything open-source we either have to find funding for the work we want to do or find someone willing to work for free. I do a little of both, but priority usually goes to the work being funded.

---

<div class="post-metadata">

### Author: ![jmiranda](https://community.openboxes.com/user_avatar/community.openboxes.com/jmiranda/32/199_2.png) [@jmiranda](https://community.openboxes.com/u/jmiranda)
#### Post date: [July 27, 2023, 3:34am UTC](https://community.openboxes.com/t/deploy-openboxes-to-azure-problem/793/13 "2023-07-27T03:34:50Z")

</div>

By the way, if you just want to get the latest production-ready version (it looks like the latest unpublished version is v0.8.22-hotfix2) deployed to Azure I can do that without the Deploy to Azure feature.

Just schedule a call with me and we can work through the details.

> **[General Discussion - Justin Miranda](https://calendly.com/openboxes/discussion?back=1&month=2023-07)**
>
> Schedule a discussion on a topic of your choosing (video or voice call).

And that goes for anyone looking to deploy OpenBoxes to their favorite platform. Until we can develop and support automated deployments to any of the flavor of the day IaaS platforms (e.g. AWS, Azure, DigitalOcean, GCP, Linode, RimuHosting, Vultr, etc) we are available to perform these deployments manually (for a nominal fee). Just schedule a call with me to discuss the details.

* * *

**[unpaid-advertisement]**  
It just occurred to me that while I praise them daily viva voce, I don’t think I’ve ever mentioned RimuHosting on this website before. So let me take a moment to say that Rimu is by far my favorite hosting provider. And there’s no competition. I started using them in 2007 on the recommendation of a client of mine and I would 1000% recommend Rimu over any other hosting provider if you’re in the market for virtual machines or dedicated servers. The support alone is worth every penny and their VPSs are usually cheaper than any other provider.

> **[RimuHosting - Linux/Xen VPS Hosting | Tomcat JSP Hosting | JBoss J2EE Hosting](https://rimuhosting.com)**
>
> RimuHosting provide fast, reliable Linux VPS and dedicated servers. Their servers are a great fit for sites running on Java, Ruby on Rails or exotic setups like nodejs, django, Erlang or you name it.

**[/unpaid-advertisement]**

![Drop-the-mic GIFs - Get the best GIF on GIPHY](https://media1.giphy.com/media/v1.Y2lkPTc5MGI3NjExNDZzanEzc2JyZTJiamZwM3lhNG8zamI2aHQ3dXFhYzkwZ2gweGRjeCZlcD12MV9naWZzX3NlYXJjaCZjdD1n/15BuyagtKucHm/giphy.gif)

---

<div class="post-metadata">

### Author: ![ruben.ser](https://community.openboxes.com/letter_avatar_proxy/v4/letter/r/b5ac83/32.png) [@ruben.ser](https://community.openboxes.com/u/ruben.ser)
#### Post date: [July 29, 2023, 6:41pm UTC](https://community.openboxes.com/t/deploy-openboxes-to-azure-problem/793/14 "2023-07-29T18:41:59Z")

</div>

@jmiranda Thanks for the info. I’ve checked the details as you mentioned in above. I am still getting the same error. That’s odd.

---

<div class="post-metadata">

### Author: ![ruben.ser](https://community.openboxes.com/letter_avatar_proxy/v4/letter/r/b5ac83/32.png) [@ruben.ser](https://community.openboxes.com/u/ruben.ser)
#### Post date: [August 4, 2023, 5:12pm UTC](https://community.openboxes.com/t/deploy-openboxes-to-azure-problem/793/15 "2023-08-04T17:12:46Z")

</div>

@jmiranda Were you able to resolve the issue to deploy the Openboxes to Azure? Please let me know. Thanks so much!

---

<div class="post-metadata">

### Author: ![jmiranda](https://community.openboxes.com/user_avatar/community.openboxes.com/jmiranda/32/199_2.png) [@jmiranda](https://community.openboxes.com/u/jmiranda)
#### Post date: [August 15, 2023, 4:21am UTC](https://community.openboxes.com/t/deploy-openboxes-to-azure-problem/793/16 "2023-08-15T04:21:44Z")

</div>

Hey Ruben

I have made some progress

> <https://github.com/openboxes/openboxes/pull/4227>
>
> …ew installs

but the underlying bug has not been completely fixed yet.

And it probably won’t be fixed for the next few weeks as I have been (and will continue to be) on leave for most of August. I have limited availability this week, then I will be traveling again next week and won’t be back until the school year starts for the kids on September 5th.

While I have limited availability this week, that means I’ll only be working on paid projects.

I can’t promise any miracles but as I stated in a previous comment, if you don’t mind paying for the time to do the installation, then we can set up an OpenBoxes production environment in your Azure account with just a few hours of work.

If it’s urgent, I can try to free up some time this week to make that happen. If not, then I’ll let you know when/if I get it fixed after I return in September.

Justin

---

<div class="post-metadata">

### Author: ![ruben.ser](https://community.openboxes.com/letter_avatar_proxy/v4/letter/r/b5ac83/32.png) [@ruben.ser](https://community.openboxes.com/u/ruben.ser)
#### Post date: [August 15, 2023, 5:04am UTC](https://community.openboxes.com/t/deploy-openboxes-to-azure-problem/793/17 "2023-08-15T05:04:00Z")

</div>

Hey Justin, thanks for getting back to me. Can we use the Azure CLI to deploy the Openboxes to Azure?  
If so, just let me know how to do briefly. And also, we’re willing to pay you for the installation. Thanks so much!

---

<div class="post-metadata">

### Author: ![jmiranda](https://community.openboxes.com/user_avatar/community.openboxes.com/jmiranda/32/199_2.png) [@jmiranda](https://community.openboxes.com/u/jmiranda)
#### Post date: [August 16, 2023, 4:50pm UTC](https://community.openboxes.com/t/deploy-openboxes-to-azure-problem/793/18 "2023-08-16T16:50:16Z")

</div>

> Can we use the Azure CLI to deploy the Openboxes to Azure?

I have not personally used Azure CLI much, but I assume you could manually convert the ARM template JSON file (that is used by Deploy to Azure process) to az CLI commands.

Here’s a link to the ARM template we use.

> **[openboxes-devops/arm-template at master · openboxes/openboxes-devops](https://github.com/openboxes/openboxes-devops/tree/master/arm-template)**
>
> Infrastracture as Code artifacts for OpenBoxes. Contribute to openboxes/openboxes-devops development by creating an account on GitHub.

Fwiw, I just decompiled the ARM JSON file to bicep (see attachment below) in case that’s useful.

[openboxes-arm.bicep](https://community.openboxes.com/uploads/short-url/kzxTR1UdyJ0fk1DMGxzntZRt3Tn.bicep) (7.7 KB)

> If so, just let me know how to do briefly.

I assume the Deploy to Azure button is just using the az group and deployment commands. Maybe some others.

So if you wanted to do this yourself,

1. Get the code by cloning our devops repository

```auto
git clone https://github.com/openboxes/openboxes-devops.git

```

2. Then use the AZ CLI to create a resource group

```auto
az group create -l eastus -n MyResourceGroup

```

3. And then do the deployment

```auto
az deployment group create --resource-group MyResourceGroup --template-file arm-template/openboxes-arm.json

```

4. That should create all of the Azure resources (VM, IP, firewall rules, etc) needed to deploy OpenBoxes.
5. This would be a good point to add my public key to the VM if you wanted assistance.

```auto
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDc5CgN3KkhMASQhIrh7y+D1Uu09M0vZKP7UAOVAUl5IIaIBpLcVFQW+Z2EtHgkgeSHLyaSLo6sW5EERQqhAwzgD9i3Y5ByUM2pTSZsW+q1oRAKksRxiq50imzlXstZRM4X5K13KFLWtJfbBkHxvTxtpStgaVmiZc81Ad/fer8bdamV13Rq+NHUp5YhJJQp4ipHCezdYRD57Dn49WW+7VnU+7+uNId1ayl6ROYk88ANa2tssNta/SiqtPxpF8atXYoD7sbAgaDKMMco3o+nsbRjXwozlmcyo+1O75rwA3OiU6TVj1SJCtyOJuzJnxOAtLAPwwOZXhpPKewwDkVdRcmj jcm62@columbia.edu

```

6. Once the resources are provisioned, we can manually run through the [setup script](https://github.com/openboxes/openboxes-devops/blob/master/arm-template/scripts/ob-vm-setup.sh) that installs OpenBoxes and its dependencies.

NOTE: I would hold off on this until we discuss your intentions (see questions in the next section) as you’ll need to modify the installation process depending on whether you want the latest stable version or a pre-release version). The script above installs the buggy pre-release version.

> And also, we’re willing to pay you for the installation. Thanks so much!

Are you ok with the pre-release version (0.9.x) or do you want a stable production-ready release (0.8.22)? The pre-release (0.9.x) is going through a thorough testing procedure right now, so it’s buggy but more stable. It is nearing alpha but probably won’t be production-ready until December.

If you’re ok with the stable release, I think the best way forward would be to go through Steps 1 through 4 to create the infrastructure components needed. And then you just need to add my public key to the VM so I can jump on the server to deploy the application and fix any deployment issues.

---

<div class="post-metadata">

### Author: ![ruben.ser](https://community.openboxes.com/letter_avatar_proxy/v4/letter/r/b5ac83/32.png) [@ruben.ser](https://community.openboxes.com/u/ruben.ser)
#### Post date: [August 18, 2023, 5:04am UTC](https://community.openboxes.com/t/deploy-openboxes-to-azure-problem/793/19 "2023-08-18T05:04:14Z")

</div>

@jmiranda Thanks for your reply.  
By the way, I am not sure how to specify the Openboxes version in the ARM template. Please let me know.

---

<div class="post-metadata">

### Author: ![Todd\_Palmer](https://community.openboxes.com/user_avatar/community.openboxes.com/todd_palmer/32/761_2.png) [@Todd\_Palmer](https://community.openboxes.com/u/Todd_Palmer)
#### Post date: [August 24, 2023, 4:22pm UTC](https://community.openboxes.com/t/deploy-openboxes-to-azure-problem/793/20 "2023-08-24T16:22:22Z")

</div>

> [@ruben.ser](#):
>
> specify the Openboxes version in the ARM template

Is there a way to specify the Openboxes version?

[Next page](https://community.openboxes.com/t/deploy-openboxes-to-azure-problem/793.md?page=2)
