With this tutorial, you learn the basics of AWS Lambda by creating a classic “Hello World” function. You’ll use CloudFormation from the command line to create the Lambda function, then manually invoke it to prove it works.
This step-by-step, hands-on AWS CloudFormation tutorial is ideal for beginners. You will create a simple CloudFormation stack containing a single resource. And you’ll be doing it twice: with AWS CloudFormation Console, then with AWS Command Line Interface (AWS CLI).
If you have more than a few Amazon Web Services (AWS) resources, it can get a little tricky managing them each individually.
AWS CloudFormation to the rescue!
A key pair is required when launching a new AWS EC2 instance. Without a key pair, you won’t be able to connect to the instance. Here’s how to create a key pair without having to go to the Amazon Management Console.
A new AWS account is granted, by default, root privileges. That means it has access to everything. Best practices dictate we avoid using root privileges whenever possible: Enable Multi-Factor Authentication, create and use an Administrator user account instead of root. Also, setup billing alerts to avoid surprise charges.