Getting started with AWS CLI (Command Line Interface)
Published:
How to launch your first instance on AWS just from terminal…
There are three ways to working/interacting with AWS services
- AWS Console
- AWS CLI (Command Line Interface)
- AWS SDKs
In this article, I am going to focus on AWS CLI and one of the reasons for working with CLI is that you get more flexibility in CLI compare to working on console, for example, you can launch multiple instances with different configuration in one go which isn’t possible in AWS console.
So… What will you learn in this blog?
- Install the AWS CLI on Debian based Linux Ubuntu 20.04.1 LTS.
- Configure AWS CLI using access and secret key.
- Create a security group aka virtual firewall.
- Generate a new key pair for connecting to instances over SSH
- Create a new EBS volume.
- Launch a new instance through AWS CLI program.
- Attach EBS volume to an instance that you just launched read more