Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Kong/kong-dist-cloudformation

:monkey: Kong CloudFormation Stack
https://github.com/Kong/kong-dist-cloudformation

Last synced: about 1 month ago
JSON representation

:monkey: Kong CloudFormation Stack

Awesome Lists containing this project

README

        

# [KONG][website-url] :heavy_plus_sign: [AWS CloudFormation](https://aws.amazon.com/cloudformation/)

[Website][website-url] |
[Documentation](https://getkong.org/docs) |
[Forum](https://discuss.konghq.com) |
[Blog](https://konghq.com/blog)

[![][kong-logo]][website-url]

This CloudFormation template helps you model and set up Kong's
resources in AWS easily.

Note: For Kong's 0.10.x and older versions template please
check out the 4.0.0 or older tags.

## Summary

You have option to chose between two templates:

### 1) Kong with Cassandra DB (you need to bring yours own Cassandra cluster)

Provisions Kong resources with user provided Cassandra seed nodes
in a new VPC or existing VPC.

| Region | HVM AMIs | PV AMIs |
| ----------------: | ------------------------------------------------------------------ | ---------------------------------------------------------------- |
| `us-east-1` | [![Kong Stack launch][stack-badge]][us-east-1-hvm-stack-url] | [![Kong Stack launch][stack-badge]][us-east-1-pv-stack-url] |
| `us-west-1` | [![Kong Stack launch][stack-badge]][us-west-1-hvm-stack-url] | [![Kong Stack launch][stack-badge]][us-west-1-pv-stack-url] |
| `us-west-2` | [![Kong Stack launch][stack-badge]][us-west-2-hvm-stack-url] | [![Kong Stack launch][stack-badge]][us-west-2-pv-stack-url] |
| `eu-west-1` | [![Kong Stack launch][stack-badge]][eu-west-1-hvm-stack-url] | [![Kong Stack launch][stack-badge]][eu-west-1-pv-stack-url] |
| `ap-northeast-1` | [![Kong Stack launch][stack-badge]][ap-northeast-1-hvm-stack-url] | [![Kong Stack launch][stack-badge]][ap-northeast-1-pv-stack-url] |
| `ap-southeast-1` | [![Kong Stack launch][stack-badge]][ap-southeast-1-hvm-stack-url] | [![Kong Stack launch][stack-badge]][ap-southeast-1-pv-stack-url] |
| `ap-southeast-2` | [![Kong Stack launch][stack-badge]][ap-southeast-2-hvm-stack-url] | [![Kong Stack launch][stack-badge]][ap-southeast-2-pv-stack-url] |
| `sa-east-1` | [![Kong Stack launch][stack-badge]][sa-east-1-hvm-stack-url] | [![Kong Stack launch][stack-badge]][sa-east-1-pv-stack-url] |

### 2) Kong with Postgres DB

Provisions Kong resources - including the necessary Postgres database -
in a new VPC or existing VPC.

| Region | HVM AMIs | PV AMIs |
| ----------------: | ------------------------------------------------------------------ | ---------------------------------------------------------------- |
| `us-east-1` | [![Kong Stack launch][stack-badge]][us-east-1-postgres-hvm-stack-url] | [![Kong Stack launch][stack-badge]][us-east-1-postgres-pv-stack-url] |
| `us-west-1` | [![Kong Stack launch][stack-badge]][us-west-1-postgres-hvm-stack-url] | [![Kong Stack launch][stack-badge]][us-west-1-postgres-pv-stack-url] |
| `us-west-2` | [![Kong Stack launch][stack-badge]][us-west-2-postgres-hvm-stack-url] | [![Kong Stack launch][stack-badge]][us-west-2-postgres-pv-stack-url] |
| `eu-west-1` | [![Kong Stack launch][stack-badge]][eu-west-1-postgres-hvm-stack-url] | [![Kong Stack launch][stack-badge]][eu-west-1-postgres-pv-stack-url] |
| `ap-northeast-1` | [![Kong Stack launch][stack-badge]][ap-northeast-1-postgres-hvm-stack-url] | [![Kong Stack launch][stack-badge]][ap-northeast-1-postgres-pv-stack-url] |
| `ap-southeast-1` | [![Kong Stack launch][stack-badge]][ap-southeast-1-postgres-hvm-stack-url] | [![Kong Stack launch][stack-badge]][ap-southeast-1-postgres-pv-stack-url] |
| `ap-southeast-2` | [![Kong Stack launch][stack-badge]][ap-southeast-2-postgres-hvm-stack-url] | [![Kong Stack launch][stack-badge]][ap-southeast-2-postgres-pv-stack-url] |
| `sa-east-1` | [![Kong Stack launch][stack-badge]][sa-east-1-postgres-hvm-stack-url] | [![Kong Stack launch][stack-badge]][sa-east-1-postgres-pv-stack-url] |

### 3) Kong in DB-less mode

Provisions Kong resources in a new VPC or existing VPC.

User would need to provide a S3 bucket location where `kong.yml` is stored
with declarative configuration to bootstrap all the Kong instances.

| Region | HVM AMIs | PV AMIs |
| ----------------: | ------------------------------------------------------------------ | ---------------------------------------------------------------- |
| `us-east-1` | [![Kong Stack launch][stack-badge]][us-east-1-dbless-hvm-stack-url] | [![Kong Stack launch][stack-badge]][us-east-1-dbless-pv-stack-url] |
| `us-west-1` | [![Kong Stack launch][stack-badge]][us-west-1-dbless-hvm-stack-url] | [![Kong Stack launch][stack-badge]][us-west-1-dbless-pv-stack-url] |
| `us-west-2` | [![Kong Stack launch][stack-badge]][us-west-2-dbless-hvm-stack-url] | [![Kong Stack launch][stack-badge]][us-west-2-dbless-pv-stack-url] |
| `eu-west-1` | [![Kong Stack launch][stack-badge]][eu-west-1-dbless-hvm-stack-url] | [![Kong Stack launch][stack-badge]][eu-west-1-dbless-pv-stack-url] |
| `ap-northeast-1` | [![Kong Stack launch][stack-badge]][ap-northeast-1-dbless-hvm-stack-url] | [![Kong Stack launch][stack-badge]][ap-northeast-1-dbless-pv-stack-url] |
| `ap-southeast-1` | [![Kong Stack launch][stack-badge]][ap-southeast-1-dbless-hvm-stack-url] | [![Kong Stack launch][stack-badge]][ap-southeast-1-dbless-pv-stack-url] |
| `ap-southeast-2` | [![Kong Stack launch][stack-badge]][ap-southeast-2-dbless-hvm-stack-url] | [![Kong Stack launch][stack-badge]][ap-southeast-2-dbless-pv-stack-url] |
| `sa-east-1` | [![Kong Stack launch][stack-badge]][sa-east-1-dbless-hvm-stack-url] | [![Kong Stack launch][stack-badge]][sa-east-1-dbless-pv-stack-url] |

### Parameters

Recommended usage: use this cloud formation as basis for your
own, adjust the variables and template to better suite your needs.

#### Cassandra

| Parameter | Default | Description |
| --------------------------: | ------------ | ------------------------------------------------------------------------------------ |
| `SSHLocation` | `0.0.0.0/0` | The IP address range that can be used to SSH to the Kong and Cassandra EC2 instances |
| `KongProxyAccess` | `0.0.0.0/0` | The IP address range that can be used to access the Kong admin server |
| `KongAdminAccess` | `0.0.0.0/0` | The IP address range that can be used to access the Kong proxy server |
| `KongKeyName` | `-` | Existing EC2 KeyPair to enable SSH access to the Kong instances |
| `KongFleetMaxSize` | `2` | Max Number of Kong instances *(Min: `1`)* |
| `KongFleetDesiredSize` | `2` | Desired Number of Kong instances *(Min: `1`)* |
| `KongInstanceType` | `c3.2xlarge` | EC2 instance type for Kong. Note: T2 instance is not supported on the EC2-Classic platform |
| `KongVersion` | `-` | Kong version to be deployed. Leave it blank to install latest version. |
| `KongBootstrapMigration ` | `true` | Select `false` to not run the Kong bootstrap migrations while Kong starts |
| `KongConfigs` | `` | Comma separated Kong configurations in KONG_=Val format |
| `CassandraKeyName` | `-` | Existing EC2 KeyPair to enable SSH access to the instances for Cassandra |
| `CassandraFleetSize` | `1` | Number of nodes in cluster. *(Min: `1`)* |
| `CassandraInstanceType` | `c3.2xlarge` | EC2 instance type for Cassandra |
| `CassandraClusterName` | `-` | Cassandra cluster name |
| `CassandraClusterVersion` | `2.2.4` | Cassandra cluster version |
| `CassandraVersion` | `Community` | Cassandra version |
| `CassandraOpsCenterAccess` | `0.0.0.0/0` | The IP address range that can access OpsCenter for Cassandra cluster management |
| `CassandraSeedNodes` | `-` | Comma separated Cassandra seed nodes DNS/IP address ex. example.com[, 123.123.123.123] |
| `CassandraPort` | `9042` | Cassandra nodes query port ex. 9042 |
| `VpcId` | `-` | Optional- VPC Id of existing VPC. Leave blank to have a new VPC created |
| `SubnetId1` | `-` | Conditional- required if VpcId provided. Existing VPC Subnet Id 1 where ECS instances will run |
| `SubnetId2` | `-` | Conditional- required if VpcId provided. Existing VPC Subnet Id 2 where ECS instances will run |
| `Subnet1AZ` | `-` | Conditional- required if VpcId provided or if *-1a AZ not supported by AWS account. Existing VPC Subnet 1 AvailabilityZone |
| `Subnet2AZ` | `-` | Conditional- required if either VpcId or Subnet1AZ provided or *-1b AZ not supported by account. Existing VPC Subnet 2 AvailabilityZone |

#### Postgres

| Parameter | Default | Description |
| --------------------------: | ------------ | ------------------------------------------------------------------------------------ |
| `SSHLocation` | `0.0.0.0/0` | The IP address range that can be used to SSH to the Kong and Cassandra EC2 instances |
| `KongProxyAccess` | `0.0.0.0/0` | The IP address range that can be used to access the Kong admin server |
| `KongAdminAccess` | `0.0.0.0/0` | The IP address range that can be used to access the Kong proxy server |
| `KongKeyName` | `-` | Existing EC2 KeyPair to enable SSH access to the Kong instances |
| `KongFleetMaxSize` | `2` | Max Number of Kong instances *(Min: `1`)* |
| `KongFleetDesiredSize` | `2` | Desired Number of Kong instances *(Min: `1`)* |
| `KongInstanceType` | `c3.2xlarge` | EC2 instance type for Kong. Note: T2 instance is not supported on the EC2-Classic platform |
| `KongVersion` | `-` | Kong version to be deployed. Leave it blank to install latest version. |
| `KongBootstrapMigration ` | `true` | Select `false` to not run the Kong bootstrap migrations when Kong starts |
| `KongConfigs` | `` | Comma separated Kong configurations in KONG_=Val format |
| `DBName` | `Kong` | Database name |
| `DBHost` | `-` | The database host dns/ip address, leave blank to start a new RDS instance |
| `DBPort` | `5432` | The database port, leave blank to start a new RDS instance |
| `DBUsername` | `kong` | The database admin account username |
| `DBPassword` | `changeit` | The database admin account password |
| `DBClass` | `db.m1.large` | Database instance class |
| `DBPublicAccess` | `false` | Database public access |
| `DBVersion` | `9.4.7` | Postgres version |
| `DBAllocatedStorage` | `5` | The size of the database (Gb) |
| `DBSnapshotIdentifier` | `-` | The RDS snapshot name to restore to the new DB instance. |
| `VpcId` | `-` | Optional- VPC Id of existing VPC. Leave blank to have a new VPC created |
| `SubnetId1` | `-` | Conditional- required if VpcId provided. Existing VPC Subnet Id 1 where ECS instances will run |
| `SubnetId2` | `-` | Conditional- required if VpcId provided. Existing VPC Subnet Id 2 where ECS instances will run |
| `Subnet1AZ` | `-` | Conditional- required if VpcId provided or if *-1a AZ not supported by account. Existing VPC Subnet 1 AvailabilityZone |
| `Subnet2AZ` | `-` | Conditional- required if either VpcId or Subnet1AZ provided or *-1b AZ not supported by account. Existing VPC Subnet 2 AvailabilityZone |

#### DB-less mode

| Parameter | Default | Description |
| --------------------------: | ------------ | ------------------------------------------------------------------------------------ |
| `SSHLocation` | `0.0.0.0/0` | The IP address range that can be used to SSH to the Kong and Cassandra EC2 instances |
| `KongProxyAccess` | `0.0.0.0/0` | The IP address range that can be used to access the Kong admin server |
| `KongAdminAccess` | `0.0.0.0/0` | The IP address range that can be used to access the Kong proxy server |
| `KongKeyName` | `-` | Existing EC2 KeyPair to enable SSH access to the Kong instances |
| `KongFleetMaxSize` | `2` | Max Number of Kong instances *(Min: `1`)* |
| `KongFleetDesiredSize` | `2` | Desired Number of Kong instances *(Min: `1`)* |
| `KongInstanceType` | `c3.2xlarge` | EC2 instance type for Kong. Note: T2 instance is not supported on the EC2-Classic platform |
| `KongVersion` | `-` | Kong version to be deployed. Leave it blank to install latest version. |
| `KongConfigBucketName ` | `` | S3 bucket where kong declarative config file `kong.yml` is stored |
| `KongConfigs` | `` | Comma separated Kong configurations in KONG_=Val format |
| `VpcId` | `-` | Optional- VPC Id of existing VPC. Leave blank to have a new VPC created |
| `SubnetId1` | `-` | Conditional- required if VpcId provided. Existing VPC Subnet Id 1 where ECS instances will run |
| `SubnetId2` | `-` | Conditional- required if VpcId provided. Existing VPC Subnet Id 2 where ECS instances will run |
| `Subnet1AZ` | `-` | Conditional- required if VpcId provided or if *-1a AZ not supported by account. Existing VPC Subnet 1 AvailabilityZone |
| `Subnet2AZ` | `-` | Conditional- required if either VpcId or Subnet1AZ provided or *-1b AZ not supported by account. Existing VPC Subnet 2 AvailabilityZone |

### Instructions:

1. **Initial Setup**:

Create the required key pairs, one to access Kong instances and one for Cassandra if template povisioning a new Cassandra cluster. If you providing your own DB instances, make sure its accessible by Kong instances.
If you want to create instances in existing VPC, VPC need to have two public subnet and all required ports open to allow access to Kong Load balancer.

*Continue to next step if you want to use an existing key pair*

3. **Choose a Region & VM Type**:

Choose the region closest to your API servers, and pick the virtualization type you'd like from the list of available [templates](#templates) above.

You should land on AWS Cloud Formation *"Select Template"* page

4. **Parameters**:

Fill in all the parameters details. If you chose to launch Kong with Cassandra/Postgres you would be asked to fill in extra parameters to create a Cassandra cluster or Postgres RDS instance.
check the description of each field and provide appropriate values.

**Note**: *consult the [parameters table](#parameters) for detailed description of parameters*

5. **Option page**:

Add Tags and other fields according to your requirements.

**Note:** *The template is configured to add a "Name" tag to each relevant resource*

6. **Grab a Coffee!**:

It will take several minutes *(~20 minutes)* to create the stack. Once the stack has a status of `CREATE_COMPLETE`, click on *"Output"* tab to get the proxy and Admin URL, it may take *60 seconds* more for links to become active.

**Note**: *To monitor the progress go to AWS CloudFormation console, select the stack in the list. In the stack details pane, click the "Events" tab to see the progress.*

7. **Use Kong:**

Quickly learn how to use Kong with the [5-minute Quickstart](https://getkong.org/docs/latest/getting-started/quickstart/).

#### SSL Support

You can install SSL Certificate on the Kong Load Balancer.

##### [SSL Certificate for Kong Load Balancer](http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/ssl-server-cert.html)

1. Obtain the Kong Load Balancer `id` from the *"Resources tab"*.
2. Find the matching Kong Load Balancer instance.
3. Edit Listeners from the bottom pane, click Add.
4. In the Load Balancer Protocol column, select HTTPS (Secure HTTP). This updates the Load Balancer Port, Instance Protocol, and Instance Port columns. In the Instance Protocol column, select HTTP and update the Instance port to 8000.
5. By default, Elastic Load Balancing selects the current predefined security policy, ELBSecurityPolicy-2015-05, for your HTTPS/SSL listener. This is the recommended setting.
6. In the SSL Certificate column, click Change, and then you either upload a new certificate or choose an existing Certificate.
7. Click Save to add the listeners you just configured.
8. Click on Security tab.
9. Click on Security Group id.
10. In the bottom pane, select the Inbound tab.
11. Click Edit.
12. Add Load Balancer Port for the HTTPS to the list and save.

#### Important Note

1. The security configuration on the templates opens up all externally accessible ports to incoming traffic from any IP address if default is chosen *(`0.0.0.0/0`)*
2. The risk of data leakage is high. If you desire a more secure configuration, please update access fields with appropiate IP address range
3. The template installs many resources on AWS. You will be billed just for the AWS resources used
4. Some of the instance types may not be supported in all the AWS Regions or Availablity Zones, so choose next best available option

## Enterprise Support

Support, Demo, Training, API Certifications and Consulting available at http://getkong.org/enterprise.

[kong-logo]: https://konghq.com/wp-content/uploads/2018/05/kong-logo-github-readme.png
[website-url]: https://konghq.com

[us-east-1-hvm-stack-url]: https://console.aws.amazon.com/cloudformation/home?region=us-east-1#/stacks/new?stackName=kong-elb-hvm&templateURL=https:%2F%2Fs3.amazonaws.com%2Fkong-cf-templates%2Flatest%2Fkong-elb-cassandra-user-vpc-optional-hvm.template
[us-west-1-hvm-stack-url]: https://console.aws.amazon.com/cloudformation/home?region=us-west-1#/stacks/new?stackName=kong-elb-hvm&templateURL=https:%2F%2Fs3.amazonaws.com%2Fkong-cf-templates%2Flatest%2Fkong-elb-cassandra-user-vpc-optional-hvm.template
[us-west-2-hvm-stack-url]: https://console.aws.amazon.com/cloudformation/home?region=us-west-2#/stacks/new?stackName=kong-elb-hvm&templateURL=https:%2F%2Fs3.amazonaws.com%2Fkong-cf-templates%2Flatest%2Fkong-elb-cassandra-user-vpc-optional-hvm.template
[eu-west-1-hvm-stack-url]: https://console.aws.amazon.com/cloudformation/home?region=eu-west-1#/stacks/new?stackName=kong-elb-hvm&templateURL=https:%2F%2Fs3.amazonaws.com%2Fkong-cf-templates%2Flatest%2Fkong-elb-cassandra-user-vpc-optional-hvm.template
[ap-northeast-1-hvm-stack-url]: https://console.aws.amazon.com/cloudformation/home?region=ap-northeast-1#/stacks/new?stackName=kong-elb-hvm&templateURL=https:%2F%2Fs3.amazonaws.com%2Fkong-cf-templates%2Flatest%2Fkong-elb-cassandra-user-vpc-optional-hvm.template
[ap-southeast-1-hvm-stack-url]: https://console.aws.amazon.com/cloudformation/home?region=ap-southeast-1#/stacks/new?stackName=kong-elb-hvm&templateURL=https:%2F%2Fs3.amazonaws.com%2Fkong-cf-templates%2Flatest%2Fkong-elb-cassandra-user-vpc-optional-hvm.template
[ap-southeast-2-hvm-stack-url]: https://console.aws.amazon.com/cloudformation/home?region=ap-southeast-2#/stacks/new?stackName=kong-elb-hvm&templateURL=https:%2F%2Fs3.amazonaws.com%2Fkong-cf-templates%2Flatest%2Fkong-elb-cassandra-user-vpc-optional-hvm.template
[sa-east-1-hvm-stack-url]: https://console.aws.amazon.com/cloudformation/home?region=sa-east-1#/stacks/new?stackName=kong-elb-pv&templateURL=https:%2F%2Fs3.amazonaws.com%2Fkong-cf-templates%2Flatest%2Fkong-elb-cassandra-user-vpc-optional-hvm.template

[us-east-1-pv-stack-url]: https://console.aws.amazon.com/cloudformation/home?region=us-east-1#/stacks/new?stackName=kong-elb-pv&templateURL=https:%2F%2Fs3.amazonaws.com%2Fkong-cf-templates%2Flatest%2Fkong-elb-cassandra-user-vpc-optional-pv.template
[us-west-1-pv-stack-url]: https://console.aws.amazon.com/cloudformation/home?region=us-west-1#/stacks/new?stackName=kong-elb-pv&templateURL=https:%2F%2Fs3.amazonaws.com%2Fkong-cf-templates%2Flatest%2Fkong-elb-cassandra-user-vpc-optional-pv.template
[us-west-2-pv-stack-url]: https://console.aws.amazon.com/cloudformation/home?region=us-west-2#/stacks/new?stackName=kong-elb-pv&templateURL=https:%2F%2Fs3.amazonaws.com%2Fkong-cf-templates%2Flatest%2Fkong-elb-cassandra-user-vpc-optional-pv.template
[eu-west-1-pv-stack-url]: https://console.aws.amazon.com/cloudformation/home?region=eu-west-1#/stacks/new?stackName=kong-elb-pv&templateURL=https:%2F%2Fs3.amazonaws.com%2Fkong-cf-templates%2Flatest%2Fkong-elb-cassandra-user-vpc-optional-pv.template
[ap-northeast-1-pv-stack-url]: https://console.aws.amazon.com/cloudformation/home?region=ap-northeast-1#/stacks/new?stackName=kong-elb-pv&templateURL=https:%2F%2Fs3.amazonaws.com%2Fkong-cf-templates%2Flatest%2Fkong-elb-cassandra-user-vpc-optional-pv.template
[ap-southeast-1-pv-stack-url]: https://console.aws.amazon.com/cloudformation/home?region=ap-southeast-1#/stacks/new?stackName=kong-elb-pv&templateURL=https:%2F%2Fs3.amazonaws.com%2Fkong-cf-templates%2Flatest%2Fkong-elb-cassandra-user-vpc-optional-pv.template
[ap-southeast-2-pv-stack-url]: https://console.aws.amazon.com/cloudformation/home?region=ap-southeast-2#/stacks/new?stackName=kong-elb-pv&templateURL=https:%2F%2Fs3.amazonaws.com%2Fkong-cf-templates%2Flatest%2Fkong-elb-cassandra-user-vpc-optional-pv.template
[sa-east-1-pv-stack-url]: https://console.aws.amazon.com/cloudformation/home?region=sa-east-1#/stacks/new?stackName=kong-elb-pv&templateURL=https:%2F%2Fs3.amazonaws.com%2Fkong-cf-templates%2Flatest%2Fkong-elb-cassandra-user-vpc-optional-pv.template

[us-east-1-postgres-hvm-stack-url]: https://console.aws.amazon.com/cloudformation/home?region=us-east-1#/stacks/new?stackName=kong-elb-postgres-hvm&templateURL=https:%2F%2Fs3.amazonaws.com%2Fkong-cf-templates%2Flatest%2Fkong-elb-postgres-optional-vpc-optional-hvm.template
[us-west-1-postgres-hvm-stack-url]: https://console.aws.amazon.com/cloudformation/home?region=us-west-1#/stacks/new?stackName=kong-elb-postgres-hvm&templateURL=https:%2F%2Fs3.amazonaws.com%2Fkong-cf-templates%2Flatest%2Fkong-elb-postgres-optional-vpc-optional-hvm.template
[us-west-2-postgres-hvm-stack-url]: https://console.aws.amazon.com/cloudformation/home?region=us-west-2#/stacks/new?stackName=kong-elb-postgres-hvm&templateURL=https:%2F%2Fs3.amazonaws.com%2Fkong-cf-templates%2Flatest%2Fkong-elb-postgres-optional-vpc-optional-hvm.template
[eu-west-1-postgres-hvm-stack-url]: https://console.aws.amazon.com/cloudformation/home?region=eu-west-1#/stacks/new?stackName=kong-elb-postgres-hvm&templateURL=https:%2F%2Fs3.amazonaws.com%2Fkong-cf-templates%2Flatest%2Fkong-elb-postgres-optional-vpc-optional-hvm.template
[ap-northeast-1-postgres-hvm-stack-url]: https://console.aws.amazon.com/cloudformation/home?region=ap-northeast-1#/stacks/new?stackName=kong-elb-postgres-hvm&templateURL=https:%2F%2Fs3.amazonaws.com%2Fkong-cf-templates%2Flatest%2Fkong-elb-postgres-optional-vpc-optional-hvm.template
[ap-southeast-1-postgres-hvm-stack-url]: https://console.aws.amazon.com/cloudformation/home?region=ap-southeast-1#/stacks/new?stackName=kong-elb-postgres-hvm&templateURL=https:%2F%2Fs3.amazonaws.com%2Fkong-cf-templates%2Flatest%2Fkong-elb-postgres-optional-vpc-optional-hvm.template
[ap-southeast-2-postgres-hvm-stack-url]: https://console.aws.amazon.com/cloudformation/home?region=ap-southeast-2#/stacks/new?stackName=kong-elb-postgres-hvm&templateURL=https:%2F%2Fs3.amazonaws.com%2Fkong-cf-templates%2Flatest%2Fkong-elb-postgres-optional-vpc-optional-hvm.template
[sa-east-1-postgres-hvm-stack-url]: https://console.aws.amazon.com/cloudformation/home?region=sa-east-1#/stacks/new?stackName=kong-elb-postgres-hvm&templateURL=https:%2F%2Fs3.amazonaws.com%2Fkong-cf-templates%2Flatest%2Fkong-elb-postgres-hvm.template

[us-east-1-postgres-pv-stack-url]: https://console.aws.amazon.com/cloudformation/home?region=us-east-1#/stacks/new?stackName=kong-elb-postgres-pv&templateURL=https:%2F%2Fs3.amazonaws.com%2Fkong-cf-templates%2Flatest%2Fkong-elb-postgres-optional-vpc-optional-pv.template
[us-west-1-postgres-pv-stack-url]: https://console.aws.amazon.com/cloudformation/home?region=us-west-1#/stacks/new?stackName=kong-elb-postgres-pv&templateURL=https:%2F%2Fs3.amazonaws.com%2Fkong-cf-templates%2Flatest%2Fkong-elb-postgres-optional-vpc-optional-pv.template
[us-west-2-postgres-pv-stack-url]: https://console.aws.amazon.com/cloudformation/home?region=us-west-2#/stacks/new?stackName=kong-elb-postgres-pv&templateURL=https:%2F%2Fs3.amazonaws.com%2Fkong-cf-templates%2Flatest%2Fkong-elb-postgres-optional-vpc-optional-pv.template
[eu-west-1-postgres-pv-stack-url]: https://console.aws.amazon.com/cloudformation/home?region=eu-west-1#/stacks/new?stackName=kong-elb-postgres-pv&templateURL=https:%2F%2Fs3.amazonaws.com%2Fkong-cf-templates%2Flatest%2Fkong-elb-postgres-optional-vpc-optional-pv.template
[ap-northeast-1-postgres-pv-stack-url]: https://console.aws.amazon.com/cloudformation/home?region=ap-northeast-1#/stacks/new?stackName=kong-elb-postgres-pv&templateURL=https:%2F%2Fs3.amazonaws.com%2Fkong-cf-templates%2Flatest%2Fkong-elb-postgres-optional-vpc-optional-pv.template
[ap-southeast-1-postgres-pv-stack-url]: https://console.aws.amazon.com/cloudformation/home?region=ap-southeast-1#/stacks/new?stackName=kong-elb-postgres-pv&templateURL=https:%2F%2Fs3.amazonaws.com%2Fkong-cf-templates%2Flatest%2Fkong-elb-postgres-optional-vpc-optional-pv.template
[ap-southeast-2-postgres-pv-stack-url]: https://console.aws.amazon.com/cloudformation/home?region=ap-southeast-2#/stacks/new?stackName=kong-elb-postgres-pv&templateURL=https:%2F%2Fs3.amazonaws.com%2Fkong-cf-templates%2Flatest%2Fkong-elb-postgres-optional-vpc-optional-pv.template
[sa-east-1-postgres-pv-stack-url]: https://console.aws.amazon.com/cloudformation/home?region=sa-east-1#/stacks/new?stackName=kong-elb-postgres-pv&templateURL=https:%2F%2Fs3.amazonaws.com%2Fkong-cf-templates%2Flatest%2Fkong-elb-postgres-optional-vpc-optional-pv.template

[us-east-1-dbless-hvm-stack-url]: https://console.aws.amazon.com/cloudformation/home?region=us-east-1#/stacks/new?stackName=kong-elb-dbless-hvm&templateURL=https:%2F%2Fs3.amazonaws.com%2Fkong-cf-templates%2Flatest%2Fkong-elb-dbless-vpc-optional-hvm.template
[us-west-1-dbless-hvm-stack-url]: https://console.aws.amazon.com/cloudformation/home?region=us-west-1#/stacks/new?stackName=kong-elb-dbless-hvm&templateURL=https:%2F%2Fs3.amazonaws.com%2Fkong-cf-templates%2Flatest%2Fkong-elb-dbless-vpc-optional-hvm.template
[us-west-2-dbless-hvm-stack-url]: https://console.aws.amazon.com/cloudformation/home?region=us-west-2#/stacks/new?stackName=kong-elb-dbless-hvm&templateURL=https:%2F%2Fs3.amazonaws.com%2Fkong-cf-templates%2Flatest%2Fkong-elb-dbless-vpc-optional-hvm.template
[eu-west-1-dbless-hvm-stack-url]: https://console.aws.amazon.com/cloudformation/home?region=eu-west-1#/stacks/new?stackName=kong-elb-dbless-hvm&templateURL=https:%2F%2Fs3.amazonaws.com%2Fkong-cf-templates%2Flatest%2Fkong-elb-dbless-vpc-optional-hvm.template
[ap-northeast-1-dbless-hvm-stack-url]: https://console.aws.amazon.com/cloudformation/home?region=ap-northeast-1#/stacks/new?stackName=kong-elb-dbless-hvm&templateURL=https:%2F%2Fs3.amazonaws.com%2Fkong-cf-templates%2Flatest%2Fkong-elb-dbless-vpc-optional-hvm.template
[ap-southeast-1-dbless-hvm-stack-url]: https://console.aws.amazon.com/cloudformation/home?region=ap-southeast-1#/stacks/new?stackName=kong-elb-dbless-hvm&templateURL=https:%2F%2Fs3.amazonaws.com%2Fkong-cf-templates%2Flatest%2Fkong-elb-dbless-vpc-optional-hvm.template
[ap-southeast-2-dbless-hvm-stack-url]: https://console.aws.amazon.com/cloudformation/home?region=ap-southeast-2#/stacks/new?stackName=kong-elb-dbless-hvm&templateURL=https:%2F%2Fs3.amazonaws.com%2Fkong-cf-templates%2Flatest%2Fkong-elb-dbless-vpc-optional-hvm.template
[sa-east-1-dbless-hvm-stack-url]: https://console.aws.amazon.com/cloudformation/home?region=sa-east-1#/stacks/new?stackName=kong-elb-dbless-hvm&templateURL=https:%2F%2Fs3.amazonaws.com%2Fkong-cf-templates%2Flatest%2Fkong-elb-dbless-hvm.template

[us-east-1-dbless-pv-stack-url]: https://console.aws.amazon.com/cloudformation/home?region=us-east-1#/stacks/new?stackName=kong-elb-dbless-pv&templateURL=https:%2F%2Fs3.amazonaws.com%2Fkong-cf-templates%2Flatest%2Fkong-elb-dbless-vpc-optional-pv.template
[us-west-1-dbless-pv-stack-url]: https://console.aws.amazon.com/cloudformation/home?region=us-west-1#/stacks/new?stackName=kong-elb-dbless-pv&templateURL=https:%2F%2Fs3.amazonaws.com%2Fkong-cf-templates%2Flatest%2Fkong-elb-dbless-vpc-optional-pv.template
[us-west-2-dbless-pv-stack-url]: https://console.aws.amazon.com/cloudformation/home?region=us-west-2#/stacks/new?stackName=kong-elb-dbless-pv&templateURL=https:%2F%2Fs3.amazonaws.com%2Fkong-cf-templates%2Flatest%2Fkong-elb-dbless-vpc-optional-pv.template
[eu-west-1-dbless-pv-stack-url]: https://console.aws.amazon.com/cloudformation/home?region=eu-west-1#/stacks/new?stackName=kong-elb-dbless-pv&templateURL=https:%2F%2Fs3.amazonaws.com%2Fkong-cf-templates%2Flatest%2Fkong-elb-dbless-vpc-optional-pv.template
[ap-northeast-1-dbless-pv-stack-url]: https://console.aws.amazon.com/cloudformation/home?region=ap-northeast-1#/stacks/new?stackName=kong-elb-dbless-pv&templateURL=https:%2F%2Fs3.amazonaws.com%2Fkong-cf-templates%2Flatest%2Fkong-elb-dbless-vpc-optional-pv.template
[ap-southeast-1-dbless-pv-stack-url]: https://console.aws.amazon.com/cloudformation/home?region=ap-southeast-1#/stacks/new?stackName=kong-elb-dbless-pv&templateURL=https:%2F%2Fs3.amazonaws.com%2Fkong-cf-templates%2Flatest%2Fkong-elb-dbless-vpc-optional-pv.template
[ap-southeast-2-dbless-pv-stack-url]: https://console.aws.amazon.com/cloudformation/home?region=ap-southeast-2#/stacks/new?stackName=kong-elb-dbless-pv&templateURL=https:%2F%2Fs3.amazonaws.com%2Fkong-cf-templates%2Flatest%2Fkong-elb-dbless-vpc-optional-pv.template
[sa-east-1-dbless-pv-stack-url]: https://console.aws.amazon.com/cloudformation/home?region=sa-east-1#/stacks/new?stackName=kong-elb-dbless-pv&templateURL=https:%2F%2Fs3.amazonaws.com%2Fkong-cf-templates%2Flatest%2Fkong-elb-dbless-vpc-optional-pv.template

[stack-badge]: https://s3.amazonaws.com/cloudformation-examples/cloudformation-launch-stack.png