deploy rest api container from github & docker hub to Azure app service
Hi,
I'm working on a project that needs to deploy as tht title, I already ask chatgpt but could someone double check if the suggestion from chatgpt is correct please? Thank you!
chatgpt answer: https://rentry.co/am5d2czz
Step 1: Create Terraform Configuration
To automate the deployment of your .NET backend API using Azure App Service with Terraform and set up a CI/CD pipeline, you need to follow these steps:
Create a Terraform configuration for Azure App Service
Set up GitHub Actions for CI/CD
Here’s a detailed guide on how to achieve this:
Create a T...
3 Replies
Hey man you could use github actions, to easy deploy your docker env on your machine using ssh
Terraform is used for creating infrastructure related stuff i recommand for deploying containers not to use terraform
hey, thanks for reply, could you please elaborate why not using terraform? The reason i use terraform is this is my personal project, i don't expect to leave the azure service running 24/7, only when I work on it, and I don't want to manually spin up and tear down an app service in azure portal every time, hence I use terraform.
Ah ok, i recommend using ansible then, for action like these
Terraform is also possible