AWS (Amazon Web Services) is massive. At the time I'm writing this, there are 175 different services on AWS! This surface area is bigger than most things you might try to learn as a developer. So where do you get started? How do you start chipping away at this complex elephant, but do it in a way that's practical?
I'm a few months in to my AWS journey and I wanted to share what concepts and resources I've found helpful so far. I resisted getting into AWS for a while because of its complexity. Any time I would log into AWS, my eyes would glaze over and my head would spin.
I realized, though, that ignoring AWS for much longer will be to my detriment. AWS is dominating the hundred billion dollar cloud infrastructure and computing market:
Because of this, AWS certifications are in very high demand. I decided a few months ago that it's time for me to step up and at least get the Cloud Practitioner certification, and probably others like the Solutions Architect Associate.
Big AWS Concepts for Developers
Let's lay down a couple of definitions to help you as you progress in your AWS education.
First, what are cloud computing and cloud infrastructure? In short, this means that instead of you having to physically set up servers and networks in your garage or at your company, you "rent" these from Amazon. Everything you might want to do to run a website — the hardware that runs the server, the database, the storage that holds the frontend and static files, and the domain name configuration — can be done using AWS's networking and computing resources.
Why does this matter? The main reason is scalability: the ability to grow based on demand. AWS alleviates both the cost and logistics of scaling a service or business. Imagine you're running an online store for dog toys on a single server in your garage (you probably bought it on eBay). Suddenly, Thoughts of Dog tweets about your store and your traffic spikes by twenty times as millions of people try to buy your bespoke artisan chew toys. What's going to happen? Most likely your server will crash due to that much demand. You're frantically searching eBay for another server and some networking equipment, but it will likely cost you a couple thousand bucks and several days to upgrade your server or add additional servers to your network. Ouch! (Incidentally, a show that demonstrates this dilemma perfectly is Halt and Catch Fire, which is about startups in the 80s.)
Services like AWS, Azure, and Google Cloud Platform came along and revolutionized the industry. Now instead of needing to buy a brand new server, you can click a button and immediately grow your infrastructure. Even better, you can automatically grow and shrink your infrastructure as demand for your site or service fluctuates. This helps keeps costs more predictable and spreads them out over time instead of all at once with big hardware purchases.
Key AWS Services for Developers
When approaching AWS as a developer, there are a few of the core services that you'll likely encounter right away, so here's a quick overview of those:
- Lambda: Serverless functions are kind of a gateway for developers into AWS and cloud infrastructure. In AWS, Lambda is the service that runs these functions. Serverless functions let you perform calculations or access databases without having a physical server.
- S3: S3 stands for Simple Storage Service. This is where you host static files such as HTML, images, or videos.
- Route 53: Route 53 is where you set up DNS for domain names. "Route" is a reference to US Route 66 and "53" is a reference to TCP or UDP port 53, where DNS server requests are addressed.
- EC2: Elastic Compute Cloud (EC2) is where you run servers. If you're looking to run an API or a traditional web app using something like Node or Nest, this is what you want. EC2 costs can add up quick, so be careful experimenting with these.
- RDS: RDS stands for Relational Database Service so this is where you'll set up databases such as MySQL, PostgreSQL, and Microsoft SQL Server.
- DynamoDB: DynamoDB is Amazon's No SQL solution similar to MongoDB.
- Amplify: Amplify is a platform for building full stack apps quickly. The Amplify Framework consists of 3 components including libraries, UI components, and a CLI toolchain, while the Amplify Console is a static web hosting service.
These are the core services I would focus on as a developer getting started with AWS. There are many, many more services relevant to developers, but getting a handle on the basics of these will get you quite a long way.
AWS Pitfalls for Developers
The two main pitfalls you might run into as you learn AWS (other than its sheer complexity) are billing and identity and access management (IAM).
AWS is not free to use, though there is a free tier and some services are free. Usually these costs are minor for short periods of time, but beware: if you run through a tutorial and then forget to clean up after yourself, you might face a big bill at the end of the month! Be sure to know what costs you're incurring as you do tutorials and try to shut down and delete anything you don't need when you're finished. AWS also lets you create billing alerts that will email you when you've hit a threshold. Here's a great egghead collection on AWS cost management that will help a lot.
The other really sticky area in AWS is security. Identity and Access Management (IAM) in AWS is extremely complex. There are many layers of permissions for each service, user, and group. Most tutorials will help you navigate the basic set up that you will need to get things done. Be careful that you're not leaving yourself open to big vulnerabilities as you learn. Not only does that open the door to data theft, but it could also result in huge bills if someone gets a hold of your root account. This doc is kind of scary, but you're going to want to get familiar with security best practices in AWS little by little. At the very least, secure your root account and enable MFA.
For the sake of both billing and IAM, you will likely want to avoid using your employer's AWS account to learn. If your job is the motivation for learning AWS, work with your company on creating a sandboxed account with a given budget.
Overview of AWS Certifications
While not all certifications in tech are created equal, AWS certifications are extremely valuable. They're designed to minimize false positives and fairly rigorous, so employers know they can use them as a solid benchmark of knowledge. This means they can add some zeroes to your paycheck and set you apart from the average developer.
There are many different AWS certifications, so let's break down what the options are.
The Cloud Practicioner exam is considered a Foundational exam recommended for people with 6 months of fundamental AWS knowledge. It's high-level and not super technical, but gets your feet with AWS.
From there, there are three Associate level exams, recommended for people with 1 year of experience solving problems and implementing solutions using AWS. These exams have broad scope but shallow depth and break into three paths: Architect, Operations, and Developer. The three exams are:
From there, there are two Professional certifications, recommended for people with 2 years of comprehensive experience designing, operating, and troubleshooting solutions using AWS. These exams have broader scope and are quite deep. The Architect path remains, but Developer and Operations combine into DevOps. The two exams are:
There are also six Specialty exams, which are very narrow in scope but very deep:
- Advanced Networking Specialty
- Security Specialty
- Machine Learning Specialty
- Alex Skill Builder Specialty
- Data Analytics Specialty
- Database Specialty
I decided to get some of these certifications as a way to guarantee that I will actually set aside the time to learn some AWS and have something to show for it. My plan is to get the Cloud Practicioner and then the Solutions Architect Associate. Why not the Developer Associate first? Well, my understanding is that the Solutions Architect Associate is more comphrensive than the Developer Associate, and thus it's easier to get the Developer Associate after getting the Solutions Architect Associate. It also sets you up to get the Solutions Architect Professional, which is extremely difficult and highly coveted (and thus should come with a big pay raise!). The SA-P requires the SA-A, so it makes sense to go that route. I'll update this article when I've got some results.
AWS Resources for Developers
There are boatloads of resources for learning AWS out there. Some are geared towards infrastructure and networking folks, some are geared towards database admins, some for security teams, and others towards developers. Here are the key resources I've been using and a variety of others I've found useful.
My Essential AWS Resources
I've found myself relying pretty heavily on these resources in my own AWS journey:
- A Cloud Guru: A Cloud Guru is hands down the single best resources out there for learning AWS and just about any other cloud technology. I am honestly blown away. Just the AWS Certification Preparation Guide is worth the cost of admission. I'm working my way through the Developer Learning Path and about halfway through the Cloud Practitioner 2020 course. I've also used A Cloud Guru a ton for work whenever I've needed to look up terms or concepts I don't understand. I had a big annoying run-in with VPCs and private networks and A Cloud Guru seriously came to my rescue.
- Cloud Newbies Discord: This is a Discord server founded by Hiroko Nishimura, creator of AWS Newbies (which is another great site full of articles, books, and exam tips). It is immensely helpful to have a welcoming and friendly community of people with whom to learn. The server has different channels for different cloud technologies and certifications, and the community ranges from total beginners to industry experts. I can't recommend it enough!
- Blog by Danny Steenman: Danny Steenman is an AWS consultant and is putting out some amazing resources on AWS. I have his complete guide to passing the Cloud Practicioner exam bookmarked and refer back to it regularly.
- egghead resources by Tomasz Łakomy: Tomasz Łakomy is a big inspiration for me to go on my own AWS journey. I've been working my way through the egghead lessons and courses he's been making on AWS (like this course on the Cloud Development Kit and this collection on the serverless application model).
Other Helpful AWS Resources for Devs
Here are some other very helpful resources I've found for learning AWS. I don't refer to these as regularly, but that's partially because my focus is on the Cloud Practicioner exam right now.
- AWS Cloud Practitioner Essentials: This is the official training course from AWS. It's free, but it's pretty dry and the course player isn't very sophisticated (you can't speed it up or slow it down, for instance).
- AWS Resources: A curated list of AWS resources to prepare for the AWS Certifications by Leonardo Federico.
- What is the best resource for learning AWS?: Somewhat click-baity but useful article compiling AWS certification prep courses.
- The Burning Monk: Fantastic site with a bunch of resources on serverless by Yan Cui
- Official YouTube channel of AWS Serverless
- egghead resources by Nader Dabit: Nader Dabit is pretty incredible, and he has tons of great lessons and courses on egghead about things like Amplify and AppSync.
- Full Stack Serverless by Nader Dabit: This is Nader's recent book on serverless. I haven't read it yet myself, but I mean, it's Nader, I'm sure it's amazing.
- Awesome DynamoDB: A handy list of resources for getting up to speed on modeling, operating, and using Amazon DynamoDB.
- The DynamoDB Book: Highly recommended book by Alex DeBrie.
- AWS Amplify Getting Started Guide: Great tool for getting up and running quickly with Amplify. Pick your platform and get a full stack tutorial from set up to deployment!
In this article, we've talked about how to get started learning AWS as a developer. We've covered big AWS concepts, key AWS services for devs, common pitfalls, and a whole host of resources. I hope you've found it all helpful! I'm still a newbie (hooray for learning in public!), so reach out to me on Twitter if I've missed your favorite resource or if you've found anything particularly useful.
If you're trying to level up your developer career through writing and speaking or hoping to become a developer advocate, hop on my email newsletter below and check out my book Getting Started in Developer Relations.
See you next time!