How to create EC2 instance using AWS CLI (Command Line Interface)

preview_player
Показать описание
How can you create a server (EC2 Instance) in AWS using only AWS CLI?
After watching this video you will know all about :
- how to create EC2 instance using AWS CLI
- how `aws help` command works
- how to choose AMI ID for EC2 instance
- how to choose instance type
- how to connect to EC2 server using SSH key pair
- what `aws ec2 describe-instances` command is for
- how to terminate EC2 instance using AWS CLI
- how exactly command `aws ec2 terminate-instances` work

Links to previous videos I mentioned in this material:

0:00 Create EC2 instance using AWS CLI
1:05 aws help command
1:28 aws ec2 help
1:52 aws ec2 run-instances
2:15 choosing AMI ID for our EC2
3:27 choosing instance type for our server
3:44 SSH key pair for AWS EC2
4:12 specifying region for our server
4:55 running AWS CLI command to create EC2 instance
5:55 connecting to EC2 server using SSH key pair
6:30 amending Security Group to allow SSH port 22
7:55 aws ec2 describe-instances command
9:40 terminating EC2 instance using AWS CLI
9:56 aws ec2 terminate-instances command

Thank you for watching!
#6
Рекомендации по теме
Комментарии
Автор

Links to previous videos I mentioned in this material:

Automation-Avenue
Автор

Hello. I am getting Authentication error with this code. Can you help me out ?

raeelhaider