Giter Club home page Giter Club logo

ace-iac-day-zero's Introduction

ace-iac-day-zero (Lab 1 and Lab 2)

This repository builds out the following infrastructure for the Aviatrix ACE IaC course:

  • Aviatrix Transit in AWS
  • Aviatrix Spoke in AWS
  • Aviatrix Spoke in Azure
  • Ubuntu VMs with password authentication (1 per spoke)
  • Multi-Cloud Segmentation (2 security domains)
Component Version
Aviatrix Controller UserConnect-6.7.1319 (6.7)
Aviatrix Terraform Provider > 2.22.1
Terraform > 1.1.0
AWS Terraform Provider > 4.0
Azure Terraform Provider > 3.0.0

Dependencies

  • Software version requirements met
  • Aviatrix Controller with Access Accounts defined for AWS
  • Sufficient AWS EIPs for region in scope
  • Account credentials for AWS defined in environment. The following environment variables will be needed:
    • AWS_ACCESS_KEY_ID
    • AWS_SECRET_ACCESS_KEY
    • TF_VAR_azure_subscription_id
    • TF_VAR_azure_tenant_id
    • TF_VAR_azure_client_id
    • TF_VAR_azure_client_secret

ace-iac-day-zero's People

Contributors

ace-netops avatar hoodbu avatar umair-devops avatar umair-netops avatar umair-secops avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ace-iac-day-zero's Issues

Instance size unavailable in Canada Central

Error: creating Linux Virtual Machine: (Name "ace-iac-spoke2-app" / Resource Group "rg-av-ace-iac-spoke2-125666"): compute.VirtualMachinesClient#CreateOrUpdate: Failure sending request: StatusCode=409 -- Original Error: Code="SkuNotAvailable" Message="The requested size for resource '/subscriptions/0ded6c5f-4893-430e-87ee-c3382cea2ce6/resourceGroups/rg-av-ace-iac-spoke2-125666/providers/Microsoft.Compute/virtualMachines/ace-iac-spoke2-app' is currently not available in location 'canadacentral' zones '' for subscription '0ded6c5f-4893-430e-87ee-c3382cea2ce6'. Please try another size or deploy to a different location or zones. See https://aka.ms/azureskunotavailable for details."
with azurerm_linux_virtual_machine.azure_spoke2_vm
on azure.tf line 81, in resource "azurerm_linux_virtual_machine" "azure_spoke2_vm":
resource "azurerm_linux_virtual_machine" "azure_spoke2_vm" {

Error: failed to create Aviatrix Spoke Gateway: rest API create_spoke_gw Post failed: Error: [AVXERR-TRANSIT-0067] Azure Error: InvalidTemplateDeployment Message: The template deployment failed with error: 'The resource with id: '/subscriptions/0ded6c5f-4893-430e-87ee-c3382cea2ce6/resourceGroups/rg-av-ace-iac-spoke2-125666/providers/Microsoft.Compute/virtualMachines/av-gw-ace-iac-spoke2' failed validation with message: 'The requested size for resource '/subscriptions/0ded6c5f-4893-430e-87ee-c3382cea2ce6/resourceGroups/rg-av-ace-iac-spoke2-125666/providers/Microsoft.Compute/virtualMachines/av-gw-ace-iac-spoke2' is currently not available in location 'Canada Central' zones '1' for subscription '0ded6c5f-4893-430e-87ee-c3382cea2ce6'. Please try another size or deploy to a different location or zones. See https://aka.ms/azureskunotavailable for details.'.'. Please go to Azure cloud portal and check Activity log for resource group rg-av-ace-iac-spoke2-125666 to get detailed reason.
with module.azure_spoke_2.aviatrix_spoke_gateway.default
on .terraform/modules/azure_spoke_2/main.tf line 35, in resource "aviatrix_spoke_gateway" "default":
resource "aviatrix_spoke_gateway" "default" {

i am unable to identify the right size

Apply failing until Microsoft.Network and Microsoft.Compute providers registered in Azure

The following components were failing until Microsoft.Network and Microsoft.Compute providers were registered:

image

Azure CLI command to register the provider:

az provider register --namespace Microsoft.Network

az provider register --namespace Microsoft.Compute

Command to confirm that registration was successful:

az provider show -n Microsoft.Network --output table

az provider show -n Microsoft.Compute --output table

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.