Skip to content

Cloud Formation Templates for deploying vCloud Director on EC2

Notifications You must be signed in to change notification settings

llyubenov/VCDonAWS

Repository files navigation

vCloud Director (vCD) on AWS - CloudFormation Templates

This repository contains AWS CloudFormation Templates that deploy scaleable multi cell vCloud Director Environment leveraging AWS services. The project was created for pure testing purposes with a long term goal to be leveraged in conjunction with the VMware Cloud on AWS service offering and provide fully automated mechanism to provision public cloud vCD instances on AWS. This vCD Stack is deployed in a Multi-AZ fashion by placing the stack components across Two Availability Zones in a Single AWS Region.

picture

The vCD Stack infrastructure is laid out leveraging Nested CloudFormation templates, which allows us to break the deployment of the necessary infrastructure into a smaller chunks. Leveraging Nested CloudFormation templates allows us also to have smaller templates with less repeatable code in them.

Prerequisites

Before you are able to successfully deploy this templates, there are a few prerequisites that needs to be performed before you can deploy this stack:

  • EC2 Key Pairs - You need to create two sets of EC2 key pars (highly recommended). One to be assigned for the Bastion host/s and another for the vCD Cells EC2 Instances.
  • ELB Certificate - The Application ELB for the vCD UI requires a certificate to be upload to ACM before you try to deploy this stack. You need to provide the ARN for this certificate when deploying this stack.
  • vCD Binaries - This stack requires the vCD binaries to be uploaded on a S3 bucket. You need to provide the name of the S3 bucket and the binary name when deploying this stack.
  • vCD License Key - This stack requires vCD license key to be provided in order for the stack to successfully deploy.

Templates

The nested templates are broken down into different categories:

Orchestrator

Back to Top

This is master templates that calls all nested templates.

Creates the Complete vCD Stack

The template deploy the following nested templates
  1. VPC
  2. Bastion Host/s
  3. Postgres RDS
  4. vCD Deployment
  5. Elastic Load Balancers
  6. AutoScaling Groups
Public S3 URL
    https://s3-us-west-2.amazonaws.com/vcd-cf-templates/main.template
Launch
View in Designer
View in Designer

Infrastructure

Back to Top

Creates the VPC with single or multi-az network topology

This template deploys
  1. VPC
  2. Public Network/s
  3. Private Network/s
  4. Nat Gateways/s
  5. EIP/s
  6. Routing tables
  7. S3 endpoint
Public S3 URL
    https://s3-us-west-2.amazonaws.com/vcd-cf-templates/vpc.template
Launch
View in Designer
View in Designer

Bastion Hosts

Back to Top

This template is based of the Linux Bastion Hosts on AWS - Quick starts template.

This template deploys
  1. Security Groups
  2. EIP/s
  3. Bastion host/s in Auto Scaling Group
  4. Bastion host/s Access Security Group
  5. Private instances Access Security Group
Public S3 URL
    https://s3-us-west-2.amazonaws.com/vcd-cf-templates/linux-bastion.template
Launch
View in Designer
View in Designer

Database

Back to Top

Deploys the Postgres RDS in single or multi-az deployment

This template deploys
  1. RDS Security Group
  2. Postgres RDS


Public S3 URL
    https://s3-us-west-2.amazonaws.com/vcd-cf-templates/rds.template
Launch
View in Designer
View in Designer

vCD deployment

Back to Top

Deploys the Primary vCD cell

This template deploys
  1. EC2 Instance
  2. vCD Cells Access Security Group
  3. S3 Bucket for vCD Transfer Store
  4. Configures first vCD Cell

Public S3 URL
    https://s3-us-west-2.amazonaws.com/vcd-cf-templates/vcd-main.template
Launch
View in Designer
View in Designer

Load Balancing

Back to Top

Deploys Elastic Load Balancers for vCD

This template deploys
  1. vCD UI Elastic Load Balancer
  2. vCD Console Proxy Elastic Load Balancer



Public S3 URL
    https://s3-us-west-2.amazonaws.com/vcd-cf-templates/vcd-elb.template
Launch
View in Designer
View in Designer

vCD Autoscaling Groups

Back to Top

Deploys Autoscaling Groups for vCD Cells

This template deploys
  1. vCD UI Autoscaling Group
  2. Adds vCD UI Autoscaling Group to ELB UI Target Group
  3. vCD Console Proxy Autoscaling Group
  4. Adds vCD Console Proxy Autoscaling Group to ELB UI Target Group

Public S3 URL
    https://s3-us-west-2.amazonaws.com/vcd-cf-templates/vcd-cells.template
Launch
View in Designer
View in Designer

TO-DO List

About

Cloud Formation Templates for deploying vCloud Director on EC2

Resources

Stars

Watchers

Forks

Packages

No packages published