Lab 3 1 AWS with CLI - nicolas-tullio/Tech-Journal GitHub Wiki

Deliverables

Submit screenshot of aws --version output

image

Screenshot showing that the Instance was started (Instance ID and Launch Time included)

aws ec2 run-instances --image-id ami-080e1f13689e07408 --count 1 --instance-type t2.micro --key-name nicolas --security-groups default --region us-east-1

image

Submit screenshot of running the "date" and "uname -a" commands on your instance

image

Submit - from the AWS Console - EC2 - Instances - Screenshot showing the terminated instance (you may need to refresh if it still shows running)

image

Commands

List AWS instance info

aws ec2 describe-instances

Terminate an instance by id

aws ec2 terminate-instances --instance-ids i-INSTANCE_ID_HERE