Attach NSG to Existing Subnet Using ARM Template

I’m looking to create a Network Security Group (NSG) in Azure and attach it to an existing subnet using an ARM Template. I’ve already come across this site: https://github.com/Azure/azure-quickstart-templates/tree/master/201-nsg-add-to-existing-subnet but the template references additional files on GitHub which my client won’t allow. Ideally i’d like to avoid nested ARM Templates if possible and just use…

AWS Elastic BeanStalk Error writing to |/usr/sbin/rotatelogs

I have an AWS beanstalk app that after a reboot runs pretty smoothly for few hours, then all of the sudden the latency starts creeping up. When I check the logs, I find a lot of these messages [log_config:warn] [pid 15905] (32)Broken pipe: [client 172.31.5.163:31780] AH00646: Error writing to |/usr/sbin/rotatelogs /var/log/httpd/healthd/application.log.%Y-%m-%d-%H 3600 I also read…

How to update existing manage packer image in Azure?

I have created a ubuntu image by following code { “builders”: [{ “type”: “azure-arm”, “subscription_id”: “XXXXXX”,XXXXXXXX “client_id”: “XXXXXXX”, “client_secret”: “06XXXXXXX”, “tenant_id”: “41X”,XXXXXX “managed_image_resource_group_name”: “myResourceGroup”, “managed_image_name”: “myubuntuPackerImage1234”, “os_type”: “Linux”, “image_publisher”: “Canonical”, “image_offer”: “UbuntuServer”, “image_sku”: “16.04-LTS”, “location”: “East US”, “vm_size”: “Standard_DS2_v2” }], “provisioners”: [{ “execute_command”: “chmod +x ; sudo -E sh ””, “inline”: [ “apt-get update”, “apt-get…

How do I use Get-MessageTrackingLog w/o expanding the distribution groups?

When executing: Get-MessageTrackingLog -sender -Start | Select TimeStamp,EventID,Source,Sender,@{l=’Recipients’;Expression={ [string]::join(“;”,($_.Recipients))}},MessageSubject | Export-csv the output expands the alleged DG(s) into a long list of recipients. Why? I want to see the DG(s) rather than the recipients. Note: I say ‘alleged’, because I do not know for certain whether a DG was used or not, however common sense…

Is there an alternative to AWS’ lifecycle hooks in Google Cloud?

On AWS lifecycle hooks are utilized so the load balancer can query specific details about applications running on instances to, for example, avoid shutting down an instance that has very low CPU but is still running some lightweight service. Is there a similar functionality available in Google Cloud? I haven’t located anything in the documentation.