Tag Archives: ec2

[python]Start up script to create VPC to launch EC2

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 … Continue reading

Posted in Python, Scripting | Tagged , , , , , , , | Leave a comment

[python]Create keypair in EC2

This is a simple code using boto3. To generate the key pair for EC2 here’s the simple code.

Posted in Python | Tagged , , , | Leave a comment

[python]Create VPC part 2

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 … Continue reading

Posted in Python, Scripting | Tagged , , , , , | Leave a comment