US East (N. Virginia) US East (Ohio) US West (N. California) US West (Oregon) Africa (Cape Town) Asia Pacific (Hong Kong) Asia Pacific (Mumbai) Asia Pacific (Osaka) Asia Pacific (Seoul) Asia Pacific (Singapore) Asia Pacific (Sydney) Asia Pacific (Tokyo) Canada (Central) EU (Frankfurt) EU (Ireland) EU (London) EU (Milan) EU (Paris) EU (Stockholm) Middle East (Bahrain) South America (São Paulo) AWS GovCloud (US-Gov-East) AWS GovCloud (US-Gov-West) China (Beijing) China (Ningxia)
Azure Regions East US East US 2 West US West US 2 Central US North Central US South Central US West Central US West US 3 Canada Central Canada East Brazil South North Europe West Europe France Central Germany West Central Norway East Sweden Central Switzerland North UK South UK West East Asia Southeast Asia Australia East Australia Southeast Central India Japan East Japan West Korea Central South Africa North UAE North Qatar Central
GCP Regions US Central (Iowa) US East (S. Carolina) US East (N. Virginia) US West (Oregon) US West (Los Angeles) US West (Salt Lake City) US West (Las Vegas) Belgium London Frankfurt Netherlands Zurich Taiwan Hong Kong Tokyo Mumbai Sydney Sao Paulo
OCI Regions US East (Ashburn) US West (Phoenix) Canada (Toronto) Germany (Frankfurt) Switzerland (Zurich) UK (London) Japan (Tokyo) Japan (Osaka) South Korea (Seoul) India (Mumbai) Australia (Sydney) Brazil (Sao Paulo)
  • Dashboard
  • Search
  • Setup
    • Introduction
    • Credentials
    • Parameters
    • Settings
  • Outputs
    • CloudFormation
    • Terraform
    • ARM Template
    • Troposphere
    • CDK
    • CDK (Terraform)
    • Pulumi
    • Diagram
    • TerraVision
    • Graphviz
    • Raw Output (Debug)
Categories
  • Compute
    • EC2
    • Lightsail
    • Lambda
    • Batch
    • Elastic Beanstalk
    • EC2 Image Builder
    • App Runner
  • Containers
    • ECR
    • ECS
    • EKS
  • Storage
    • S3
    • EFS
    • FSx
    • Glacier
    • Storage Gateway
    • Backup
  • Database
    • RDS
    • DynamoDB
    • ElastiCache
    • Neptune
    • Redshift
    • QLDB
    • DocumentDB
    • Timestream
    • MemoryDB
  • Migration & Transfer
    • Migration Hub
    • Database Migration Service
    • Transfer
    • DataSync
  • Networking & Content Delivery
    • VPC
    • CloudFront
    • Route 53
    • API Gateway
    • Direct Connect
    • App Mesh
    • Cloud Map
    • Global Accelerator
    • VPC IPAM
  • Developer Tools
    • CodeStar
    • CodeCommit
    • CodeArtifact
    • CodeBuild
    • CodeDeploy
    • CodePipeline
    • Cloud9
    • X-Ray
    • FIS
  • Robotics
    • RoboMaker
  • Blockchain
    • Managed Blockchain
  • Satellite
    • Ground Station
  • Management & Governance
    • Organizations
    • CloudWatch
    • Auto Scaling
    • CloudTrail
    • Config
    • OpsWorks
    • Service Catalog
    • Systems Manager
    • AppConfig
    • License Manager
    • Prometheus
    • Resilience Hub
    • Incident Manager
  • Media Services
    • Elastic Transcoder
    • MediaConnect
    • MediaConvert
    • MediaLive
    • MediaPackage
    • MediaStore
    • Interactive Video Service
    • Nimble Studio
  • Machine Learning
    • SageMaker
    • CodeGuru
    • DevOps Guru
    • Forecast
    • Fraud Detector
    • Kendra
    • Lex
    • Rekognition
    • Panorama
    • HealthLake
    • Lookout For Vision
    • Lookout For Equipment
    • Lookout For Metrics
  • Analytics
    • Athena
    • EMR
    • OpenSearch
    • Kinesis
    • QuickSight
    • Data Pipeline
    • Glue
    • Lake Formation
    • MSK
    • DataBrew
    • FinSpace
  • Security, Identity, & Compliance
    • IAM
    • Resource Access Manager
    • Cognito
    • Secrets Manager
    • GuardDuty
    • Inspector
    • Macie
    • Single Sign-On
    • Certificate Manager
    • KMS
    • CloudHSM
    • Directory Service
    • WAF & Shield
    • Security Hub
    • Detective
    • Audit Manager
    • Signer
  • Front-end Web & Mobile
    • Amplify
    • AppSync
    • Device Farm
    • Location Service
  • Application Integration
    • Step Functions
    • AppFlow
    • EventBridge
    • Amazon MQ
    • SNS
    • SQS
    • SWF
    • Managed Apache Airflow
  • AWS Cost Management
    • Cost Explorer
    • Budgets
  • Business Applications
    • Connect
    • Pinpoint
    • SES
  • End User Computing
    • WorkSpaces
    • AppStream
    • WorkLink
  • Internet Of Things
    • Core
    • 1-Click
    • Analytics
    • Device Management
    • Events
    • Greengrass
    • SiteWise
    • Things Graph
  • Game Development
    • GameLift
  • Other
    • SimpleDB
    • Resource Groups
    • Service Quotas
    • Cost & Usage Reports
