You can build an application, create a docker image and upload it to AWS ECR using Azure DevOps build pipeline. Later deploy this image from AWS ECR to AWS ECS Fargate container using the Release pipeline in Azure DevOps.
CI/CD
Azure DevOps Environment – Kubernetes Generic Provider (existing service account)
You can use deployment job in pipeline to deploy your microservice in Kubernetes resource created in environment.
Automatic Semantic Versioning using GitVersion, Git hook, Azure DevOps and Merge (no FF) Pullrequest Merge type
Using git hooks add the [+semver:minor] string to commit messages to bump the minor version. When semver string is not added the only patch version is bumped up.
Automatic Semantic Versioning using GitVersion, Azure DevOps Pipeline and Merge (no FF) Pullrequest Merge type
You can use GitVersion (Mainline Development) with Azure DevOps pipeline (using PR templates) to create semantic versions for the artifacts. This works well with Basic Merge type Pull Request.
Helm upgrade and Kubernetes related issues
How to fix issues related to Helm chart deployment to Kubernetes
Connect Azure DevOps to SonarQube with Self-signed Certificates – Linux Build Agent
Set a global variable, NODE_EXTRA_CA_CERTS, and set it to a copy of the certs stored locally in a directory.
Azure DevOps Pipeline – User Defined Variables and Scope
A variable defined at the job level can override a variable set at the stage level. A variable defined at the stage level will override a variable set at the pipeline root level. A variable set in the pipeline root level will override a variable set in the Pipeline settings UI.
How to create azure service connection to connect to kubernetes
For an Azure RBAC enabled cluster, a ServiceAccount gets created in the chosen namespace along with RoleBinding object, so that the created ServiceAccount can do actions only on the chosen namespace.