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.
- [ ! 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
-
[ ! 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
# [install]
brew tap ghdwlsgur/govpn
brew install govpn
# [upgrade]
brew upgrade govpn
$ 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
GoVPN is licensed under the MIT