A collection of versatile Bash scripts designed to automate and streamline various Linux system administration tasks, including AWS infrastructure provisioning, user management, and web server deployment.
AWScli_KP_SG_EC2-Terraform-userdata_NGINX-userdata(Full_Automation).sh: Automates the setup of AWS CLI, EC2 instances, Terraform, and NGINX with user data.User_Management_system.sh: Facilitates the creation, deletion, and management of user accounts on Linux systems.
Ensure the following are installed on your system:
- Linux-based OS (Ubuntu/Debian/CentOS recommended)
- Bash Shell (default on most Linux distributions)
- AWS CLI (for AWS-related scripts)
- Terraform (for infrastructure provisioning)
- curl (for downloading scripts and packages)
git clone https://github.com/Avnish-web/Linux-Scripts.git
cd Linux-Scriptschmod +x <script_name>.sh
./<script_name>.shEach script provides interactive prompts to guide you through the process.
Automates the following tasks:
- Installs AWS CLI if not already installed.
- Creates an AWS EC2 key pair.
- Sets up a security group with SSH and HTTP access.
- Launches an EC2 instance with Terraform.
- Configures NGINX with a custom user data script.
Simplifies user account management:
- Create new users with optional SSH keys.
- Delete existing users.
- Modify user details like home directory and shell.
- List all system users.
- Always review scripts before execution.
- Ensure proper permissions are set on sensitive files.
- Use SSH keys for secure authentication.
For issues or contributions, please open an issue or submit a pull request. For direct communication, email com.avnish@gmail.com.