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.
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.