Code Monkey home page Code Monkey logo

govpn's Introduction

govpn-logo

GoVPN

It helps you quickly provision cloud servers for using Outline VPN


Stand With Ukraine GitHub tag (latest SemVer) Go Report Card Codacy Badge Maintainability circle ci

Overview

After the user selects an machine image, instance type, region, and availability zone, an EC2 is created in the default subnet within the selected availability zone in the default vpc. If you don't have a default vpc or default subnet, we'll help you create defulat vpc or default subnet. You can create one EC2 instance for each region. You can use the vpn service by pasting access key on the Outline Client App.

Prerequisite

EC2

  • [ ! required] ec2:CreateDefaultVpc, ec2:DescribeVpcs, ec2:DeleteVpc
  • [ ! required] ec2:CreateDefaultSubnet, ec2:DescribeSubnets, ec2:DeleteSubnet
  • [ ! required] ec2:DeleteInternetGateway, ec2:DescribeInternetGateways, ec2:DetachInternetGateway
  • [ ! required] ec2:CreateTags, ec2:DescribeInstances, ec2:DescribeInstanceTypeOfferings, ec2:DescribeAvailabilityZones, ec2:DescribeImages, ec2:DescribeRegions

Client

  • [ ! required] AWS Configure

    Execute command that aws configure

    $ aws configure
    AWS Access Key ID :
    AWS Secret Access Key :
    Default region name :
    Default output format :
  • [optional] ~/.aws/credentials or ~/.aws/credentials_temporary

Installation

Homebrew

# [install]

brew tap ghdwlsgur/govpn
brew install govpn

# [upgrade]

brew upgrade govpn

How to use

command

$ govpn apply

# Provision EC2 in the us-east-1 region.
$ govpn apply -r us-east-1

# Provision EC2 in the ap-northeast-2 region.
$ govpn destroy -r ap-northeast-2

$ govpn destroy

# Terminate EC2 in the us-east-1 region.
$ govpn destroy -r us-east-1

# Terminate EC2 in the ap-northeast-2 region.
$ govpn destroy -r ap-northeast-2

License

GoVPN is licensed under the MIT

govpn's People

Contributors

ghdwlsgur avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.