Azure
  • A Compute
    • Virtual Machines
    • Web Apps
    • Functions
    • Container Registries
    • Container Instances
    • Managed Disks
    • Kubernetes Service
    • Container Apps
    • VM Scale Sets
    • App Service Plans
    • Images
    • Snapshots
    • Availability Sets
    • Machine Learning
    • Cognitive Services
    • App Service Environments
    • Container Apps Environments
    • Static Web Apps
    • Disk Encryption Sets
    • Automation
    • Dedicated Hosts
    • Proximity Placement Groups
    • Availability Zones
    • Container Registry Tasks
    • Azure Arc
    • Cloud Services
    • Autoscale Settings
    • VM Extensions
  • A Networking
    • Virtual Networks
    • Load Balancers
    • Application Gateways
    • Front Doors
    • CDN Profiles
    • Traffic Manager
    • DNS Zones
    • Private DNS Zones
    • VNet Gateways
    • Bastion Hosts
    • Firewalls
    • Network Security Groups
    • NAT Gateways
    • Route Tables
    • Private Endpoints
    • ExpressRoute
    • WAF
    • Network Interfaces
    • Application Security Groups
    • Public IP Addresses
    • Virtual WANs
    • Network Watcher
    • VNet Peering
    • Load Balancer Probes
  • A Storage
    • Storage Accounts
    • Recovery Services Vaults
    • Backup Vaults
    • Data Lake Storage
    • Blob Services
    • File Services
    • Queue Services
    • Table Services
  • A Database
    • SQL Databases
    • Cosmos DB
    • SQL Managed Instances
    • MySQL Servers
    • PostgreSQL Servers
    • MariaDB Servers
    • SQL Elastic Pools
    • SQL Servers
    • MySQL Flexible Servers
    • PostgreSQL Flexible Servers
    • SQL LTR Policies
    • SQL Failover Groups
    • MySQL Databases
    • SQL Geo-Replication
  • A Cache
    • Redis Caches
  • A Messaging
    • Service Bus
    • Event Hubs
    • Event Grid
    • Notification Hubs
    • IoT Hub
    • Event Grid Topics
    • Event Grid Domains
  • A Monitoring
    • Log Analytics & Action Groups
    • Application Insights
    • Diagnostic Settings
    • Activity Log Alerts
  • A Integration
    • API Management
    • Logic Apps
    • App Configuration
    • SignalR
    • API for FHIR
    • Relay Namespaces
    • Communication Services
    • Logic App Triggers
    • API Management Products
    • Logic App Integration Accounts
  • A Analytics
    • Data Factories
    • Synapse Analytics
    • Stream Analytics
    • Data Explorer Clusters
    • Databricks
    • Data Share
    • Data Factory Linked Services
    • Data Explorer Databases
  • A Governance
    • Resource Groups
    • Policy
    • Subscriptions
    • Management Groups
    • Reservations
    • Resource Locks
    • Policy Exemptions
    • Blueprints
  • A Security
    • Key Vaults
    • Security Center
    • Microsoft Defender
    • Sentinel
    • Key Vault Certificates
    • Key Vault Keys
    • Key Vault Secrets
  • A AI
    • OpenAI
    • Bot Services
