Create an AWS sub-account (optional but recommended). This will both help monitor costs and be more secure, as it will not interfere with production or other workloads running in the existing AWS accounts.
Create a user with the following IAM permissions. It's always recommended to use the IAM Security best practices as per AWS guidelines.
Configure the AWS default profile with appropriate permission. Add this section in your
[default]aws_access_key_id=<Your Access ID>aws_secret_access_key=<Your Secret key>aws_session_token=<Your Session Token>
Or Execute these commands in your terminal
export AWS_ACCESS_KEY_ID="<Your Access ID>"export AWS_SECRET_ACCESS_KEY="<Your Secret key>"export AWS_SESSION_TOKEN="<Your Session Token>"
Install terraform CLI.
brew tap hashicorp/tapbrew install terraformterraform version
Create a new key pair on the EC2 section of your AWS Console. Follow the steps given below to do the same:
Go to the EC2 section on AWS Console and generate a new key pair with the name "atlan-infra". The key pair is also referred to as KeyName.
Once the key pair is created, a file named, "atlan-infra.pem" will be downloaded.
Save the downloaded key pair file for future requirements.
Download the zip file containing all the terraform templates from here and extract it.
terraform.tfvars in your favorite editor and define values for the parameters. You can use default values for most parameters but values have to be defined for the ones listed below:
Save the file.
Initiating the terraform repository will download all the required providers, modules, and resources.
Before starting up with creating the stack create the terraform plan.
It will start creating the stack.
terraform apply -var-file=./terraform.tfvars
You will be asked for input after the execution of the above command. Enter
yes if the plan is correct.
Once the stack is successfully created, you will get the following values as output:
Release Portal Domain
Release Portal Password
Nat Gateway IP
EKS cluster name
You can now use the product domain to access the setup page for the product. 🎉
If you get stuck somewhere or have any further questions, feel free to reach out to us at [email protected]