AWS CLI to show AWS S3 Bucket Size
From the AWS CLI you can easily see how big a AWS S3 Bucket, firstly login to the AWS CLI and then you can run the command:
The ramblings of a computer geek
From the AWS CLI you can easily see how big a AWS S3 Bucket, firstly login to the AWS CLI and then you can run the command:
Just like the testing of SMTP using Telnet, you can also perform the same steps if the target server is using TLS, however because telnet won’t do the job here, you can use OpenSSL instead. Here’s a simple example. Firstly get your Username and Password in Base64 format. You’ll get the Base64 encoded strings outputted … Read more
Splunk is a great tool for visualising alerts and events, I’ve been creating a dashboard to aggregate all the failed logon attempts from management interfaces of our network switches, firewalls, storage etc. so that if someone tries to brute force password attempt the interfaces we have some visibility. Obviously the queries you need to use … Read more
If you’re like me you probably have some home projects or CPD (Continuing Professional Development) on the go. Microsoft VSCode has the concept of Workspaces, so in my case I have a workspace for Personal projects and a workspace for Work projects. But it would be nice to be able to just start Microsoft VSCode … Read more
Postman is a great tool for testing and using APIs, in this article, I’ll show how you can use a Global Variable within Postman to store a value for reuse in other requests. I’m using an HPE Nimble Storage (Alletra Storage) array as a example for illustrating this. The API requires that you login using … Read more
Sometimes it can be useful to generate some files, so you can watch activity, I created this script for this use-case when performing storage updates, I can run this to generate some activity which is made visible to the screen so you can see if and when either expected or unexpected pauses take place. Its … Read more
While using Perl Mail::Mailer to send from an on-site application to our Microsoft 365 tenancy via SMTP, we had an oddity. We’d already setup the Microsoft 365 tenancy to have a receive connector which was autheniticating via the source address, i.e. our on-premise IP range. When testing via a test Perl script which was the … Read more
Let’s say you have a running Docker Container and you need to copy a file from it down to the host, you might need to do this while building a Docker image perhaps to see what a file that has been autogenerated looks like for example. You can do this by running the following from … Read more
BASH Prompt via SSM by Default To set the BASH as the default prompt when using SSM, within the AWS Console browse to: Then add the following: Then attempt to login via SSM, you should now find you are getting the BASH prompt. Fancy Colours Edit the .bashrc file within the user home directory and set as … Read more
Sometimes SMTP servers what a particular EHLO/HELO argument for connecting clients, you can make Thunderbird do this by setting a new setting Settings->Config Editor, then add the following setting: mail.smtpserver.smtp1.hello_argument Specifying what you want Thunderbird to announce itself as.