dev aws-vpc deployment
This Terraform project deploys a dev VPC AWS environment. These particular variabless deploy to us-east-1 (N. Virginia). Total resources deployed:
- multiple subnets (general private/public subnets, etcd subnets, kubernetes subnets, ELB subnets, and DB subnets).
- managed NAT gateway (for outbound traffic).
- OpenVPN instance (and security groups).
- A private Route53 zone.
- Export your AWS keys (note - if you have your credentials saved at
~/.aws/config, you can just source the source script,
export AWS_ACCESS_KEY_ID=YOURACCESSKEY export AWS_SECRET_ACCESS_KEY=YOURSECRETKEY
variables.tfaccordingly. Some important ones:
env- the environment, used for tagging/labeling instances.
cidr- the first two octets of the AWS VPC cidr.
keypair- this should be the public SSH key that manages the instances. Needs to exist in AWS.
terraform plan terraform apply