Skip to content

parleer/awsovpn

Repository files navigation

awsovpn

Manage an OpenVPN instance in your private EC2 cloud using this script.

Usage

  1. Create and configure an OpenVPN EC2 instance in region us-east-1 .

    awsovpn --region us-east-1 up

    Then following instructions to configure a Profile and install in your local OpenVPN client.

  2. Terminate the OpenVPN EC2 instance and remove all EC2 resources mangaed by this script:

    awsovpn down

Install

python -m pip install awsovpn

Configure

Configure using any of combination of the following methods:

  1. awscli configuration

    If you have awscli installed and configured, then awsovpn can utilize this same configuration. Just use --profile PROFILE to specify an AWS configuration profile.

    awsovpn --profile myprofile up
  2. environment variables

    Create a .env file or set the following environment variables:

    AWS_REGION=
    AWS_ACCESS_KEY_ID=
    AWS_SECRET_ACCESS_KEY=
    AWS_PROFILE=
    
  3. use arguments

    You can also pass credential configuration as arguments:

    e.g.

    awsovpn --region REGION --access-key-id ACCESS_KEY_ID --secret-access-key SECRET_ACCESS_KEY

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages