joshmcgrath08 / openvpn_on_ec2

Low-Cost VPN on AWS in Under 15 Minutes
MIT License
20 stars 5 forks source link

VPC option in CF? #1

Open markschwarz opened 4 years ago

markschwarz commented 4 years ago

I have OpenVPN purely to navigate the boundary to my VPC. I'm considering replacing my micro OpenVPN EC2 setup with this one.

It appears this defaults the OpenVPN host to the default network. I believe I need to clone the CF template and set VPC information. I'm making sure I understand correctly before I do that. I'm new to CloudFormation, so forgive me if this is basic!

joshmcgrath08 commented 4 years ago

Sorry I didn't have a chance to address this today. I hope to get to it tomorrow night.

joshmcgrath08 commented 4 years ago

That sounds reasonable to me. One option I might try first is to modify the template while creating the stack in CloudFormation. This way you can quickly iterate (as network-related changes tend to be fairly hard to get right the first time).

If you click on the "launch now icon" in the README (which goes to https://console.aws.amazon.com/cloudformation/home#/stacks/new?stackName=PersonalVPN&templateURL=https://s3.amazonaws.com/openvpn-on-ec2-cfn-templates-public/cf_template.json), the "View in Designer" button opens an editor that allows you to modify the CloudFormation template before proceeding.

image

Let me know if you have any questions or run into any issues.