Launch EC-2 instance & attach EBS volume using AWS CLI

aws configure 
aws configure
  1. Creating a key-pair
aws ec2 create-key-pair --key-name "cli-task3"
aws ec2 create-security-group --description cli-2-task --group-name cli-2-sg
Verify on AWS GUI

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store