This installs IaCP for a POC on AWS, currently on a single server. Assumes VPC and subnet is pre-created.
The following options are available.
- Use the latest marketplace AMI or a user specified AMI
- Allow the template to select the subnet or specify a subnet
- Works for private and public subnets, user must set "public = treu/false"
- Note: subnet must have a gateway to the internet to be able to pull the insallation package
- A self-signed cert is generated by the template and added to the Scalr config. User can replace with their own cert after installation.
- Set a prefix for the instance name
User can choose OS from:
- ubuntu-16.04
- centos-7
- centos-8
- rhel-7
- rhel-8
- amazon-2
Template is designed to be run from the CLI.
- Clone the repo
- Put the license file in ./license/license.json
- Put your private SSH key file in ./ssh/id_rsa. This should be the private part of the key that will be added to the instance (var.ssh_key_name). Required by Terraform to run the installation scripts.
- Ensure you have uploaded the public half of the SSH key to AWS.
- Set variable values to terraform.tfvars
- AMI: Either set linux_type to get latest AMI from the AWS market place, OR set ami and ami_owner to use a specific AMI
- Subnet is optional
- server_count can be ignored. Included for future use.
- Set the tags map for any tags you require. The template sets a tag for the name.
Name={prefix}-iacp-server-0
- Run
terraform apply