Skip to main content

Simple script for easy creation of OpenVPN instance on AWS

Project description

awsovpn

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

Usage

  1. Create an OpenVPN EC2 instance and configure it for VPN access.

    awsovpn 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
    

Project details


Release history Release notifications | RSS feed

This version

0.5

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

awsovpn-0.5.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

awsovpn-0.5-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

Details for the file awsovpn-0.5.tar.gz.

File metadata

  • Download URL: awsovpn-0.5.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.1

File hashes

Hashes for awsovpn-0.5.tar.gz
Algorithm Hash digest
SHA256 48ddd1b2d763ee06c0693d10b7d23aa5826c47c0bd361a6fbf7591c104074c71
MD5 68f4bedce4df0378278a49b08be5705d
BLAKE2b-256 5bcd51460182a0c0e864b3ebf3e6696289142f9c60541b8115abe104e506e74a

See more details on using hashes here.

File details

Details for the file awsovpn-0.5-py3-none-any.whl.

File metadata

  • Download URL: awsovpn-0.5-py3-none-any.whl
  • Upload date:
  • Size: 12.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.1

File hashes

Hashes for awsovpn-0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 cbfbe911fa8e8c4777edae32076c7720e3e3989eba602c98abce2ddb801316af
MD5 f325f8b4f1cbd022c2d9d12dec480ad6
BLAKE2b-256 b2e485c78750be2264b95d40d569f7915f8eb497c38256849c5f6d701e656529

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page