
Master the AWS CLI basics for EC2, S3, DynamoDB, Lambda, Glacier and more, orchestrate environments with Elastic Beanstalk and SAM, and practice hands-on labs with CI/CD and cost awareness.
Secure AWS credentials by avoiding plaintext keys, never embedding them in code, and using temporary credentials, roles, MFA, and regular key rotation.
Create and manage an IAM user for AWS CLI and console access, assign admin and Lambda permissions, enable programmatic access with access keys, and configure CloudTrail monitoring.
Install the AWS CLI on Apple using Homebrew, navigate dependencies like Xcode, and troubleshoot shallow clone errors to prepare for Elastic Beanstalk and SAM CLI installations.
Explore installing Homebrew and macOS command line tools, troubleshoot common errors, understand shallow clones versus full repository, and resolve issues with brew update, brew upgrade, and Docker on Monterey.
Install the AWS command line interface using brew, resolve any upgrade or link errors, verify the installation, then proceed to create the user account in the AWS console.
Install the AWS CLI on Windows from the download page, run the installer via PowerShell, choose user or administrator installation, then verify with aws --version and proceed to AWS config.
Understand identity and access management in AWS, including root accounts, policies, roles, and groups. Apply least privilege with granular permissions, MFA, federation, and tools like CloudTrail and access analyzer.
Explore the update to the IAM user interface, noting that creating users and programmatic access with keys remains the same, and discuss permissions boundary and attaching policies.
Learn to create and delete an AWS access key for a user, manage active keys, rotate by deactivating and deleting old keys, and optionally output results to a text file.
Learn to add a user to the admins group and remove a user from a group using the AWS CLI, verify membership, and handle non-existent user or group errors.
Learn how to add a user to a group and remove a user from a group using aws iam commands on Windows, handle common errors, and manage group deletion.
Learn to create and delete AWS IAM login profiles, set or reset console passwords, and manage user access—ensuring a user exists and handling bulk password updates.
Learn to create and delete IAM policies with AWS CLI, using templates like CloudTrail or Lambda policy, saving JSON locally and validating in the IAM console.
Create a Windows AWS IAM policy in PowerShell by copying a policy into Notepad, saving it as Dan Lambda Windows, and applying the policy document from your directory.
Create and delete a virtual private cloud VPC in AWS using the EC2 dashboard, configure a CIDR block such as 172.30.0.0/16, and manage the VPC ID.
Describe images with the AWS CLI, list AMI IDs, public or private status, platform details, mappings, and attachments, then export to text for beanstalk or cloud formation templates.
Describe all your running instances per region with the aws cli, view image id, ami, size, key name, launch time, and public or private addresses.
Elastic Beanstalk deploys apps quickly without deep infrastructure knowledge. It provisions resources, handles load balancing and scaling, supports environments and versions, and enables weighted rollouts via the command line interface.
Use the elastic beanstalk command line to manage environments, navigate regional limitations, and integrate with codebuild via a build spec file. Master quick status commands for fast cli insights.
Learn to create and configure an Elastic Beanstalk environment using the AWS CLI, selecting a Linux Node.js sample app, a single instance, and basic health and log options.
Open the Elastic Beanstalk console in moments using the eb console command from the aws cli. This quick shortcut launches your Elastic Beanstalk environment directly from the command line.
Learn to use eb events to tail real-time environment logs, monitor new events on a poll cycle, and export updates to a text file for quick troubleshooting.
Learn to use eb health to monitor Elastic Beanstalk deployments with a quick, scriptable dashboard showing deployment duration, environment, loads, idling, and warnings or degraded info.
Master the eb logs command to enable or disable log streaming, retrieve incident or cloud watch logs, and access standard out and error logs for quick troubleshooting.
Define serverless applications with AWS SAM, an extension of CloudFormation that supports programmatic resources, local testing with SAM CLI and Docker, and streamlined deployments with tracing and rollbacks.
Install the SAM CLI with Homebrew, verify installation with sam version, and resolve dependencies and errors (python, openssl, ruby, certificates) to ensure the AWS CLI tooling works smoothly.
Learn to initialize a SAM project using a quickstart hello world template, build and deploy with the SAM CLI, and access the deployed hello world via a rest api endpoint.
Learn to delete a SAM stack in the AWS CLI by using sam delete with your stack name, confirming prompts, and watching CloudFormation clean up resources.
Learn how to use sam deploy from your project directory to deploy a change set with a stack name, verify with curl, and quickly delete or redeploy.
Learn how to view and tail sam logs for a running lambda stack by using sam logs with your stack name, enabling real-time troubleshooting and output customization.
Delete the AWS user and clean up after tests to prevent lingering access. Generate new passwords, assign MFA, and generate a policy to manage group credentials.
Learn how to clean up CloudTrail logs by stopping logging, deleting the trail, and permanently emptying the associated S3 bucket to avoid ongoing charges.
Wrap up practical AWS CLI workflows across macOS, Linux, and Windows with scripting, templates, and IAM tasks, and explore cost awareness while cleaning up users for security.
Welcome to the AWS Command Line Course, The AWS CLI has a mythos of being very hard to use, but if you have ever done any scripting at all, the CLI is a quick way to automate many of the administrative tasks that both developers and administrators have to do on a day-to-day basis. This course covers the AWS CLI 2.X command reference.
While the AWS console is great to use and often recommended for people to learn, you can only do one thing at a time, make a user, make an ec2, make a beanstalk, or a cloud formation project one at a time on the console. While beanstalk and cloud formation allow you to orchestrate whole environments, using the CLI can often be a quicker way of deploying an ecosystem over using the one item at a time console.
This course will walk you through how to install the AWS CLI and common uses that will truly make your deployment, orchestration, or system administration much easier and much quicker. If you already script a lot of your automation or script a lot of your day-to-day administration services then after learning the syntax, you’ll be able to do the same with your AWS environment.
Benefits to the AWS CLI (Command Line Interface)
The biggest benefit to using the AWS CLI is the ability to automate multiple AWS services from one scripting location.
For people who are old-school scripting and automating servers and their processes like updates and other items are common, administrators do this on a daily basis, especially for repetitive or frankly boring things to do. Adding the cloud to the mix just adds complexity and in many cases hundreds if not thousands of more servers, databases, and other items that can benefit from a common scripting base.
• Saving time on routine administration is a huge benefit of using the CLI
• You can control most if not all Amazon services from the CLI
• You can use it to automate processes, even ones that are time-dependent using a variation of cron to schedule backups