Category: Personal Development

AzureEventsPersonal DevelopmentPostmortem

Postmortem for my Global Azure 2020 talk: Bringing serverless to the Enterprise

During my Global Azure Virtual 2020 live stream on Bringing serverless into the Enterprise, I had a few demo glitches. An inside joke for those that do presentations and demos is that the demo gods are either with you or against you. Some might say I didn’t offer up a satisfying sacrifice to the demo gods. I would argue and say I did but I feel it’s important to reflect and learn what went wrong and how I can be better prepared for the future by learning from our mistakes.

Prelude

So knowing that I presented on this topic for the Global Azure 2020 Virtual event and had some failed demos, I wanted to explain what happned and why and how to be better prepared for a future talk and hopefully it’s a lesson that you can learn from for your own talks, presentations or just development efforts.

Back in February 2020 I had submitted a few topics for the Global Azure 2020 event. At this point in time COVID-19 was going on but the world hadn’t shut down like it is today and the Global Azure 2020 event was still going to happen. In March I was notified that my topic was selected and I had about 6 weeks to prepare. Fast forward to mid March and everything was starting to be cancelled or made virtual. In the case of our local Global Azure 2020 event it was cancelled, so I didn’t work on my presentation. I was invited to participate in another Global Azure 2020 Virtual Community event in UK and Ireland so I focused on that content.

About 2 weeks prior to the Global Azure 2020 event, I was notified we would be making our local event virtual and I had to confirm if I still wanted to participate. At this point I was not prepared and my wife ended up signing up for a course over the weekend prior to the event – which left me with 3 kids (10 months, 4 yrs and 7 yrs) to manage for 10 hours each day over a 3 day weekend. My initial thought was to excuse myself from the event, but I really wanted to participate and with COVID-19 and everything halted, I found it was important to maintain that community connection even if it was a virtual event.

So this took me back to my college days of doing school, working and squeezing in a project over a tight deadline – not fun but with coffee as my partner, I got the kids to bed and started putting in a couple late nights to get it all done…or so I thought.

With my talk this year being on bringing serverless into the Enterprise, I focused on Azure Functions and my demos were on the following topics to illustrate common enterprise use cases:

  • Using PowerShell in a Azure Function for automation tasks
  • Deploy code to Azure using GitHub Actions
  • Avoiding cold start and latency with Premium Functions
  • Monitoring logs for your Functions

My PowerShell Azure Function Failure

My first failed demo was something I knew was being problematic going into the talk but I felt it was important to still talk about and I had screenshots of a working state from previous attempts so felt good to proceed. The demo was creating an Azure Function with PowerShell. The issue was that no matter what PowerShell command I tried to run, I kept getting errors that it could not be run successful as shown below and no matter what I did I kept getting an error that the subscription could not be set.

Because you never know if something will go off the edge during a demo, you should always be prepared to go ‘offline’. By that I mean show screenshots of what you were trying to do and the expected outcome. You could even go so far as recording your demo and then switching to that during your talk. I’ve never done this but I’ve heard some people have and it worked perfectly. The audience had no idea the demo was broken and they were able to convey their message.

That might be a bit extreme, but I usually do take some screenshots of the Azure portal as part of my notes I use to prepare the presentation, so I know I can always fall back to that if necessary and in this case that is what I did. It’s unfortunate I could not show the feature working as I intended, but I let the audience know and continue to roll along.

My Premium Function Failure

This was my favorite demo I prepared for the talk and it involved creating an Azure Function and hosting it on the Premium plan and then comparing that to the Consumption plan to show scale, latency and that there is no more cold start in Azure Functions with the Premium plan.

When I prepared this demo it was before I worked on the GitHub Actions demo – which would have come prior to this in my presentation. The order of the demos plays an important role in why this failed so I’ll come back to this later.

In order to show the cold start and latency issues with the Azure Functions Consumption plan and how the Premium plan avoids this I was using a load testing site called Loader.io. This tool required that the host URL be verified with a special token that had to be returned from the site. In order to map my Azure Function result to the expected URL that loader.io wanted I needed to configure and Azure Function Proxy.

I needed the following function URL http://ga2020-consumption-scale.azurewebsites.net/api/loaderio to return the verification token as if it was being called from this URL http://ga2020-consumption-scale.azurewebsites.net/loaderio-0cbce440ef982c13caba4130d3758183/.

When I was setting up the demo I first setup the proxy in the portal, and then I moved it so a proxies.json file in the Visual Studio solution as shown here

