Learn AWS CLI—From Zero to Hero

Learn AWS CLI—From Zero to Hero
Learn AWS CLI—From Zero to Hero

CLOUD LABS



Learn AWS CLI—From Zero to Hero

In this Cloud Lab, you’ll build a serverless API using the AWS Command Line Interface (AWS CLI) for CRUD operations on Amazon DynamoDB, using AWS Lambda and Amazon API Gateway.

10 Tasks

beginner

2hr

Certificate of Completion

Desktop OnlyDevice is not compatible.
No Setup Required
Amazon Web Services

Learning Objectives

Hands-on experience building scalable and efficient serverless architectures for cloud development workflows using AWS CLI
Hands-on experience creating a custom API through AWS CLI, connecting with Lambda functions
Proficiency in using AWS CLI to interact with various AWS services
Insight into best practices for managing AWS resources efficiently using AWS CLI

Technologies
AWS CLI
Lambda logoLambda
DynamoDB logoDynamoDB
API Gateway logoAPI Gateway
Cloud Lab Overview

The AWS Command Line Interface (CLI) is a powerful tool that provides direct command-line access to a wide range of AWS services.

With the AWS CLI, you can efficiently deploy, configure, and manage resources, including EC2 instances, S3 buckets, and Lambda functions. This tool streamlines complex cloud operations by enabling developers to automate repetitive tasks, optimize workflows, and maintain tighter control over their AWS infrastructure.

In this Cloud Lab, you’ll begin by configuring the AWS CLI. Next, you’ll create and manage DynamoDB tables, develop Lambda functions that perform CRUD operations, and set up an API Gateway to interact with those functions. Finally, you’ll integrate your custom API into a functional Next.js application.

By the end of this lab, you’ll gain hands-on experience building a complete serverless CRUD ecosystem using the AWS CLI, Lambda functions, API Gateway, and DynamoDB—showcasing the power, scalability, and efficiency of AWS’s serverless architecture.

The following diagram illustrates the high-level architecture of the infrastructure you’ll create in this Cloud Lab:

Serverless backend and frontend integration using AWS CLI
Serverless backend and frontend integration using AWS CLI
Cloud Lab Tasks
1.Introduction
Getting Started
Configure AWS CLI
2.Set Up Resources with AWS CLI
Configure DynamoDB
Configure DynamoDB Entries
Set Up the Lambda Environment
Set Up an HTTP API Environment
Integrate Lambda Functions with API
3.Doctor Appointment
Demo Application
4.Conclusion
Clean Up
Wrap Up
Labs Rules Apply
Stay within resource usage requirements.
Do not engage in cryptocurrency mining.
Do not engage in or encourage activity that is illegal.

Relevant Courses

Use the following content to review prerequisites or explore specific concepts in detail.

Hear what others have to say
Join 1.4 million developers working at companies like