GCP
  • GCompute
    • Compute Engine
    • GKE
  • GStorage
    • Cloud Storage
    • NetApp Volumes
  • GNetworking
    • VPC Network
    • Cloud DNS
    • Load Balancing
    • Cloud NAT
    • Cloud CDN
    • Certificate Manager
    • Cloud VPN
    • Cloud Interconnect
  • GDatabase
    • Cloud SQL
    • Cloud SQL Databases
    • Firestore
    • Memorystore Redis
    • Memorystore Memcached
    • Cloud Spanner
    • Cloud Bigtable
  • GServerless
    • Cloud Functions
    • Cloud Run
    • Cloud Scheduler
    • Cloud Tasks
    • Cloud Composer
    • API Gateway
    • Eventarc
    • Workflows
  • GMessaging
    • PubSub
  • GIAM
    • Cloud IAM
    • Resource Manager
  • GSecurity
    • Secret Manager
    • Cloud KMS
    • Cloud Armor
    • Cloud IAP
  • GDevTools
    • Cloud Build
    • Container Registry
    • Artifact Registry
    • Cloud Deploy
    • Source Repositories
  • GOperations
    • Cloud Logging
    • Cloud Monitoring
  • GAnalytics
    • Cloud Dataflow
    • Cloud Dataproc
OCI
  • OCompute
    • Compute
  • ONetworking
    • Networking
  • OStorage
    • Block Volume
    • Object Storage
  • ODatabase
    • Database

Would you like to add these related resources?


Import into a CloudFormation Stack (What is this?)

Enter the details below to create a CloudFormation Stack containing the selected resources.

You can also download the template only.

Compute

  EC2
Lightsail
Lambda
Batch
Elastic Beanstalk
EC2 Image Builder
App Runner

Containers

  ECR
ECS
EKS

Storage

  S3
EFS
FSx
Glacier
Storage Gateway
Backup

Database

  RDS
DynamoDB
ElastiCache
Neptune
Redshift
QLDB
DocumentDB
Timestream
MemoryDB

Migration & Transfer

  Migration Hub
Database Migration Service
Transfer
DataSync

Networking & Content Delivery

  VPC
CloudFront
Route 53
API Gateway
Direct Connect
App Mesh
Cloud Map
Global Accelerator
VPC IPAM

Developer Tools

  CodeStar
CodeCommit
CodeArtifact
CodeBuild
CodeDeploy
CodePipeline
Cloud9
X-Ray
FIS

Robotics

  RoboMaker

Blockchain

  Managed Blockchain

Satellite

  Ground Station

Management & Governance

  Organizations
CloudWatch
Auto Scaling
CloudTrail
Config
OpsWorks
Service Catalog
Systems Manager
AppConfig
License Manager
Prometheus
Resilience Hub
Incident Manager

Media Services

  Elastic Transcoder
MediaConnect
MediaConvert
MediaLive
MediaPackage
MediaStore
Interactive Video Service
Nimble Studio

Machine Learning

  SageMaker
CodeGuru
DevOps Guru
Forecast
Fraud Detector
Kendra
Lex
Rekognition
Panorama
HealthLake
Lookout For Vision
Lookout For Equipment
Lookout For Metrics

Analytics

  Athena
EMR
OpenSearch
Kinesis
QuickSight
Data Pipeline
Glue
Lake Formation
MSK
DataBrew
FinSpace

Security, Identity, & Compliance

  IAM
Resource Access Manager
Cognito
Secrets Manager
GuardDuty
Inspector
Macie
Single Sign-On
Certificate Manager
KMS
CloudHSM
Directory Service
WAF & Shield
Security Hub
Detective
Audit Manager
Signer

AWS Cost Management

  Cost Explorer
Budgets

Front-end Web & Mobile

  Amplify
AppSync
Device Farm
Location Service

Application Integration

  Step Functions
AppFlow
EventBridge
Amazon MQ
SNS
SQS
SWF
Managed Apache Airflow

Business Applications

  Connect
Pinpoint
SES

End User Computing

  WorkSpaces
AppStream
WorkLink

Internet of Things

  Core
1-Click
Analytics
Device Management
Events
Greengrass
SiteWise
Things Graph

Game Development

  GameLift

Other

  SimpleDB
