Quick *nix commands to generate a login URL to your AWS Management Console.
You can embed multiple ingress/egress rules in a single AWS::EC2::SecurityGroup CloudFormation template Resource declaration. Just be sure to format your template correctly. Don’t do what I did!
An Amazon EC2 instance needs to be given privileges and opened ports in order to access files on an Amazon S3 bucket. This post offers a quick reference, as well as a tutorial to walk you through setting up an EC2 and copying files between an EC2 and S3 bucket.
`estimate-template-cost` is a nifty command for creating an estimate of costs associated with your AWS CFN template. Results are viewed in a browser window.
Finding an AWS Marketplace AMI image ID is not always straight-forward, but it’s getting easier. Here’s how to find that ID, as of 02/2020.
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).
A key pair is required when connecting to an AWS EC2 instance. I’ll step you through 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.