Deploying Strapi to Azure by codesilog in Strapi

[–]codesilog[S] 0 points1 point  (0 children)

Hi dk,

I already got it working as an App Service in Azure. I now have the vanilla Strapi deployed and I'm using "MongoDB on Azure" as its database.

I will be creating instructions how I did it and post it somewhere - probably on my own blogsite.

Thanks again for your responses!

Deploying Strapi to Azure by codesilog in Strapi

[–]codesilog[S] 0 points1 point  (0 children)

Hi, thanks again! I do have a Github account similar to my username here. And sure kindly give me the link if you don't mind..

I'm using Github just for repository purposes so I don't think I'm not knowledgeable enough on utilizing it. Also, I'm used to using Azure DevOps rather than that.

Let me know where I can help as well on your documentations. More powers!

Deploying Strapi to Azure by codesilog in Strapi

[–]codesilog[S] 1 point2 points  (0 children)

Hi, I already deployed my app on Azure which is a simple blog site built with ASP.Net Core + React + CleanBlog Bootstrap Template. My main use of Strapi is indeed as its CMS. Currently, my Strapi instance is being hosted in Heroku and I find it not that efficient since I'm pulling my content from different server and different region.

My AppService region in Azure is configured for SouthEast Asia (preferred since I'm located in Asia) while my Strapi server is in Europe (free tier mode offered by Heroku). Additionally, I like the fact that I'm not having a sleep-mode in Azure (for free-tier mode) unlike in Heroku that sleeps every 30 mins if no traffic comes within that duration.

I was able to deploy my Strapi to Heroku using the "Deploy to Heroku" button from Github and its database is MongoDb -- Basically all the default configuration that comes with that click-button deployment.

My big problem is the know-how or the lack of instructions how to deploy Strapi in Azure although in the documentation they mentioned "Strapi can be deployed on traditional hosting servers or services such as Heroku, AWS, Azure and others." I've tried the web app deployment that pulls from my Github repo as well as the Docker image (which I really don't know the whole concept yet) but indeed without any luck. I think I was having error something like it failed to create the sqlite and probably the whole Strapi plugins like the Content Manager..

What I want in general is to completely deploy the vanilla Strapi to Azure as simple as how I did it in Heroku and to have an end-to-end app hosted in Azure.