« Back to home

Exploring VPC Networking in AWS

This is a tutorial for a class I’m teaching right now.

Amazon’s documentation of Virtual Private Clouds (VPC) is excellent. It is in-depth, and covers many use cases. It’s too complicated for the class I’m teaching though.

This tutorial will cover the topic of creating Internet-accessible and non-Internet-accessible EC2 instances within the same VPC, by hand within the AWS Console. At the end we’ll have one Internet-accessible Linux box which will be able to talk to a second, non-Internet-accessible Linux box. The instances will be accessible on ports 22 and 4000 from anywhere.

Read more »

AWS Lambda Function URL Hello World

The ability to create a URL to AWS Lambda functions has existed for a long time - but has never been as easy as it is today. In April AWS announced Lambda Function URLs, and now adding a world-usable non-authenticated URL can happen in the Lambda function creation wizard.

With great power comes great foot-gun though… When the whole world can easily access your Lambda function URL, without authenticating, the whole world can run up your AWS bill easily.

Delete your Lambda function when you’re done with this tutorial

This blog post is a tutorial for creating a simple Hello World application using this new Lambda feature. I’m teaching some folks in my unit how to use AWS, and while there are many Lambda Hello World tutorials out there I didn’t find one that was quite right. This tutorial will go through almost the simplest setup possible, deploying Python code at a URL, then will iterate on the initial code to demonstrate some basic computation.

Read more »

Rust Number Conversion - Don't Follow the Book...

I’m at an intermediate level with the Rust programming language. I’ve done a year of adventofcode, a medium-sized API server project, and little more. While refactoring some code in my project recently I got rid of some of my explicit string conversions and let the type inference system and From/Into do their jobs. Now that I’m more comfortable with reading code using From/Into patterns I think it’s actually simpler - I can easily understand and trust what the type inference system does in those instances.…

Read more »

Stories

During this leadership development course one of the instructors quoted one of his previous mentors saying that leaders should have stories ready about: mission, discipline, loyalty, and safety This is in line with what one of my former mentors told me more briefly, “you need stories”. Ok - I thought, but stories about what? I have stories… I can tell a story… Typically I’m coming up with something appropriate on the spot.…

Read more »

Military Feedback

It will be a continuing struggle to stay on top of how the Air Force is changing in the feedback system, and the systems they add over the years. https://www.af.mil/News/Article-Display/Article/2490030/air-force-announces-airmen-leadership-qualities/ Here’s a new one I need to stay on top of - a new additional feedback form. It looks fantastic - the “Airmen Leadership Qualities”. During the Leadership Development Course communication section, the Chief said: Great leaders help people understand their “now”, then help people understand the future…

Read more »

Dear White Colonel

This is an interesting article shared as part of this leadership class I’m in right now: Dear White Colonel … we must address our blind spots around race What I liked about this article is that by describing instances where the topic got steered wrong, and the author’s feedback about what got missed when that happened, the article provides a roadmap to steer conversations back in the right direction. I feel like these examples really resonate with me - as if I’ve been a part of conversations like this.…

Read more »

Applying Personality Quiz Results

I’m finding this course pretty interesting. They asked us to reflect on some of our results from a personality quiz - the one at 16personalities.com. I got an INFJ, but normally I’m INTJ and think I probably still am, really. How will we apply what we know about our personalities to our interactions with our teams? I’ll try to be more conscious about how I react to “perceiving” teammates. They may wait a while and not set a plan - that can be ok.…

Read more »

Managing Culture

This video discusses organizational culture - I don’t love it because it’s too cheesy-motivational to me. https://youtu.be/neDFJlUCXR8 One think I do like about the video is that it provides some solid ways to change organizational culture. By providing a solid definition (even if it’s not the one I’d choose), the video is able to specify how to move the needle against that decision: clarify embody celebrate Determine what behaviors will be rewarded or corrected in your organization, and clarify that to the entire team.…

Read more »

Commander's Attention

I’m sitting in the Leader Development Course from Air University - distance learning. One of the stories I heard this morning has the crux - the commander needs to walk a line between being too involved and not being involved. The story involved the former commander trying to show he cared by being there when new members arrived, by sitting with folks as they did work, and by visiting them when they were out in the field.…

Read more »