If you need to copy and paste your public key into dozens of different VM's in Azure or AWS this can be handy. It copies your public ssh key to the clip board and displays it on screen # put this into ~/.bash_profile alias getkey="cat ~/.ssh/id_rsa.pub | tee...
IT Tips
pgAdmin / pgcli could not send data to server: Socket is not connected
My setup is My home network is IPv6 enabled. I have an AAAA record specifying the IPv6 address of the Amazon EC2 instances Elastic IP <IPv6 enabled home network> | <internet> | <Dockerized Postgres on EC2 Instance> Getting this error...
Picking the right Azure Solution
Good video on how to choose services. Nice how he delimits the OLTP and OLAP offerings.
GRS and RA-GRS
In short RA-GRS is available to you without M$'s help. GRS needs a failover triggered by M$ https://docs.microsoft.com/en-us/azure/storage/common/storage-redundancy-grs GRS replicates your data to another data center in a secondary region, but that data is available...
Remove all your resource groups and hence their contents in Azure
You can do this two ways either with one line of power shell code or more safely by wrapping it in a script that first checks which subscription you are logged into and then ask you nicely if you really want to delete all the resource groups in your Subscription. How...
NTTTCP Windows – Linux both directions
https://docs.microsoft.com/en-us/azure/virtual-network/create-vm-accelerated-networking-powershell#supported-vm-instances Send Receive Windows Linux ntttcp -s -m 4,*,192.168.1.5 -ns ntttcp -r -m 4,*,192.168.1.5 -N Linux Windows ntttcp -s -m 4,*,192.168.1.4 -N ntttcp...
Evidence that Managed Disks support LRS but not ZRS and GRS Replication
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/managed-disks-overview#highly-durable-and-available Highly durable and available Managed disks are designed for 99.999% availability. Managed disks achieve this by providing you with three replicas of...
NTttcp – Test Network Performance
When I was working at Rio Tinto in the New South Wales Hunter Valley. I used NTttcp to test network switch throughput on some Cisco Switches. (From memory they had lost some ports due to a lightning strike) I had forgotten about it for years but was reminded of it...
Azure VM Types Pneumonic
Whatever helps the memory Nice overview of VM Types or Series https://azure.microsoft.com/en-au/pricing/details/virtual-machines/series/ Type Pneumonic Description A - Basic As Dev / Test usage A - Standard Adam General Purpose B - Burstable became Run on CPU credits...
Setting AZCOPY_CONCURRENCY_VALUE on Storage Explorer MacOS Client
The problem this is solving is failed azcopy uploads on slow internet connections. Firstly locate the AzCopyClient.js file and open it in editor vim "/Applications/Microsoft Azure Storage...
