Skip to content

scalr-eap/IACP-POC-AWS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IACP-POC-AWS

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.

  1. Clone the repo
  2. Put the license file in ./license/license.json
  3. 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.
  4. Ensure you have uploaded the public half of the SSH key to AWS.
  5. Set variable values to terraform.tfvars
  6. 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
  7. Subnet is optional
  8. server_count can be ignored. Included for future use.
  9. Set the tags map for any tags you require. The template sets a tag for the name. Name={prefix}-iacp-server-0
  10. Run terraform apply

About

IaCP Install for POC on AWS. Single server

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published