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
-
Create an OpenVPN EC2 instance and configure it for VPN access.
awsovpn upThen following instructions to configure a Profile and install in your local OpenVPN client.
-
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:
-
awscli configuration
If you have awscli installed and configured, then awsovpn can utilize this same configuration. Just use
--profile PROFILEto specify an AWS configuration profile.awsovpn --profile myprofile up
-
environment variables
Create a
.envfile or set the following environment variables:AWS_REGION= AWS_ACCESS_KEY_ID= AWS_SECRET_ACCESS_KEY= AWS_PROFILE=
-
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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
48ddd1b2d763ee06c0693d10b7d23aa5826c47c0bd361a6fbf7591c104074c71
|
|
| MD5 |
68f4bedce4df0378278a49b08be5705d
|
|
| BLAKE2b-256 |
5bcd51460182a0c0e864b3ebf3e6696289142f9c60541b8115abe104e506e74a
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cbfbe911fa8e8c4777edae32076c7720e3e3989eba602c98abce2ddb801316af
|
|
| MD5 |
f325f8b4f1cbd022c2d9d12dec480ad6
|
|
| BLAKE2b-256 |
b2e485c78750be2264b95d40d569f7915f8eb497c38256849c5f6d701e656529
|