Skip to main content
42 votes

Is there a way to speed up AWS CodeDeploy

BlockTraffic and AllowTraffic Simply adjusting your target group's health check settings can shave off a couple minutes. Before After Explanation This works because BlockTraffic and AllowTraffic ...
Peter Tao's user avatar
  • 521
16 votes

Could not connect to remote computer web deploy ERROR_DESTINATION_NOT_REACHABLE

A comment on this answer at stackoverflow got me on the right track with this same error message if anyone else comes across this and the other answers don't help: https://stackoverflow.com/a/13871041/...
patrickbadley's user avatar
11 votes

Get list of transferred files from rsync?

Use the --out-format option According to the man page: Specifying the --out-format option will mention each file, dir, etc. that gets updated in a significant way (a transferred file, a ...
flu's user avatar
  • 211
11 votes

Blue/Green deployments with CloudFront

A bit late in the game here, but for anyone else looking for this. I believe this can be done using lambda@edge. Similar to A/B tests. https://docs.aws.amazon.com/lambda/latest/dg/lambda-edge.html. ...
Gary H's user avatar
  • 111
11 votes
Accepted

Automated graceful reload of gunicorn in production

Add the following to the systemd service file for gunicorn, or add it as an override: ExecReload=/bin/kill -HUP $MAINPID You can then reload with systemctl reload gunicorn.
jordanm's user avatar
  • 899
11 votes

What does regsvr32 do?

RegSvr32 calls an exported method DllRegisterServer in the DLL. What specifically happens next is up to the implementation. Often registry keys for COM are written based on the file location. The ...
Matthew Wetmore's user avatar
10 votes
Accepted

Can AWS CodeDeploy execute powershell scripts?

YES! Although I haven't been able to find a definitive list of the acceptable script types, it looks like the answer is Yes - Powershell .ps1 scripts are acceptable and will be executed if included ...
Luke's user avatar
  • 549
10 votes

Kubernetes, Docker and vm.max_map_count

The setting for vm.max_map_count can be changed on the host level. Your can read the current value like this: sysctl vm.max_map_count. To change it run: sudo sysctl -w vm.max_map_count=262144. This ...
webwurst's user avatar
  • 412
8 votes

Is there a way to speed up AWS CodeDeploy

Another setting to check is the Target Group's "Deregistration delay". My health check settings were already low and this was the bottleneck in my case.
Aaron's user avatar
  • 181
7 votes

Why don't I have Deploy actions available in IIS 7 Manager?

i have windows 10. Even with Web Deploy 3.6, i didn't have the import/export application options in iis. To correct this, I installed web deployment tool 2.1 from the web platform installer.
Eric Smith's user avatar
6 votes
Accepted

Web application deployment : one version for all clients or each his own

It depends on the approach. It is much easier to maintain thousands servers which are the same with todays technologies (tools for job automation such us docker, puppet, chef, ansible, etc - hundreds ...
Yarik Dot's user avatar
  • 1,583
6 votes

Automated software testing on real hardware

You can absolutely use a set of VMs based on some “golden image” + differentials, and you can discard these over the time increments when / if needed. This is PowerShell scriptable (turn VM off, ...
RiGiD5's user avatar
  • 1,328
6 votes
Accepted

Can I upgrade a managed disk used by an Azure VM without having to redeploy the VM?

Eureka! I managed to upgrade my managed data disk without having to redeploy the VM! According to the Azure web portal, "Disks can be resized or account type changed only when they are unattached or ...
ShieldOfSalvation's user avatar
5 votes

Could not connect to remote computer web deploy ERROR_DESTINATION_NOT_REACHABLE

I've just had similar problem. It was due to messing with SSL certificates. During the installation of WebDeploy you normally install Management Service which creates self-signed certificate named: ...
Artur Kedzior's user avatar
5 votes
Accepted

Package and Deploy Linux Binary

This is what the ldd program does. Given the path to an executable and no other options, it will list the shared libraries the program needs, and the current paths of those shared libraries on the ...
Michael Hampton's user avatar
5 votes
Accepted

What does regsvr32 do?

In addition to @Matthew Wetmore's correct answer, the usual thing that happens, is that it registers all COM components in that dll. Specifically it creates two keys (+subkeys) in the Windows ...
Peter Hahndorf's user avatar
5 votes

Bulk install new certificates on multiple Windows Server 2016+ endpoints

PowerShell is your friend. https://docs.microsoft.com/en-us/powershell/module/pki/import-pfxcertificate https://docs.microsoft.com/en-us/powershell/module/iisadministration/remove-iissitebinding https:...
Massimo's user avatar
  • 71.5k
4 votes

Could not connect to remote computer web deploy ERROR_DESTINATION_NOT_REACHABLE

I had the same problem (404). Fixed it by: Uninstalled Web Deploy 3.6 from Programs & Features Downloaded x64 package from https://www.iis.net/downloads/microsoft/web-deploy#additionalDownloads ...
Aidan's user avatar
  • 141
4 votes
Accepted

Appengine stuck on "Updating service [default]..."

When you get this error, you can take a look at crash.log in the Cloud Console Logs Viewer (Logging -> Logs) for your specific service / version which will usually tell you exactly what happened. In ...
Adam's user avatar
  • 878
4 votes

What's the easiest or preferred way to deploy in Wildfly with zero downtime?

I do not think it is possible to go completely zero-downtime with single server instance. What you are looking for is blue green deployment. Basically you need to have a web server in front of your ...
yntelectual's user avatar
4 votes
Accepted

How do I stop Windows 10 Install from modifying BIOS boot settings?

Learned the following: On Linux, this would be fairly straightforward, via efibootmgr EasyUEFI would let me do what I want too - command line support requires a fairly cheap license; but I don't feel ...
aggieNick02's user avatar
4 votes

Automated graceful reload of gunicorn in production

More detailed explanation for editing your gunicorn service file (based on the answer of @jordanm): Edit your service file /etc/systemd/system/my_task.service or a similar path [Unit] Description=My ...
Benjamin Crouzier's user avatar
4 votes

How can I deploy a large application to Lambda using Serverless, bypassing or not reacking CloudFormation resource limit

The 200 number is a hard limit. You will not be able to deploy this application, as is, through serverless. However, if you're willing to break things up, you can get around it. CloudFormation has ...
sysadmin1138's user avatar
  • 134k
4 votes

Kubernetes: detect and auto-update deployment on image update

For anyone stumbling on this from google, have a look at https://keel.sh/. It does exactly what OP asked for.
Gab's user avatar
  • 183
4 votes
Accepted

AWS CodeDeploy: Script at specified location: ... "failed to complete in 5 seconds"

You can specify a timeout for each stage, see CodeDeploy — Structure of 'hooks' Section. For example to set it to 120 seconds: hooks: BeforeInstall: - location: /script/location/xyz.sh ...
MLu's user avatar
  • 25.6k
4 votes

How to copy ownership and permissions using rsync but not the files?

AFAIK there are no rsync flags to only sync ownership and permissions but both the chmod and chown commands support a --reference flag. You can point to an existing file and chmod will use the ...
HBruijn's user avatar
  • 80.8k
4 votes

What Are the Hardware Requirements of Kubernetes Master Node

Well, your question is very general. All depends on many factors, resources you want to use, how nodes will be used, for what purposes, if there will be HorizontalPodAutoscaler/ClusterAutoscaler, what ...
PjoterS's user avatar
  • 755
4 votes

Best practice on deploying MSIs via group policies: from dedicated share or from the AD itself?

Generally, SYSVOL should be avoided as a file share for deployments. The share is required for AD to function, and combining it with other uses can lead to situations where there is an outage. ...
Greg Askew's user avatar
  • 37.1k
4 votes

If Robocopy is run from a different server, does it copy the files across the network if the source and destination are the same server?

Modern SMB 2+ client/server implementations supports server side copies and robocopy supports this feature. I just tried copying a big file from ServerA/folder to ServerA/folder2 (a Win2016 server) ...
shodanshok's user avatar
3 votes

ansible print debug msg variable

I have displayed variable and message in the same debug play. Ansible Task - name: Report the /boot/initramfs file status for latest installed kernel debug: msg: "{{ ansible_hostname }} = {...
namasivayam.cse's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible