rett-spain / rett-diagrams

Visual assets related with the different Rett Spain projects
GNU General Public License v3.0
0 stars 0 forks source link

Spike - Deploy strapi in Azure using Terraform scripts #33

Open perocha opened 1 year ago

perocha commented 1 year ago

Use Terraform scripts to deploy Strapi in Azure.

Refer to this documentation: https://docs.strapi.io/dev-docs/deployment/azure

perocha commented 1 year ago

I was able to "dockerize" the frontend and the mysql DB

docker pull perocha/rettdb-strapi-sandbox:latest

Where can we deploy this in Azure?

waltergrasselli commented 1 year ago

Hey Pedro, at least, we have three options to deploy the docker images:

and an

About Cost:

`<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40">

Service category | Service type | Custom name | Region | Description | Estimated monthly cost | Estimated upfront cost -- | -- | -- | -- | -- | -- | -- Compute | App Service |   | West Europe | Basic Tier; 2 B2 (2 Core(s), 3.5 GB RAM, 10 GB Storage) x 730 Hours; Linux OS; 0 SNI SSL Connections; 0 IP SSL Connections | $52.56 | $0.00 Containers | Azure Container Apps |   | West Europe | Consumption Plan Type, 1 million requests per month, 100 concurrent requests per container app, 100 milliseconds execution time per request, 2 vCPUs, 3 GiB memory, 1 minimum replica(s) | $52.56 | $0.00 Compute | Azure Container Instances |   | West Europe | 1 Container group(s) x 2,592,000 Second(s), Linux OS, Pay as you go, 3 GB Memory, 2 vCPU(s) | $78.14 | $0.00 Containers | Azure Container Registry |   | West Europe | Basic Tier, 1 registries x 30 days,   0 GB Extra Storage, Container Build - 1 CPUs x 1 Seconds - Inter Region transfer type, 5 GB outbound data transfer from West Europe to East Asia | $5.00 | $0.00

`

Personally, I am using Azure Container Apps in other iniciative and it goes very well, we could start test it and then check if it is the right tool. In fact, I have part of the implementation already done in Terraform.