Skip to content

shubham2698/aws-ami-automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

README

This README provides information about the project.

Automation for AWS AMI Creation

Automating the creation of AWS AMIs involves the following steps:

  1. Get a list of all instances.
  2. Identify instances based on certain conditions (e.g., tag == your_tag).
  3. Create an AMI using CLI commands for the identified instances.

Input File

The input file is separated by blank spaces and includes the following fields:

  • f1: AWS region
  • f2: AWS profile
  • f3: Project name tag

Output

The script generates a report containing the following information:

  • Instance ID
  • Instance name
  • AMI ID

Usage

To execute the script, follow these steps:

./your_script.sh

Contributing

If you'd like to contribute to this project, follow these steps:

  1. Fork the repository
  2. Create a new branch: git checkout -b feature
  3. Make your changes
  4. Commit your changes: git commit -am 'Add feature'
  5. Push to the branch: git push origin feature
  6. Submit a pull request

License

This project is licensed under the MIT License.