When I was testing this demo I was able to verify the token and use loader.io to load test my consumption and premium functions without issue. After getting this demo done I moved on to the GitHub Action demo and took a copy of the code and used that for the CI/CD to push it up into Azure and that demo worked without issue. When I tested the automated deployment, I just tested the function and not the load testing.

You may have an idea of what caused the failed demo, but if not it’s related to the proxies.json file. When I copied the file into my solution I forgot to go to the properties and mark it as content to be deployed. So in the GitHub Actions demo that took place prior to the load testing demo, it would have deployed a fresh copy and removed the Proxy I had originally setup in the portal. This meant that if I needed to validate the token from loader.io, I wouldn’t be able to and thus I saw the following error in my demo and was a bit surprised.

I didn’t have or want to take the time to live debug to find out what was wrong as I feared I would go down a rabbit hole and totally derail my talk. So I moved on and explained as best as I could what would have happened…again I have screenshots but it wasn’t as cool as showing it live.

Testing, rehearse and what went wrong

When I look back at that presentation, I had under 2 weeks to prepare and I was still working on the talk the morning of to finish up a few areas. I would not have left things to the last minute as I did but things were very fluid in Feb/Mar with COVID-19 and I wanted to put my best effort in for the community and felt I could still manage it but under not so ideal circumstances.

I worked on each demo individually as they weren’t really related except for the GitHub Action demo. I should have done that first because I would have caught the token verification issue right away due to the missing proxy.

Speaking of token verification, it would seem its valid for 24 hours and as I got close to the talk I didn’t want to warm up my functions as I wanted them in a cold state. So not testing them right before my talk I missed out on seeing that the token just expired, which would have shown me that the proxy was missing.

Due to the time crunch when I rehearsed I didn’t do my demos inline with the presentation, I did them separately. Again had I done the demos with the presentation I would have potentially caught the expired token and missing proxy. It’s important to do an end to end test and walk through of the presentation material regardless how comfortable you feel you are.

In retrospect I should have gone back and tried to troubleshoot this issue at the end of my talk. As soon as I looked at the function I noticed the proxy was missing and I was able to add it quickly which would have looked like this…

This would have only taken me 5 minutes to troubleshoot and fix which would have allowed me to show the real demo. All in all the talk went well and I got some really good feedback. No one complained about the broken demos and I mentioned that I would follow up with the blog post to show what was wrong and how I fixed it. I was a bit disappointed that I couldn’t show this demo live as its pretty awesome to see, so look for a future blog post where I’ll setup a Premium function and throw some load at it – maybe I’ll even record it and post to YouTube.

I hope you enjoyed this post and found something useful. I find it’s important to acknowledge when we do run into issues and how we solve them.

Enjoy!

References

Global Azure Virtual 2020 live stream on Bringing serverless into the Enterprise

Personal Development

How to increase your salary as a software developer

link.medium.com/218kKMiSt1

MVPPersonal Development

Callon Campbell Awarded 2019-2020 Microsoft MVP in Azure

This week I received notification from Microsoft that I was re-awarded for a second year now the 2019-2020 Microsoft Most Valuable Professional (MVP) award in Azure.

Since becoming a Microsoft MVP, I’ve learned a lot about the community and continued to share my passion, knowledge and experience within the community around Architecture and Development in Azure, DevOps and Serverless technologies. I also keep a keen eye on what’s happening on the data technologies like Cosmos DB and Azure SQL.

Receiving the Microsoft MVP award is a humbling and exciting experience and it means you’re a member of this “elite” group of roughly 3000 Microsoft MVPs from around the world.

Earlier this year I attended my first MVP Global Summit and it was an amazing experience. I got to meet so many people in person that I only knew from online experiences. I also got to meet and interact with the various product teams and provide valuable feedback, and see what’s coming on the roadmap. I’m looking forward to attending next years MVP Global Summit and connecting with fellow MVPs.

If you’re interested in learning about the Microsoft MVP program and seeing what it takes to become a Microsoft MVP, or how to get awarded, I encourage you to take a look at the Microsoft MVP website and also the following article on “How to become a Microsoft MVP” where they explain some of the details of the program.

To wrap up this post I would like to congratulate all the other newly awarded, or renewed Microsoft MVP’s all over the world! You truly are an amazing community and I’m truly humbled to be part of this community.

Enjoy!

References

Microsoft MVP Award

How to become a Microsoft MVP

Callon Campbell MVP Profile

Personal DevelopmentPresentations

What I wished someone told me about speaking at tech conferences

Came across a great article about speaking at tech conferences. Check it out, it’s worth the read and who knows you might find yourself presenting.

You might be familiar with the following scenario.

