0
0
AWScloud~30 mins

Basic CLI commands (s3, ec2) in AWS - Mini Project: Build & Apply

Choose your learning style9 modes available
Basic AWS CLI Commands for S3 and EC2
📖 Scenario: You are starting to manage cloud resources using AWS CLI. You want to practice basic commands to list and create storage buckets and virtual servers.
🎯 Goal: Learn to use AWS CLI commands to list S3 buckets, create a new S3 bucket, list EC2 instances, and launch a new EC2 instance.
📋 What You'll Learn
Use AWS CLI commands exactly as specified
Create an S3 bucket with the exact name given
Launch an EC2 instance with the specified parameters
List existing S3 buckets and EC2 instances
💡 Why This Matters
🌍 Real World
Managing cloud storage and virtual servers is a daily task for cloud engineers and developers. Knowing basic AWS CLI commands helps automate and speed up these tasks.
💼 Career
Many cloud jobs require familiarity with AWS CLI to manage resources efficiently without using the web console.
Progress0 / 4 steps
1
List all existing S3 buckets
Write the AWS CLI command to list all S3 buckets using aws s3 ls.
AWS
Need a hint?

This command shows all your current S3 buckets.

2
Create a new S3 bucket
Write the AWS CLI command to create a new S3 bucket named my-unique-bucket-12345 using aws s3 mb s3://my-unique-bucket-12345.
AWS
Need a hint?

This command makes a new bucket with the exact name given.

3
List all EC2 instances
Write the AWS CLI command to list all EC2 instances using aws ec2 describe-instances.
AWS
Need a hint?

This command shows details of your EC2 virtual servers.

4
Launch a new EC2 instance
Write the AWS CLI command to launch a new EC2 instance with the following exact parameters: use the Amazon Linux 2 AMI ID ami-0abcdef1234567890, instance type t2.micro, and key pair name my-key-pair. Use aws ec2 run-instances --image-id ami-0abcdef1234567890 --count 1 --instance-type t2.micro --key-name my-key-pair.
AWS
Need a hint?

This command starts a new virtual server with the exact settings given.