Environment Setup (AWS CLI)

Riyaz Sayyad | AWS Certified Database Specialist
A free video tutorial from Riyaz Sayyad | AWS Certified Database Specialist
Best Selling Instructor, Tech Evangelist at Rizmax Software
4.5 instructor rating • 3 courses • 28,089 students

Learn more from the full course

AWS Lambda & Serverless Architecture Bootcamp (Build 5 Apps)

AWS Serverless with AWS Lambda, API Gateway, Amazon DynamoDB, Step Functions, SAM, the Serverless Framework, CICD & more

25:23:00 of on-demand video • Updated December 2019

  • Master AWS Lambda, API Gateway, DynamoDB, and Step Functions from the ground up (Full of Demos and Hands On)
  • Streamline your development and deployment with AWS SAM as well as the Serverless Framework
  • Automate serverless deployment with AWS CI/CD tools like CodeCommit, CodeBuild and CodePipeline
  • Build Serverless REST API, Web App, Android and iOS Mobile Apps, Alexa Skill, IoT App and more
  • Integrate different services like S3, Kinesis, SNS, SQS and more in your serverless projects
  • Implement OAuth 2.0 Authentication and Authorization with AWS Cognito
  • Document your serverless APIs using API Gateway and Swagger
  • Learn Serverless Best Practices
English In this lecture, we’ll install the AWS CLI or the command line tool to work with AWS from the command line or from the terminal. I am assuming that you’ve created an IAM user, downloaded the credentials and have set up the environment variables. If not, please review the previous video. Specifically, you should have added the AWS Access key ID, AWS Secret access key and the default region to your environment variables. Alright, lets continue. We can simply Google for AWS CLI install and we should be able to find the page. I am also putting a direct link in the resources section of this video, so you can use it to go to the download page. Use the left sidebar to locate the installable for your operating system. I am using Windows, so I will locate it here. If you are on Mac or Linux, you can use the appropriate link. The easiest way for Mac or Linux OS is to use the bundled installer using the link here. I am on Windows so, I am going to find the installation package on the Windows link. If you scroll down, you’ll find upgraded MSI installers and these use the latest version of Python. You can download the appropriate version. I am on 64-bit machine, so I’ll use the first link. If you’re not sure whether you have a 64 or 32-bit machine, simply download the installer from this third link and it would automatically detect the type of machine you have. So, let’s download and run this install and we should be good to go. If you’re on windows, you can use command prompt or PowerShell and on Mac and Linux, you will use the terminal to run the CLI commands. An AWS CLI command always starts with aws followed by the name of the service and then the name of the action that we intend to perform and after that we specify additional options relevant to the requested action. For example, if we say, aws help and hit enter, it would give us the syntax documentation for using the CLI. You can scroll down using the enter key. Use Ctrl+C to exit. Similarly, if we say, aws lambda help, and hit enter, we would get the documentation for using CLI with AWS Lambda service. You can find the same documentation over the web as well. Simply Google for AWS Lambda CLI commands, and the first result should take you to the appropriate page. I have also added the link to this documentation in the resources section of this video, so you can open it directly as well. That’s about it. In the next lecture, we’ll install Node.js, VS Code and Postman.