Make sure your AWS account is linked to your ORG
- run VMC Cloud Formation template if not
Some variables need to be defined before we start.
Set the proper credentials in deploy-lab.sh
deploy-lab.sh
-
Org ID
- long format like
2a8ac0ba-c93d-xxxx-xxxx-7dc9918beaa5
- long format like
-
API Token
- Your API Token
-
AWS Account
- SET EMEA Account:
6140xxxxxxxx
- SET EMEA Account:
-
AWS Access Key
-
AWS Secret Key
p1/main/variables.tf
variable "AWS_region" {default = "us-west-2"}
AWS public keys:
We are deploying an EC2 as our Terraform host for Phase3 - make sure the AWS public key has 400 permissions and it's coming from the SAME account you deployed the AWS infrastructure.
p2/main/variables.tf
source deploy-lab.sh
1 - (p1) SDDC deployment
- outputs are printed
pause (press Enter or ^c)
2 - (p2) NSXT
- FW rules
pause (press Enter or ^c)
3- Copy files to EC2