# 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.
```bash
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:
```bash
awsovpn down
```
## Install
```bash
python -m pip install awsovpn
```
## Configure
Configure using any of combination of the following methods:
1. awscli configuration
If you have [awscli](https://aws.amazon.com/cli/) installed and configured, then awsovpn can utilize this same configuration. Just use `--profile PROFILE` to specify an AWS configuration profile.
```bash
awsovpn --profile myprofile up
``````
2. environment variables
Create a `.env` file or set the following environment variables:
```text
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.
```bash
awsovpn --region REGION --access-key-id ACCESS_KEY_ID --secret-access-key SECRET_ACCESS_KEY
```
Raw data
{
"_id": null,
"home_page": "https://awsovpn.readthedocs.io/",
"name": "awsovpn",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "",
"keywords": "",
"author": "Flying Hippo",
"author_email": "admin@flyinghippo.com",
"download_url": "https://files.pythonhosted.org/packages/5b/cd/51460182a0c0e864b3ebf3e6696289142f9c60541b8115abe104e506e74a/awsovpn-0.5.tar.gz",
"platform": null,
"description": "# awsovpn\n\nManage an OpenVPN instance in your private EC2 cloud using this script. \n\n\n## Usage\n\n1. Create an OpenVPN EC2 instance and configure it for VPN access.\n\n ```bash\n awsovpn up\n ```\n\n Then following instructions to configure a Profile and install in your local OpenVPN client.\n\n2. Terminate the OpenVPN EC2 instance and remove all EC2 resources mangaed by this script:\n\n ```bash\n awsovpn down\n ```\n\n\n\n## Install\n\n```bash\npython -m pip install awsovpn\n```\n\n## Configure\n\nConfigure using any of combination of the following methods:\n\n1. awscli configuration\n\n If you have [awscli](https://aws.amazon.com/cli/) installed and configured, then awsovpn can utilize this same configuration. Just use `--profile PROFILE` to specify an AWS configuration profile. \n\n ```bash\n awsovpn --profile myprofile up\n ``````\n\n2. environment variables\n\n Create a `.env` file or set the following environment variables: \n\n ```text\n AWS_REGION=\n AWS_ACCESS_KEY_ID=\n AWS_SECRET_ACCESS_KEY=\n AWS_PROFILE=\n ```\n\n3. use arguments\n\n You can also pass credential configuration as arguments:\n\n e.g.\n\n ```bash\n awsovpn --region REGION --access-key-id ACCESS_KEY_ID --secret-access-key SECRET_ACCESS_KEY\n ```\n",
"bugtrack_url": null,
"license": "",
"summary": "Simple script for easy creation of OpenVPN instance on AWS",
"version": "0.5",
"project_urls": {
"Documentation": "https://awsovpn.readthedocs.io/en/latest/",
"Homepage": "https://awsovpn.readthedocs.io/",
"Packaging tutorial": "https://packaging.python.org/tutorials/packaging-projects/",
"Source": "https://github.com/parleer/awsovpn/"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b2e485c78750be2264b95d40d569f7915f8eb497c38256849c5f6d701e656529",
"md5": "f325f8b4f1cbd022c2d9d12dec480ad6",
"sha256": "cbfbe911fa8e8c4777edae32076c7720e3e3989eba602c98abce2ddb801316af"
},
"downloads": -1,
"filename": "awsovpn-0.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "f325f8b4f1cbd022c2d9d12dec480ad6",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 11962,
"upload_time": "2024-01-03T20:06:29",
"upload_time_iso_8601": "2024-01-03T20:06:29.785160Z",
"url": "https://files.pythonhosted.org/packages/b2/e4/85c78750be2264b95d40d569f7915f8eb497c38256849c5f6d701e656529/awsovpn-0.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "5bcd51460182a0c0e864b3ebf3e6696289142f9c60541b8115abe104e506e74a",
"md5": "68f4bedce4df0378278a49b08be5705d",
"sha256": "48ddd1b2d763ee06c0693d10b7d23aa5826c47c0bd361a6fbf7591c104074c71"
},
"downloads": -1,
"filename": "awsovpn-0.5.tar.gz",
"has_sig": false,
"md5_digest": "68f4bedce4df0378278a49b08be5705d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 12220,
"upload_time": "2024-01-03T20:06:31",
"upload_time_iso_8601": "2024-01-03T20:06:31.524780Z",
"url": "https://files.pythonhosted.org/packages/5b/cd/51460182a0c0e864b3ebf3e6696289142f9c60541b8115abe104e506e74a/awsovpn-0.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-01-03 20:06:31",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "parleer",
"github_project": "awsovpn",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "bcrypt",
"specs": [
[
"==",
"4.1.2"
]
]
},
{
"name": "boto3",
"specs": [
[
"==",
"1.34.11"
]
]
},
{
"name": "botocore",
"specs": [
[
"==",
"1.34.11"
]
]
},
{
"name": "cffi",
"specs": [
[
"==",
"1.16.0"
]
]
},
{
"name": "cryptography",
"specs": [
[
"==",
"41.0.7"
]
]
},
{
"name": "jmespath",
"specs": [
[
"==",
"1.0.1"
]
]
},
{
"name": "paramiko",
"specs": [
[
"==",
"3.4.0"
]
]
},
{
"name": "pycparser",
"specs": [
[
"==",
"2.21"
]
]
},
{
"name": "pynacl",
"specs": [
[
"==",
"1.5.0"
]
]
},
{
"name": "python-dateutil",
"specs": [
[
"==",
"2.8.2"
]
]
},
{
"name": "python-dotenv",
"specs": [
[
"==",
"1.0.0"
]
]
},
{
"name": "s3transfer",
"specs": [
[
"==",
"0.10.0"
]
]
},
{
"name": "six",
"specs": [
[
"==",
"1.16.0"
]
]
},
{
"name": "urllib3",
"specs": [
[
"==",
"1.26.18"
]
]
}
],
"lcname": "awsovpn"
}