Skip to content

mediumstack/boto3-scripts

Repository files navigation

AWS boto3 scripts

Messing around learning about boto3.

Create an instance

Copy the sample conf file and then replace the access and secret key. Populate your security group and SSH key name.

python create_instance.py name_of_my_new_instance

Set tags of an instance from a config file

Edit your desired tags in conf/tags.config and then run via

python apply_tags_from_config.py <instance_id>

Check all instances in a region for certain tags

Your region will be hardcoded in your conf/aws.config file.

python check_instance_tags.py Name

[shell] List instances by state, with useful informtation

Region is hardcoded in the script

bash list_instances.sh running

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published