Alibaba Cloud VPC Foundation
Multi-AZ VPC with vSwitches, NAT gateway, SNAT, security groups, and flow logs.
Verification
Plan-validatedPassed: module logic verified on a mocked plan - inputs, validation rules, conditional creation and outputs resolve (no real provider, no cloud).
Conformance
- Static validation (fmt · validate · tflint)
- Security scan clean (Checkov)
- Plan tests (mocked: validation rules · outputs)
Provenance
- SHA-256 checksum
- Cosign signature
Functional
- Live test pending (no cloud run yet)
Last verified 2026-06-28 · how we verify
Verify this download
cosign · sha-256Don't take our word for it. Every release is signed with cosign - check the bytes against our pinned public key before you trust them.
# 1. Our pinned public key - fetch once, trust out-of-band
curl -O https://www.iac-bazaar.com/cosign.pub
# 2. This module's Sigstore bundle
curl -o alicloud-vpc-foundation-1.0.0.sigstore.json \
https://www.iac-bazaar.com/api/artifacts/alicloud-vpc-foundation/signature
# 3. Verify the tarball you downloaded
cosign verify-blob \
--key cosign.pub \
--bundle alicloud-vpc-foundation-1.0.0.sigstore.json \
alicloud-vpc-foundation-1.0.0.tar.gz
# → Verified OK
# 4. (optional) confirm the checksum too
echo "0adc1dd0326c04f0a8bfb363b182e3c374416463abe5c272f9a1146f2a13108d alicloud-vpc-foundation-1.0.0.tar.gz" | sha256sum -cUse it from the registry
terraform · opentofumodule "vpc_foundation" {
source = "www.iac-bazaar.com/iac-bazaar/alicloud-vpc-foundation/alicloud"
version = "1.0.0"
}Paid module — needs a purchase (or a subscription that covers it) plus a registry token from /account/tokens. Full setup: registry docs.
Inputs & outputs
Create a free account to read this module's contract
The declared contract — every input name, type, default and description, plus every output — is shown to signed-in accounts, not to anonymous visitors.
A free account sees the contract of every Free module. This one is Professional, so its contract unlocks when you buy it.
Documentation
alicloud-vpc-foundation
A production-ready Alibaba Cloud (Aliyun) network foundation: a multi-AZ VPC with vSwitches, an enhanced NAT gateway (EIP + per-vSwitch SNAT for outbound-only internet egress), a least-privilege base security group, and optional VPC flow logs into Log Service (SLS).
Status: static-validated, live-test pending. Validated with
tofu validate+tflint+checkovagainst thealiyun/alicloudprovider. Not yet applied against a live Alibaba Cloud account (no sandbox subscription), so it ships under live-test quarantine.
Design & secure defaults
- No inbound exposure by default. The base security group allows egress and
(optionally) intra-group traffic; nothing is reachable from the internet until
you declare
ingress_rules. - Outbound-only egress. Only vSwitches with
nat = trueget SNAT internet access through the NAT gateway — there is no Internet Gateway, so instances are never directly addressable. - Enhanced NAT (
nat_type = "Enhanced"), the current generation; the bound EIP is billedPayByTraffic, sonat_eip_bandwidth_mbpsis a ceiling. - Flow logs are opt-in and validated: enabling them without an existing SLS project/logstore fails at plan time via a precondition.
Provider
aliyun/alicloud >= 1.0, < 2.0. Requires Terraform/OpenTofu >= 1.6.
License
Commercial — LicenseRef-IaCBazaar-Commercial. See the IaC Bazaar terms.
Usage code & full reference unlock after purchase
The complete copy-paste usage, the full input/output reference, and operational notes ship with your licence - shown here and bundled in the download.
- Usage
- Key inputs
- Outputs
Related modules
Azure Virtual Network (hub-ready)
Production VNet with subnets, NSGs, route tables, peering and optional NAT Gateway - the network backbone every Azure deployment starts with.
GCP VPC Network Foundation
Production VPC with subnets, secondary ranges, firewall rules, Cloud Router and Cloud NAT - the network base every GCP workload sits on.
Hetzner Private Network + NAT
Private network with subnets, routes, and a NAT gateway server for egress-only fleets.
IBM Cloud VPC Landing Zone (Lite)
VPC with subnets, public gateways, ACLs, and security groups following IBM SLZ patterns.
Linode VPC with Subnets
Isolated VPC network with labeled subnets ready for instances, LKE, and NodeBalancer backends.
OCI VCN (hub-ready network foundation)
Production VCN with public/private subnets, internet/NAT/service gateways, route tables, NSGs and IPv6 - the module every OCI tenancy starts with.