What do you think are common mistakes made when dealing with AWS regarding serverless technology? (That might be too broad)
Hey, great question! IMHO a common mistake is not adapting the proper mindset when trying to adapt to serverless technologies like AWS Lambda.
Yes, there are servers in serverless but you cannot just take your module which you ran 24/7 on a server somewhere (or on a laptop under your desk) and just plug it in Lambda.
A huge part of serverless is adapting an event-driven mindset. It’s no longer about running a machine, a script, a function all the time - it’s about reacting to events, running code only when it’s necessary and only when it’s necessary.
How do you assess what are the right tools you want to bring in for your application? Like how do you know what is too much or too little? Should you go all into one provider like AWS?
When figuring out what kind of tools I’d like to use, I try to assess what kind of problems do I have and which tools provide a solution for those kind of problems.
For instance - at work the problem we’re trying to solve is “how do we operate in a high scale environment while not burning money”, that’s where serverless comes in - we end up paying only for the compute time we consume and we’re able to run production-scale systems for hundreds of $ per month which is incredibly cheap.
Regarding going all-in when it comes to cloud provider - I’m not 100% sure, my experience with cloud is strictly AWS but from what I can understand going multi-cloud is really tricky and is not going to save you that much money. Even if you choose a cheaper database in Azure and cheaper solution for queues in AWS you end up paying the hidden cost of maintaining the connection between those resources.
Do you cover concepts around securing your application in your AWS CDK course?
Ha, this is going a bit too deep for this course, I wanted to give an approachable introduction to CDK! I’m already thinking about the next AWS course which is going to be based on CDK so I’m more than happy to expand on that!