I started writing a Python Script so that I can automate creating different instances in AWS and attach (if I need to) extra storage (EBS volumes) to them.
I need help and here's what I want it to do:
I want a script where I can run and say - I want 3 [url removed, login to view], 2 [url removed, login to view], and 1 [url removed, login to view] and on the [url removed, login to view] I need an extra 250gb ssd (io1) attached to it.
So, it will need some inputs, when the instance creates (if I designate more hdd space) will need to attach to the ebs Vol (so, return the instance_ID) and add tags based on stack.
Example for that is "tag=input("what is the name of this stack") : client-001
Also, would be nice to pass different subnets in their as well and regions.
Attached is what I started, and I can create an instance but I cannot return the instance_id and I can't get the EBS to create/attach to it automatically.
[url removed, login to view]
12 freelancers κάνουν προσφορές με μέσο όρο $207 γι' αυτή τη δουλειά
Hello There, I think I can help you out to achieve this task. Can provide you a sleek GUI to use and you just need to click on submit to let the magic happen. Thanks and regadrs
Hi, Why do you need python script, when you have an automation tool like ansible based on python as well ? Let me know if you are interested to have code written via ansible. Jyotir
I have extensive experience in working with aws technologies and since i am a python developer have to use boto client for everything. I think i can help you in this. lets discuss more in chat