
How Launch/Create AWS Instances using AWS CLI with some Basic Steps?
What is AWS Cloud ?
Amazon web service is a platform that offers flexible, reliable, scalable, easy-to-use and cost-effective cloud computing solutions.
AWS is a comprehensive, easy to use computing platform offered Amazon. The platform is developed with a combination of infrastructure as a service (IaaS), platform as a service (PaaS) and packaged software as a service (SaaS) offerings.
Step1: Create key pair
aws ec2 create-key-pair — key-name <value>

Step2: Create Security Group
aws ec2 create-security-group — group-name <value> — description “<value>”

Step3: Launch EC2 Instances
aws ec2 run-instances — image-id <value> — instance-type <value>— count <value>— subnet-id <value> — key-name <value> — security-group-ids <value>
— tag-specification ResourceType=<value>,Tags=[{Key=<value>,Value=<value>}] ResourceType=<value>,Tags=[{Key=<value>,Value=<value>}]

Step4: Create EBS of 1 GB
aws ec2 create-volume — volume-type <value> — size <value> — availability-zone <value> — tag-specification ResourceType=volume,Tags=[{Key=<value>,Value=EBS}]

Step5: Attach EBS Volume to the instance
aws ec2 attach-volume — volume-id <value> — instance-id <value> — device <value>

AWS is one of the best Cloud platform by Amazon which provides various services as per your requirements.