// Amazon Web Services powers the internet.
THE CLOUD THAT BUILDS THE WORLD.
From startups to Fortune 500 companies, AWS provides the infrastructure that powers the modern internet. With over 200 services, AWS offers solutions for compute, storage, databases, machine learning, and more.
WHY AWS?
AWS pioneered cloud computing and continues to lead in market share, service offerings, and innovation. Learning AWS opens doors to some of the highest-paying tech jobs.
Click a lesson to begin
What is cloud computing? AWS overview and setting up your account.
BeginnerVirtual servers, instances, AMIs, and instance types.
BeginnerBuckets, objects, versioning, and lifecycle policies.
BeginnerNetworking, subnets, security groups, and NAT gateways.
IntermediateManaged databases, Multi-AZ, read replicas, and backup.
IntermediateFunctions, triggers, layers, and serverless architecture.
IntermediateUsers, roles, policies, and security best practices.
IntermediateTemplates, stacks, and automated provisioning.
IntermediateDomain registration, routing policies, and health checks.
IntermediateMetrics, alarms, logs, and dashboard creation.
AdvancedSecurity groups, NACLs, KMS, and compliance frameworks.
AdvancedHigh availability, auto-scaling, and best practices.
AdvancedCloud computing is the delivery of computing services over the Internet. Instead of owning physical hardware, you can access resources on-demand from cloud providers like AWS.
Amazon Web Services (AWS) offers over 200 services spanning compute, storage, databases, networking, analytics, machine learning, and more.
1. What does AWS stand for?
2. Name one benefit of cloud computing
3. How many services does AWS offer?
Amazon EC2 provides resizable compute capacity in the cloud. It allows you to launch virtual servers (instances) on-demand.
# Using AWS CLI
aws ec2 run-instances \
--image-id ami-0c55b159cbfafe1f0 \
--instance-type t3.micro \
--key-name my-key-pair \
--security-group-ids sg-12345678 \
--subnet-id subnet-12345678
1. What does EC2 stand for?
Amazon S3 is object storage built to store and retrieve any amount of data from anywhere on the web.
# Create bucket aws s3 mb s3://my-bucket-name # Copy file to bucket aws s3 cp file.txt s3://my-bucket-name/ # List bucket contents aws s3 ls s3://my-bucket-name/ # Delete object aws s3 rm s3://my-bucket-name/file.txt
1. What is the container for objects in S3 called?
Amazon VPC lets you provision a logically isolated section of the AWS cloud where you can launch AWS resources in a virtual network.
# Create VPC
aws ec2 create-vpc --cidr-block 10.0.0.0/16
# Create subnet
aws ec2 create-subnet --vpc-id vpc-12345678 \
--cidr-block 10.0.1.0/24 --availability-zone us-east-1a
# Create internet gateway
aws ec2 create-internet-gateway
# Attach IGW to VPC
aws ec2 attach-internet-gateway --vpc-id vpc-12345678 \
--internet-gateway-id igw-12345678
1. What is stateful in AWS networking?
Amazon RDS makes it easy to set up, operate, and scale a relational database in the cloud.
# Create RDS instance
aws rds create-db-instance \
--db-instance-identifier my-db \
--db-instance-class db.t3.micro \
--engine postgres \
--master-username admin \
--master-user-password mypassword \
--allocated-storage 20
1. What feature provides automatic failover?
AWS Lambda lets you run code without provisioning or managing servers. You pay only for the compute time you consume.
# Create Lambda function
aws lambda create-function \
--function-name my-function \
--runtime python3.9 \
--role arn:aws:iam::123456789:role/lambda-role \
--handler index.handler \
--zip-file fileb://function.zip
1. How do you pay for Lambda?
IAM enables you to manage access to AWS services and resources securely.
# Create user
aws iam create-user --user-name developer
# Create access key
aws iam create-access-key --user-name developer
# Attach policy
aws iam attach-user-policy \
--user-name developer \
--policy-arn arn:aws:iam::aws:policy/ReadOnlyAccess
1. What principle should you follow when assigning permissions?
CloudFormation lets you model and provision your AWS resources using templates.
AWSTemplateFormatVersion: '2010-09-09'
Description: Simple EC2 Instance
Resources:
MyEC2Instance:
Type: AWS::EC2::Instance
Properties:
ImageId: ami-0c55b159cbfafe1f0
InstanceType: t3.micro
Tags:
- Key: Name
Value: MyInstance
# Create stack
aws cloudformation create-stack \
--stack-name my-stack \
--template-body file://template.yaml
# Update stack
aws cloudformation update-stack \
--stack-name my-stack \
--template-body file://template.yaml
# Delete stack
aws cloudformation delete-stack --stack-name my-stack
1. What format are CloudFormation templates written in?
Amazon Route 53 is a scalable DNS web service that routes users to your applications.
# Create A record
aws route53 change-resource-record-sets \
--hosted-zone-id Z1234567890 \
--change-batch file://record.json
1. Which record type maps to an IPv4 address?
Amazon CloudWatch provides monitoring and observability for AWS resources and applications.
# Create alarm
aws cloudwatch put-metric-alarm \
--alarm-name high-cpu \
--metric-name CPUUtilization \
--namespace AWS/EC2 \
--statistic Average \
--period 300 \
--threshold 80 \
--comparison-operator GreaterThanThreshold \
--evaluation-periods 2
1. What triggers actions based on thresholds?
1. What service manages encryption keys?
# Create launch template
aws ec2 create-launch-template \
--launch-template-name my-template \
--version-description version1 \
--launch-template-data file://lt-data.json
# Create auto scaling group
aws autoscaling create-auto-scaling-group \
--auto-scaling-group-name my-asg \
--launch-template LaunchTemplateId=lt-12345678 \
--min-size 2 \
--max-size 10 \
--desired-capacity 3 \
--vpc-zone-identifier subnet-12345678
You've completed the AWS Mastery guide. You now understand:
Amazon Web Services (AWS) pioneered cloud computing in 2006 and continues to lead the market. With over 200 services, AWS powers everything from startups to Fortune 500 companies.
AWS offers compute, storage, databases, machine learning, and more. Learning AWS opens doors to high-paying cloud careers and enables you to build scalable, reliable applications.
The cloud that builds the world. Master it.