AWS lab guides

Cloud Practitioner

CLF-C02 · 6 guides · View path

10 min

Which account should you use and what can AWS charge you?

In this lab you will check which type of AWS account you have, how much Free Tier credit you have left and which of the resources in these labs charge you if you leave them running.

Account
Full account or new-experience account
Cost
Free (you only read and review your account)

30 min

Launch and terminate a web server on Amazon EC2

In this lab you will launch an EC2 instance that installs a web server when it boots, open its page in your browser and terminate it so it stops charging.

Account
Full account or new-experience account
Cost
Uses Free Tier credit (t3.micro is eligible). If you leave it running, about 11 USD per 30 days between the instance (0.0104 USD per hour) and its public IPv4 (0.005 USD per hour), plus the EBS volume

30 min

An Amazon S3 bucket with versioning and a lifecycle rule

In this lab you will create an S3 bucket, upload two versions of a file and add a lifecycle rule for the previous versions, and as an extra you will be able to publish it as a static website.

Account
Full account. In a new-experience account, with the changes the guide explains
Cost
Creating the bucket costs nothing; storing a few small files costs cents or uses a little credit. The AWS guide estimates less than 1 USD

20 min

Your first AWS Lambda function

In this lab you will create a Lambda function in Python, test it with an event, find its log in CloudWatch Logs and compare what you manage in Lambda with what you manage on an EC2 instance.

Account
Full account or new-experience account
Cost
Nothing while it isn't running; a few tests fit in Lambda's monthly free tier (one million requests and 400,000 GB-seconds). If you leave it created, it isn't charged for existing

AI Practitioner

AIF-C01 · 6 guides · View path

25 min

Your first call to a model in Amazon Bedrock

In this lab you will send the same prompt to Amazon Nova Lite from the Amazon Bedrock playground and from CloudShell, and you will see what changes in the response when you adjust the temperature and the token limit.

Account
Full account. In a new-experience account, with the changes the guide explains
Cost
About 15 short calls to Amazon Nova Lite, which costs 0.06 USD per million input tokens and 0.24 USD per million output tokens in us-east-2: less than a cent in total. No resource is left running up charges.

25 min

A reusable prompt with Amazon Bedrock Prompt Management

In this lab you will save a prompt with two variables in Amazon Bedrock Prompt Management, compare two variants with the same values, create two versions and call the first one from CloudShell.

Account
Full account. In a new-experience account, with the changes the guide explains
Cost
Saving the prompt doesn't appear on the Bedrock pricing page; you pay for the inference of each test, per token (about 10 short calls to Amazon Nova Lite, cents of a dollar). When you finish, you delete the prompt.

20 min

Sentiment and entities in reviews with Amazon Comprehend

In this lab you will analyze three Spanish-language reviews with Amazon Comprehend, in the console and from CloudShell, and you will see what sentiment, entities and personal data a model that AWS already trained for you detects.

Account
Full account only
Cost
Each request is charged in units of 100 characters with a minimum of 3 units; the pricing page example uses 0.0001 USD per unit, so a few dozen short requests cost less than a cent. The page also lists a free tier of 50,000 units per month per API for 12 months. No resource is left behind.

20 min

Compare Amazon Bedrock models with the same prompt

In this lab you will give the same task to Amazon Nova Lite and Mistral Large 3, write down the quality, latency and tokens of each one, and calculate how much a million requests would cost with each model.

Account
Full account or new-experience account
Cost
Six short calls. With Mistral Large 3 (0.50 USD per million input tokens and 1.50 USD per million output tokens in us-east-1, us-east-2 and us-west-2) three 300-token responses cost less than a cent; Nova Lite costs 0.06 USD per million input tokens and 0.24 USD per million output tokens in us-east-2, so its three responses cost even less. No resource is left behind.

30 min

An Amazon Bedrock guardrail for a bank's chatbot

In this lab you will create a guardrail in Amazon Bedrock Guardrails that blocks investment advice, filters insults and prompt attacks and masks personal data, and you will test it with four messages.

