Skip to content

Cloud Network Controller (formerly Cloud ACI) in AWS (DEVNET-2686)

License

Notifications You must be signed in to change notification settings

marinalf/cnc-demo-terraform-aws

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

published

Sample terraform integration with Cisco Cloud ACI

This project shows how Cloud ACI works on public clouds such as AWS, how it normalizes and translates the ACI policy model into public cloud native constructs, and how Terraform can be leveraged to automate Cloud ACI operations.

High Level Diagram

aws

Use Case: Single Region/Tenant/VRF

The code builds a VPC on us-east-1 region (same region as the infra VPC where cAPIC is deployed) with TGW, then creates two EPGs (Web & DB) which translates to 2 Security Groups, and enable Web access from Internet using contracts.

Pre-requisites

Cloud ACI running in AWS on a dedicated account/infra VPC. The Cloud APIC credentials and AWS account to be used for the user Tenant/VPC are defined in a variable file, as well as the name of the tenant.

Providers

Name Version
aci >=2.2.1

Installation

  1. Install and set up your terraform environment
  2. Clone/copy the .tf files (main.tf, variables.tf, outputs.tf, and versions.tf) onto your terraform environment
  3. Create a terraform.tfvars file with your Cloud APIC credentials and AWS account used for the user tenant/VPC
  4. Optionally, the aws.tf file deploys two EC2 instances (web-vm and db-vm) for testing purposes.

Usage

terraform init
terraform plan
terraform apply

End State on Cloud ACI

aws

Cloud Networking

aws

About

Cloud Network Controller (formerly Cloud ACI) in AWS (DEVNET-2686)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages