This repository contains a collection of Bash and PowerShell scripts for automating AWS services, including AWS CLI setup, S3, EC2, and DynamoDB operations. These scripts are designed for Linux and Windows environments to streamline AWS management tasks.
- Clone this repository:
git clone https://github.com/AdityaBhatt3010/AWS-ScriptEngine.git cd AWS-ScriptEngine - Make scripts executable:
chmod +x *.sh - Run the desired script:
./AWS_CLI_Set_Up_Linux.sh
- Clone this repository:
git clone https://github.com/AdityaBhatt3010/AWS-ScriptEngine.git cd AWS-ScriptEngine
- Run the desired script:
If the script doesn't run, try:
./AWS_CLI_Set_Up_Windows.ps1If the policy is Undefined or Restricted, run the following command:Get-ExecutionPolicy -List
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
- Linux:
AWS_CLI_Set_Up_Linux.sh - Windows:
AWS_CLI_Set_Up_Windows.ps1 - Functionality:
- Installs AWS CLI
- Configures AWS credentials (Access Key, Secret Key, and Region)
- Verifies installation
- Linux:
AWS_S3_Linux.sh - Windows:
AWS_S3_Windows.ps1 - Options Available:
- Get S3 bucket region
- Upload and download files
- Remove files
- Create a new bucket
- List all buckets
- Check and enable bucket versioning
- Retrieve object metadata
- Linux:
AWS_EC2_Linux.sh - Windows:
AWS_EC2_Windows.ps1 - Options Available:
- Start/Stop/Terminate an EC2 instance
- Create a new EC2 instance
- List all key pairs and security groups
- List running and stopped instances
- Linux:
AWS_DynamoDB_Linux.sh - Windows:
AWS_DynamoDB_Windows.ps1 - Options Available:
- List tables
- Create a table
- Insert and retrieve items
- Query and scan data
- Delete an item
Feel free to fork this repository and submit pull requests with improvements or additional AWS automation scripts!