Networking: VPCs, Subnets & Security Groups
Stand up cloud network resources.
Servers Need a Network
Before an instance can talk to anything, it needs a network home: a private network, a subnet, and firewall rules. Ansible builds all three. 🌐
Start With a VPC
A VPC is your isolated private network in AWS. The ec2_vpc_net module creates one from a CIDR block you choose.
amazon.aws.ec2_vpc_net:
name: app-vpc
cidr_block: 10.0.0.0/16All lessons in this course
- Cloud Collections & Authentication
- Launch EC2 Instances Declaratively
- Networking: VPCs, Subnets & Security Groups
- Provision Then Configure in One Flow