Use case This is an interactive start up script to do from creating VPC to launching EC2. This is a follow up from this post - Functions for aws automation, I have added a few more functions to make it complete. Demonstration This is the interactive script: These are the results in AWS console: VPC … Continue reading [python]Start up script to create VPC to launch EC2
This is a simple code using boto3. To generate the key pair for EC2 here's the simple code.
Background This post is an improvement to this. The goal is to: Create VPC. Create internet gateway. Attach internet gateway to vpc. Name the internet gateway and vpc. About parameters in create_tags This method accepts Resources of type list or tuple. Tags of type dictionary. The code works but is ugly and cannot scale, for … Continue reading [python]Create VPC part 2