Account
Full account. In a new-experience account, with the changes the guide explains
Cost
The guardrail costs nothing while it isn't used. Each evaluation is charged per active policy, per 1,000 text units (up to 1,000 characters per unit): content filters 0.15 USD, denied topics 0.15 USD, sensitive information 0.10 USD, regular expressions and word filters free. Four tests cost less than a cent, plus the Amazon Nova Lite inference when the input gets through.

30 min

Who called the model and what did they ask?

In this lab you will turn on Amazon Bedrock model invocation logging, make two calls to a model and find in AWS CloudTrail who made the call and in CloudWatch Logs what they asked.

Account
Full account. In a new-experience account, with the changes the guide explains
Cost
CloudTrail event history costs nothing. The logs are a few KB; the CloudWatch free tier includes 5 GB of log data and the lab's logs are deleted after 3 days. Add two short calls to Amazon Nova Lite, per token.

Solutions Architect Associate

SAA-C03 · 6 guides · View path

25 min

AWS Budgets alerts for the first charge and for your labs

In this lab you will create an AWS Budgets alert that notifies you of the first charge and a budget that only counts the spend of the resources that carry your labs' tag.

Account
Full account. In a new-experience account, with the changes the guide explains
Cost
Free. Budgets and their alerts cost nothing; budgets with actions are charged from the third one on and email reports cost 0.01 USD each, and this lab uses neither. The bucket stays empty

30 min

A three-tier VPC in two Availability Zones

In this lab you will create a VPC with public, application and data subnets in two Availability Zones, and you will check in the console what makes each one public, private or isolated.

Account
Full account or new-experience account
Cost
Free with the default parameters. VPC, subnets, route tables, internet gateway, network ACL and security groups cost nothing, and the template creates no public IPv4 addresses. If you turn on the NAT gateway, each one is charged by the hour

45 min

An Application Load Balancer with Auto Scaling in two zones

In this lab you will put two instances behind an Application Load Balancer, make their Auto Scaling group scale with CPU load and see how it replaces an instance you terminate by hand.

Account
Full account or new-experience account
Cost
Uses free plan credit. While it exists, the ALB charges 0.0225 USD per hour plus 0.008 USD per LCU-hour and its two public IPv4 addresses 0.005 USD per hour each, plus 2 to 4 t3.micro. Forgotten for a month, it goes over 23 USD not counting the instances. An afternoon of lab stays in cents

40 min

A private Amazon RDS database with Secrets Manager

In this lab you will create a MySQL database with no public IP, encrypted and with its password managed by RDS, and you will connect to it without opening any port.

Account
Full account or new-experience account
Cost
Uses free plan credit (db.t4g.micro and t3.micro are eligible). The secret costs 0.40 USD per month prorated by the hour and the client's public IPv4 0.005 USD per hour. The db.t4g.micro MySQL database in one zone costs 0.016 USD per hour in us-east-2 (about 12 USD a month if you forget it); delete it the same day

20 min

An Amazon S3 event that invokes a Lambda function

In this lab you will make every file you upload to a folder in a bucket trigger a Lambda function, and you will see the invocation in CloudWatch Logs.

Account
Full account or new-experience account
Cost
Cents or nothing. Lambda includes one million requests and 400,000 GB-seconds per month in its free tier; CloudWatch Logs, 5 GB of data per month; S3 stores a few bytes. Nothing is charged by the hour

30 min

A site in a private bucket served by Amazon CloudFront

In this lab you will serve a page from an S3 bucket that nobody can read directly, only your CloudFront distribution, and you will see how caching and an invalidation work.

Account
Full account or new-experience account
Cost
Within the CloudFront always free tier (1 TB of transfer and 10 million requests per month; the first 1,000 invalidation paths of the month cost nothing) according to. S3 stores a file of a few bytes: cents or nothing. Nothing is charged by the hour

The slide-based courses for groups and classes are on the courses page.