Resource Groups
Service Quotas
Cost & Usage Reports

Azure

Compute Virtual Machines, Web Apps, Functions, Container Registries, Container Instances, Managed Disks, Kubernetes Service, Container Apps, VM Scale Sets, App Service Plans, Images, Snapshots, Availability Sets, Machine Learning, Cognitive Services, App Service Environments, Container Apps Environments, Static Web Apps, Disk Encryption Sets, Automation, Dedicated Hosts, Proximity Placement Groups, Availability Zones, Container Registry Tasks, Azure Arc, Cloud Services, Autoscale Settings, VM Extensions
Networking Virtual Networks, Load Balancers, Application Gateways, Front Doors, CDN Profiles, Traffic Manager, DNS Zones, Private DNS Zones, VNet Gateways, Bastion Hosts, Firewalls, NAT Gateways, Route Tables, Private Endpoints, ExpressRoute, WAF, Network Interfaces, Application Security Groups, Public IP Addresses, Network Security Groups, Virtual WANs, Network Watcher, VNet Peering, Load Balancer Probes
Storage Storage Accounts, Recovery Services Vaults, Backup Vaults, Data Lake Storage, Blob Services, File Services, Queue Services, Table Services
Database SQL Databases, Cosmos DB, SQL Managed Instances, MySQL Servers, PostgreSQL Servers, MariaDB Servers, SQL Elastic Pools, SQL Servers, MySQL Flexible Servers, PostgreSQL Flexible Servers, SQL LTR Policies, SQL Failover Groups, MySQL Databases, SQL Geo-Replication
Cache Redis Caches
Messaging Service Bus, Event Hubs, Event Grid, Notification Hubs, IoT Hub, Event Grid Topics, Event Grid Domains
Monitoring Log Analytics & Action Groups, Application Insights, Diagnostic Settings, Activity Log Alerts
Integration API Management, Logic Apps, App Configuration, SignalR, API for FHIR, Relay Namespaces, Communication Services, Logic App Triggers, API Management Products, Logic App Integration Accounts
Analytics Data Factories, Synapse Analytics, Stream Analytics, Data Explorer Clusters, Databricks, Data Share, Data Factory Linked Services, Data Explorer Databases
Governance Resource Groups, Policy, Subscriptions, Management Groups, Reservations, Resource Locks, Policy Exemptions, Blueprints
Security Key Vaults, Security Center, Microsoft Defender, Sentinel, Key Vault Certificates, Key Vault Keys, Key Vault Secrets
AI OpenAI, Bot Services

GCP

Compute Compute Engine, GKE
Storage Cloud Storage, NetApp Volumes
Networking VPC Network, Cloud DNS, Load Balancing, Cloud NAT, Cloud CDN, Certificate Manager, Cloud VPN, Cloud Interconnect
Database Cloud SQL, Cloud SQL Databases, Firestore, Memorystore Redis, Memorystore Memcached, Cloud Spanner, Cloud Bigtable
Serverless Cloud Functions, Cloud Run, Cloud Scheduler, Cloud Tasks, Cloud Composer, API Gateway, Eventarc, Workflows
Messaging PubSub
IAM Cloud IAM, Resource Manager
Security Secret Manager, Cloud KMS, Cloud Armor, Cloud IAP
DevTools Cloud Build, Container Registry, Artifact Registry, Cloud Deploy, Source Repositories
Operations Cloud Logging, Cloud Monitoring
Analytics Cloud Dataflow, Cloud Dataproc

OCI

Compute Compute
Networking Networking
Storage Block Volume, Object Storage
Database Database
  • 1Introduction
  • 2Credentials
  • 3Parameters
  • 4Settings

Welcome to Former2!

Former2 allows you to generate Infrastructure-as-Code outputs from your existing resources within your AWS account and Azure subscription. By making the relevant API calls, Former2 will scan across your infrastructure and present you with the list of resources for you to choose which to generate outputs for.

For AWS, you will need to install the Former2 Helper browser extension in order to have support for all AWS services. The extension exists to bypass a lack of CORS on some services, such as S3 and IAM. For Azure, no browser extension is required.

 Install Former2 Helper for Google Chrome
 Install Former2 Helper for Mozilla Firefox
 Install Former2 Helper for Microsoft Edge

If you have any questions, bugs or feature requests please raise an issue via GitHub.

