close

Uncategorized

Uncategorized

When Searching Amazon Athena for Service events

Here is a quick query when you are looking for events in CloudTrail. First, export to Athena.
Then create a query that references the table: Now you are ready for some SQL

In the example below I am getting entries from “TableName” and the service is Amazon WorkSpaces. That has a source of workspaces.amazonaws.com

SELECT 
    eventsource,
    eventname
FROM TableName
WHERE eventsource = 'workspaces.amazonaws.com' 
ORDER by eventtime
LIMIT 100;
read more
Uncategorized

How to find instances available in the AWS LAX Local Zone

I recently needed to create a custom xml file to configure the instance types available in the LAX local zone for a Citrix Virtual Apps Deployment. In AWS parlance, you are looking to “Find an Instance type using the AWS CLI” This is what the command looks like for the LAX 1a local zone:

aws ec2 describe-instance-type-offerings --location-type "availability-zone" --filters Name=location,Values=us-west-2-lax-1a --region us-west-2

If you are looking in LAX 1b:

aws ec2 describe-instance-type-offerings --location-type "availability-zone" --filters Name=location,Values=us-west-2-lax-1b --region us-west-2

Example output from the LAX 1a local zone
read more
Uncategorized

Chromebook Shortcut to Display Settings

Do you ever move your Chromebook place to place with a variety of display / monitor arrangements? I do. So I wanted a shortcut to the Display settings.

chrome://os-settings/display?search=display

This probably won’t work in your browser as a link from this page. Just copy this link and paste it into your browser or create a bookmarks bar shortcut.

I leave the Name blank so there will be just a gear icon with no text in the bookmarks bar.

You can also use:

chrome://os-settings/display

Whatever is faster or easier for you.

read more
Uncategorized

Bash Shell Keyboard Shortcuts

The keyxl page keeps dropping for me so I am cross posting this handy list here: http://www.keyxl.com/aaaf192/83/Linux-Bash-Shell-keyboard-shortcuts.htm

Bash Shell Keyboard Shortcuts

Ctrl + AGo to the beginning of the line you are currently typing on
Ctrl + EGo to the end of the line you are currently typing on
Ctrl + LClears the Screen, similar to the clear command
Ctrl + UClears the line before the cursor position. If you are at the end of the line, clears the entire line.
Ctrl + HSame as backspace
Ctrl + RLet’s you search through previously used commands
Ctrl + CKill whatever you are running
Ctrl + DExit the current shell
Ctrl + ZPuts whatever you are running into a suspended background process. fg restores it.
Ctrl + WDelete the word before the cursor
Ctrl + KClear the line after the cursor
Ctrl + TSwap the last two characters before the cursor
Esc + TSwap the last two words before the cursor
Alt + FMove cursor forward one word on the current line
Alt + BMove cursor backward one word on the current line
TabAuto-complete files and folder names
read more
Uncategorized

On a quest: Learn GKE security and monitoring best practices

Whether you’re running Kubernetes yourself, using our Google Kubernetes Engine (GKE)managed service, or using Anthos, you need visibility into your environment, and you need to know how to secure it. To help you on your way, there are two new educational resources to teach you application observability and security best practices for using Kubernetes at scale.

https://cloud.google.com/blog/topics/training-certifications/on-a-quest-learn-gke-security-and-monitoring-best-practices


read more
1 2 3
Page 2 of 3