AWS CSA Task2: AWS CLI

aws ec2 create-key-pair --key-name <your-keyname>
aws ec2 create-security-group --group-name <your-group-name> --description <"write description">
aws ec2 run-instances --image-id <your-image-id> --instance-type <instance-type> --security-group-ids <your-security-group-id> --subnet-id <subnet-id> --key-name <key-name>
aws ec2 create-volume --availability-zone <availability-zone> --size 1 --volume-type <volume-type>
aws ec2 attach-volume --device xvdh --instance-id <your-instance-id> --volume-id <your-volume-id> 

--

--

--

Devops Enthusiast

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

100 days of coding and my life changed

Why Teach Python?

Implementing GPU Accelerated Apache Spark 3.0 in Cisco Data Intelligence Platform

Why Building Software Should Always Be an Organic Process

Automate Retweeting and Liking using Python and Heroku

Validate GraphQL Schema in any Continuous Integration and Delivery Pipeline

How to create a Python package and upload it to PyPI

Sensu Core version 0.27 is now available!

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
Divya Kurothe

Divya Kurothe

Devops Enthusiast

More from Medium

How AWS instance type and max connections are related

Amazon DynamoDB : TTL Best Practices

What is CDN and AWS cloudfront

AWS Lambda