i'm struggling a lot with a Laravel application that i want to deploy to azure AKS using azure DevOps
the thing is i'm reading a lots of non-accurate tutorials and docs, i didnt found anything related on how to push or deploy a Laravel docker image to azure aks using azure DevOps and it's frustrating,
can someone help me with that by giving me some hints or tutorials ?
thank you !
how to push or deploy a Laravel docker image to azure aks using azure DevOps
Agree with Daniel, you need to build the container, push it to a container registry, here is the detailed official tutorial. And then either run a series of kubectl commands or create Kubernetes manifests that tell Kubernetes how to run the containers.
In addition, this doc: Deploy a Docker container app to Azure Kubernetes Service will show you how to set up continuous deployment of your containerized application to an Azure Kubernetes Service (AKS) using Azure Pipelines.
BTW, videos: Getting started with CI/CD & Azure Container Service (AKS) powered by VSTS and CI-CD for Azure Kubernetes Service AKS using Azure DevOps are also helpful.
Related
We have an asp.net app that gets deployed to both On-Prem and on Azure VMs. We are trying to figure out how to configure the app so that when deployed on an Azure VM it will use Azure App Configuration Service, but when deployed On-Prem it will continue to use the settings in the config files?
How can we know on app start up whether or not we are deployed on an Azure VM?
If you can, I would recommend you add a special environment variable when you provision your Azure VM or deploy your application. If not, you may use Azure Instance Metadata Service to tell the code is running in Azure VMs.
We have our machines that we want to deploy to on AWS private subnet and we connect to them via VPN.
We want to use Azure Devops to build and deploy our code. Is there a way to deploy from Azure Devops to AWS machines through VPN?
Make sure your machine can access dev.azure.com, then you can try AWS Toolkit for Azure DevOps extension to work with AWS services.
Also, you can install one self-agent on your machine so that you can run the pipeline in your local environments.
We are managing source code in the VSTS there we had the Main Git Branch. And now we want to automate the deployment/release process with AWS EC2 instance.
We installed the AWS Toolkit for Visual Studio 2017 from the marketplace.
Can anyone guide how to deploy to AWS EC2 instance from VSTS?
You are talking about IaaS (Infrastructure as a code) there are several ways which you can able to achieve this.
Tools like terraform, ansible, cloud formation we're some popular tools which you can able to create an Ec2 instance from VSTS or Azure DevOps.
For an instance you can see here on how you can create an ec2 instance using terraform.
You can install the terraform extension from market place into your azure devops account.
I am creating wso2 Paas on Amazon Ec2 by following the instructions in Quick Start Guide with Screencasts. After running the ./boot.sh am getting the following message.
Starting WSO2 Private PaaS server as ubuntu user...
Nothing happens after this message and the terminal is frozen after 2 hours.
I am using centos 6.7, screen terminal and amazon ec2 instance type is t1.micro, ami is Private PaaS ami-4e062c1c for doing this.
Please suggest a solution for this.
WSO2 has discontinued WSO2 Private PaaS solution. Please refer [1] for the new PaaS strategy. On AWS, WSO2 middleware can be deployed either on VMs using AWS deployment automation and autoscaling features or with containers using Kubernetes, DC/OS, ECS.
[1] http://wso2.com/cloud/paas/
I'm trying to setup a database with Deis. I know this is possible, but there doesn't seem to be any documentation about how to do it other than setting an ENV variable.How could I setup say a MongoDB or Cassandra docker container and then deploy that and have my deis app use it?
If you're trying to deploy now, a possible solution is to set up a docker container, have it publicly route-able, and then configure your application to use that container through an environment variable following Heroku's 12 factor app best practices. There is a feature request for a Deis service gateway that will act like Heroku's Add-on Marketplace, but it's not there yet.