Continue to Credentials →
  • 1Introduction
  • 2Credentials
  • 3Parameters
  • 4Settings
Enter your IAM credentials:
Logged in as:

Enter your Azure credentials:
Azure logged in as:

Enter your GCP credentials:
GCP logged in as:

Enter your OCI credentials:


AWS: You will need an IAM key pair to authenticate your requests. If you are not planning on importing resources directly, it is recommended that you provide only read access with these credentials and suggest you assign the ReadOnlyAccess policy. If you intend to use the Import feature, you should grant appropriate permissions to create the stack.

Azure: You will need a service principal with the Reader role at the subscription scope. For import features, assign Contributor. Store the Tenant ID, Client ID, and Client Secret from your app registration.

GCP: Create a service account with the Viewer role. Generate a JSON key and paste it above. Set your Project ID.

OCI: Create an API signing key. Set Tenancy OCID, User OCID, fingerprint, and paste the private key PEM.

← Return to Introduction Continue to Parameters →
  • 1Introduction
  • 2Credentials
  • 3Parameters
  • 4Settings
Parameters

For AWS, you can optionally include your own CloudFormation stack parameters by adding them below. If the default value is set, !Ref or !Sub may be used to reference these parameters in the output if the values match.

For Azure, these parameters are exported as ARM template parameters with matching default values.


Name Type Default Value  
Variable substitution will look for this value
[+] Advanced Settings

Use commas to seperate values
This will not mask the value within Former2
← Return to Credentials Continue to Settings →
  • 1Introduction
  • 2Credentials
  • 3Parameters
  • 4Settings
Account Scanning

Use the below button to pre-populate all categories by triggering a scan for the AWS account or Azure subscription:


CloudFormation / ARM Spacing

Change your preference of the number of spaces for CloudFormation or ARM template output:


Logical ID Strategy

Change your preference for the naming of Logical IDs:


Default Output

Change your preference for the default output language:


Irrelevant Resources 

When enabled, this setting will skip resources considered irrelevant (currently only CloudWatch Log Streams):

Related Resources

When enabled, this setting will suggest resources related to the ones you are adding (requires account scan to work effectively):


Add All Resources 

Use the below button to add all scanned resources to the outputs (not recommended):


Save / Load Settings

Save or load a file containing all configured parameters and settings (except credentials):

 

Programming Language 

Change your preference for the output programming language of CDK or Pulumi outputs:


Default Resources

When enabled, this setting will include default resources such as default VPCs/VNets and their subnets:

← Return to Parameters Go to Dashboard →
Account Not Scanned
Search results will be limited to only services you have visited. To search across all services in your account, perform an account scan and retry your search.
Generate Architecture Diagrams with TerraVision

TerraVision creates professional cloud architecture diagrams from your Terraform code. It supports AWS, Azure, and GCP resources with official cloud provider icons.


How it works: Click the button below to download your generated Terraform code, then run TerraVision locally to produce a diagram.


# Install TerraVision
pip install terravision

# Generate diagram from downloaded Terraform
terravision draw --source ./path-to-download --show

TerraVision supports multiple output formats: --format png (default), --format svg, --format drawio, --format pdf, --format html (interactive)


--simplified — High-level view without networking details
--ai-annotate ollama — Add AI-generated labels (local LLM)
--format html — Interactive clickable diagram

Generate Architecture Diagrams with Graphviz

Graphviz is an open-source graph visualization tool. Former2 generates a DOT file that you can render into PNG, SVG, PDF, or other formats.



# macOS
brew install graphviz

# Ubuntu/Debian
sudo apt-get install graphviz

# Windows
choco install graphviz

dot -Tpng former2-output.dot -o diagram.png
dot -Tsvg former2-output.dot -o diagram.svg
dot -Tpdf former2-output.dot -o diagram.pdf

-Tpng — Raster image (default)
-Tsvg — Scalable vector graphics
-Tpdf — PDF document
-Tgif — GIF image
-Tjpg / -Tjpeg — JPEG image


-Grankdir=LR — Horizontal layout (default: top-to-bottom)
-Gdpi=150 — Higher resolution output
-Gsplines=ortho — Orthogonal edge routing

Preview

DOT content will appear here. Use dot -Tsvg to render.

Not Yet Ready
This feature is not yet ready (but I'm working on it!)