You’ve been a developer for a while and you’ve learned quite a lot along the way. Travelled to a couple of tech conferences, saw a number of tech talks and one day you think – “I can probably do that”. This is what I personally thought at the beginning of 2017.

The good news is that this is true – you CAN do that.

The bad news: it’s not easy.

Follow the link for the rest of the article. dev.to/tlakomy/what-i-wished-someone-told-me-about-speaking-at-tech-conferences-3opp

Enjoy!

Personal Development

2018 Year in Review

AnnualReport_thumb2

Happy New Year everyone! To kick off the new year I’d like share with you what happened in 2018, what it meant to me, and where I plan on going in 2019.

I started 2018 off on the home stretch towards my first Microsoft MVP Award for the Azure award category. I was getting close and my mentor Sim said I needed to get out into the community and do more speaking engagements in. In 2017 I started to speak at local user groups when I started on my Microsoft MVP journey. So in 2018 I needed to go all in with lining up more speaking engagements, and in total for the year I managed to do 13 technical talks that covered all things Azure, Azure DevOps, Serverless, Azure Functions, Logic Apps, Event Grid messaging and finally a little AI with Microsoft Cognitive Services. I also participated at not one but two Global Azure Bootcamps (Mississauga and Kitchener/Waterloo). I won’t lie, it was tiring sometimes and in one month I squeezed in 3 talks. However it was a lot of fun to work on this part of my professional development, and I made a lot of new friends and expanded my professional network and I learned a lot!

I also got to attend my first Microsoft Build conference. This was a conference I’ve always watched from my desk at work and/or in the evenings at home to catch up on the recorded sessions, and I’ve always wanted to go their in person and take in the experience first hand. Sure you can watch it for free from home or at work, but its the experience and the people you get to meet in person that make all the difference. This year work decided to send me to Build and it was a dream come true. I travelled to Seattle with my son and met up with my Dad. While I was at the Build conference, my dad and son got to spend some quality time together and the three of us got to have fun in the evenings. After taking in the keynotes I went directly to the technology hall and engaged with the product teams to soak in as much as I could. I got to talk to my “super heroes”…the people I’ve always looked up to and admired for their passion in technology, who work at Microsoft and love what they do, and are just cool and down to earth.

Crunching the Numbers

I published 69 posts and have at least 11 drafts that never made it out.

I had 34,232 views by 26,430 visitors.

My most popular day for views was Wednesday and the most popular time was at 1:00 pm.

My top post was “How to Enable Dark Theme for SQL Server Management Studio”.

My top referrers were through Google search, Twitter and Medium.

My visitors came from all parts of the world. The top 10 in order were the United Stated, United Kingdom, India, Canada, Australia, Germany, Brazil, Netherlands, France, and Poland.

My Twitter followers grew from 221 to 680.

I also setup another blog on Medium where I re-blog my posts to expand my reach. What’s interesting is that Medium is a great place to write articles, and they bring in a lot of traffic. So my tip to anyone setting up a blog in 2019…take a look at Medium. You may still want to go and create your own website or host your blog on WordPress.com, but I would seriously consider incorporating Medium into your portfolio of services to use.

Top Moments of 2018

2018 was an awesome year for me and if I had to pick my top 3 moments for they year they would be…

  1. Attending Microsoft Build conference and meeting people like Scott Hanselman.
  2. Being awarded my first Microsoft MVP award in Azure and meeting other MVP’s.
  3. This one is not technology related, but it was special for me. I purchased my first Harley-Davison, a 2018 Fat Boy 115th Anniversary Edition, Milwaukee-Eight 114 engine and I rode it almost every day from April to October – except for the rain days. What a beauty and I can’t wait to ride it in 2019!
     

What’s to come in 2019

I see 2019 as a year of exciting opportunities and challenges. I will be looking to take some Azure certifications and expanding my knowledge deeper into Azure. I will continue to speak at user groups and at least two conferences…the first is the Microsoft Ignite Tour in Toronto (Jan 10-11), and the the next will be at the Global Azure Bootcamp (Mississauga) in April. There is also a Global DevOps Bootcamp later in the year I will checkout and considering speaking at.

I’m also planning on attending the Microsoft MVP Summit in March, and somewhere between January 1 and March 31, I’ll be looking to do some more presentations around Azure and Azure DevOps towards my Microsoft MVP renewal that happens July 1.

Although I would love to attend the Microsoft Build conference this year if work would send me, I have other activities at that time so I will have to settle for watching it remotely. I will definitely look at going back sometime in the future, possible in 2020? Only time will tell.

Happy New Year, and may you all have a fantastic year!