Skip to main content

Weekend Play with Amazon Web Services, or, AWS Zero to 60 in 2 Days!

Well, this weekend was an interesting exercise. I got contacted Friday morning by a former employer who had kind of a one-off project they needed help with, perferably over the weekend.

The task was to build a fully-functional lab in AWS that would use a variety of services including their new AI services Translate and Polly.

How new are they? I don’t know, it’s not like I really keep up with this stuff, but I know no one had services backed by neural networks a few years ago. This is machine learning technology, “AI” for the layman. And because this is 2021 and Amazon, they make using it as simple as seemingly possible. Just a black box of magic. With an orange smiley thing on the front.

So like I said, I haven’t done much with AWS in several years, and the extent of my experience with it was setting up an EC2 instance and installing some open-source software.

But I feel more comfortable with it all now. The final solution, which I finished up at 6pm Sunday evening, wound up using Lambda, DynamoDB, Simple Notification Service (SNS), the Amazon Simple Email Service (SES), IAM (obviously, because everything has to be governed by permissions, policies, and roles), and S3. It took a bit for it all to click, how to glue it all together and make the disparate pieces work, but when I started getting it, it got pretty fun.

I’ll admit it took a few hours to get comfortable working in Python again, as well. I haven’t done much scripting or programming in the last few years. But it sure is a fun language to work with.

Now, the whole experience did wear me out. 

I stayed up too late Friday trying to Google for tutorials and things and basically flailing about a bit. 

Saturday I knuckled down and started getting some things working. It was enough to convince me not to throw in the towel. A couple hours out in the sun at my daughter’s soccer game was also a nice break in the middle of the afternoon, but I will say the sun + socials + stress of pushing for a deadline on a solution I was learning as I went kind of put me over the edge a bit. So I stayed up a little later than I should that night as well (wanting to “relax”, right?), and woke up Sunday morning with a bit of a headache and still half a solution to research and build.

So Sunday I was working through a growing tension headache, but started really seeing it come together. Sunday afternoon of course I had an epiphany that led me to rewrite the entire first half that I’d developed on Saturday, which was 10 times easier and more of a real-world solution than what we started with. By Sunday evening I was ready to present it and hand it off, but by the time I got off that call, I was nauseous and the headache was pounding. I started worrying I was getting sick or something.

My wife, a doTERRA essential oils lady for several years now, gave me a Symphony of Cells – this is a series of oil applications done on the back and feet where you pick a different recipe (set of oils) based on what you’re targeting. All I know is I went to sleep very quickly and had the deepest, best sleep of my life.

I woke up this morning feeling like a new man, got breakfast together and the kids off to school.

So the weekend was busy, but extremely satisfying to someone like me who has high adaptibility, learner, and input.

How did you spend your weekend? 

Comments

Popular posts from this blog

Tax Day | Merry-go-round

Tax day. In the old world. For the second year of COVID running, the governments of America have moved the tax deadline back. All of which meant I got to spend yesterday working on a toilet/drain repair instead of doing my taxes. You decide if that was better or worse. You might think I’m lazy for waiting ‘til the last minute to get my taxes filed. Call me a procrastinator. I’m just a guy that needs pressure to get things done, most of the time. Working slowly and steadily toward a deadline that lives somewhere far out in the future is harder for me. I don’t have a good sense of time. Now don’t think I’m ignorant of time management techniques, though. I know how to break a task down into smaller parts, plot mini-milestones against a calendar, and deliver those results. I’ve done it. I can do it. But for some stuff? Stuff like taxes? Where I know I just have to sit down for 2-4 hours and hammer it all out? AND I have to wait until all of my paperwork has arrived, which never gets her...

Cleaning Ditches (yes, it's just like it sounds)

The ditches need cleaning. Most of them. March is running out. Warm, dry days like these are hard to come by in the early spring of Southern Colorado. Some folks think we should swap out our open ditches for enclosed 10-inch piping. With clean-out valves. If you saw how much the sediment builds up year by year, though, you'd understand why we think that sounds like a terrible idea. Maybe the smooth inside surface of the pipe would let the silt just sweep along. Maybe it'd only build up at joints and junctions. Maybe the pipes wouldn't slowly sink into the ground and disappear. Maybe they'd last just long enough to be someone else's problem. Unless we spend the next 50 years here.  We're pretty slow to move, so it could happen. Of course, if we're digging the ditches out freshly every year, hah, we won't last 50 years. Picture me, 89 years old, shovel in hand and wheelbarrow by my side.  And 50 years of sediment from the ditches deposited upon the back pr...

Apex Legends and Mastery, a la George Leonard

"The Game" I play a video game called Apex Legends. It’s an online battle royale, like Fortnite’s older brother. You get put into a squad of 2 or 3 players, depending on which game mode you chose to play, each of you chooses your character (they have slightly different abilities), and then a dropship launches you into a battleground where you compete against 19 other squads (in Trios; 29 other squads in Duos). A ring of death slowly tightens a noose on the battleground, forcing squads to move closer together and fight until only one squad remains and is declared the Champion. I started playing Apex last year, February of 2020. My son had been playing it for a while. I’d given him a pretty hard time about this game where 90% of the gameplay appeared to be running around in a frantic state trying to accumulate your ideal combination of weapons, body armor, grendades, weapon attachments , and so on. The other 10% of the game, obviously, was the fighting. For the good players, wh...