How to run octopus deploy on ecs cluster? - containers

Is there anyone here that has deployed octopus deploy on Amazon ecs? On a Linux container preferably. I found docker image for octopus deploy but not sure what other components or customer parameters have to be set for it to deploy properly. Any help please? Thanks

Related

How do you run container commands on ElasticBeanstalk / Amazon Linux 2?

I currently have a Laravel application running on ElasticBeanstalk with the following file running a deployment command for me...
.ebextensions/deployment-commands.config
container_commands:
01-run-migrations:
command: "php artisan migrate --force"
cwd: "/var/app/ondeck"
leader_only: true
I'm trying to update my PHP version to 7.4 so I need to upgrade to an Amazon Linux 2 server. This command doesn't seem to work on the new Amazon Linux 2 setup so I'm wondering if it will pickup ebextensions anymore and if so do I need to change the cwd? Basically what do I need to do to get this deployment command to work?
I'm trying to update my PHP version to 7.4 so I need to upgrade to an Amazon Linux 2 server.
Not sure what do you mean here, but upgrading from Amazon Linux 1 (AL1) to AL2 may require many more changes then just upgrading php:
Migrating your Elastic Beanstalk Linux application to Amazon Linux 2
container_commands run in staging folder /var/app/staging. But you are trying to use different folder /var/app/ondeck which may be why you don't see the commands effects.

Azure DevOps Deploying a .NET Desktop App to a local machine

I am having trouble trying to figure out how to get the .ZIP archive which is produced in a build pipeline for a Desktop App.
I would like to get the .ZIP archive deployed to one or more VMs in my test lab (not in the azure cloud).
I have seen tutorials on how to do this for Websites, but none for deploying a .NET Winforms Applications which is produced as a .zip artifact in my pipeline.
Any help in pointing me to some guidance on how to make this happen would be greatly appreciated.
You'll need to install an agent to a machine on your network and put it into an agent pool.
https://social.technet.microsoft.com/wiki/contents/articles/53386.azure-devops-create-configure-agent.aspx
Once you've done this, you'll be able to deploy to machines on your network the same way that an Azure Build Agent can deploy to a machine in Azure.

Windows Service installation on Docker Container

I am trying to port one of our Tomcat based Windows application to Windows Nano Server Container. The installation process includes two Windows Service installations - an ActiveMQ service and another Tomcat Service. This is achieved using two batch files provided with the product. In addition to installing the service, they also pass several arguments pertaining to JVM. Now the issue I am facing is I am not able to get these services installed on a Nano Server. The same Dockerfile works perfect and installs the product on Windows Server Core Container.
Observation: The services which get installed through batch files are dependent on two system components - Ancillary Function Driver for Winsock (Service name: afd) and TCP/IP Protocol Driver (Service Name: tcpip). This is something which I discovered on a VM where the product was installed when checking the service properties. I see that they are absent in a Nano Server Container but are present in Windows Server Core container. Could that be a reason? If yes, is there any way to get those services running on Nano Server?
I am at a loss on how to troubleshoot this issue. Are there any limitations on Nano Server Container when it comes to Windows Services?
Consider building your docker container from the ground up,
Determine and set your prerequisites
Install all of the dependencies first
Install the application and services in question
(For additional information you can look at this wiki page.)
The Nano server container is minimal and misses many windows default services, you’ll have to build most of them through Dockerfile yourself.
The easiest method will be to do this manually on Nano server and confirm everything to be working in the docker container/image, and then later generate an automated build.

How to deploy tuleap alm in openshift?

Need to deploy Tuleap ALM in Openshift. Any one please help. I don't know which cartridge to use and how to do. I know deploying java ear or war or files onto openshift.
AFAIK, there is no cartige for Tuleap on OpenShift yet.

OpenShift DIY cartridge and LEMP installation

Im trying to install the following components on Openshift (Free plan: 3 small gears):
Nginx
Php - php-fpm
MySQL
Wordpress
Since a DIY cartridge is limited to 1 gear and can't be scaled, do I need to install all components on one gear, or should I install each component on a separate gear? What's the best approach to install a custom LEMP stack on this server?
Thanks
You would need to install all of the components on one gear. If you install the database on a separate gear, without using a scaled application, then you would run into issues connecting to the database without using port forwarding between your gears.