Skip to content

This repository contains the AWS CLI commands integrated with Shell Scripting to automatically create EC2 instance, EBS volume and attach the volume to the EC2 Instance

Notifications You must be signed in to change notification settings

theadarshsaxena/AWS-CLI-Scripting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

Launching EC2 instance and creating EBS volume then attaching it to instance using AWS CLI and bash scripting

Tasks Performed by Project

Using the AWS CLI and Bash scripting:

  1. Create a key-pair
  2. Create a security-group
  3. Launch an EC2 instance & attach above key-pairs and SG
  4. Create an EBS Volume and attach it to the EC2 instance created above

What is the AWS CLI?

The AWS Command Line Interface (CLI) is a unified tool to manage your AWS services. With just one tool to download and configure, you can control multiple AWS services from the command line and automate them through scripts. For more info: https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html

What is AWS EC2 Service?

Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides secure, resizable compute capacity in the cloud. For more info: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/concepts.html

What is Amazon EBS (Elastic Block Storage)?

Amazon Elastic Block Store (Amazon EBS) provides block-level storage volumes for use with EC2 instances. For more info: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AmazonEBS.html

To View Article

About

This repository contains the AWS CLI commands integrated with Shell Scripting to automatically create EC2 instance, EBS volume and attach the volume to the EC2 Instance

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages