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.
Unfortunately, scikit-learn Python library Class Imputer is now deprecated and the replacement does not include an axis parameter. Here’s a work-around.
You attempt to open a Jupyter Notebook in your GitHub repository and get the dreaded ‘Sorry, something went wrong. Reload?’ message. Don’t dispair, use nbviewer!
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.
An R function with a parameter that accepts a data.frame column can’t evaluate the column argument until it is first ‘quoted’, followed by an ‘unquote’ within the dyplr function. ‘Quote’ a column using enquo(), then ‘unquote’ it using !!.
A little white space between R Markdown sections gives the reader a little pause in the story before changing the subject otherwise all the cells get smooshed together by default and it ends up looking like one long run-on sentence.