Quick *nix commands to generate a login URL to your AWS Management Console.
Declaring Multiple Ingress/Egress Rules in an AWS::EC2::SecurityGroup
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!
How to Enable an EC2 Instance to Access Files on S3 Buckets
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.
AWS Cost Estimation with CloudFormation CLI
`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.
How to Find an AWS Marketplace AMI Image ID
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.
Create an AWS Lambda Function using CloudFormation
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.
Getting Started with AWS CloudFormation
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).
Create EC2 Key Pairs Using 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.
Got a new AWS account? Do these 3 steps now.
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.