In order to work with the AWS system, including Lambda, you will need to have an AWS account set up. This video will guide you through the process of getting set up with the system and give you some general information about the AWS system in general. If you already have an AWS account for other AWS systems it will work correctly here as well.
- [Instructor] To get started working with AWS and Lambda, You first need to set up an account with Amazon. If you already have an AWS account, you can just use that and go on to the next video. Or, you can create a specific AWS Account for Lambda use. This will make it easier to use the free tier for exploration. To create an AWS account, you will first go to aws.amazon.com. Click Create an AWS Account in the upper Right-hand corner of the page. Enter the email address you wish to use, and your name and password.
You want to use the Personal Account option for the account you're going to be using for this class. The next screen covers your name, address, and phone number. If you're not comfortable sharing your address, you can always use fake information. Although I've never had an issue with Amazon sharing my information. You will need a valid phone number for the phone verification step. On the next screen, you will need to put in a credit card. You'll get a certain amount of traffic for free in the free tier. But Amazon does need this information to set up your account.
This will need to be a valid credit card, as they'll check it before finishing up your setup. Next, you'll go through the phone verification to validate that you are who you say you are. After validation, choose the basic support plan. Take a little time to enter the demographic information. It will improve your experience by tending the information they provide, based on your use case and experience. Once you've received the verification email, you can log into the console with the account you've created.
We need to install the Amazon Web Services Command Line Tools as well, so let's get that taken care of. The Amazon Web Services CLI bundle, has implementations for interaction with all of the AWS Products. In this case, we're just going to use the Command Line Utility for basic S3 Interaction, and to publish the Lambda Code. Download it from this URL, and install it on your system. Now, with the login, and the needed tools, I'm gonna go over to the AWS dashboard, so you understand the various pieces we'll be using.
The dashboard can seem overwhelming, because it gives interaction capabilities for all of the AWS products. But for this class, we'll just be using a limited subset of the products. Login to the system with your new username. What we're interested in, here, is Deploying a Serverless Microservice with Lambda and API Gateway. We'll be setting this up, once the user is created in Identity and Access Management. Go ahead and click on Services, to see all the functionality you can control through this console Dashboard.
For our purposes, what we'll be using is Lambda, which is under Compute. IAM, under Security, Identity & Compliance. And also S3 and DynamoDB. And then we'll be using the API Gateway under Application Services. Once you've worked through the class, you can return here to see what other services you might want to use. I'll talk about different interactions you might want to do with Lambda when we're setting up the application itself.
- Working with the Lambda console
- Creating a Lambda function
- Exploring the Lambda console
- Lambda CloudWatch and monitoring
- Lambda application development
- Creating a Lambda API
- API framework setup
- Setting up API integration for READ
- Testing the API with HTTPie or cURL